JointHistogramMask¶
-
MLModule¶ genre Histogramauthor MeVis Medical Solutions AGpackage MeVisLab/Standarddll MLJointHistdefinition MLJointHist.def keywords 2D
Purpose¶
The module JointHistogramMask generates a binary mask using a selected region from a 2D histogram or an RGBA mask using a 2D RGBA LUT.
The 2D LUT is provided as a third input image, and the 2D histogram is computed internally.
Details¶
Example 1¶
As an example, we use simulated T1- and T2-weighted MR images. The images were obtained from the BrainWeb MR simulator.
T1-weighted image:
T2-weighted image:
2D-Histogram with a selected region:
Resulting images (T1-weighted with overlays):
Mask image 1:
Mask image 2:
Joint mask:
Example 2¶
This example use a gray image, a distance image, and a 2D-LUT to compute a mask.
Grey image:
Distance image:
2D-LUT (gray, distance):
Resulting mask:
Input Fields¶
The module requires two grey images with the same extent and a 2D LUT.
Output Fields¶
Parameter Fields¶
Field Index¶
End World Pos. Of Rectangle: Vector3 |
lut2dStepSizeX: Float |
imgXMax: Float |
lut2dStepSizeY: Float |
imgXMin: Float |
Start World Pos. Of Rectangle: Vector3 |
imgYMax: Float |
Use 2D-LUT: Bool |
imgYMin: Float |
Use rectangle: Bool |
inImg0Size: Vector3 |
|
inImg1Size: Vector3 |
|
inImg2Size: Vector3 |
Visible Fields¶
Use rectangle¶
-
name:useRect, type:Bool, default:FALSE, deprecated name:useRectFld¶ If checked, the mask is calculated on base of a selected region in a 2D histogram.
Use 2D-LUT¶
-
name:useLut, type:Bool, default:TRUE, deprecated name:useLutFld¶ If checked, the mask is calculated on base of the entire attached 2D LUT.