#include <HJFastSweepingOp.hpp>
Inheritance diagram for HJFastSweepingOp:
Purpose: Computation distance via HJ Fast Sweeping in O(N). Paper: "Fast Sweeping Methods for static Hamilton-Jacobi Equations.", C.Y. Kao, S. Osher, Y-H. Tsai, Report CAM 02-66, UCLA 2002. "Fast Sweeping Algorithms for a Class of Hamilton-Jacobi Equations.", Y-H. Tsai, L-T. Cheng, S. Osher, H-K. Zhao, Report UCLA 2002.
@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
HJFastSweepingOp (double ax=1.0, double bx=1.0, double cx=0.0, double Rx=1.0) | |
virtual | ~HJFastSweepingOp () |
virtual RImage * | filter (RImage *src, RImage *dest=0) |
Local full image filtering. | |
virtual RImage * | selectedFilter (AnImage *mask, RImage *src, RImage *dest=0) |
Local filtering in a mask area. | |
virtual void | report (FILE *file) |
Protected Methods | |
void | init (RImage *psi) |
void | updatePsi (RImage *psiNew, int i, int j) |
void | updatePsi (RImage *psi, int i, int j, int sx, int sy) |
void | solvePsi (RImage *psi, int i, int j, int sx, int sy, double m) |
Private Attributes | |
int | maxIter |
double | a |
double | b |
double | c |
double | R |
double | h |
int | width |
int | height |
int | count |
double | psiCandidate [4] |
double | pi_2 |
double | ab_c2 |
double | m2_ab_c2 |
double | asx_csy |
double | bsy_csx |
double | borneSxLow |
double | borneSxUp |
double | borneSyLow |
double | borneSyUp |
|
Local full image filtering.
Implements AbsRImageFilter. |
|
Local filtering in a mask area.
Reimplemented from AbsRImageFilter. |