Package boofcv.alg.segmentation.cc
Interface ConnectedSpeckleFiller<T extends ImageBase<T>>
- All Known Implementing Classes:
ConnectedNaiveSpeckleFiller_F32
,ConnectedNaiveSpeckleFiller_Int
,ConnectedTwoRowSpeckleFiller
,ConnectedTwoRowSpeckleFiller_F32
,ConnectedTwoRowSpeckleFiller_U8
public interface ConnectedSpeckleFiller<T extends ImageBase<T>>
Connected component based speckle filler
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the number of filled in regionsvoid
Finds non-smooth regions and fills them in with the fill value.
-
Method Details
-
process
Finds non-smooth regions and fills them in with the fill value. Uses 4-connect rule.- Parameters:
image
- (Input, Output) Image which is searched for speckle noise which is then filled inmaximumArea
- (Input) All regions with this number of pixels or fewer will be filled in.similarTol
- (Input) Two pixels are connected if their different in value is ≤ than this.fillValue
- (Input) The value that small regions are filled in with.
-
getTotalFilled
int getTotalFilled()Returns the number of filled in regions -
getImageType
-