Method | Description | |
---|---|---|
DownSample ( |
Called to downsample the image and store it in the down sample component.
|
|
DownSampleRegion ( int x, int y ) : void |
Called to downsample a region of the image.
|
|
FindBounds ( ) : void |
This method is called to automatically crop the image so that whitespace is removed.
|
|
ProcessImage ( |
Process the image and prepare it to be downsampled.
|
Method | Description | |
---|---|---|
HLineClear ( int y ) : bool |
This method is called internally to see if there are any pixels in the given scan line. This method is used to perform autocropping.
|
|
VLineClear ( int x ) : bool |
This method is called internally to see if there are any pixels in the given scan line. This method is used to perform autocropping.
|
public DownSample ( |
||
image | The image to downsample. | |
height | int | The height to downsample to. |
width | int | THe width to downsample to. |
return | double[] |
public DownSampleRegion ( int x, int y ) : void | ||
x | int | The x coordinate of the resulting downsample. |
y | int | The y coordinate of the resulting downsample. |
return | void |
public ProcessImage ( |
||
image | The image to downsample. | |
return | void |