ACTIVESWLib::ISPImage Interface Reference
Detailed Description
SignWare Dynamic Development toolkit, ActiveX wrapper for SPImageInterface ISPImage.The ISPImage object implements a representation of a static image. The image may be loaded from a color, a gray-scale or a black-and-white image, most image formats can be read, such as tiff, jpeg, png, gif and many more. The ISPImage object can load indexed color images, however the saved image will be converted to a true color image.
The ISPImage object includes methods to perform signature cleaning, cleaning funtionality is optimized for signature snippets which are typically gray-scale or black-and-white regions of a scanned image that include the handwritten signature. Cleaning methods cannot be applied to color images.
- Note:
- All cleaning functions allow a maximum image size of 1280 * 960 pixel. This also affects GetComplexity and Invert when using the flag SP_INVERT_ENGINE.
Public Member Functions | |
HRESULT | Binarize ([in] long lMethod,[in] long lThreshold,[out, retval] long *result) |
Binarize the picture in this image object. | |
HResult | Brightness ([in] double fGray,[in] double fGreen,[in] double fBlue,[out, retval] long *result) |
Change the brightness of the image. | |
HRESULT | CleanBatch ([in] ISPCleanParameter *pParameter,[out, retval] long *result) |
Clean an image based on the parameters provided. | |
HRESULT | CleanDate ([out] long *piLeft,[out] long *piTop,[out] long *piRight,[out] long *piBottom,[out, retval] long *result) |
Clean handwritten text in an image. | |
HRESULT | CleanFrames ([in] double dTrust,[out, retval] long *result) |
Delete all frames which are weighted less than dTrust. | |
HRESULT | CleanLines ([out, retval] long *result) |
Clean lines in a BW or a gray image. | |
HRESULT | CleanSignature ([out] long *piLeft,[out] long *piTop,[out] long *piRight,[out] long *piBottom,[out, retval] long *result) |
Clean a signature image. | |
HRESULT | Clone ([out] ISPImage **ppImage,[out, retval] long *result) |
Create a copy of this object. | |
HResult | Contrast ([in] double fGray,[in] double fGreen,[in] double fBlue,[out, retval] long *result) |
Change the contrast of the image. | |
HRESULT | Create ([out, retval] long *result) |
Create the image instance. | |
HRESULT | DrawImage ([in] BSTR bstrXMLImage,[out, retval] long *result) |
Draw some images on the image. | |
HRESULT | DrawImageFlatFile ([in] ISPFlatFile *bstrXMLImage,[out, retval] long *result) |
Draw some images on the image. | |
HRESULT | DrawObject ([in] BSTR bstrXMLObject,[out, retval] long *result) |
Draw some images, text and rectangles on the image. | |
HRESULT | DrawObjectFlatFile ([in] ISPFlatFile *bstrXMLObject,[out, retval] long *result) |
Draw some images, text and rectangles on the image. | |
HRESULT | DrawRect ([in] BSTR bstrXMLRect,[out, retval] long *result) |
Draw some rectangles on the image. | |
HRESULT | DrawRectFlatFile ([in] ISPFlatFile *bstrXMLRect,[out, retval] long *result) |
Draw some rectangles on the image. | |
HRESULT | DrawText ([in] BSTR bstrXMLText,[out, retval] long *result) |
Draw some text on the image. | |
HRESULT | DrawTextFlatFile ([in] ISPFlatFile *bstrXMLText,[out, retval] long *result) |
Draw some text on the image. | |
HRESULT | GetBitsPerPixel ([out] long *piBitsPerPixel,[out, retval] long *result) |
Query the number of bits per pixel (color resolution) of this image object [in dpi]. | |
HRESULT | GetColorImageData ([out] SAFEARRAY(UINT)*ppData,[out, retval] long *result) |
Query the image data. | |
HRESULT | GetComplexity ([out] long *piComplexity,[out, retval] long *result) |
Query the complexity of the image contained in this object. | |
HRESULT | GetDefaultBinarizeParams ([out] long *plMethod,[out] long *plThreshold,[out, retval] long *result) |
Query the default threshold to binarize images, see sec_Cleaning. | |
HRESULT | GetFrames ([out] ISPWeightedFrames **pFrames,[out, retval] long *result) |
Query all frames and their weights in this image. | |
HRESULT | GetImageData ([out] SAFEARRAY(BYTE)*ppData,[out, retval] long *result) |
Query the image data. | |
HRESULT | GetPixel ([in] long iX,[in] long iY,[out] long *piGray,[out, retval] long *result) |
Query a pixel at location iX, iY. | |
HRESULT | GetResolution ([out] long *plResolution,[out, retval] long *result) |
Query the resolution of this image object. | |
HRESULT | GetSignatureRegion ([in] long iFlags,[out] long *piLeft,[out] long *piTop,[out] long *piRight,[out] long *piBottom,[out, retval] long *result) |
Query the signature region within this image. | |
HRESULT | GetSize ([out] long *plWidth,[out] long *plHeight,[out, retval] long *result) |
Query the size of this image object. | |
HRESULT | GetSplitPositions ([out] SAFEARRAY(LONG)*ppSplits,[out, retval] long *result) |
Query possible split positions in the image. The method analyses the image and checks for word boundaries. | |
HRESULT | Invert ([in] long iFlags,[out, retval] long *result) |
Invert the image. | |
HRESULT | MaskImage ([in] ISPImage *pMask,[in] long iLeft,[in] long iTop,[in] long iRight,[in] long iBottom,[in] long iFlags,[out, retval] long *result) |
Mask this image with the contents of spImage. | |
HRESULT | Mirror ([in] long iAxes,[out, retval] long *result) |
Mirror the image. | |
HRESULT | Region ([in] long iLeft,[in] long iTop,[in] long iRight,[in] long iBottom,[out, retval] long *result) |
Cut the image to a region. | |
HResult | Resize ([in] long iResolution,[in] long iAlgo,[out, retval] long *result) |
Resize the image. | |
HRESULT | Rotate ([in] long iAngle,[out, retval] long *result) |
Rotate the image. | |
HRESULT | SetBitmap ([in] ISPFlatFile *pBitmap,[in] long iPage,[out, retval] long *result) |
Copy the picture contained in pBitmap into the image object. | |
HRESULT | SetBitsPerPixel ([in] long iBitsPerPixel,[out, retval] long *result) |
Set the number of bits per pixel (color resolution) of this image object [in dpi]. | |
HRESULT | SetBitsPerPixel2 ([in] long iBitsPerPixel,[in] SAFEARRAY(LONG)*iColorPalette,[out, retval] long *result) |
Set the number of bits per pixel (color resolution) of this image object [in dpi]. | |
HRESULT | SetDefaultBinarizeParams ([in] long lMethod,[in] long lThreshold,[out, retval] long *result) |
Set the default binarization threshold, see sec_Cleaning. | |
HRESULT | SetEmpty ([in] long iWidth,[in] long iHeight,[in] long iColor,[in] long iResolution,[out, retval] long *result) |
Set an empty image. | |
HRESULT | SetEmpty2 ([in] long iWidth,[in] long iHeight,[in] long iColor,[in] long iResolution,[in] long iBitsPerPixel,[out, retval] long *result) |
Set an empty image. | |
HRESULT | SetPixel ([in] long iX,[in] long iY,[in] long iGray,[out, retval] long *result) |
Set a pixel at location iX, iY. | |
HRESULT | SetReference ([in] ISPReference *pReference,[in] long iIndex,[out, retval] long *result) |
Copy the picture contained in a reference at index into the image object. | |
HRESULT | SetReference2 ([in] ISPReference *pReference,[in] long iIndex,[in] ISPTicket *pTicket,[out, retval] long *result) |
Copy the picture contained in a reference at index into the image object. | |
HRESULT | SetResolution ([in] long iRes,[out, retval] long *result) |
Overwrite the resolution of a picture in a SPIMAGE_T object. | |
HRESULT | SetSignature ([in] ISPSignature *pSignature,[out, retval] long *result) |
Copy the picture contained in a signature into the image object. | |
HRESULT | SetSignature2 ([in] ISPSignature *pSignature,[in] ISPTicket *pTicket,[out, retval] long *result) |
Copy the picture contained in a signature into the image object. | |
HRESULT | SetTellerImage ([in] ISPTellerImage *pTellerImage,[out, retval] long *result) |
Copy the picture contained in a teller image into the image object. | |
HRESULT | SetTemplate ([in] ISPTemplate *pTemplate,[out, retval] long *result) |
Copy the picture contained in a template into the image object. | |
HRESULT | SetTemplate2 ([in] ISPTemplate *pTemplate,[in] ISPTicket *pTicket,[out, retval] long *result) |
Copy the picture contained in a template into the image object. |
Member Function Documentation
|
Binarize the picture in this image object.
|
|
Change the brightness of the image.
|
|
Clean an image based on the parameters provided.
|
|
Clean handwritten text in an image. For an overview on image cleaning see sec_Cleaning
|
|
Delete all frames which are weighted less than dTrust. For an overview on image cleaning see sec_Cleaning
|
|
Clean lines in a BW or a gray image. For an overview on image cleaning see sec_Cleaning
|
|
Clean a signature image. For an overview on image cleaning see sec_Cleaning
|
|
Create a copy of this object.
|
|
Change the contrast of the image.
|
|
Create the image instance.
|
|
Draw some images on the image. For an overview on XML tags please see sec_XML_Data
|
|
Draw some images on the image. For an overview on XML tags please see sec_XML_Data
|
|
Draw some images, text and rectangles on the image. For an overview on XML tags please see sec_XML_Data
|
|
Draw some images, text and rectangles on the image. For an overview on XML tags please see sec_XML_Data
|
|
Draw some rectangles on the image. For an overview on XML tags please see sec_XML_Data
|
|
Draw some rectangles on the image. For an overview on XML tags please see sec_XML_Data
|
|
Draw some text on the image. For an overview on XML tags please see sec_XML_Data
|
|
Draw some text on the image. For an overview on XML tags please see sec_XML_Data
|
|
Query the number of bits per pixel (color resolution) of this image object [in dpi].
|
|
Query the image data.
|
|
Query the complexity of the image contained in this object.
|
|
Query the default threshold to binarize images, see sec_Cleaning.
|
|
Query all frames and their weights in this image. For an overview on image cleaning see sec_Cleaning
|
|
Query the image data.
|
|
Query a pixel at location iX, iY.
|
|
Query the resolution of this image object.
|
|
Query the signature region within this image. For an overview on image cleaning see sec_Cleaning
|
|
Query the size of this image object.
|
|
Query possible split positions in the image. The method analyses the image and checks for word boundaries. For an overview on image cleaning see sec_Cleaning
|
|
Invert the image. For an overview on image cleaning see sec_Cleaning
|
|
Mask this image with the contents of spImage.
|
|
Mirror the image.
|
|
Cut the image to a region.
|
|
Resize the image.
|
|
Rotate the image.
|
|
Copy the picture contained in pBitmap into the image object.
|
|
Set the number of bits per pixel (color resolution) of this image object [in dpi].
|
|
Set the number of bits per pixel (color resolution) of this image object [in dpi].
|
|
Set the default binarization threshold, see sec_Cleaning.
|
|
Set an empty image.
|
|
Set an empty image.
|
|
Set a pixel at location iX, iY.
|
|
Copy the picture contained in a reference at index into the image object.
|
|
Copy the picture contained in a reference at index into the image object.
|
|
Overwrite the resolution of a picture in a SPIMAGE_T object. SetResolution overrules the resolution tag of the contained image, use Resize() to change the resolution and to calculate the contents based on the new resolution
|
|
Copy the picture contained in a signature into the image object.
|
|
Copy the picture contained in a signature into the image object.
|
|
Copy the picture contained in a teller image into the image object.
|
|
Copy the picture contained in a template into the image object.
|
|
Copy the picture contained in a template into the image object.
|
The documentation for this interface was generated from the following file: