1 #ifndef vil_threshold_h_ 2 #define vil_threshold_h_ 34 #endif // vil_threshold_h_ void vil_threshold_below(const vil_image_view< srcT > &src, vil_image_view< bool > &dest, srcT t)
Apply threshold such that dest(i,j,p)=true if src(i,j,p)<=t.
void vil_threshold_above(const vil_image_view< srcT > &src, vil_image_view< bool > &dest, srcT t)
Apply threshold such that dest(i,j,p)=true if src(i,j,p)>=t.
Concrete view of image data of type T held in memory.
void vil_threshold_inside(const vil_image_view< srcT > &src, vil_image_view< bool > &dest, srcT t0, srcT t1)
Apply threshold such that dest(i,j,p)=true if t0<=src(i,j,p)<=t1.
A base class reference-counting view of some image data.
void vil_threshold_outside(const vil_image_view< srcT > &src, vil_image_view< bool > &dest, srcT t0, srcT t1)
Apply threshold such that dest(i,j,p)=true if src(i,j,p)<=t0 or src(i,j,p)>=t1.