PANDORE Version 6 | GREYC-IMAGE |
por performs a bitwise "or" between values of the two inputs im_in1 and im_in2.
If inputs are integer images, the "or" operator uses the '|' C operator and is applied on each pixel:
pixel(im_out) = pixel(im_in1) | pixel(im_in2);
For real images, the "or" operator is "+":
pixel(im_out) = pixel(im_in1) + pixel(im_in2);
For color or multispectral image, the "or" operator is computed separately on each band.
For graph, the "or" operator is "+" and it is applied on each node values.
For region map, the "or" operator is the union between regions. The result im_out is a new region map with regions of each input region maps, given preference to smaller regions.
The two inputs must be of the same type.
Returns SUCCESS or FAILURE.
For region map, returns the new higher label value.
pbinarization 100 1e30 examples/tangram.pan a.pan pboundary 8 a.pan b.pan por examples/tangram.pan b.pan c.pan
Author: Régis Clouard