|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectomerojava.util.Plane1D
public class Plane1D
Constructor Summary | |
---|---|
Plane1D(ReadOnlyByteArray data,
int sizeX,
int sizeY,
int bytesPerPixel,
omerojava.util.BytesConverter strategy)
Creates a new intance. |
Method Summary | |
---|---|
byte[] |
getPixelsArrayAsByte()
Return the pixels array of the mapped data. |
double[] |
getPixelsArrayAsDouble()
Return the pixels array of the mapped data. |
int[] |
getPixelsArrayAsInt()
Return the pixels array of the mapped data. |
long[] |
getPixelsArrayAsLong()
Return the pixels array of the mapped data. |
short[] |
getPixelsArrayAsShort()
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 Plane1D(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()
transpose
- transpose the mapped array (used for row, col matrices
of matlab)
public long[] getPixelsArrayAsLong()
transpose
- transpose the mapped array (used for row, col matrices
of matlab)
public int[] getPixelsArrayAsInt()
transpose
- transpose the mapped array (used for row, col matrices
of matlab)
public short[] getPixelsArrayAsShort()
transpose
- transpose the mapped array (used for row, col matrices
of matlab)
public byte[] getPixelsArrayAsByte()
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.