next up previous index
Next: ``Embed_Image'' - Embed a Up: Manipulation Previous: ``Zero_Padding'' - pads an

``Image_Masking'' - masks out of given region.

VFX name:
iImageMasking.
IMPROPTU name:
Image_Masking.
purpose:
This function takes the bounds of a cube (or plane) as inputs. It then sets all values outside of the bounds of the cube (or plane) to a user specified constant value.
input:
A loaded 2D or 3D image.
output:
A masked 8-bit volume.
parameters:
Default parameters menu is
low_x_value = 1
high_x_value = 64
low_y_value = 1
high_y_value = 64
low_z_value = 1
high_z_value = 64
new_gray_value = 0

comments:
1.
The bounds of the cube are inclusive.
2.
Some may mistake the first point in the image as (0,0,0), but the first point is (1,1,1)



MultiDimensional Image Processing Lab, Penn State University