|
JIGL v1.6 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--jigl.image.SimpleOperator
|
+--jigl.image.ops.levelOps.LookupTable
Retrieve the lookup table of a grayscale image. Supports GrayImage, RealGrayImage.
For each current grayscale value in a image, the lookup table contains a corresponding grayscale values in the equalized image.
| Field Summary | |
private int |
clip_max
table[max-1] |
private int |
clip_min
table[0] |
private int |
max
The length of lookup table |
private int |
min
The start grayscale value in the histogram |
private float[] |
table
A arry to store the lookup table |
| Constructor Summary | |
LookupTable(float[] data,
int start,
int min_val,
int max_val)
Creates a LookupTable |
|
| Method Summary | |
protected Image |
apply(GrayImage image)
Applies lookup table to image and return the equalized image. |
protected Image |
apply(GrayImage image,
ROI roi)
Applies lookup table to image in a specific Region of Interest. |
protected Image |
apply(RealGrayImage gr)
Applies lookup table to image and return the equalized image. |
protected Image |
apply(RealGrayImage image,
ROI roi)
Applies lookup table to image in a specific Region of Interest. |
| Methods inherited from class jigl.image.SimpleOperator |
apply, apply, apply, apply, apply, apply, apply, apply, apply, apply |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private float[] table
private int min
private int max
private int clip_min
table[0]
private int clip_max
table[max-1]
| Constructor Detail |
public LookupTable(float[] data,
int start,
int min_val,
int max_val)
data - an array containing the data to be loadedstart - the lowest valuemin_val - value for any pixel lower than startmax_val - value for any pixel larger than the high| Method Detail |
protected Image apply(GrayImage image)
image and return the equalized image.
apply in class SimpleOperatorimage - GrayImage to apply lookup table to.
imageprotected Image apply(RealGrayImage gr)
image and return the equalized image.
apply in class SimpleOperatorimage
protected Image apply(GrayImage image,
ROI roi)
image in a specific Region of Interest.
apply in class SimpleOperatorimage - GrayImage to apply lookup table to.roi - Region of Interest of image
image
protected Image apply(RealGrayImage image,
ROI roi)
image in a specific Region of Interest.
apply in class SimpleOperatorimage - RealGrayImage to apply lookup table to.roi - Region of Interest of image
image
|
JIGL v1.6 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||