LONI Visualization Tool (LONI_Viz)®
Multi-Contour File Data Format
- Here is the proposal for a new
Curves-As-Trees (CAT) Object File Format. Below is the CURRENTLY USED
Multi-Contour File Format.
- LONI_Viz reads and writes contour files of the following
ASCII type/synthax (Multi Contour File format, file extensions
MCF or mcf). Example of a MCF
file: example.mcf
- Convertors between MCF <--> UCF (universal contour file, a single contour
file format) exist are are involked as follows:
- MergeMCOfiles_drive [[file.mcf/ucf]] combined_file.mcf
- MCF_to_UCF_drive plane_z_level contour_index file_input.mcf file_output.ucf
myFile.mcf
# "#", the sharp character denotes comments, parser bypasses them
# "[", "]" and multiple (nested) blocks enclose possibly repeating blocks
<orientation=>
axial
<width=>
384
<height=>
280
<depth=>
120
<xrange=>
-112.500000 79.500000
<yrange=>
-60.000000 80.000000
<zrange=>
-95.500000 95.500000
<z_dim=>
120
<y_dim=>
280
<x_dim=>
384
<z_step=>
1.6
<y_step=>
1.0
<x_step=>
1.0
<z_start=>
168.5
<y_start=>
100.0
<x_start=>
-50.0
<total_z_levels=>
150
[
<level_number=>
1.000000
<total_contours=>
15
[[
<contour_index=>
1
<contour_colors=>
19 94 94
<contour_name=>
some ROI name
<point_num=>
100
<contour_data=>
-52.000000 2.856786 2.500000
.
.
.
# In general we can add atributes by
1 2 3 atr=atribute_string_1 atr=atribute_string_2 ... atr=atribute_string_N
.
.
.
-52.000000 2.856786 2.500000
<end_of_contour>
]]
<end of level>
]
<end>
#
#
#Point3D <-- AttributePoint3D <-- SingleContourObject <-- MultiContourObject
#
#
#
© copyright ;
2000 LONI_Viz®,
( > )