Multi-Page Raw Format (Mrf) - IDT sharpVISION sharpVISION Digital Camera User Manual

Programmable digital camera windows and mac
Table of Contents

Advertisement

sharpVISION™ Digital Camera

8.1.8. Multi-page Raw Format (MRF)

Multi-page Raw Format (MRF) is an uncompressed IDT proprietary file format. Multiple raster
images are stored in a single file. The format is described below.
Each MRF file contains a file header, an image header and an array of bytes that defines the
image data bits. The image raster data is not compressed and stored in the file "as it is". Both
8 bit and 16 bit data are supported. The file structures are the following:
8.1.8.1. File header
A MRF file begins with a file header structure containing the IDT raw file signature.
typedef struct _RCFILE_HEADER
{
char szSign[8];
unsigned long nReserved;
} RCFILE_HEADER, *PRCFILE_HEADER;
Members
szSign[8]: a 8 char buffer which contains the signature "IDT-MRF". It indicates that the
remainder of the file contains a Multiple Raw File.
nReserved: this field is reserved for future use.
8.1.8.2. Image header
The file header is followed by the image header which contains general information about the
data stream.
typedef struct _RCIMG_HEADER
{
unsigned long nSize;
unsigned long nPages;
unsigned long nWidth;
unsigned long nHeight;
unsigned long nBPP;
unsigned long userData[64];
} RCIMG_HEADER, *PRCIMG_HEADER;
Members
nSize: size of the structure in bytes. It should be 84.
nPages: number of images contained in the file
sharpVISION™ User Manual
// IDT raw file signature
// reserved
// size of this header
// number of pages/frames
// image width
// image height
// bits per pixel
// user data array
31

Advertisement

Table of Contents
loading

Related Products for IDT sharpVISION sharpVISION Digital Camera

This manual is also suitable for:

Sharpvision

Table of Contents