Quiz #6 Topics

Numbering Systems

Converting Between Bases

Converting Between Bases

Number Base Conversion using bc

Negative Number Representation

Converting a Negative Number into
Binary using 2’s Complement

Floating Point Representation

Another Example of Unformatted Output (e.pro)

Octal Interpretation of e.dat
(big endian)

Binary Interpretation of e.dat (big endian)

Binary Interpretation of e.dat (big endian)

(SINGLE PRECISION) -
IEEE (ANSI/IEEE Std 754-1985)

Binary Interpretation of e.dat (big endian)

(SINGLE PRECISION) -
IEEE (ANSI/IEEE Std 754-1985)

Floating Point Interpretation of e.dat (big endian)

Debugging in IDL

Basic IDL Debugging Commands

mean.pro

Breakpoints

.step

.stepover

.return

.out

mean.pro

Mystery Images

Given an image of
unknown origin

Know the imaging instrument

Tools at your disposal for
dissecting the image

file

File (more examples)

File (image examples)
Don’t always believe the extensions

anytopnm

od

Xv and NetPBM

Can you guess the dimensions of the image?

Can you guess the
aspect ratio of the image?

Square Gray Scale Image

A convenient little trick

Does it have a header?

Square Grey Scale image with a header

Square image no header

Square image no header

Square image no header

Square Image with no header

A color image displayed as greyscale image

Multiband Assumption

First band of color image file assumed to be BSQ

Square color image displayed as a greyscale (3:1 aspect ratio)

Square color image displayed as greyscale( 3:1 aspect ratio)

Square color image displayed as greyscale( 3:1 aspect ratio)

Multibyte pixel image

Mystery Image Examples