|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectCADI.Common.LogicalTarget.JPEG2000.Codestream.GenerateImageStructure
public class GenerateImageStructure
This class constructs the needed structures to index the JPEG2000 file.
Usage example:
construct
run
[get functions]
| Field Summary | |
|---|---|
private int[] |
blockHeights
Definition in CODParameters.blockHeights |
private int[][] |
blocksPerPrecinctHeights
Same as blocksPerPrecinctWidths but for precinct heights. |
private int[][] |
blocksPerPrecinctWidths
Number of blocks in each precinct for resolution level and component (width dimension). |
private int[] |
blockWidths
Definition in CODParameters.blockWidths |
private int[][][][][][] |
imageStructure
Is a multi-dimensional array with the image structure. |
private int[][] |
precinctHeights
Definition in CODParameters.precinctHeights |
private int[][] |
precinctWidths
Definition in CODParameters.precinctWidths |
private int[] |
WTLevels
Definition in CODParameters.WTLevels |
private int |
xSize
Definition in SIZParameters.xSize |
private int |
ySize
Definition in SIZParameters.ySize |
private int |
zSize
Definition in SIZParameters.zSize. |
| Constructor Summary | |
|---|---|
GenerateImageStructure(SIZParameters sizParameters,
CODParameters codParameters)
Constructor. |
|
| Method Summary | |
|---|---|
int[][] |
getBlocksPerPrecinctHeights()
Returns the blocksPerPrecinctHeights attribute. |
int[][] |
getBlocksPerPrecinctWidths()
Returns the blocksPerPrecinctWidths attribute. |
int[][][][][][] |
getImageStructure()
Returns the imageStructure attribute. |
void |
list(java.io.PrintStream out)
Prints this Generate Image Structure fields out to the specified output stream. |
void |
run()
Builds the imageStructure, blocksPerPrecinctHeights, and blocksPerPrecinctWidths. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private int zSize
SIZParameters.zSize.
private int ySize
SIZParameters.ySize
private int xSize
SIZParameters.xSize
private int[] WTLevels
CODParameters.WTLevels
private int[] blockWidths
CODParameters.blockWidths
private int[] blockHeights
CODParameters.blockHeights
private int[][] precinctWidths
CODParameters.precinctWidths
private int[][] precinctHeights
CODParameters.precinctHeights
private int[][] blocksPerPrecinctWidths
Values greater than 1.
private int[][] blocksPerPrecinctHeights
blocksPerPrecinctWidths but for precinct heights.
Values greater than 1.
private int[][][][][][] imageStructure
| Constructor Detail |
|---|
public GenerateImageStructure(SIZParameters sizParameters,
CODParameters codParameters)
sizParameters - definition in SIZParameters.codParameters - definition in CODParameters.| Method Detail |
|---|
public void run()
public int[][][][][][] getImageStructure()
imageStructure attribute.
imageStructure attribute.public int[][] getBlocksPerPrecinctWidths()
blocksPerPrecinctWidths attribute.
blocksPerPrecinctWidths attribute.public int[][] getBlocksPerPrecinctHeights()
blocksPerPrecinctHeights attribute.
blocksPerPrecinctHeights attribute.public java.lang.String toString()
toString in class java.lang.Objectpublic void list(java.io.PrintStream out)
out - an output stream.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||