There is NO such thing as a “Megapixel” machine vision camera lens!.. Say what??

Lenses

Megapixel Machine vision lensesThere has been a lot written about the ratings of machine vision lenses1stVision had created white papers that describe this in detail. However, the lens industry continues to use the marketing term, Megapixel Machine Vision Camera Lenses.

Let’s get this out of the way right now. 

There is NO such thing as a Megapixel Machine vision Camera Lens.

But since it is me against the world, let me explain why sometimes a 12 MP lens is really the same resolution as a 5 MP quality lens.

The first thing to understand is that lenses are evaluated on their resolving power, which is a spatial resolution.  For lens used in the industrial imaging marketplace, this is normally given in terms as “Line Pairs per mm” (LP/mm).  The reason it is expressed this way is because to resolve a pixel of “X” um, you need to use the formula, 1 / 2X where “X” is the pixel size and 2 is the Nyquist limit.  So to resolve a pixel of 5um we need a resolution of 1/ ( 5um*2)  per line pair.  In LP/mm, this becomes 100 LP/mm.

A graph showing a lenses performance is shown in a  plot below, plotting intensity vs. LP/mm.  This is called the Modulation Transfer Function (MTF). Note that as the LP/mm increases and the lens can’t resolve it as well, the intensity falls off.  This measurement is variable to F stop and angle of light, so real MTF charts will indicated these parameters. This is the only real way to empirically evaluate how a lens will perform.

You can visually compare lenses, but to truly compare Brand A vs. Brand B you would have to test them under identical situations.  You can’t compare Brand A’s MTF vs. Brand B’s if you don’t know what the parameters used to test them are (need the same camera, with the same lighting, with the same focus, with the same f stop, the same gain, etc. etc.).  Unfortunately its very hard to get that information from most lens manufacturers.

1, 3, 5, 9, 12 Megapixel lens?

Tamron 12MP MPY lenses
Compliments of Computar

What does this mean?  As an example, Sony has recently introduced a new line of image sensors which  have  5MP, 9MP and 12MP sensors.  Many clients have called and said,  “I want to use the 12MP sensor, so please spec a lens that can do 12MP.”  Unfortunately, this isn’t correct as each of these sensors uses a 3.45um pixel.  They ALL need the same quality lens!  Why?  Because it is the size of pixel, what you have to resolve, that dictates the quality of the lens!

In the above situation, the 5MP sensor needs a 2/3” format lens, the 9MP needs a 1” lens, and 12 MP needs a 1.1” format lens.  (Multiply the size of the pixel by the number of H and V pixels to get the sensor format  – more on format HERE ).  However, this sensor needs about 144 LP/mm of resolving power as its a 3.45um pixel size.  As much as I detest the nomenclature of “5MP lens” etc., I do appreciate what Fuji  does; as they will state, “…. This  series of high-resolution lenses deliver 3.45um pixel pitch (equivalent to 5MP) on a 2/3″ sensor”.   Now this make more sense!

In turn, if you see a lens stated as a “Megapixel Machine vision” lens, question this!  It really needs to be stated in terms of its capability to resolve the pixel size in LP/mm!

Contact us

1stVision has a staff of machine vision veterans who are happy to explain this in more detail and help you specify the best lens for your application!   Contact 1st Vision!

Additional References:
For a comprehensive understanding on “How to Choose a Lens”, download our whitepaper HERE.  

Blog post:  Demystifying Lens performance specifications

Blog post:  Learn about FUJI’s HF-XA-5M (5 Megapixel) lens series which resolves 3.45um pixel pitch sensors! Perfect for cameras with Sony Pregius image sensors.

Use the 1st Vision lens selector allowing you to filter by focal length, format and manufacturer to name a few

Allied Vision’s high-resolution Prosilica GT now with 12, 16 and 25MP ON Semi PYTHON sensors

Allied Vision GT camera

Allied Vision Cameras

Allied Vision extends its Prosilica GT Large Format camera platform with three high-resolution ON Semi PYTHON image sensors (Python 12K, Python 16K & Python 25K)

Combined with robust thermal housing designed to operate in extended temperature ranges and fluctuating lighting conditions, the new Prosilica GT Large Format cameras are ideal for high-definition imaging applications with demanding requirements of robustness and design-in flexibility. They provide a great option for high-quality imaging for anyone looking to switch over from existing CCD cameras to CMOS cameras with similar resolutions and optical formats.

Features include:

  • Extended temperature range (-20 deg. C to + 50 deg. C)
  • NIR sensitivity up to 1100nm
  • Modular concept providing various lens mounts (M58, M42, and EF-mount)
  • Fixed Pattern noise correction,  Defect Pixel Correction, and Trigger over Ethernet.

Prosilica GT5120, Prosilica GT4096, and Prosilica GT4090 at a glance

AVT GT specifications

See full specification for the series below:  

Prosilica GT5120,  5120 x 5120, 25MP

Prosilica GT4096, 4096 x 4096, 16MP
This is a great replacement for the KAI-16000 CCD sensors!

Prosilica GT4090, 4096 x 3092, 12MP

Now that you have a great high resolution camera, what lens works best?Kowa F-mount lens

High resolution cameras with the ON Semi Python sensors are great, but only as good as the lenses you use!  It is imperative to have the sensor sizes matched with the lens formats.  Additionally, we need to make sure the lens resolution is adequate for the image sensor pixel size.

