add_channels
— Add gray values to regions.
add_channels(Regions, Image : GrayRegions : : )
The operator add_channels
creates an array of images
GrayRegions
with an element for every input region in
Regions
. These images correspond to the input image Image
with a reduced domain, namely the intersection of the definition domain of
the input image with the region.
Thus, the new definition domain can be a subset of the region.
Thereby the size of the image matrix is not changed and all channels of
Image
are adopted.
Regions
(input_object) region(-array) →
object
Input regions (without pixel values).
Image
(input_object) (multichannel-)image →
object (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)
Input image with pixel values for regions.
GrayRegions
(output_object) image(-array) →
object (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)
Output image(s) with regions and pixel values (one image per input region).
Number of elements: Regions == GrayRegions
threshold
,
regiongrowing
,
gen_circle
,
draw_region
threshold
,
regiongrowing
,
get_domain
full_domain
,
get_domain
,
intersection
Foundation