#include <ImagePotential.hpp>
Inheritance diagram for ImagePotential:
Purpose: Use ImagePotential, simulate a simple luminance potential Image Potential abstract the space on which the Fast Marching will evolve. Paper: "Optimal Algorithm for Shape from Shading and Path Planning.", Ron Kimmel, James A. Sethian, Kluweer Academic Publishers 2001 , Netherlands.
@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
ImagePotential (double aw=0.01, bool opposed=true, bool reg=false, double sigmaR=2.0) | |
virtual | ~ImagePotential () |
virtual void | set (AnImage *im) |
virtual void | set (IndependentBayesClassifier *cl) |
virtual void | setW (double value) |
virtual void | setPoint0 (int x, int y) |
virtual void | setPoint1 (int x, int y) |
virtual int | getX0 () |
virtual int | getY0 () |
virtual int | getX1 () |
virtual int | getY1 () |
virtual int | getWidth () |
virtual int | getHeight () |
virtual double | getTermination (int x, int y) |
virtual double | getP (int x, int y) |
virtual double | getPotential (int x, int y) |
virtual void | report (FILE *file) |
Protected Methods | |
void | regularize (AnImage *im) |
Protected Attributes | |
double | w |
bool | regularisationFlag |
double | sigmaReg |
int | width |
int | height |
int | colors |
AnImage * | I0 |
bool | opposedPotential |