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