.df1 File Format Specifications

  

General Description

Df1 File Format is the image storage system used by "Volume Processor .Net". A df1 data consists of two files:

• an image file

• a header file

The files have the same name being distinguished by the extensions .df1 for the image file and .hd1 for the header file. 

Image File

The format of the image file is raw, only having the file extension changed. 

Header File

The header file is a simple file used to store the basic information about the image file. It's structure is depicted below.

 

Contents

Data type

Number

Length, bytes

Byte offset from beginning of file

Comments

 

 

 

 

 

Little-endian byte ordering is assumed.

Width

Integer

1

2

0

image width

Height

Integer

1

2

2

image height

Number of Images

Integer

1

2

4

Offset to first image

Integer

1

2

6

X scale

Float, 4 bytes

1

4

8

voxel dimension in mm scale

Y scale

Float, 4 bytes

1

4

12

voxel dimension in mm scale

Z scale

Float, 4 bytes

1

4

16

voxel dimension in mm scale

Direction cosines

Char, 1 byte

6

8-14

20

Direction cosines representing the direction of coordinate axes compared to Dicom coordinate space

 

   


Design & Implementation by Ömer Cengiz ÇELEBİ 
Copyright © 2007 Celebisoftware, Inc.
Terms of Use
 
 



About Celebisoftware