SHIVA.UCFFormat (r1.1 vs. r1.2)
Diffs

 <<O>>  Difference Topic UCFFormat (r1.2 - 07 Jul 2006 - Main.HengYuan)

META TOPICPARENT FileFormats

UCF Format

Universal Contour Files (UCF) is a format devised at LONI.

Changed:
<
<
It is an ascii based file in the following format.
>
>
It is an ascii based file in the following format:

Header

Line: 22 to 22

255
Changed:
<
<
  • <width=> unknown. Occationally there may be two integer values specified.
  • <height=> unknown. Occationally there may be two integer values specified.
  • <xrange=> the relaxed range of contour points.
  • <yrange=> the relaxed range of contour points.
  • <zrange=> the relaxed range of contour points.
  • <levels> indicates the number of contours present in the file.
>
>
  • <width=> Number of horizontal pixels in the image on which the Ucf was drawn. Occasionally there may be two integer values specified. deprecated
  • <height=> Number of vertical pixels in the image on which the Ucf was drawn. Occasionally there may be two integer values specified. deprecated
  • <xrange=> the relaxed range of contour points, normally in microns.
  • <yrange=> the relaxed range of contour points, normally in microns.
  • <zrange=> the relaxed range of contour points, normally in microns.
  • <levels> indicates the number of contour planes present in the file. Each contour plane may contain several contours.

Changed:
<
<
Immediately following the header are contours.
>
>
Immediately following the header are contours planes

Contour

Line: 46 to 49

Changed:
<
<
  • <level number=> specifies the current contour number.
  • <point_num=> specifies the number of points on the contour.
>
>
  • <level number=> a value that is used to sort this contour plane, often representing the z-coordinate of the plane, but it is not required.
  • <point_num=> starts a new contour within the plane with the number of expected points.

  • <contour_data=> contains the 3D or 4D data values. The 4-th dimension data is ignored by SHIVA.

End

Line: 57 to 61

Added:
>
>
There should be no empty lines as it may break some parsers, including SHIVA.

 <<O>>  Difference Topic UCFFormat (r1.1 - 20 Jun 2006 - Main.HengYuan)
Line: 1 to 1
Added:
>
>
META TOPICPARENT FileFormats

UCF Format

Universal Contour Files (UCF) is a format devised at LONI. It is an ascii based file in the following format.

Header

<width=>
384
<height=>
256
<xrange=>
-200.000000 200.000000
<yrange=>
-200.000000 200.000000
<zrange=>
-200.000000 200.000000
<levels>
255

  • <width=> unknown. Occationally there may be two integer values specified.
  • <height=> unknown. Occationally there may be two integer values specified.
  • <xrange=> the relaxed range of contour points.
  • <yrange=> the relaxed range of contour points.
  • <zrange=> the relaxed range of contour points.
  • <levels> indicates the number of contours present in the file.

Immediately following the header are contours.

Contour

<level number=>
0.000000
<point_num=>
256
<contour_data=>
-28.192158 0.121569 -43.811764 6.325370
   ...
   ...
   ...
<end of level>

  • <level number=> specifies the current contour number.
  • <point_num=> specifies the number of points on the contour.
  • <contour_data=> contains the 3D or 4D data values. The 4-th dimension data is ignored by SHIVA.

End

Finally, a UCF file is ended with

<end>

Topic: UCFFormat . { View | Diffs | r1.2 | > | r1.1 | More }

Revision r1.1 - 20 Jun 2006 - 23:50 - Main.HengYuan
Revision r1.2 - 07 Jul 2006 - 22:53 - Main.HengYuan