class ipRotate

This class is designed to rotate an image

Inheritance:


Public Methods

[more] ipRotate(real degAngle_, int width_in_, int height_in_, const char* coding_)
constructor
[more]virtual ~ipRotate()
[more]virtual void process(Sequence* seq_in)
[more]virtual int getWidthOut(void)
[more]virtual int getHeightOut(void)
[more]void setCenter(int xc_, int yc_)
set center of rotation
[more]void rotate(int x, int y, int* X, int* Y)
rotate a point (integer)
[more]void rotate(double x, double y, double* X, double* Y)
rotate a point (double)
[more]void unrotate(int x, int y, int* X, int* Y)
rotate a point in the opposite direction (integer)
[more]void unrotate(double x, double y, double* X, double* Y)
rotate a point in the opposite direction (double)


Inherited from ipCore:

Public Fields

output field

input/output image coding field

Public Methods

constructor and destructor

initialization and processing

accessing and modifying output


Documentation

This class is designed to rotate an image

It implements the rotation by shear also called Paeth rotation.

	@inproceedings{paeth:86,
	author = {A W Paeth},
	title = {A fast algorithm for general raster rotation},
	booktitle = {Proceedings on Graphics Interface '86/Vision Interface '86},
	year = {1986},
	pages = {77--81},
	location = {Vancouver, British Columbia, Canada},
	publisher = {Canadian Information Processing Society},
	}
    

The original source code can be found here

o ipRotate(real degAngle_, int width_in_, int height_in_, const char* coding_)
constructor

Parameters:
degAngle_ - is the angle of rotation (in degree)
width_in_ - is the width of the input image
height_in_ - is the height of the input image
coding_in_ - is the coding format of the input image

ovirtual ~ipRotate()

ovirtual void process(Sequence* seq_in)

ovirtual int getWidthOut(void)

ovirtual int getHeightOut(void)

ovoid setCenter(int xc_, int yc_)
set center of rotation

ovoid rotate(int x, int y, int* X, int* Y)
rotate a point (integer)

ovoid rotate(double x, double y, double* X, double* Y)
rotate a point (double)

ovoid unrotate(int x, int y, int* X, int* Y)
rotate a point in the opposite direction (integer)

ovoid unrotate(double x, double y, double* X, double* Y)
rotate a point in the opposite direction (double)


This class has no child classes.
Author:
Sebastien Marcel (marcel@idiap.ch)
Version:
2.0 Wed 28 Jun 2006 05:19:28 PM CEST
Since:
2.0

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.