|
iDRS™ SDK 16
|
Interface for CPunchHoleRemoval wrapper. More...
Go to the source code of this file.
Functions | |
| CPunchHoleRemoval | CPunchHoleRemoval_Create (const CIDRS argIDRS, idrs_exception *pargException) |
| The Create method creates a CPunchHoleRemoval object. | |
| void | CPunchHoleRemoval_RemovePunchHole (CPunchHoleRemoval argCPunchHoleRemoval, CImage argImage, idrs_exception *pargException) |
| RemovePunchHole automatically detects the location of the punch holes on the image and removes them. | |
| void | CPunchHoleRemoval_Destroy (CPunchHoleRemoval argCPunchHoleRemoval, idrs_exception *pargException) |
| Destroys a CPunchHoleRemoval handle. | |
Interface for CPunchHoleRemoval wrapper.
| CPunchHoleRemoval CPunchHoleRemoval_Create | ( | const CIDRS | argIDRS, |
| idrs_exception * | pargException | ||
| ) |
The Create method creates a CPunchHoleRemoval object.
| argIDRS | The iDRS instance. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPunchHoleRemoval_Destroy | ( | CPunchHoleRemoval | argCPunchHoleRemoval, |
| idrs_exception * | pargException | ||
| ) |
Destroys a CPunchHoleRemoval handle.
| argCPunchHoleRemoval | CPunchHoleRemoval handle to destroy |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPunchHoleRemoval_RemovePunchHole | ( | CPunchHoleRemoval | argCPunchHoleRemoval, |
| CImage | argImage, | ||
| idrs_exception * | pargException | ||
| ) |
RemovePunchHole automatically detects the location of the punch holes on the image and removes them.
| argCPunchHoleRemoval | CPunchHoleRemoval handle |
| argImage | The image to process. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
The punch hole algorithm can be used on images with the following minimum dimensions (computed for 300dpi): width: 300px, height: 100 Please note that the minimum height and width can vary with the image resolution.