Method | Description | |
---|---|---|
ApplyFilter ( |
Method | Description | |
---|---|---|
GetDestinationDimensions ( |
When overridden in a derived class, returns the dimensions of the output image.
|
|
GetTransformedSpace ( System.Windows.Int32Rect rect ) : System.Windows.Int32Rect |
Forward transform a rectangle. Used to determine the size of the output image.
|
|
OnBeginApplyFilter ( |
This method allows derived classes to perform actions prior to the filter being applied.
|
|
TransformInverse ( int x, int y ) : Point |
Inverse transform a point. This method needs to be overriden by all subclasses.
|
Method | Description | |
---|---|---|
FilterPixelsBilinear ( |
||
FilterPixelsNearestNeighbor ( |
||
GetPixel ( |
public final ApplyFilter ( |
||
bitmap | ||
return | void |
protected abstract GetDestinationDimensions ( |
||
source | The source image. | |
width | int | The desired width of the output image. |
height | int | The desired height of the output image. |
return | bool |
protected GetTransformedSpace ( System.Windows.Int32Rect rect ) : System.Windows.Int32Rect | ||
rect | System.Windows.Int32Rect | The rectangle to transform. |
return | System.Windows.Int32Rect |
protected OnBeginApplyFilter ( |
||
bitmap | ||
return | void |
protected abstract TransformInverse ( int x, int y ) : Point | ||
x | int | The X position of the pixel in the output image. |
y | int | The Y position of the pixel in the output image. |
return | Point |