JunkBox_Lib++ (for Windows) 1.10.1
|
グラフィックデータヘッダ定義 More...
#include "tools.h"
Go to the source code of this file.
Classes | |
struct | CTHead |
struct | RasHead |
struct | CmnHead_Entry |
struct | CmnHead |
struct | RGB24Data |
Macros | |
#define | RAS_MAGIC 0x59a66a95 |
#define | RAS_RLE 0x80 |
#define | RT_OLD 0 |
#define | RT_STANDARD 1 |
#define | RT_BYTE_ENCODED 2 |
#define | RT_FORMAT_RGB 3 |
#define | RMT_NONE 0 |
#define | RMT_EQUAL_RGB 1 |
#define | RMT_RAW 2 |
#define | UN_KNOWN_DATA 0 |
0x0000 // 知らないデータ形式(システムにお任せ) | |
#define | PROC_DATA 1 |
0x0001 // 内部(DLL)処理されたデータ形式 | |
#define | CREATE_DATA 2 |
0x0002 // 内部(DLL)で作成されたデータ形式 | |
#define | MOON_DATA 3 |
0x0003 // CT DATA | |
#define | DICOM_DATA 4 |
0x0004 // DICOM Header | |
#define | USERSET_DATA 5 |
0x0005 // ユーザ指定のデータ形式(ヘッダ形式指定の場合,使用する) | |
#define | CT_DATA 16 |
0x0010 // CT DATA (Moon形式) | |
#define | CT_3DM 18 |
0x0012 // 3D CT DATA(マルチスライス) | |
#define | CT_3D_VOL 19 |
0x0013 // CT ボリュームデータ | |
#define | CT_RGN_SL 20 |
0x0014 // CT Region Slice DATA | |
#define | JPEG_DATA 32 |
0x0020 // JPEG RGB | |
#define | JPEG_RGB_DATA 32 |
0x0020 // JPEG RGB | |
#define | JPEG_MONO_DATA 33 |
0x0021 // JPEG MONO | |
#define | JPEG16_RGB_DATA 34 |
0x0022 // 書き込み用(16bit->32bit変換) | |
#define | JPEG16_ARGB_DATA 35 |
0x0023 // 書き込み用(16bit->32bit変換) | |
#define | JPEG16_RGBA_DATA 36 |
0x0024 // 書き込み用(16bit->32bit変換) | |
#define | JPEG_ARGB_DATA 37 |
0x0025 // 書き込み用(アルファチャンネルは削除される) | |
#define | JPEG_RGBA_DATA 38 |
0x0026 // 書き込み用(アルファチャンネルは削除される) | |
#define | TIFF_DATA 48 |
0x0030 // TIFF | |
#define | PNG_DATA 64 |
0x0040 // PNG | |
#define | TGA_DATA 80 |
0x0050 // TGA | |
#define | JP2K_DATA 96 |
0x0060 // JPEG2K | |
#define | RAS_DATA 112 |
0x0070 // SUN RASTER 8bit | |
#define | RAS8_DATA 113 |
0x0071 // SUN RASTER 8bit | |
#define | RAS16_DATA 114 |
0x0072 // SUN RASTER 16bit | |
#define | RAS24_DATA 115 |
0x0073 // SUN RASTER 24bit | |
#define | HAS_DUMMY1 256 |
0x0100 | |
#define | HAS_DUMMY2 512 |
0x0200 | |
#define | HAS_BASE 1024 |
0x0400 // 基底(底上げ)値を持つ | |
#define | HAS_ZSPACE 2048 |
0x0800 | |
#define | HAS_RZXY 4096 |
0x1000 // with RZxy data | |
#define | HAS_RBOUND 8192 |
0x2000 // with RBound data | |
#define | HAS_LENDIAN 16384 |
0x4000 // リトルエンディアン | |
#define | HEADER_NONE 32768 |
0x8000 // ヘッダ種別の指定なし | |
#define | NUM_KDATA 32767 |
0x7fff // Max Numver of Data Format | |
#define | RZXY_RATE 10000 |
RZxy をファイルのヘッダに埋め込む際の比率(倍率). | |
#define | ZEROCT_BASE 4096 |
#define | UN_KNOWN_DATA_STR "UNKNOWN DATA" |
#define | PROC_DATA_STR "PROC DATA" |
#define | CREATE_DATA_STR "CREATE DATA" |
#define | USERSET_DATA_STR "USERSET DATA" |
#define | DICOM_DATA_STR "DICOM" |
#define | RAS_DATA_STR "SUN RASTER" |
#define | CT_DATA_STR "Common Header" |
#define | CT_3DM_STR "Common 3D" |
#define | MOON_DATA_STR "CT (Moon)" |
#define | JPEG_RGB_DATA_STR "JPEG RGB" |
#define | JPEG_MONO_DATA_STR "JPEG MONO" |
#define | PNG_DATA_STR "PNG" |
#define | TIFF_DATA_STR "TIFF" |
#define | CT_3D_VOL_STR "3D VOL" |
#define | STATE_GRAPH_NOERR 0 |
#define | GRAPH_COLOR_MONO 0 |
0x0000 | |
#define | GRAPH_COLOR_MONO8 0 |
#define | GRAPH_COLOR_GRAY 0 |
#define | GRAPH_COLOR_GRAY8 0 |
#define | GRAPH_COLOR_MONO16 16 |
0x0010 | |
#define | GRAPH_COLOR_GRAY16 16 |
#define | GRAPH_COLOR_R5G6B5 17 |
0x0011 no PLANEモード only. depth = 16, zsize = 1 | |
#define | GRAPH_COLOR_RGB16 17 |
#define | GRAPH_COLOR_R4G4B4A4 18 |
0x0012 no PLANEモード only. depth = 16, zsize = 1 | |
#define | GRAPH_COLOR_RGBA16 18 |
#define | GRAPH_COLOR_A4R4G4B4 19 |
0x0013 no PLANEモード only. depth = 16, zsize = 1 | |
#define | GRAPH_COLOR_ARGB16 19 |
#define | GRAPH_COLOR_MA 20 |
0x0014 | |
#define | GRAPH_COLOR_M8A8 20 |
#define | GRAPH_COLOR_MA16 20 |
#define | GRAPH_COLOR_GA 20 |
#define | GRAPH_COLOR_G8A8 20 |
#define | GRAPH_COLOR_GA16 20 |
#define | GRAPH_COLOR_R8G8B8 32 |
0x0020 | |
#define | GRAPH_COLOR_RGB24 32 |
#define | GRAPH_COLOR_RGB 32 |
#define | GRAPH_COLOR_B8G8R8 48 |
0x0030 | |
#define | GRAPH_COLOR_BGR24 48 |
#define | GRAPH_COLOR_BGR 48 |
#define | GRAPH_COLOR_A8R8G8B8 64 |
0x0040 | |
#define | GRAPH_COLOR_ARGB32 64 |
#define | GRAPH_COLOR_ARGB 64 |
#define | GRAPH_COLOR_R8G8B8A8 65 |
0x0041 | |
#define | GRAPH_COLOR_RGBA32 65 |
#define | GRAPH_COLOR_RGBA 65 |
#define | GRAPH_COLOR_X8R8G8B8 66 |
0x0042 | |
#define | GRAPH_COLOR_XRGB32 66 |
#define | GRAPH_COLOR_XRGB 66 |
#define | GRAPH_COLOR_A8B8G8R8 80 |
0x0050 | |
#define | GRAPH_COLOR_ABGR32 80 |
#define | GRAPH_COLOR_ABGR 80 |
#define | GRAPH_COLOR_B8G8R8A8 81 |
0x0051 | |
#define | GRAPH_COLOR_BGRA32 81 |
#define | GRAPH_COLOR_BGRA 81 |
#define | GRAPH_COLOR_X8B8G8R8 82 |
0x0052 | |
#define | GRAPH_COLOR_XBGR32 82 |
#define | GRAPH_COLOR_XBGR 82 |
#define | GRAPH_COLOR_UNKNOWN 112 |
0x0070 | |
#define | DICOM_STUDY_GROUP 0x0020 |
#define | DICOM_IMAGE_GROUP 0x0028 |
#define | DICOM_PIXEL_GROUP 0x7fe0 |
#define | DICOM_PIXEL_ELEMENT 0x0010 |
#define | DICOM_XSIZE_ELEMENT 0x0011 |
#define | DICOM_YSIZE_ELEMENT 0x0010 |
#define | DICOM_PXLSPC_ELEMENT 0x0030 |
#define | DICOM_DEPTH_ELEMENT 0x0100 |
#define | DICOM_GRYLV_ELEMENT 0x0101 |
#define | DICOM_PIXCEL_VR 0x574f |
Not. | |
#define | DICOM_STR_VR 0x5344 |
Z歪 | |
#define | DICOM_INT_VR 0x5355 |
X, Y. | |
Definition in file gheader.h.
#define CT_3D_VOL 19 |
Definition at line 179 of file gheader.h.
Referenced by jbxl::copyCmnHead2MSGraph(), and jbxl::writeCmnHeadData().
#define CT_3DM 18 |
Definition at line 178 of file gheader.h.
Referenced by jbxl::copyCmnHead2MSGraph(), jbxl::readGraphicSlices(), jbxl::writeCmnHeadData(), and jbxl::writeGraphicFile().
#define CT_DATA 16 |
Definition at line 177 of file gheader.h.
Referenced by jbxl::copyCmnHead2MSGraph(), jbxl::readGraphicSlices(), jbxl::writeCmnHeadData(), and jbxl::writeGraphicFile().
#define DICOM_DATA 4 |
Definition at line 173 of file gheader.h.
Referenced by jbxl::readCmnHeadFile(), jbxl::readGraphicSlices(), jbxl::readXHead(), and jbxl::readXHeadFile().
#define DICOM_DEPTH_ELEMENT 0x0100 |
Definition at line 315 of file gheader.h.
Referenced by jbxl::dicomHeader().
#define DICOM_IMAGE_GROUP 0x0028 |
Definition at line 308 of file gheader.h.
Referenced by jbxl::dicomHeader().
#define DICOM_INT_VR 0x5355 |
Definition at line 320 of file gheader.h.
Referenced by jbxl::dicomHeader().
#define DICOM_PIXCEL_VR 0x574f |
Definition at line 318 of file gheader.h.
Referenced by jbxl::dicomHeader().
#define DICOM_PIXEL_ELEMENT 0x0010 |
Definition at line 311 of file gheader.h.
Referenced by jbxl::dicomHeader().
#define DICOM_PIXEL_GROUP 0x7fe0 |
Definition at line 309 of file gheader.h.
Referenced by jbxl::dicomHeader().
#define DICOM_PXLSPC_ELEMENT 0x0030 |
Definition at line 314 of file gheader.h.
Referenced by jbxl::dicomHeader().
#define DICOM_STR_VR 0x5344 |
Definition at line 319 of file gheader.h.
Referenced by jbxl::dicomHeader().
#define DICOM_XSIZE_ELEMENT 0x0011 |
Definition at line 312 of file gheader.h.
Referenced by jbxl::dicomHeader().
#define DICOM_YSIZE_ELEMENT 0x0010 |
Definition at line 313 of file gheader.h.
Referenced by jbxl::dicomHeader().
#define GRAPH_COLOR_ABGR 80 |
Definition at line 291 of file gheader.h.
Referenced by jbxl::_linecopy_MAT2MSG_C3(), and jbxl::MSGraph2TGAImage().
#define GRAPH_COLOR_ARGB 64 |
Definition at line 279 of file gheader.h.
Referenced by jbxl::MSGraph2TGAImage(), and jbxl::writeGraphicFile().
#define GRAPH_COLOR_ARGB16 19 |
Definition at line 257 of file gheader.h.
Referenced by jbxl::writeGraphicFile().
#define GRAPH_COLOR_BGR 48 |
Definition at line 274 of file gheader.h.
Referenced by jbxl::MSGraph2TGAImage(), and jbxl::TGAImage2MSGraph().
#define GRAPH_COLOR_BGRA 81 |
Definition at line 295 of file gheader.h.
Referenced by jbxl::MSGraph2TGAImage(), and jbxl::TGAImage2MSGraph().
#define GRAPH_COLOR_GRAY 0 |
Definition at line 244 of file gheader.h.
Referenced by jbxl::MSGraph2TGAImage(), and jbxl::TGAImage2MSGraph().
#define GRAPH_COLOR_MA 20 |
Definition at line 260 of file gheader.h.
Referenced by jbxl::MSGraph2TGAImage(), and jbxl::TGAImage2MSGraph().
#define GRAPH_COLOR_MONO 0 |
カラータイプ ピクセルデータ毎にカラーの情報が入っているか, 基本的に PLANEモード(カラー毎に PLANEを持っている).
Definition at line 242 of file gheader.h.
Referenced by jbxl::_getMSGraph_CvMat_C1(), jbxl::_linecopy_MAT2MSG_C3(), jbxl::readGraphicSlices(), and MSGraph< T >::set().
#define GRAPH_COLOR_MONO16 16 |
Definition at line 247 of file gheader.h.
Referenced by jbxl::copyCmnHead2MSGraph(), and jbxl::readGraphicSlices().
#define GRAPH_COLOR_RGB 32 |
Definition at line 270 of file gheader.h.
Referenced by jbxl::copyCmnHead2MSGraph(), and jbxl::MSGraph2TGAImage().
#define GRAPH_COLOR_RGB16 17 |
Definition at line 251 of file gheader.h.
Referenced by jbxl::_linecopy_MAT2MSG_C3(), and jbxl::writeGraphicFile().
#define GRAPH_COLOR_RGBA 65 |
Definition at line 283 of file gheader.h.
Referenced by jbxl::MSGraph2TGAImage(), and jbxl::writeGraphicFile().
#define GRAPH_COLOR_RGBA16 18 |
Definition at line 254 of file gheader.h.
Referenced by jbxl::writeGraphicFile().
#define GRAPH_COLOR_UNKNOWN 112 |
Definition at line 302 of file gheader.h.
Referenced by MSGraph< T >::init(), jbxl::MSGraph2TGAImage(), and MSGraph< T >::set().
#define HAS_BASE 1024 |
Definition at line 206 of file gheader.h.
Referenced by jbxl::copyCmnHead2MSGraph(), jbxl::copyMSGraph2CmnHead(), jbxl::readGraphicSlices(), and jbxl::writeGraphicFile().
#define HAS_LENDIAN 16384 |
Definition at line 210 of file gheader.h.
Referenced by jbxl::readCmnHeadFile(), jbxl::readUserSetData(), and jbxl::readXHeadFile().
#define HAS_RBOUND 8192 |
Definition at line 209 of file gheader.h.
Referenced by jbxl::copyCmnHead2MSGraph(), jbxl::copyMSGraph2CmnHead(), jbxl::readGraphicSlices(), and jbxl::writeGraphicFile().
#define HAS_RZXY 4096 |
Definition at line 208 of file gheader.h.
Referenced by jbxl::copyCmnHead2MSGraph(), jbxl::copyMSGraph2CmnHead(), jbxl::readCmnHeadFile(), jbxl::readGraphicSlices(), jbxl::readXHead(), jbxl::readXHeadFile(), and jbxl::writeGraphicFile().
#define HEADER_NONE 32768 |
Definition at line 212 of file gheader.h.
Referenced by jbxl::copyCmnHead2MSGraph(), jbxl::copyMSGraph2CmnHead(), jbxl::init_CmnHead(), jbxl::readCmnHeadFile(), jbxl::readGraphicFile(), jbxl::readGraphicSlices(), jbxl::readMoonData(), jbxl::readMoonFile(), jbxl::readRasData(), jbxl::readUserSetData(), jbxl::readXHead(), and jbxl::readXHeadFile().
#define JPEG16_ARGB_DATA 35 |
Definition at line 187 of file gheader.h.
Referenced by jbxl::writeCmnHeadData(), jbxl::writeCmnHeadFile(), and jbxl::writeGraphicFile().
#define JPEG16_RGB_DATA 34 |
Definition at line 186 of file gheader.h.
Referenced by jbxl::writeCmnHeadData(), jbxl::writeCmnHeadFile(), and jbxl::writeGraphicFile().
#define JPEG16_RGBA_DATA 36 |
Definition at line 188 of file gheader.h.
Referenced by jbxl::writeCmnHeadData(), jbxl::writeCmnHeadFile(), and jbxl::writeGraphicFile().
#define JPEG_ARGB_DATA 37 |
Definition at line 189 of file gheader.h.
Referenced by jbxl::writeCmnHeadData(), jbxl::writeCmnHeadFile(), and jbxl::writeGraphicFile().
#define JPEG_MONO_DATA 33 |
Definition at line 185 of file gheader.h.
Referenced by jbxl::copyCmnHead2MSGraph(), jbxl::readCmnHeadFile(), jbxl::readXHeadFile(), jbxl::writeCmnHeadData(), and jbxl::writeCmnHeadFile().
#define JPEG_RGB_DATA 32 |
Definition at line 184 of file gheader.h.
Referenced by jbxl::copyCmnHead2MSGraph(), jbxl::readCmnHeadFile(), jbxl::readXHead(), jbxl::writeCmnHeadData(), jbxl::writeCmnHeadFile(), and jbxl::writeGraphicFile().
#define JPEG_RGBA_DATA 38 |
Definition at line 190 of file gheader.h.
Referenced by jbxl::writeCmnHeadData(), jbxl::writeCmnHeadFile(), and jbxl::writeGraphicFile().
#define MOON_DATA 3 |
Definition at line 172 of file gheader.h.
Referenced by jbxl::readCmnHeadFile(), jbxl::readMoonData(), jbxl::readXHead(), jbxl::readXHeadFile(), jbxl::writeCmnHeadData(), and jbxl::writeCmnHeadFile().
#define NUM_KDATA 32767 |
Definition at line 213 of file gheader.h.
Referenced by jbxl::readXHead(), and jbxl::readXHeadFile().
#define RAS_DATA 112 |
Definition at line 198 of file gheader.h.
Referenced by jbxl::readCmnHeadFile(), jbxl::readRasData(), jbxl::readXHead(), jbxl::writeCmnHeadData(), jbxl::writeCmnHeadFile(), and jbxl::writeRasData().
#define RAS_MAGIC 0x59a66a95 |
Definition at line 94 of file gheader.h.
Referenced by jbxl::readXHead(), jbxl::readXHeadFile(), and jbxl::writeRasData().
#define RMT_NONE 0 |
Definition at line 100 of file gheader.h.
Referenced by jbxl::writeRasData().
#define RT_STANDARD 1 |
Definition at line 97 of file gheader.h.
Referenced by jbxl::writeRasData().
#define RZXY_RATE 10000 |
Definition at line 215 of file gheader.h.
Referenced by jbxl::copyCmnHead2MSGraph(), jbxl::copyMSGraph2CmnHead(), jbxl::readCmnHeadFile(), jbxl::readGraphicSlices(), jbxl::readXHead(), jbxl::readXHeadFile(), and jbxl::writeGraphicFile().
#define STATE_GRAPH_NOERR 0 |
Definition at line 234 of file gheader.h.
Referenced by MSGraph< T >::init(), and MSGraph< T >::set().
#define UN_KNOWN_DATA 0 |
Definition at line 169 of file gheader.h.
Referenced by jbxl::copyCmnHead2MSGraph(), jbxl::readCmnHeadFile(), jbxl::readGraphicFile(), jbxl::readGraphicSlices(), jbxl::readXHead(), jbxl::readXHeadFile(), jbxl::writeCmnHeadData(), and jbxl::writeCmnHeadFile().
#define USERSET_DATA 5 |
Definition at line 174 of file gheader.h.
Referenced by jbxl::readCmnHeadFile(), jbxl::readGraphicSlices(), jbxl::readUserSetData(), jbxl::readXHead(), jbxl::readXHeadFile(), and jbxl::writeCmnHeadData().