Eliminates labeled objects (clusters) according to size (number of voxels). Any labeled object which has size sz in range(minsz, maxsz+1) will be eliminated from the image by replacing the label with val.
Parameters: |
|
---|---|
Return type: | |
Returns: | A label image with specifically sized labeled-objects eliminated. |