1. Ni myRio and microphone
Author: Minh Anh Nguyen
Colorado State University
School of Biomedical and Electrical Engineering
Email: minhanhnguyen@q.com
2. NI myRio
• Image format files: can only read the
following format.
– Png: LabView code for comparing two image files;
algorithm is done
– Jpeg
– Bmp
• Microphone:
– Audio format file: can read the “wav”
3. Image file format: PNG
• Portable Network Graphics
• line art, text-heavy images, and images that have
large contiguous blocks of color
• Small file sizes, but at no damage to the quality
• PNG has higher image quality than a JPEG
• Makes great screenshots if there are no gradients
in the original source.
• PNG is probably the better choice when you need
pixel-perfect images for vector illustrations
• PNG is supported in Netscape 4.03 and above
• Color depth: Index
– Indexed means that the image can only store a limited
number of colors (usually 256), controlled by the
author, in something called a Color Map
4. Image file format: JPEG
• Joint Photographic Experts Group
• Photographs and realistic images
• Poor quality around sharp edges, etc., and for
this reason it is unsuitable for most web
graphics.
• Smooth gradients and softer images
• Handles only still images
• Color depth: direct
– Direct means that you can store many thousands
of colors that have not been directly chosen by
the author
5. Image file format: BMP
• Bitmap
• Very large file sizes
• It can have color depths of both Indexed and
Direct
• BMP is higher quality than jpeg, but large in
file size.
6. Microphone
• Microphones are a type of transducer - a device
which converts energy from one form to another.
• Convert acoustical energy (sound waves) into
electrical energy (the audio signal)
• Different types of microphones have different
ways of converting energy but they all share one
thing in common:
• hand-held microphone
• The loudspeaker is also a transducer - it converts
the electrical energy back into acoustical energy.
7. Sounds
• Mono sounds: can be represented as a really
long vector
• Stereo sounds: two really long vectors put
together
– Hand-held microphone
– Two channels (Left and Right)
– Microphone captures sounds at differing times
because of their physical separation, and so record
time-of-arrival information in the two channels
– Microphone captures sound sources in differing
levels between the two channels