Bsoft 2.1.4
Bernard's software package
rwBIORAD.cpp File Reference

Functions for reading and writing BioRad confocal files. More...

#include "rwBIORAD.h"
#include "file_util.h"
#include "utilities.h"

Functions

int swap_header (BIORADhead *header)
 
int readBIORAD (Bimage *p, int readdata)
 Reading a BioRad image file format. More...
 
int writeBIORAD (Bimage *p)
 Writing a BioRad image file format. More...
 

Variables

int verbose
 

Detailed Description

Functions for reading and writing BioRad confocal files.

Author
Bernard Heymann
Date
Created: 19990427
Modified: 20120321

Function Documentation

◆ readBIORAD()

int readBIORAD ( Bimage p,
int  readdata 
)

Reading a BioRad image file format.

Parameters
*pthe image structure.
readdataflag to activate reading of image data.
Returns
int error code (<0 means failure). A 3D image format intended for confocal light microscopy. Header size: 76 bytes (fixed). File format extension: .PIC. Identifier: 12345 (byte 54). Byte order determination: Magic number. Data types: 0 = short, 1 = byte.

◆ swap_header()

int swap_header ( BIORADhead header)

◆ writeBIORAD()

int writeBIORAD ( Bimage p)

Writing a BioRad image file format.

Parameters
*pthe image structure.
Returns
int error code (<0 means failure). A 3D image format intended for confocal light microscopy.

Variable Documentation

◆ verbose

int verbose
extern