PANDORE Version 6 GREYC-IMAGE

pmergeimages



Merges 4 images into one image.



Synopsis

pmergeimages [im_in1|-] [im_in2|-] [im_in3|-] [im_in4|-] [im_out| -]

Description

pmergeimages merges the four input images im_in1, im_in2, im_in3, im_in4 to build the output image im_out. They are merged as follows:

    [im_in1][im_in2]
    [im_in3][im_in4] 

The input images are supposed to be of the same type. They size must be compatible:

The size of the output image is (im_in1 + im_in2) width and (im_in1 + im_in3) height.

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Builds a synthetic image to illustrate the Gibbs phenomenon in wavelets analysis.

   pshapedesign 256 256 0 2 150 150 a.pan
   pqmf daubechies 4 b.pan
   pdwt 1 a.pan b.pan c.pan
   psplitimage c.pan d1.pan d2.pan d3.pan d4.pan
   pthresholding 20 400 d2.pan e2.pan
   pthresholding 20 400 d3.pan e3.pan
   pthresholding 20 400 d4.pan e4.pan
   pmergeimages d1.pan e2.pan e3.pan e4.pan f.pan
   pidwt 1 f.pan b.pan out.pan

See also

Utility, psplitimage

C++ prototype

Errc PPsplitImage( const Img2dsd &im_in1, const Img2dsd &im_in2, const Img2dsd &im_in3, const Img2dsd &im_in4, Img2dsd &im_out );

Version française

Regroupement de 4 sous-images en une seule.


Author: Ludovic Soltys