PANDORE Version 6 GREYC-IMAGE

pextrude1d22d



Performs propagation of value along an axis.



Synopsis

pextrude1d22d [im_msk|-] [im_in1|-] [im_in2|-] [im_out|-]

Description

pextrude1d22d builds a 2D image im_out with the input 1D image im_in where each value is propagaget along the specified axis. The size of the output is the specified length and the orthognal dimension size is the size of the input image im_in.

Parameter

Inputs

Outputs

Result

Return SUCCESS or FAILURE.

Examples

Project the mean value of the row of the tangram.pan image along the x axis:/p>

   pmeanprojection 0 examples/tangram.pan a.pan
   pextrude1d22d 0 256 a.pan b.pan

See also

Transformation.

C++ prototype

Errc PExtrude1d22d( const Img1duc &im_in, Img2duc &im_out, int axis, int length );

Author: Régis Clouard