public class HorizontalRunLengthSmoothing extends java.lang.Object implements IApplyInPlace
| Constructor and Description |
|---|
HorizontalRunLengthSmoothing()
Initialize a new instance of the HorizontalRunLengthSmoothing class.
|
HorizontalRunLengthSmoothing(int maxGapSize)
Initialize a new instance of the HorizontalRunLengthSmoothing class.
|
HorizontalRunLengthSmoothing(int maxGapSize,
boolean processGapsWithImageBorders)
Initialize a new instance of the HorizontalRunLengthSmoothing class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyInPlace(FastBitmap fastBitmap)
Apply filter to an image.
|
int |
getMaxGapSize()
Get Maximum gap size to fill (in pixels).
|
boolean |
isProcessGapsWithImageBorders()
Verify Process gaps between objects and image borders or not.
|
void |
setMaxGapSize(int maxGapSize)
Set Maximum gap size to fill (in pixels).
|
void |
setProcessGapsWithImageBorders(boolean processGapsWithImageBorders)
Set Process gaps between objects and image borders or not.
|
public HorizontalRunLengthSmoothing()
public HorizontalRunLengthSmoothing(int maxGapSize)
maxGapSize - Maximum gap size to fill.public HorizontalRunLengthSmoothing(int maxGapSize,
boolean processGapsWithImageBorders)
maxGapSize - Maximum gap size to fill.processGapsWithImageBorders - Process gaps between objects and image borders or not.public int getMaxGapSize()
public void setMaxGapSize(int maxGapSize)
maxGapSize - Gap size.public boolean isProcessGapsWithImageBorders()
public void setProcessGapsWithImageBorders(boolean processGapsWithImageBorders)
processGapsWithImageBorders - True of false.public void applyInPlace(FastBitmap fastBitmap)
IApplyInPlaceapplyInPlace in interface IApplyInPlacefastBitmap - Image to be processed.