SimpleECM Image Processing SDK  1.1
 All Classes Files Functions Variables Enumerations Enumerator Properties
SECMImage Class Reference

#import <SECMImage.h>

Inheritance diagram for SECMImage:

Instance Methods

(id) - initWithImage:
 
(void) - adjustBrightness:andContrast:
 
(void) - convertToBlackAndWhite
 
(void) - convertToGrayScale
 
(void) - rotateFixed:
 
(void) - rotate:
 
(SECMQuadrangle *) - detectEdgesAndAptitude:
 
(void) - dewarpWithQuadrangle:
 

Properties

UIImage * image
 UIImage object with the current image's data. More...
 
CGSize size
 the image's size More...
 

Detailed Description

Definition at line 20 of file SECMImage.h.

Method Documentation

- (void) adjustBrightness: (float)  brightness
andContrast: (float)  contrast 

Adjust the brightness and contrast of an image. Modifies the current SECMImage object.

Parameters
floatbrightness the brightness modifier. Range goes from -1.0f to 1.0f.
floatcontrast the contrast modifier. Range goes from 0.0f to 2.0f.
- (void) convertToBlackAndWhite

Converts the image to black and white. Modifies the current image object.

- (void) convertToGrayScale

Converts the image to grayscale. Modifies the current SECMImage object.

- (SECMQuadrangle *) detectEdgesAndAptitude: (float *)  aptitude
- (void) dewarpWithQuadrangle: (SECMQuadrangle *)  quadrangle

Dewarps a quadrangle in the image

Parameters
SECMQuadrangle*quadrangle the quadrangle to be dewarped
- (id) initWithImage: (UIImage *)  image

Initialize a new SECMImage object.

Parameters
UIImage*image containing the image that you wish to edit.
Returns
a newly initialized object.
- (void) rotate: (float)  degrees

Rotates the image

Parameters
floatdegrees the rotation angle
- (void) rotateFixed: (SECMImageRotation rotation

Rotates the image to a fixed angle.

Parameters
SECMImageRotationrotation the desired rotation. Options are available in SECMImageRotation.

Property Documentation

- (UIImage*) image
readnonatomicstrong

UIImage object with the current image's data.

Definition at line 22 of file SECMImage.h.

- (CGSize) size
readnonatomicassign

the image's size

Definition at line 23 of file SECMImage.h.


The documentation for this class was generated from the following file: