public class VRTFormatUtils
extends java.lang.Object
| Constructor and Description |
|---|
VRTFormatUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getImageOffset(int dataSize,
int headerSize,
java.lang.String interLeaving,
int band,
int numBands,
int width,
int height)
It calculates the ImageOffSet parameter value.
|
static java.lang.String |
getImageOffset(VRTFileCreator fileCreator,
int band)
It calculates the ImageOffSet parameter value.
|
static java.lang.String |
getLineOffset(int dataSize,
java.lang.String interLeaving,
int numBands,
int width)
It calculates the ImageOffSet parameter value.
|
static java.lang.String |
getLineOffset(VRTFileCreator fileCreator)
It calculates the LineOffSet parameter value.
|
static java.lang.String |
getPixelOffset(int dataSize,
java.lang.String interLeaving,
int numBands)
It calculates the ImageOffSet parameter value.
|
static java.lang.String |
getPixelOffset(VRTFileCreator fileCreator)
It calculates the PixelOffSet parameter value.
|
public static java.lang.String getImageOffset(int dataSize,
int headerSize,
java.lang.String interLeaving,
int band,
int numBands,
int width,
int height)
dataSize - Type of each pixelheaderSize - Header file sizeinterLeaving - Type of interleavingband - Band numbernumBands - Number of bandswidth - Image widthheight - Image heightpublic static java.lang.String getImageOffset(VRTFileCreator fileCreator, int band)
fileCreator - Contains all the paramsband - Band to obtain the image offsetpublic static java.lang.String getLineOffset(int dataSize,
java.lang.String interLeaving,
int numBands,
int width)
dataSize - Type of each pixelinterLeaving - Type of interleaving Band numbernumBands - Number of bandswidth - Image widthpublic static java.lang.String getLineOffset(VRTFileCreator fileCreator)
fileCreator - Contains all the paramspublic static java.lang.String getPixelOffset(int dataSize,
java.lang.String interLeaving,
int numBands)
dataSize - Type of each pixelinterLeaving - Type of interleavingnumBands - Number of bandspublic static java.lang.String getPixelOffset(VRTFileCreator fileCreator)
fileCreator - Contains all the params