#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... |
|
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 } |