class ShapeModel

This class is designed to model shape and bounding box of 2D objects in images

Inheritance:


Public Fields

[more]bool verbose
verbosity
[more]int n_ldm_points
number of landmarks
[more]sPoint2D* ldm_points
landmarks of the shape
[more]int n_bbx_points
number of point for the bounding box
[more]sPoint2D* bbx_points
bounding box of the shape

Public Methods

[more] ShapeModel(int n_bbx_points_)
creates a shape model
[more]virtual bool ldm2bbx() = 0
compute the bounding box from the landmarks
[more]virtual bool bbx2ldm() = 0
compute the landmarks from the bounding box
[more]virtual bool bbx2ldm(int n_bbx_points_, sPoint2D* bbx_points_, int n_ldm_points_, sPoint2D* ldm_points_) = 0
compute landmarks ldm_points_ from the given bounding box bbx_points_
[more]virtual void rotate(ipRotate* rot_)
rotate the shape using rot operator
[more]virtual void drawLDM(Image* image_)
draw landmarks in the given image
[more]virtual void drawBBX(Image* image_)
draw bounding box in the given image
[more]virtual ~ShapeModel()


Documentation

This class is designed to model shape and bounding box of 2D objects in images

A shape is for example a face, a car or a pedestrian. A bounding box is for examples a rectangle or a polygon.

obool verbose
verbosity

oint n_ldm_points
number of landmarks

osPoint2D* ldm_points
landmarks of the shape

oint n_bbx_points
number of point for the bounding box

osPoint2D* bbx_points
bounding box of the shape

o ShapeModel(int n_bbx_points_)
creates a shape model

ovirtual bool ldm2bbx() = 0
compute the bounding box from the landmarks

ovirtual bool bbx2ldm() = 0
compute the landmarks from the bounding box

ovirtual bool bbx2ldm(int n_bbx_points_, sPoint2D* bbx_points_, int n_ldm_points_, sPoint2D* ldm_points_) = 0
compute landmarks ldm_points_ from the given bounding box bbx_points_

ovirtual void rotate(ipRotate* rot_)
rotate the shape using rot operator

ovirtual void drawLDM(Image* image_)
draw landmarks in the given image

ovirtual void drawBBX(Image* image_)
draw bounding box in the given image

ovirtual ~ShapeModel()


Direct child classes:
FaceModel
Author:
Sebastien Marcel (marcel@idiap.ch) Wed 28 Jun 2006 05:19:41 PM CEST
Version:
2.0
Since:
1.0

Alphabetic index HTML hierarchy of classes or Java



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