Remove small objects from an image
#include "dip_measurement.h" #include "dip_point.h"
dip_Error dip_SmallObjectsRemove ( in, out, threshold )
integer
This function removes from the labeled image in those objects whose size (measured in the number of pixels) is smaller than threshold.
Data type | Name | Description |
dip_Image | in | Input image |
dip_Image | out | Output image |
dip_int | threshold | Minimum object size |
Measure, ObjectToMeasurement, Label
DIPlib on-line documentation | Function reference | Global function index