To aid in the lens selection, we have the following recommendation on lens series.  Recommendations as follows

Prosilica GT5120,  5120 x 5120, 25MP:  This camera has a  32.58mm diagonal image sensor, so a F-mount lens is required.  Two options are Kowa and Schneider
KOWA – F mount series
Schneider – F mount series

Prosilica GT4096, 4096 x 4096, 16MP:  This camera has a 26.06mm diagonal image sensor, also requiring a F-mount lens.
 KOWA – F mount series
Schneider – F mount series

Prosilica GT4090, 4096 x 3092, 12MP :  This camera has a 23.09mm diagonal image sensor which falls into a 4/3″ format.
KOWA 4/3″ lens series

As a note, as the pixel size is 4.5um, this is not as demanding on the lens resolution and will only require 111 line pairs/mm (lp/mm) making these adequate selections. 

Need more help in understanding lens terminology and format sizes?  Here are some related links

1stVision has experienced engineers to help you develop and further understand the best camera and lens combination for your application.

Contact us to talk to an expert!

Considerations in selecting a lens for a large format camera sensor

For most cameras in the automated imaging marketplace, the sensor sizes are 1” and less. (1″  sensors have 16mm image circle/diameters)

Note the size in inches and the image circle size in millimeters do NOT match!  1” does not convert to 16mm!.  But that is a topic for another blog post!)

Industrial cameras with C/CS mount sensors normally range from ¼” to 4/3” ( up to 22mm image circle, which is the largest a C mount is by definition).

However, there are many cameras that have sensors larger than this, with many being a full 35mm sensor.  These sensors typically require larger F or EF mounts as seen in the picture above.

Click here for F-mount lenses from Kowa

Click here for F-mount lenses from Schneider

The question becomes, how do you find a suitable lens for these cameras?

First, let address the Issues with F mount lenses

The mount most commonly used by camera vendors for sensors larger than C mount are F mounts.  F mounts are most popular mount for SLR cameras, designed by Nikon about 1960. https://en.wikipedia.org/wiki/Nikon_F-mount

F mount lenses for commercial and consumer/prosumer cameras are excellent optically and priced well but there are several issues you need to consider with these lenses for automated imaging applications.

  1. First, F mount lenses are bayonet, not screw mount. That means they are not as secure as C mount, and therefore, much more prone to vibration, or even coming lose.
  2. F mount lenses for the consumer/prosumer market are designed to take fantastic color pictures. To do this, the lens coatings are optimized for color. This can affect mono images.
  3. Consumers want their cameras to be light, so the F mount lenses are made with as much plastic as possible. This is not great for industrial applications
  4. These lenses are designed for automatic focus and exposure and have controls for that in the lens itself.
  5. Finally, the last issue is that many of these lenses are designed for the automated controls with prosumer cameras, autofocus and autoexposure.

If you can find an all metal manual F mount lens from 20 to 30 years ago, it would be great for an industrial application!  If not, we suggest you turn to one of the companies that make F mount lenses specifically for this market. The major vendors are Schneider, Edmund Optics, and Kowa.  All have a series of F mount lenses that are much more rugged than a prosumer F mount lens, and also don’t have the extra controls for automatic focus/iris.  They have lock screws as well to hold their settings.  The major limitation to these lenses are that they cost more than prosumer lenses, and are in just a small range of focal lengths.

Contact us for further specifications and pricing

EF Lenses

Since many of the new large format lenses can be controlled electronically via the camera, the automated imaging industry has created several products to use these lenses. The solutions from Birger Engineering, www.birger.com are straightforward to use. They make a mount that attaches to the  camera and allows for the use of EF mount lenses.  Attached to their mount are connections to drive the lenses, via serial commands with their SW.  Several camera manufacturers have built cameras with EF mounts as part of the camera.  This is an especially nice solution since there are no wires hanging out for control, and the lens is controlled directly from the camera’s SDK.

This provides a high level overview of the considerations in selecting a lens and size for large format camera sensors.  1st Vision has extensive knowledge with lenses and cameras and will help you in the selection process.

Please contact us and discuss your application with our sales engineer! 

Related Blog posts:

Canon EF mount integrated into Allied Visions GT1930L

Imaging Basics – Calculating lens focal lengths

Not all lenses are created equal!

10 key things you need to know when selecting a machine vision lens

Improper selection of the correct quality and type of machine vision lens can make your camera selection useless!

In many cases, we see customers attempting to choose a low quality lens for a camera that really needs quality optics to resolve the pixel sizes. Conversely, we also see customers trying to over specify a lens, where you simply need a lens that’s “good enough”


1st Vision has a white paper to help in the lens selection and provide valuable knowledge on various topics to make the best decisions. 

In this comprehensive white paper, you’ll learn the following

  1. Background basics on lenses and what they really do!
  2. The science in some basic formulas to calculate MAG, focal length and angular FOV
  3. What are extension rings used for?
  4. How are lenses rated?  MTF explained
  5. The myth behind “Megapixel” lens ratings
  6. How many pixels do I really need?
  7. What is the ” f# ” of a lens
  8. What does the “lens format” mean?
  9. Comparison of lens types from security to Factory Automation (FA)
  10. How to get some practical advice!

Download the White Paper

1st Vision has many other resources in our educational blogs.  Please find related links to lenses below.  

We are happy to discuss your imaging application in details  Just contact us!

Links: