|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectGiciImageExtension.ImageDeExtension
public class ImageDeExtension
This class receives an image and delete the files and columns extended during compression process.
Usage example:
construct
set functions
run
| Field Summary | |
|---|---|
(package private) float[][][] |
imageSamples
Original image samples (index meaning [z][y][x]). |
(package private) int[] |
imageWidth
Image width of the original image for each of the channels. |
(package private) int[] |
padRows
Definition in ImageExtension.padRows |
(package private) boolean |
parametersSet
To know if parameters are set. |
(package private) int |
zSize
Number of image components. |
| Constructor Summary | |
|---|---|
ImageDeExtension(float[][][] imageSamples)
Constructor that receives the original image samples. |
|
| Method Summary | |
|---|---|
static int[] |
computePadRows(int zSize,
int ySize,
int[] imageExtensionType,
int[] WTLevels)
Computes the number of padding rows that has been added to the original image |
static boolean |
needDeExtension(int[] padRows,
int[] imageWidth,
int[] xSizes)
Determines if the image should be cropped in order to recover its initial size |
float[][][] |
run()
Inversion of the extension |
void |
setParameters(int[] imageWidth,
int[] padRows)
Set the parameters used to invert the image extension |
| 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
Negative values are not allowed for this field.
int[] imageWidth
Negative values are not allowed for this field.
int[] padRows
ImageExtension.padRows
boolean parametersSet
True indicates that they are set otherwise false.
| Constructor Detail |
|---|
public ImageDeExtension(float[][][] imageSamples)
imageSamples - definition in imageSamples| Method Detail |
|---|
public void setParameters(int[] imageWidth,
int[] padRows)
imageWidth - definition in imageWidthpadRows - definition in padRows
public float[][][] run()
throws java.lang.Exception
java.lang.Exception
public static boolean needDeExtension(int[] padRows,
int[] imageWidth,
int[] xSizes)
padRows - definition in padRowsimageWidth - definition in imageWidthxSizes - indicates the size of each channel after reconstruction.
public static int[] computePadRows(int zSize,
int ySize,
int[] imageExtensionType,
int[] WTLevels)
zSize - definition in zSizeySize - image height of the original imageimageExtensionType - definition in ImageExtension.imageExtensionTypeWTLevels - definition in ForwardWaveletTransform.WTLevels
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||