Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hi, try the following site **broken link removed**
You can get .dat voxel human models from this page..........If you can open the .dat files please let me know how, because I've had some problem opening it but Im sure its due to my lack of knowledge in data formats..........
Hi aaron412,
many thanks!! You really helped me The file is easy to open. I used Matlab for
this purpose. Here is the code to read the head. If you encounter some problems please let me kow. Many thanks again!!
% ----------------------------------------------------
% dat2mat_.m 07-2005
% read 'zubal head' data format;
% and save as a 3d-matrix in *.mat file
% ----------------------------------------------------
fid=fopen('det_head_u2med.dat','r'); % read head
head_lin=fread(fid,'uint8'); % data_format= uint8
fclose(fid);
%
nx=256; ny=256; nz=128; % dimension matrix
%
head3d=zeros(nx,ny,nz); % increases speed!!!
i=1;
for z=1:nz
for y=1:ny
for x=1:nx
head3d(x,y,z)=head_lin(i); % write in 3d matrix
i=i+1;
end
end
end
%
figure % an example: view slice 80
contourf(head3d,:,80));
hold on
colorbar
save head3d.mat head3d %
% ----------------------------------------------------
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.