## File formats

### Riscan Pro ASCII

The Riscan Pro ASCII format is a text file exported from Riscan Pro. It must be exported with all the fields, seperated by a blank, and includes the header. The header must appear exactly as below, else the file cannot be loaded

ID X[m] Y[m] Z[m] Range[m] Theta[deg] Phi[deg] R[0..1] G[0..1] B[0..1] Intensity[0..1]

### RAW

The RAW file format is a binary sequence of the following C++ struct

    struct Point
    {
        float x, y, z;
        unsigned char r, g, b, ID;
    };

where x,y,z are the 3D co-ordinates and r,g,b are the colours. The ID field is used to distinguish which scan the points belong to. It was added because it might be useful.

The Compressed RAW format is essentially the RAW format compressed using the zlib library and can be uncompressed using either gzip or Winzip.

Return home