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

HxImageStDev.h File Reference

More...

#include "HxImageRep.h"

Go to the source code of this file.

Functions

HxValue L_HXIMAGEREP HxImageStDev (HxImageRep im)
 Compute the standard deviation of all pixels in "im". More...


Detailed Description


Function Documentation

HxValue L_HXIMAGEREP HxImageStDev HxImageRep    im
 

Compute the standard deviation of all pixels in "im".

Implementation specifics:

HxIdentMaskStdev is called with the appropriate parameters.

00013 {
00014     HxImageSignature signature(im.dimensionality(), 1, INT_VALUE, 8);
00015     HxSizes size = im.sizes();
00016     HxImageRep mask = HxMakeFromValue(signature, size, HxValue(1));
00017     HxBoundingBox bb(size);
00018     HxTagList tags;
00019     HxAddTag(tags, "maskVal", 1);
00020     HxAddTag(tags, "boundingBox", bb);
00021     im.exportOpExtra("identMaskStdev", mask, tags);
00022     HxValue v = HxGetTag(tags, "result", HxValue(0));
00023     return v;
00024 }


Generated on Tue Feb 3 14:18:48 2004 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001