Difference between revisions of "Cameras, lenses and mirrors"

From AIRWiki
Jump to: navigation, search
(Cameras)
(Cameras)
Line 146: Line 146:
 
|C-mount, fitted with two 3.5mm, f1.6, 1/2" lenses
 
|C-mount, fitted with two 3.5mm, f1.6, 1/2" lenses
 
|1
 
|1
|Lambrate => li lin office => Domenicogsorrenti (13.01.09)
+
|Lambrate => li lin office => Domenicogsorrenti 13.01.09 => giulio fontana 23.01.09
 
|
 
|
 
|http://www.videredesign.com/vision/stoc.htm
 
|http://www.videredesign.com/vision/stoc.htm

Revision as of 09:47, 23 January 2009

IMPORTANT NOTES

Never touch the sensor element (CCD or CMOS) of a camera with anything! It can very easily be scratched.

Never touch the glass elements of a lens with your hands! The oil from human skin is harmful.


Cameras and frame grabbers

Cameras

In the AIRLab you can find different kind of cameras. These are the main groups:

  • Analogue cameras. Video output is given as an electrical signal, which needs analogue-to-digital conversion to be processed by a computer; this is done by a specific card called frame grabber or video capture card (the latter tend to be the lowest-performance items; see Cameras, lenses and mirrors#Frame grabbers for details). Analogue video is outdated for computer vision and robotics applications, due to its cost, low performance and complexity; nowadays digital camera systems (such as all the ones listed below) are always preferred.
  • USB cameras. Usually very cheap, they are suitable for low-performance applications (i.e. those where low frame rate is needed and low image quality can be accepted). Their main advantage (along with cost) is the fact that every modern computer has USB ports. The fact that the USB standard includes 5V DC power supply lines helps simplifying camera design and use.
  • FireWire cameras. The FireWire (or IEEE1394) bus is generally used for low-end industrial cameras, i.e. devices with technical characteristics much superior to those typical of USB cameras but low-performance according to typical machine vision standards. Industrial cameras usually give to the user a much wider control over the acquisition parameters compared to consumer cameras, and therefore they are usually preferred in robotics; their downside is the higher cost. There are different versions of IEE1394 link (see http://en.wikipedia.org/wiki/Firewire for details), with different bitrates, starting from the 400Mbit/s FireWire 400. Generally they are all considered superior to USB 2.0, even if theoretical bandwidth is lower for FireWire 400. Firewire ports can include power supply lines, but some interfaces (and in particular those on portable computers) omit them. Although the use of FireWire interfaces has expanded in recent years, they are not yet considered a standard feature for motherboards.
  • GigE Vision cameras. GigE Vision (or Gigabit Ethernet Vision) is a rather new connection standard for machine vision, based upon the established Ethernet protocol in its Gigabit (i.e. 1000Mbps) version. It is very interesting, as complex multiple-camera systems can be easily built using existing (Gigabit) Ethernet hardware, such as cables and switches. Vision data is acquired simply through a generic Ethernet port, commonly found on motherboards or easily added. However, 100Mbps (or fast Ethernet) ports are not guaranteed to work and can sustain only modest video streams; on the other hand, 1000Mbps ports are now standard on motherboards, so this will not be a problem anymore in a few years. It seems that GigE Vision is becoming the most common interface for low- to medium-performance industrial cameras.
  • CameraLink cameras. Cameralink is a high-speed interface expressly developed for high-performance machine vision applications. It is a point-to-point link, i.e. a CameraLink connection is used to connect a single camera to a digital acquisition card (frame grabber). Its diffusion is limited to applications where extreme frame rates and resolutions are needed, because CameraLink gear is very expensive.

The following is a list of the cameras available in the AIRLab. (To be precise, it is a list of the cameras that are modern enough to be useful.) For each of them the main specifications (and a link to the full specifications) are given. Details on the different types of lens mount are given below in Cameras, lenses and mirrors#Lenses. The 'how many?' field tells if multiple, identical items are available. Finally, the 'where?' field tells you in which of the AIRLab sites (listed in The Labs) you can find an item, and the 'project' field is used to specify which project (if any) is using it.

Ah, one last thing. People like to actually find things when they look for them, so don't forget to update the table when you move something away from its current location. If you don't know where you are taking it, just put your name in the table.


resolution B/W, color max. frame rate sensor size interface maker model lens mount how many? where? project link to full specifications and/or manuals
1628x1236 B/W 24fps 1/1.8" CameraLink Hitachi KP-F200CL C-mount 1 DEI media:KP-F200-Op_Manual.pdf
752x480 color 70fps 1/3" GigE Prosilica GC750C C-mount 3 Lambrate (3/3) RAWSEEDS (3/3) http://www.prosilica.com/products/gc_series.html
659x493 color 90fps 1/3" GigE Prosilica GC650C C-mount 1 Lambrate RAWSEEDS http://www.prosilica.com/products/gc_series.html
1024x768 color 30fps 1/3" GigE Prosilica GC1020C C-mount 2 Lambrate (2/2) RAWSEEDS (2/2) http://www.prosilica.com/products/gc_series.html
CCIR (625 lines) B/W CCIR (50fps, interlaced) 2/3" analogue Sony XC-ST70CE C-mount 2 DEI (2/2) media:XCST70E_manual.pdf
659x494 color 30fps 1/4" FireWire 400 Unibrain Fire-i 400 industrial C-mount 3 Lambrate (3/3) RAWSEEDS (3/3) http://www.unibrain.com/Products/VisionImg/Fire_i_400_Industrial.htm
659x494 color 30fps 1/4" FireWire 400 Unibrain Fire-i board camera proprietary 8 Lambrate (3/8), Bovisa (2/8), User:PaoloCalloni (1/8), User:DavideMigliore (1/8), User:CristianoAlessandro (1/8) RAWSEEDS (2/8), MRT (?/8) http://www.unibrain.com/Products/VisionImg/Fire_i_BC.htm
640x480 color 30fps 1/4" FireWire 400 Unibrain Fire-i digital camera fixed optics (4.3mm, f2.0) 4 Univ. Mi-Bicocca (4/4) http://www.unibrain.com/Products/VisionImg/Fire_i_DC.htm
640x480 dual sensor, 9cm baseline color 30fps 1/3" FireWire 400 Videre Design STOC stereo-on-a-chip stereo camera C-mount, fitted with two 3.5mm, f1.6, 1/2" lenses 1 Lambrate => li lin office => Domenicogsorrenti 13.01.09 => giulio fontana 23.01.09 http://www.videredesign.com/vision/stoc.htm
640x480 color 60fps 1/3" FireWire 400 Videre Design DCSG (associated with STOC) C-mount, fitted with one 3.5mm, f1.6, 1/2" lens 1 Lambrate http://www.videredesign.com/vision/dcsg.htm


Camcorder

In the AIRLab you can find also a memory camcorder, i.e. a consumer camera system that records (lossy) compressed digital video onto standard SD flash memory cards. It's a Samsung - VP-MX10H and can be used to record on video demos, lessons or talks. It is fitted with an 8GB SD card, i.e. the biggest it can be used with.

Main features:

  • maximum resolution 720x576 pixel (progressive scan), the same as DVD
  • MPEG4 encoding (Mplayer for Linux, for example, plays it back perfectly)
  • 2.7" 16:9 LCD Display (but recorded image format is 4:3)
  • 34x Optical zoom (1200x with digital zoom)
  • image stabilizer (use it if you go over, say, 4x of zoom factor)
  • USB connection to PC (it's seen as a mass storage device)
  • maximum usable SD card capacity 8GB
  • 220' of video on an 8GB card in best-quality mode
  • 120' (claimed) battery duration (with fully charged battery, during recording and if you don't play much with the zoom)
  • unreliable battery charge indicator :-(
  • battery discharges quickly even when the device is off, so be sure to recharge it before use


WHERE IS THE CAMERA NOW: at the moment, ROSSELLA BLATT has the camera at DEI. Date: November 3rd 2008


Frame grabbers

As previously said, a frame grabber is an electronic board that connects to one or more cameras, and converts the signals from the cameras into a data stream that can be elaborated by a computer. They are usually designed as expansion boards to be fitted into the computer case. Frame grabbers are necessary for analogue cameras (as they include the analogue/digital converters) or for CameraLink digital cameras (in this case the frame grabber is essentially a high speed dedicated digital interface). Other kinds of digital cameras don't need a frame grabber: this is one of the main advantages of digital cameras over analogue ones in machine vision applications, where the processing is almost always performed by computers. In the AIRLab two models of frame grabber are available:

All the frame grabbers (except the one on the MO.RO.1) are currently in AIRLab/DEI. If you move one of them, please write it down here... and do it NOW!

Lenses

Industrial cameras usually have interchangeable lenses. This allows for the choice of the lens that is more suitable to the considered application. There are two main standards for industrial camera lenses: C-mount and CS-mount. Both are screw-type mounts. CS-mount is simply a modified C-mount where the distance between the back of the lens and the sensor element (CCD or CMOS) is shorter: therefore a C-mount lens can be mounted on a CS-mount camera if an adapter ring (i.e. a distancing cylinder with suitable threads) is placed between them. It is impossible, though, to use a CS-mount lens on a C-mount camera: if you try you will almost certainly break the sensor, scratch the lens, or both. Just because a lens fits a camera, it doesn't mean it can be actually mounted on it!

At the AIRLab we also use lenses specifically designed for Unibrain's board cameras: they are very simple, with no iris, and very small. Their mounting system is an M12x0.5 metric screw thread.

Be aware that sensor dimension (i.e. its diagonal, measured in fractions of an inch) is not the same for all cameras. Therefore one of the key specifications for a lens is the maximum sensor dimension supported. If you use a given lens with too big a sensor, the edges of the image will be black as they lie outside the circle of the projected image. Also beware of the strange convention used for sensor diagonals, i.e. a fraction in the form A/B" where A and B are integer or non-integer numbers. For instance an 1/2" sensor is smaller than an 1/1.8" one. The variability of sensor dimensions has another side effect: the same lens has a different angle of view if you change the sensor size. Therefore the same lens can behave as a wide-angle with a large sensor and as a telephoto with a small sensor.

An useful guide to lenses (in Italian or English) can be found at http://www.rapitron.it/guidaob.htm.

The following is a list of the actual lenses available in the AIRLab. For each of them the main specifications (and a link to the maker's or vendor's page for full specifications) are given. A '?' means an unknown parameter: if you know its value or experimentally find out it when using the lens (e.g. the maximum sensor size), please update the table before the information is lost again! Lenses having 'M12x0.5' in Column 'mount type' are only usable with Unibrain's Fire-i board cameras. A 'YES' in the 'Mpixel' column indicates a so-called Megapixel lens, i.e. a high quality, low-distortion lens designed for high-resolution industrial cameras (typically having large sensors); please note that some of these are specifically designed for B/W (i.e. black and white) cameras. The 'how many?' field tells if multiple, identical items are available. Finally, the 'where?' field tells you in which of the AIRLab sites (listed in The Labs) you can find an item, and the 'project' field is used to specify which project (if any) is using it.

Ah, one last thing. People like to actually find things when they look for them, so don't forget to update the table when you move something away from its current location. If you don't know where you are bringing it, just put your name in the table.


focal length max. aperture max. sensor size mount type maker model Mpixel how many? where? project link to full specifications
3.5mm f1.4 ? C-mount ? ? ? 1 Lambrate LURCH ?
4.0mm f2.0 1/2" C-mount Microtron FV0420 YES (B/W only) 2 DEI http://www.rapitron.it/obmegpxman1.htm
4.5mm f1.4 1/2" C-mount ? ? ? 1 DEI ?
4.8mm f1.8 2/3" C-mount Computar M0518 NO 1 DEI http://www.computar.com/cctvprod/computar/mono/048.html
6mm f1.4 ? C-mount ? ? ? 1 DEI ?
6mm f1.4 1/2" C-mount Goyo GMHR26014MCN YES 4 DEI RAWSEEDS (4/4) http://www.goyooptical.com/products/industrial/hrmegapixel.html
8mm f1.4 ? C-mount ? ? ? 1 DEI ?
8mm f1.4 2/3" C-mount Goyo GMHR38014MCN YES 2 DEI RAWSEEDS (2/2) http://www.goyooptical.com/products/industrial/hrmegapixel.html
8.5mm f1.3 2/3" C-mount Computar ? ? 2 DEI (old model)
12mm f1.8 2/3" C-mount ? ? ? 2 DEI
12mm f1.4 2/3" C-mount Goyo GMHR31214MCN YES 1 DEI http://www.goyooptical.com/products/industrial/hrmegapixel.html
15mm f2.0 2/3" C-mount Microtron FV1520 YES 1 DEI http://www.rapitron.it/obmegpxman1.htm
6-15mm f1.4 ? C-mount ? ? ? 1 Lambrate ?
12.5-75mm f1.8 ? C-mount ? ? ? 1 DEI ?
2.1mm f2.0 1/4" M12x0.5 Unibrain 2042 NO 6 Bovisa (1/6), Lambrate (5/6) http://www.unibrain.com/Products/VisionImg/Fire_i_BC.htm
4.3mm, no IR filter f2.0 1/4" M12x0.5 Unibrain 2046 NO 1 Lambrate (1/1) http://www.unibrain.com/Products/VisionImg/Fire_i_BC.htm
4.3mm f2.0 1/4" M12x0.5 Unibrain 2043 NO 3 Bovisa (1/3), Lambrate (2/3) http://www.unibrain.com/Products/VisionImg/Fire_i_BC.htm
8mm f2.0 1/4" M12x0.5 Unibrain 2044 NO 1 Lambrate (1/1) http://www.unibrain.com/Products/VisionImg/Fire_i_BC.htm


Mirrors

Much work has been done and is being done at the AIRLab on the topic of omnidirectional (machine) vision (sometimes referred to as omnivision). Omnidirectional vision systems use special hardware to overcome the limitations of conventional vision systems in terms of field of view. The approach to this problem that we generally adopt is the use of conventional cameras in association with convex mirrors, i.e. the capturing of the image reflected by a suitably-shaped mirror with a camera. The possibility of designing mirrors with specific geometric properties gives a very useful means to control the geometric behaviour of the whole camera+mirror system.

TODO for someone who knows better ;-) : mirror list