Remove small objects from an image
#include "dip_measurement.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 |