PANDORE Version 6 GREYC-IMAGE

pvaluerank



Gets the nth value for image, region map or graph.



Synopsis

pvaluerank index [-m mask] [im_in|-]

Description

pvaluerank returns the indexth value (beginning with 1) in the input grayscale image or graph im_in.

This operator is useful to get the threshold value of an image yielded by a thresholding operator.

Parameters

Inputs

Result

Returns the indexth value or FAILURE if the indexth value does not exit. This value can be get using operator pstatus.

Examples

Returns the value of the first threshold yielded by a Chanda thresholding of the tangram.pan image (Unix version)

   pchanda 10 tangram.pan a.pan
   pvaluerank 1 a.pan
   threshold=`pstatus`

Returns the value of the first threshold yielded by a Chanda thresholding of the tangram.pan image (MsDos version)

   pchanda 10 tangram.pan a.pan
   pvaluerank 1 a.pan
   call pstatus
   call pset threshold

See also

Image Feature Extraction

C++ prototype

Errc PvalueRank( const Img3duc &im_in, int index );

Version française

Détermination de la ieme valeur d'une image.


Author: Régis Clouard