- All Known Implementing Classes:
public interface ConnectedSpeckleFiller<T extends ImageBase<T>>
Connected component based speckle filler
processvoid process(T image, int maximumArea, double similarTol, double fillValue)Finds non-smooth regions and fills them in with the fill value. Uses 4-connect rule.
image- (Input, Output) Image which is searched for speckle noise which is then filled in
maximumArea- (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.
getTotalFilledint getTotalFilled()Returns the number of filled in regions