lea.lms: 3D surface of land engraved area on a 9mm bullet in Zeiss LMS...

Description Format Source Examples

Description

A binary file. It is essentially a Windows Bitmap format file except that it contains two images. The first image is an RGB color image (i.e. a "texture") of the surface. The second image contains the z-height data in row-major order.

Format

A BITMAPFILEHEADER, the DIB header of the first image, image data for the first image (row major order), DIB header for the second image and image data for the second image (row major order). Info from the headers:

BITMAPFILEHEADER

file.size
file.type
file.ver
time.stamp
file.format
lens.mag
extended.data
width.unit
height.unit
width.inc
height.inc
width.comment
height.comment
extended.data2
extended.data3
image.pos.x
image.pos.y
stage.flag
extended.data4
model.info
color.info
reserved
extended.data5
extended.data6
num.img
act.img
img1.style
img2.style
reserved2

DIB header image 1

bftype1
bfsize1
bfreserved11
bfreserved12
bfoffbits1
bisize1
biwidth1
biheight1
biplanes1
bibitcount1
bicompress1
bisizeimg1
bixppm1
biyppm1
bicolorused1
bicolorimportant1
offset.to.img2

DIB header image 1

bftype2
bfsize2
bfreserved21
bfreserved22
bfoffbits2
bisize2
biwidth2
biheight2
biplanes2
bibitcount2
bicompress2
bisizeimg2
bixppm2
biyppm2
bicolorused2
bicolorimportant2

Source

http://NIST.DATABASE.XXXXXXXXX

http://en.wikipedia.org/wiki/BMP_file_format

Examples

1
2
3
file.path <- system.file("extdata", "lea.lms", package="x3pr")
glock.lms.surface.info <- read.zeiss.lms.file(file.path)
glock.lms.surface.info[[1]]

npetraco/x3pr documentation built on May 23, 2019, 9:33 p.m.