Bsoft 2.1.4
Bernard's software package
rwIP.h File Reference

Header file for reading and writing image plate reader files. More...

#include "rwimg.h"

Macros

#define IPSIZE   2048
 

Functions

int readIP (Bimage *p, int readdata)
 Reading an image plate reader file format. More...
 
int writeIP (Bimage *p)
 Writing an image plate reader file format. More...
 

Detailed Description

Header file for reading and writing image plate reader files.

Author
Bernard Heymann
Date
Created: 20041110
Modified: 20111217
Format: 2D image file format for the image plate reader

Macro Definition Documentation

◆ IPSIZE

#define IPSIZE   2048

Function Documentation

◆ readIP()

int readIP ( Bimage p,
int  readdata 
)

Reading an image plate reader file format.

Parameters
*pthe image structure.
readdataflag to activate reading of image data.
Returns
int error code (<0 means failure). An image format used in the Ditabis image plate reader. The header is text with tag-value pairs. Required tags: CREATED = time and date string HEADER = length of header, typically 2048 XPIXEL = x size YPIXEL = y size BYTE PER PIXEL = 2,3,4 XRESOLUTION = x pixel size in um YRESOLUTION = y pixel size in um THUMB-NAIL-ZOOM = zoom factor for preview, typically 10 Additional tags: MAGNIFICATION = microscope magnification OFFSET = zero dose value OFFSET CORRECTION = flag to indicate correction GAIN = gain setting LASER = laser setting PARAMS = settings file FORMAT = format file CHANNEL = data channel MICRON-MARK = position, length and text of micron mark overlay Final tag: COMMENT = comment, always last, terminated by NULL. File format extensions: .IPL, .IPH, .IPR, .IPC Byte order: Always little endian because the IP software runs on Intel machines and there is no way to detect byte order from the text header. Data type: short.

◆ writeIP()

int writeIP ( Bimage p)

Writing an image plate reader file format.

Parameters
*pthe image structure.
Returns
int error code (<0 means failure). A 2D image format used with the image plate reader.