#include "HxImageRep.h"
Go to the source code of this file.
Functions | |
HxImageRep L_HXIMAGEREP | HxTriStateThreshold (HxImageRep im, HxValue level, HxValue v1, HxValue v2, HxValue v3) |
Tri state threshold. More... |
|
Tri state threshold. The function computes the tri state threshold of all pixels in the input image via a unary pixel operation. Implementation specifics : The pixel functor : HxUpoTriStateThreshold. The image functor instantiator : HxInstantiatorTriStateThreshold.
00128 { 00129 // Put all non-image parameters in a TagList 00130 HxTagList tags; 00131 HxAddTag(tags, "level", level); 00132 HxAddTag(tags, "v1", v1); 00133 HxAddTag(tags, "v2", v2); 00134 HxAddTag(tags, "v3", v3); 00135 00136 // call HxImageRep member function to do the image processing 00137 return im.unaryPixOp("triStateThreshold", tags); 00138 } |