7.10  BitMap FUNCTIONS

March 29, 1999

NAME

bmp2raw.exe - convert bitmap image files into raw binary image files.
bmbilinear.exe - magnify bitmap image files using bilinear interpolation method.
bmconten.exe - perform contrast enhancement on bitmaps image file series.
bmcrop.exe - crop x-y dimension of bitmap image file series.
bmdefade.exe - restore brightness in bitmap image series due to photo-bleaching.
bmdelta.exe - fine difference between consecutive files of bitmap image series.
bmenhc.exe - perform local contrast enhancement on a bitmap image series.
bmhist.exe - return pixel intensity histogram.
bmovrlay.exe - combines 8 bit image file series into red & green 24 bit bitmap series. (old bmovrlay.exe)
bmmerge.exe -
reduces number of images in bitmap series by merging adjacent images.
bmpaste.exe - place bitmap images side by side.
bmproduct.exe - mutiplies matched bitmaps series together. A co-localization measure.
bmpmer.exe - same as bmmerge.
bmpsum.exe - add images of bitmap file series together. Collapse images in z-axis.
bmsum.exe - same as bmpsum.exe.
bmpxlat.exe - transform lookup table using look up table.
bmxlat.exe - same as bmpxlat.
raw2bmp.exe - convert binary image file into bitmap image file.
avg.bat - find average pixel intensity in one or more bitmaps
stat.bat - find mean, std dev. and number of pixels in one or more bitmap files.

SYNOPSIS

bmfunction input.bmp [ -? ] [ -o output.bmp | -p path ] [ -l ] [ -s ] [ -v ]

Where: input.bmp is the name(s) of a series of one or more bitmap file names to be processed. Dos style wild cards (* or ?) are permitted. Generally input.bmp refers to a series of 8 bit grayscale bitmap files.

-o output specifies file name stem of output bitmap sequence.

-p path specifies path where output file series is to be placed. ‘path’ must already exist. Files created in path generally have the same name as the input file series or have the stem result*.bmp.

-s list statistics about each image of input series. Gives mean and standard deviation (n-1 weighting).

-l list input file series found without performing function. Useful way of testing which files will be processed.

-v verbose switch. Extra information is displayed while files are being processed. Good way of checking progress if there are problems.

-? displays a terse command line help message.

Other flags exists in some functions. Some examples are
-d x_size y_size x_offset y_offset
-k gain_factor

DESCRIPTION

bmfunction are a group of command line programs which are used from a 32 bit DOS Box (a DOS Box under Windows95, 98 or WindowsNT).  They operate on single bitmaps or series of bitmap files mostly in the current working directory.  These programs are intended to help process bitmap images that are part of a z-series stack or a time lapse series.  The images in a series should be 8 bit gray scale with identical dimensions unless noted otherwise.

UTILIZATION EXAMPLES

bmdefade rhod??.bmp -s : displays statistics for bitmap file series that is matched by rhod??.bmp (eg. Rhod00.bmp Rhod01.bmp …). No output files are generated.

bmconten rhod??.bmp -p fixedfolder .

bmsum rhod00.bmp rhod01.bmp rhod04.bmp rhod03.bmp -n -o result.bmp: adds rhod??.bmp files into one file called result.bmp and the -n switch maximizes intensity dynamic range.

SEE ALSO

 

BUGS

Most of these programs only works with 8 bit gray scale bitmap files.  Input file extension in the command line must include the .BMP extension.

Long file names are handled. However on systems limited to short (8dot3, eg. 12345678.bmp) file names conversion from long to short names usually scrambles the number sequence of the bitmap series.  A solution is to use names of 6 characters or less before the dot.  VidEdit.exe handles 8dot3 files names only.


Return to