HistogramData = | histogramMaskMsr3d (inImg,inMaskImg) |
HistogramData = | histogramMaskMsr3d (inImg,inMaskImg,histoPrms) |
calculates the histogram for each 3d volume of the portion of an input image
This algorithm computes the histogram on a subset of voxels for each 3d volume of a given input image. The subsets of voxels to consider are defined by the set of voxels whose values is different from 0 in the associated mask image.
The mask image is binary, and must have the same sizes as the input image.
Two wrappers can be called : the histogramMaskMsr3d wrapper is only used to compute the histogram measurements on a grey level 3d image, whereas the multiSlice_histogramMaskMsr3d wrapper must be used for more complex data (volume, sequence and/or color).