DeinterlaceImage
CameraAPI.DeinterlaceImage( rows, cols, algorithm ); CameraAPI.DeinterlaceImage( rows, cols, offset, algorithm ); CameraAPI.DeinterlaceImage( rows, cols, offset, algorithm, arg );
int rows The row size of the image.
int cols The column size of the image.
int algorithm The deinterlacing algorithm to use: CameraAPI.DEINTERLACE_NONE, CameraAPI.DEINTERLACE_PARALLEL, CameraAPI.DEINTERLACE_SERIAL, CameraAPI.DEINTERLACE_CCD_QUAD, CameraAPI.DEINTERLACE_IR_QUAD, CameraAPI.DEINTERLACE_CDS_IR_QUAD, CameraAPI.DEINTERLACE_HAWAII_RG, CameraAPI.DEINTERLACE_STA1600.
int offset (optional) The number of pixels to skip within the image buffer before starting to deinterlace. This is used when only deinterlacing a sub-area of the primary image buffer.
int arg (optional) An argument to the deinterlace routine. Currently only used by CameraAPI.DEINTERLACE_HAWAII_RG, where it is used to specify the number of column sections in the image.
None
Deinterlaces the image buffer using the specified algorithm. Throws java.lang.Exception if an error occurs. All exceptions can be caught using a try/catch block.