add_channels — Add gray values to regions.
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.
Input regions (without pixel values).
Input image with pixel values for regions.
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