Hi,
probably the easiest will be to create masks using fslmaths (-thr/-uthr
and -bin), apply this, rescale two images with the desired intensity range
by the factor you want and add them together:
Cheers,
Andreas
Am 20.06.17, 06:40 schrieb "FSL - FMRIB's Software Library on behalf of
Timothy Lam" unter <[log in to unmask] on behalf of
[log in to unmask]>:
>Dear FSL experts,
>
>I would like to rescale the voxel intensities in my images. Specifically,
>I want to rescale only a subset of voxel intensities in my image with one
>value, not all voxels in my image. For example, let's say that the voxel
>intensities for my entire image ranges from 0 to 100. I would like to
>rescale all voxels with an intensity between 0 and 50 by a factor of 5.
>As for voxels with an intensity between 51 and 100, I want to rescale
>these voxel intensities by a factor of 8.
>
>I tried looking on the forum for answers, but did not find anything
>specifically related to my question. I assume this will require the
>FSLMATHS function, but I am not sure how else to solve this issue.
>
>Any advice would be greatly appreciated.
>Thank you,
>
>Tim
|