The OmniSurf3D Data File Format

Digital Metrology wants you to be able to access and explore your data as easily as possible. After all—it is YOUR DATA. 

Recently Digital Metrology created the OmniSurf3D  data file format (*.OS3D) for efficient storage, reading, and writing of surface topography data. This file format is portable across operating systems and can be coded directly without 3rd party libraries. Reading and writing can be easily achieved in programming environments including C#, Visual Basic, Java, MATLAB®, and many others.

The OS3D format is a single, binary file containing height and image information. The file structure is a simple list of heading entries and a block of surface heights. When an image overlay is available for the data, it is added to the file as a PNG compressed bitmap.

An OS3D file is significantly smaller than a traditional, ASCII SDF file—and smaller files mean more space on your data drives!

Even more importantly, the combination of binary data and a PNG image gives incredibly fast load times for greatly improved productivity.

Use OmniSurf3D surface texture analysis software to create OS3D data files from any loaded data set. That means you can convert your current data into OS3D files for archiving and future analysis… just watch how fast your batch processing can be with OS3D files!

Download example C# source code for reading and writing OS3D files: OS3DAccess-v1p0.zip

An example OS3D data file for this image can be found here:  DigMetPenLogo.os3d

The OS3D file description is available here: OmniSurf3D-FileFormat-v1p0.pdf

The OS3D File Structure

char[10]          chArrayFileType
Int32             nMajorVersion
Int32             nMinorVersion
Int32             nIdentificationStringLength
char[80]          chArrayIdentification
Int32             nPointsAlongX
Int32             nPointsAlongY
double            dSpacingAlongXUM
double            dSpacingAlongYUM
double            dXOriginUM
double            dYOriginUM
float[nY,nX]      fSurfaceMapUM
Boolean           bHasImage
Byte array        imageOverlayPNG   (optional)

 

For more information on the OS3D file format or how you can better understand your surfaces, contact Digital Metrology  today!