|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectGiciTransform.TransposeImage
public class TransposeImage
This class receives an image and transposes it if required.Typically it is used in the following way:
constructor(receiveing the image to be transposed)
setParameters
run
Field Summary | |
---|---|
(package private) float[][][] |
imageSamples
Original image samples (index meaning [z][y][x]). |
(package private) boolean |
parametersSet
To know if parameters are set. |
(package private) int[] |
transposeImg
Indicates whether each component should be transposed after reconstruction |
Constructor Summary | |
---|---|
TransposeImage(float[][][] imageSamples)
Constructor of TransposeImage. |
Method Summary | |
---|---|
static boolean |
needTranspose(int[] transposeImg)
According to the given paramater, determines if the image should be transposed or not. |
float[][][] |
run()
Transposes the image and returns it. |
void |
setParameters(int[] transposeImg)
Set the parameter used to transpose the image and check validity. |
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[] transposeImg
Valid values are:
boolean parametersSet
True indicates that they are set otherwise false.
Constructor Detail |
---|
public TransposeImage(float[][][] imageSamples)
imageSamples
- definition in imageSamples
Method Detail |
---|
public void setParameters(int[] transposeImg) throws ParameterException
transposeImg
- definition in transposeImg
ParameterException
- when an invalid or unrecognized exception is detected it will be thrownpublic float[][][] run() throws ParameterException
ParameterException
- when an invalid or unrecognized exception is detected it will be thrownpublic static boolean needTranspose(int[] transposeImg)
transposeImg
- definition in transposeImg
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |