|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsnakeprogram.IntensityEnergy
public class IntensityEnergy
Calculates an energy based on the intensity of the image. The snake points are pushed towards the brightest regions.
| Constructor Summary | |
|---|---|
IntensityEnergy(ij.process.ImageProcessor img,
double blur_sigma)
|
|
| Method Summary | |
|---|---|
double[] |
getImageEnergy(double x,
double y)
Given the coordinate points this will calculate the image energy and return the value as a double[] Ex Ey |
double |
getMaxPixel(double x,
double y)
This will use the squaresize defined in TwoDDeformation, and the original image to find the maximum pixel value in the square. |
ij.process.ImageProcessor |
getProcessor()
returns the original imageprocessor, that has been converted to a float |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IntensityEnergy(ij.process.ImageProcessor img,
double blur_sigma)
| Method Detail |
|---|
public double[] getImageEnergy(double x,
double y)
ImageEnergy
getImageEnergy in interface ImageEnergy
public double getMaxPixel(double x,
double y)
ImageEnergy
getMaxPixel in interface ImageEnergypublic ij.process.ImageProcessor getProcessor()
ImageEnergy
getProcessor in interface ImageEnergy
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||