IQinVision iq510 참조 가이드
Page 34 of 60
9. Bitmap Motion Map
The IQeye7xx and IQeye8xx series cameras can provide a “motion map” that shows where in the source
image motion has been detected. To request a stream of PGM motion detection images, use the URL:
image motion has been detected. To request a stream of PGM motion detection images, use the URL:
http://<camera_ip>/now.mmap?snap=spush
This results in an HTTP stream that is very similar to a MJPEG serverpush stream, but the content type is x-
portable-bitmap. The bitmap size is always imager_cropped_width/8 by imager_cropped_height/8. Note that
this is one bit per “motion detection block,” i.e. one bit per 8x8 pixel block.
portable-bitmap. The bitmap size is always imager_cropped_width/8 by imager_cropped_height/8. Note that
this is one bit per “motion detection block,” i.e. one bit per 8x8 pixel block.
For example, for a 2 Megapixel sensor (1600x1200) the resulting motion bitmap will be 200x150 pixels.
Since this is one bit per pixel, the actual data in the file will be 25 bytes (200 bits/8 bits per byte) by 150 rows,
or 3750 image bytes.
Since this is one bit per pixel, the actual data in the file will be 25 bytes (200 bits/8 bits per byte) by 150 rows,
or 3750 image bytes.
The PBM bitmap format is:
P4
#<sequence number>
<image width>
<image height>
nnn nnn nnn nnn nnn nnn <width/8 values> nnn nnn nnn
(bitmap data for the entire requested image)
nnn nnn nnn nnn nnn nnn <width/8 values> nnn nnn nnn
#<sequence number>
<image width>
<image height>
nnn nnn nnn nnn nnn nnn <width/8 values> nnn nnn nnn
(bitmap data for the entire requested image)
nnn nnn nnn nnn nnn nnn <width/8 values> nnn nnn nnn