Point Operation
#include "dip_point.h"
dip_Error dip_NotZero ( in, out )
integer, float
This function returns a binary image with value 1 where in != 0 and value 0 elsewhere. The opposite can be accomplished with SelectValue: dip_SelectValue(in,out,0);.
Data type | Name | Description |
dip_Image | in | Input image |
dip_Image | out | Output image |
Threshold, SelectValue, Compare, RangeThreshold
DIPlib on-line documentation | Function reference | Global function index