class ArcFrames
extends Object
修飾子とタイプ | フィールドと説明 |
---|---|
protected int |
bytesPerSample
1サンプル(画素)あたりのバイト数
|
private List<Frame> |
frameList
フレームデータ
|
protected String |
imageType
イメージタイプ
|
protected int |
xSize
フレームのX方向サイズ
|
protected int |
ySize
フレームのY方向サイズ
|
コンストラクタと説明 |
---|
ArcFrames(String image_type,
int x_size,
int y_size)
コンストラクタ
|
修飾子とタイプ | メソッドと説明 |
---|---|
(package private) void |
add_frame(Pointer frame_binary,
long byte_length)
1フレームのデータを追加する。
|
(package private) byte[][] |
byteFrame(int index)
任意のフレームデータをbyte型2次元配列[y][x]で取り出す。
|
(package private) byte[][][] |
byteVal()
全フレームデータをbyte型3次元配列[frame][y][x]で取り出す。
|
(package private) Pointer |
getBlockBinary(int frame_idx) |
(package private) long |
getBlockLength(int frame_idx) |
(package private) int[][] |
intFrame(int index)
任意のフレームデータをint型2次元配列[y][x]で取り出す。
|
(package private) int[][][] |
intVal()
全フレームデータをint型3次元配列[frame][y][x]で取り出す。
|
(package private) long[][] |
longFrame(int index)
任意のフレームデータをlong型2次元配列[y][x]で取り出す。
|
(package private) long[][][] |
longVal()
全フレームデータをlong型3次元配列[frame][y][x]で取り出す。
|
(package private) long |
num()
フレーム数を取得する。
|
(package private) short[][] |
shortFrame(int index)
任意のフレームデータをshort型2次元配列[y][x]で取り出す。
|
(package private) short[][][] |
shortVal()
全フレームデータをshort型3次元配列[frame][y][x]で取り出す。
|
protected String imageType
protected int xSize
protected int ySize
protected int bytesPerSample
private List<Frame> frameList
ArcFrames(String image_type, int x_size, int y_size)
image_type
- イメージタイプx_size
- フレームのX方向サイズy_size
- フレームのY方向サイズvoid add_frame(Pointer frame_binary, long byte_length)
frame_binary
- バイナリデータbytes_length
- dataの長さ(バイト)long num()
byte[][][] byteVal() throws IllegalStateException
IllegalStateException
- データ型が一致しない。short[][][] shortVal() throws IllegalStateException
IllegalStateException
- データ型が一致しない。int[][][] intVal() throws IllegalStateException
IllegalStateException
- データ型が一致しない。long[][][] longVal() throws IllegalStateException
IllegalStateException
- データ型が一致しない。byte[][] byteFrame(int index) throws IllegalStateException, ArrayIndexOutOfBoundsException
index
- フレームインデックス番号(0-)IllegalStateException
- データ型が一致しない。ArrayIndexOutOfBoundsException
- インデックス番号が不正である。short[][] shortFrame(int index) throws IllegalStateException, ArrayIndexOutOfBoundsException
index
- フレームインデックス番号(0-)IllegalStateException
- データ型が一致しない。ArrayIndexOutOfBoundsException
- インデックス番号が不正である。int[][] intFrame(int index) throws IllegalStateException, ArrayIndexOutOfBoundsException
index
- フレームインデックス番号(0-)IllegalStateException
- データ型が一致しない。ArrayIndexOutOfBoundsException
- インデックス番号が不正である。long[][] longFrame(int index) throws IllegalStateException, ArrayIndexOutOfBoundsException
index
- フレームインデックス番号(0-)IllegalStateException
- データ型が一致しない。ArrayIndexOutOfBoundsException
- インデックス番号が不正である。long getBlockLength(int frame_idx)
Pointer getBlockBinary(int frame_idx)