PANDORE Version 6 | GREYC-IMAGE |
pmaxprojection builds a new image im_out with one dimension less than the input image im_in which stores the projection of the maximum value along the specified axis. If the input image is a 3D image, the output image is a 2D image where each pixel stores the maximum value along the orthogonal axis. If the input image is a 2D image, the output image is a 1D image where each pixel stores the maximum value along the orthogonal axis.
For example, the projection of the 2D image along the x axis builds the output image im_out of the size width(im_in) and each pixel is set with:
im_out[x]=MAXy(im_in[y][x])
Returns SUCCESS or FAILURE.
Projects the gray levels of the tangram.pan image along the x axis:
pmaxprojection 0 tangram.pan a.pan
Projection orthogonale des valeurs maximales sur un axe d'une image.
Author: François Angot