Specifications

Supported Image Attributes and Operation Modes
A-5
A
Table A-7 Image Attributes and Modes of Morphological Operations
Input and output images Rect. Border In-place Tiling
Function Depths
must have the same ROI Mode
depth order origin COI s u p p o r t e d ( x )
Erode
1u,8u,16u x x x x x x x x
Dilate
1u,8u,16u x x x x x x x x
Open
1u,8u,16u x x x x x x x x
Close
1u,8u,16u x x x x x x x x
Table A-8 Image Attributes and Modes of Color Space Conversion Functions
Input & output images Rect. In-
Tiling
Function
Depths have the same ROI place
input output
depth
order
origin
COI supported (x)
ReduceBits
32s 1u, 8u,16u, 32s x x x x
16u 1u, 8u,16u x x x x
8u 1u, 8u x x x x
GrayToColor
32s,
gray
color
xxx x
ColorToGray
color
gray
xxx x
BitonalToGray
1u
8u/s
x
RGB to/from other
color model
8u,16u,32s;
for LUV, also 32f
xxxx x
ApplyColorTwist 8u,16u
xxxxx x x
ColorTwistFP 32f
xxxxx x x
gray = 1u, 8u, 16u bits per pixel
color = 8u, 16u, 32s bits per channel
8u/s = 8u, 8s, 16u, 16s, 32s bits per channel