|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectomerojava.util.Plane2D
public class Plane2D
Holds structure used to mapped the raw pixels data.
Constructor Summary | |
---|---|
Plane2D(ReadOnlyByteArray data,
int sizeX,
int sizeY,
int bytesPerPixel,
omerojava.util.BytesConverter strategy)
Creates a new intance. |
Method Summary | |
---|---|
byte[][] |
getPixelsArrayAsByte(boolean transpose)
Return the pixels array of the mapped data. |
double[][] |
getPixelsArrayAsDouble(boolean transpose)
Return the pixels array of the mapped data. |
int[][] |
getPixelsArrayAsInt(boolean transpose)
Return the pixels array of the mapped data. |
long[][] |
getPixelsArrayAsLong(boolean transpose)
Return the pixels array of the mapped data. |
short[][] |
getPixelsArrayAsShort(boolean transpose)
Return the pixels array of the mapped data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Plane2D(ReadOnlyByteArray data, int sizeX, int sizeY, int bytesPerPixel, omerojava.util.BytesConverter strategy)
data
- The array of byte.sizeX
- The number of pixels along the x-axis.sizeY
- The number of pixels along the y-axis.bytesPerPixel
- The number of bytes per pixel.strategy
- Strategy to transform pixel.Method Detail |
---|
public double[][] getPixelsArrayAsDouble(boolean transpose)
transpose
- transpose the mapped array (used for row, col matrices
of matlab)
public long[][] getPixelsArrayAsLong(boolean transpose)
transpose
- transpose the mapped array (used for row, col matrices
of matlab)
public int[][] getPixelsArrayAsInt(boolean transpose)
transpose
- transpose the mapped array (used for row, col matrices
of matlab)
public short[][] getPixelsArrayAsShort(boolean transpose)
transpose
- transpose the mapped array (used for row, col matrices
of matlab)
public byte[][] getPixelsArrayAsByte(boolean transpose)
transpose
- transpose the mapped array (used for row, col matrices
of matlab)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: 4.3.4-dbcbce5a-b4
Copyright © 2009 The University of Dundee. All Rights Reserved.