1. 程式人生 > >淺談二維和三維影象資料

淺談二維和三維影象資料

  再將其輸出為檔案的程式碼如下,都是比較簡單的讀寫呼叫,由此同時可以看出,無論是2維還是3維影象,使用一維陣列的方式存資料,對於IO來說是十分方便。

複製程式碼
void OutPutVolume(const char* fileName,unsigned char* pointer,int width,int height,int depth)
{    
     int length=width*height*depth;
     FILE *const nfile = fopen(fileName,"wb");
     fwrite(pointer,sizeof(unsigned char
),length,nfile); fclose(nfile); }
複製程式碼

   前段時間需要找各種三維影象來做實驗,發現這個www.volvis.org及其不穩定,時不時就是伺服器關閉了,這樣會導致需要資料的時候比較麻煩,所以這裡乾脆把一些常用的資料下來到部落格園貼著,以防不時之需。

資料預覽 資料引數 資料描述
Aneurism

256x256x256
1:1:1

Rotational C-arm x-ray scan of the arteries of the right half of a human head. A contrast agent was injected into the blood and an aneurism is present.

Backpack Scan 16Bits
(12bits set)
512 x 512 x 373
0.9766, 0.9766, 1.25
Boston Teapot

256x256x178
1:1:1

CT scan of the SIGGRAPH 1989 teapot with a small version of the AVS lobster inside.

Colon Phantom 8Bits
512 x 512 x 442
0.9316, 0.9316, 0.5
CT scan of a Colon phantom with several different objects and five pedunculated large polyps in the central object.

http://pan.baidu.com/s/1eQgNj6y
Engine

256x256x128
1:1:1
Foot

256x256x256
1:1:1

Rotational C-arm x-ray scan of a human foot. Tissue and bone are present in the dataset.

Lobster

301x324x56
(1:1:1.4)
Head MRI CISS 8Bits
(8bits set)
256 x 256 x 124
0.9, 0.9, 0.9

1.5T MRT 3D CISS dataset of a human head that highlights the CSF (Cerebro-Spinal-Fluid) filled cavities of the head.
We also provide a segmentation of the cerebral ventricular system, where the first (negative) number is the number of all voxels of the segmentation, followed by the voxel array indices of the voxels of the segmentations. Please read the new comment above if you have problems with the voxel indices in the segmenation file.

Neghip

64x64x64
(1:1:1)

Simulation of the spatial probability distribution of the electrons in a high potential protein molecule.

Colon Prone 8Bits
512 x 512 x 463
0.625, 0.625, 1.0

CT scan of abdomen in prone orientation (back faces ceiling, belly faces table.

Silicium

98x34x34
(1:1:1)
Skull

256x256x256
1:1:1

Rotational C-arm x-ray scan of phantom of a human skull.