...
Example Matlab code snippet to read in the 100 µm density grid volume:
...
%
...
Download
...
and
...
unzip
...
the
...
density
...
grid
...
file
...
for
...
VISp
...
SectionDataSet
Wiki Markup |
---|
<span style="color: #339966">% 100 micron volume |
...
size</span> sizeGrid = \[133 81 115\]; <span |
...
style="color: #339966">% DENSITY = 3-D matrix of projection density grid |
...
volume</span> fid = fopen('density.raw', 'r', 'l' |
...
); DENSITY = fread( fid, prod(sizeGrid), 'float' ); |
...
fclose( fid ); |
...
DENSITY = reshape(DENSITY,sizeGrid) |
...
; |
Wiki Markup |
---|
<span style="color: #339966">% Display one coronal and one sagittal |
...
section</span> figure;imagesc(squeeze(DENSITY (95,:,\:)));caxis(\[0,1\]);colormap(hot); |
...
figure;imagesc(squeeze(DENSITY (:,:,72)));caxis(\[0,1\]);colormap(hot); |
...
|
Projection Structure Unionization
...
Overview
Content Tools
ThemeBuilder