Apply different intensity transforms per channel #2464
jpcenteno80
started this conversation in
General
Replies: 1 comment 1 reply
-
Found the solution using these transforms after loading the image/label and before creating a tensor inside a
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am working with CT and would like to apply a different
a_min
,a_max
usingScaleIntensityRange
per channel. For example, load input image with shape1,64,64,64
(channel,spatial_dim,spatial_dim,spatial_dim), applyRepeatChannel
transform to end up with shape2,64,64,64
and then applyScaleIntensityRange
with(a_min=-300,a_max=300)
for one channel and(a_min=130,a_max=3000)
for the other channel. I would like this to be part of a dictionary style transform chain. Is this possible with your current transforms? Thank you!Beta Was this translation helpful? Give feedback.
All reactions