Skip to content

Adjust window width and level with Transforms #1036

Answered by KumoLiu
pauljhin asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @pauljhin, you can use ScaleIntensity. It can scale the intensity of input image to the given value range (minv, maxv).
https://github.com/Project-MONAI/MONAI/blob/89684d677f6c93c6fbd023a614c07485c5223557/monai/transforms/intensity/array.py#L408
Hope it can help you, thanks!

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@pauljhin
Comment options

@KumoLiu
Comment options

@pauljhin
Comment options

@hreso110100
Comment options

@KumoLiu
Comment options

Answer selected by wyli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants