Add gray values to regions.
The operator add_channels adds the gray values from Image to the regions in Regions. All channels of Image are adopted. The definition domain is calculated as the average of the definition domain of the image with the region. Thus the new definition domain can be a subset of the input region. The size of the matrix is not changed.
|
Regions (input_object) |
region(-array) -> object |
| Input regions (without gray values). | |
|
Image (input_object) |
(multichannel-)image -> object : byte / direction / cyclic / int1 / int2 / uint2 / int4 / real / complex / dvf |
| Gray image for regions. | |
|
GrayRegions (output_object) |
image(-array) -> object : byte / direction / cyclic / int1 / int2 / uint2 / int4 / real / complex / dvf |
| Regions with gray values (also gray images). | |
| Number of elements: Regions == GrayRegions | |
add_channels is reentrant and automatically parallelized (on tuple level).
threshold, regiongrowing, gen_circle, draw_region
threshold, regiongrowing, get_domain
full_domain, get_domain, intersection
Image / region / XLD management