Horus Doc || C++ Reference || Class Overview   Pixels   Images   Detector   Geometry   Registry || Doxygen's quick Index  

HxSegmentationStDev.h File Reference

More...

Go to the source code of this file.

Functions

void HxSegmentationStDev (HxSegmentation2d *seg)
 Compute the standard deviation of each blob in an HxSegmentation2d. More...


Detailed Description


Function Documentation

void HxSegmentationStDev HxSegmentation2d   seg
 

Compute the standard deviation of each blob in an HxSegmentation2d.

The result is stored as feature "StDev" in a blob.

00017 {
00018     for (HxBlob2dListConstIter b=seg->getBlobBegin() ; b<seg->getBlobEnd() ; b++) {
00019         HxBlob2d* blob = (*b);
00020         HxValue v = HxIdentMaskStDev(seg->getInputImage(), seg->getLabeledImage(),
00021                                      blob->startMaer(), blob->sizeMaer(),
00022                                      blob->getLabel());
00023         blob->addFeature("StDev", v);
00024     }
00025 }


Generated on Mon Jan 27 15:48:55 2003 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001