|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectGiciTransform.RangeCheck
public class RangeCheck
This class receives an image and check that all image samples have a valid range.
Usage example:
construct
set functions
run
| Field Summary | |
|---|---|
(package private) float[][][] |
imageSamples
Original image samples (index meaning [z][y][x]). |
(package private) boolean[] |
LSSignedComponents
Level Shift |
(package private) boolean |
parametersSet
To know if parameters are set. |
(package private) int[] |
QComponentsBits
Number of bits for pixel for every component of the image |
(package private) int |
RCType
Range type to apply. |
(package private) int |
xSize
Width of the image |
(package private) int |
ySize
Height of the image |
(package private) int |
zSize
Number of components of the image |
| Constructor Summary | |
|---|---|
RangeCheck(float[][][] imageSamples)
Constructor that receives the original image samples. |
|
| Method Summary | |
|---|---|
float[][][] |
run()
Check image samples range. |
void |
setParameters(int RCType,
boolean[] LSSignedComponents,
int[] QComponentsBits)
Set the parameters used to do the range check operation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
float[][][] imageSamples
All values allowed.
int zSize
int ySize
int xSize
int RCType
Valid values are:
boolean[] LSSignedComponents
int[] QComponentsBits
boolean parametersSet
True indicates that they are set otherwise false.
| Constructor Detail |
|---|
public RangeCheck(float[][][] imageSamples)
imageSamples - definition in imageSamples| Method Detail |
|---|
public void setParameters(int RCType,
boolean[] LSSignedComponents,
int[] QComponentsBits)
RCType - definition in RCTypeLSSignedComponents - definition in LSSignedComponentsQComponentsBits - definition in QComponentsBits
public float[][][] run()
throws ErrorException
ErrorException - when some oput of range is detected (if RCType == 2)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||