#include <SimilarPixelFMM.hpp>
Inheritance diagram for SimilarPixelFMM:
Purpose: Define a Fast Marching Method applied for direct distance maps and distance based data feeding. (e.g.: OUT/IN tactic, and more) Extensions to three dimension is obvious. My computer is too small for 3D. Note: We may inherit from AnImageOp, but we think there is much more in the fast marching that simply filtering and distance maps. It is simply a fantastic idea of Sethian & all. 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 | |
SimilarPixelFMM () | |
virtual | ~SimilarPixelFMM () |
virtual void | setPotential (ImagePotential *pot) |
You may want to load the image part too, for advanced Fast Marching. | |
virtual ImagePotential * | getPotential () |
virtual void | setInitiator (int x, int y) |
virtual void | setData (AnImage *im) |
You may want to load the image part too, for advanced Fast Marching. | |
virtual RImage * | compute (RImage *dest=0) |
multiple FMM iterations | |
virtual AnImage * | filter (AnImage *mask, AnImage *dest=0) |
like an image op generate a variant of a distance map or more | |
virtual AnImage * | selectedFilter (AnImage *mask, AnImage *src, AnImage *dest=0) |
Local filtering in a mask area. | |
virtual void | report () |
Protected Methods | |
virtual double | getPotential (int i, int j) |
return a local potential value | |
Protected Attributes | |
int | x0 |
int | y0 |
bool | distanceGrowingFlag |
ImagePotential * | potential |
|
Local filtering in a mask area.
Reimplemented from DistanceFMM. |