PANDORE Version 6 GREYC-IMAGE

prg2imc



Converts region map to equivalent color image.



Synopsis

prg2imc [-m mask] [rg_in|-] [im_out|-]

Description

prg2imc creates a color image from a region map. The result colors are false colors and are chosen randomly.

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Builds a color image that visualized with false colors the different regions extracted from the tangram image.

   pthresholding 100 1e30 tangram.pan a.pan
   plabeling 8 .pan b.pan  
   prg2imc b.pan out.pan

See also

Casting

C++ prototype

Errc PRg2Imc( const Reg2 &rg_in, Img2dsl &im_out );

Version française

Conversion d'une carte de régions en image couleur équivalente.


Author: Régis Clouard