When Magnified Shots Beat One High-Resolution Camera
OPTICS
Catching a 50 μm defect on a 150 mm board takes 54 MP, and a wide view plus 6x magnification takes no more shots than a split 31.4 MP capture only when the areas to check stay within 12.5 % of the board.
I put one 31.4 MP camera and one camera that takes a wide view and a magnified view together over the same board, and worked out how many pixels a defect spans, how many frames each needs, and how focus and exposure change.
About 15 min read
It is easy to assume that buying one high-resolution camera will catch fine defects across a whole board in a single frame. Put a 150 × 100 mm board into one 31.4 MP frame and a 50 μm defect spans 2.15 pixels per side, short of the three-pixel rule often used for reliable detection. Under this condition you either raise the count to 54 million pixels, or find positions in a wide view and shoot only the areas to check at 6x, and which of the two takes fewer frames depends on how many areas the board has.
The Dual Vision Camera (NDV-6M8DC) that Nikon announced on November 16 brought this question back. It puts two 8.1-megapixel color CMOS sensors, one for the wide view and one for magnification, into Nikon’s proprietary coaxial optical system so one unit captures both views, with 6x optical magnification and a pixel resolution1 in the magnified view of up to 12 μm at a working distance of 120 mm. Both sensors use a global shutter2, and Nikon wrote that it cuts imaging-position changes to one-ninth or less compared with viewing the same field with a 32-megapixel camera, stating only that the comparison used Nikon evaluation conditions. The field of view in mm, the frame rate and the interface are not published on the product page.
Published numbers alone cannot compare the two approaches, so I would put an example camera with the same structure and a real 31.4 MP sensor over one board and work it out. The target is a PCB covered with green solder mask, a smooth resin surface that mixes specular reflection3 with diffuse reflection4, while solder joints throw light back almost like mirrors. The calculations below go only as far as how many pixels a defect occupies, and how much defect contrast5 such a mixed-reflection surface actually gives cannot be guaranteed before a sample test.
A 50 μm defect stands out only when each side spans more than three pixels
First, decide how many pixels one defect must cover. Vision-Doctor states that a spot size of at least 3 to 4 pixels is required for clean detection, and NI’s vision documentation advises giving the smallest feature at least 2 pixels. A one-pixel spot cannot be told apart from a grain of noise by shape, and a two-pixel spot can smear into one depending on where it falls on the pixel boundary, so I start from three pixels per side even for detection that does not measure size.
Apply the three-pixel rule to 50 μm and one pixel must be smaller than 16.67 μm. Covering the whole 150 × 100 mm board at that size needs 9,000 px across and 6,000 px down, in other words 54 million pixels in one frame. Dividing the width of the field of view6 by the pixel count in that direction sits under every comparison here, so when I read a camera datasheet I write down the result of this division before the pixel count.
One high-resolution camera catches fine defects across the whole board in one frame
Common belief
Fit 150 mm into 31.4 MP and a 50 μm defect is 2.15 pixels
Worked out
Fit the whole board in one 31.4 MP frame and the defect spans only 2.15 pixels
The calculation continues with a real sensor in the 32-megapixel class. The Sony IMX342 camera specification published by LUCID is 6,464 × 4,852 px with 3.45 μm pixels, and fitting 150 × 100 mm into one frame with this sensor lets the horizontal direction set one pixel at 23.21 μm. A 50 μm defect spans 2.15 pixels per side, more than a quarter short of the three pixels. How to set focal length and distance to get this field of view is covered separately in How to Calculate Machine-Vision Lens Focal Length.
To reach three pixels, each frame has to shrink to 107.7 × 80.9 mm and the board is shot in two frames across and two down. Even without overlap that is 4 frames, and adding overlap so a defect on a seam is not missed shrinks the area each frame covers by that much. The moment you choose a 31.4 MP camera, this board is already not a one-frame inspection.
54MP
Pixels needed to show a 50 μm defect as three pixels with 150 × 100 mm in one frame
2.15px
Pixels per side of the defect with the board in one 31.4 MP frame
4frames
Frames the same sensor needs to cover the board under the three-pixel rule
One pixel of a 6x magnified view is 8.78 μm, and the whole board takes 24 frames
A camera that takes the wide view and the magnified view together goes another way. For the calculation, assume an example camera with two square 8.1 MP sensors (2,848 × 2,848 px, 2.74 μm pixels) and 6x magnification. If the wide view covers a 150 mm square, one pixel is 52.67 μm, so a 50 μm defect is 0.95 pixels, less than one, while a 1 mm part spans 19 pixels, plenty for finding positions.
One pixel of the magnified view is a sixth of that, 8.78 μm, and the defect spans 5.7 pixels per side, almost twice the three-pixel rule. In exchange, one frame covers only 25 × 25 mm, so covering the whole board takes six frames across and four down, 24 frames. Covering the entire wide view (a 150 mm square) takes 36, and Nikon’s equivalent resolution of about 288 megapixels, which it equates to about 36 images in the 8-megapixel class, is the same 6 × 6 arithmetic. Putting the same 50 μm defect on the pixel grids of the three cases shows the difference as a pixel count.

On the 52.67 μm grid at left, the defect is a dot that almost fills one pixel, so it survives only as that pixel’s brightness, with no shape, and on the 23.21 μm grid in the middle it is just over two pixels, so its shape changes with where it falls on the pixel boundary. Only on the 8.78 μm grid at right does the defect stand as a blob with an edge and an inside of its own. Just as a rangefinder viewfinder lays a small double-image window in the middle of a wide frame and focus is set in that small window alone, the wide view decides where to look and the magnified view does the judging.
Past three tiles to check, magnified shooting loses on frame count
Comparing the frame counts of the two approaches turns the fork into a number. The 31.4 MP camera needs 4 frames to cover the board wherever the areas to check are, and the wide-plus-magnified camera adds one magnified frame per tile to check on top of one wide frame. If the areas to check fit in 3 magnified tiles, the count is 1 + 3 = 4 frames and the two tie, and with fewer tiles the magnified approach shoots less. One magnified tile is 4.17 % of the board area, so three tiles make 12.5 %.
Plotting the frame counts of the two approaches as the tiles to check grow from 0 to 24 gives the following.

The blue line climbs one frame for each added tile, and the red line stays at 4 frames. Past the crossing at three tiles the magnified approach keeps shooting more, and at 24 tiles, which cover the board fully, it takes 25 frames including the wide one, and the data received, 202.5 MP, exceeds the 125.6 MP of four 31.4 MP frames. A board whose areas to check are sparse, a few connectors and a few chips, favors magnification, and a search for defects spread evenly over the board favors the high-resolution camera, and that judgment comes from this crossing. How much each frame’s data fills the camera link follows the arithmetic in Camera Interface Bandwidth Determines Resolution, and even at equal frame counts the time the magnifying optics take to move and the time a robot takes to reposition have no published values, so this graph leaves them out.
Magnifying cuts the focus range to 1/29, and the wide lens tilts its corners by 41°
Magnification does not come free. Making each pixel smaller raises the magnification7, which is 0.052x for the example camera’s wide view and 0.3121x for the magnified view. Assuming aperture F4 and an allowable blur of two pixels, the approximation 2Nc(1 + m) ÷ m² gives a depth of field8 of 17.0 mm for the wide view and 0.59 mm for the magnified view, about 1/29. Even against the 1.55 mm of the 31.4 MP camera under the three-pixel rule the magnified view is the shallowest, so focus has to be reset every time it moves between parts of different heights. I read this arithmetic as the reason Nikon included motorized focus, and fast ways to move focus on targets whose height changes are worked out separately in How Liquid Lens Autofocus Solves Focus on High-Mix, Low-Volume Lines.

The curve heads toward zero as each pixel shrinks, and at the 8.78 μm dashed line it is already under 1 mm. Brightness drops too. At the same F-number, sensor irradiance is inversely proportional to (1 + m)², so under the same light the magnified view receives only 64.3 % of the wide view and exposure has to grow 1.56x. Stopping down to widen the depth of field again lengthens exposure further and raises diffraction, so weighing the two together is quicker with the calculator in A Machine Vision Lens Calculator That Catches the FOV Error a Shortcut Formula Misses.
The wide side has its price too. In a lens with an 82° diagonal angle of view, the chief ray9 at the frame corner comes in at 41°, so a 10 mm tall electrolytic capacitor in a corner is recorded with its top pushed 8.69 mm outward from its base, 165 pixels in the example wide view. Tall parts hide their neighbors and shift even the reference marks used for locating, so it is safer not to trust positions of parts near the corners from the wide view alone. Another loss from light entering the frame corner at a slant is worked out in Why Do the Corners of a 100 MP Sensor Go Dark First?, and Nikon has not published which direction the magnified view looks from at the corners.
An inspection station that finds positions in the wide view and judges in the magnified view
Tying these calculations into one inspection station puts the board under a camera whose wide and magnified views share an axis, and the lighting has to cover the entire wide view. Taking the example camera’s wide view as 82° diagonal too and using a pinhole approximation, the distance at which that angle of view takes in the diagonal of a 150 mm square is about 122 mm, and a dome or large diffuse light that lights 150 mm evenly has to fit in that gap.

What to check in the figure is the height of the light housing. Since the dome takes up the space between camera and board, the WD10 must exceed that height, and the 122 mm above is only an approximation measured from the front of the lens, so the real distance must be confirmed again in the camera datasheet. In the wide view, pattern matching11 finds the positions of parts and fiducial marks, and one ROI12 is set at each position found to send the magnified view there. The values that run from defect size to the decision threshold are the three rows below.
| Item | Value | Basis | In plain words |
|---|---|---|---|
| ① Minimum defect size | 50 μm (5.7 px in magnified view, 0.95 px in wide view) | Three pixels per side means one pixel of 16.67 μm or less | Defects are judged only in the magnified view |
| ② Optical setup | Wide view 52.67 μm/px + 6x magnified 8.78 μm/px (two example 8.1 MP sensors), F4, dome or diffuse light covering 150 mm, WD about 122 mm approximate (confirm in datasheet that it is secured) | Magnified depth of field 0.59 mm, exposure 1.56x | Refocus for each part height and lengthen exposure |
| ③ Algorithm parameters | Magnified ROI positions from wide-view pattern matching (1 mm part = 19 px), magnified defect area threshold 16 px | Half the 32 px area of a 50 μm defect | The wide view finds positions only, the magnified view checks blob size only |
The row that fails first is the focus in the second row. On a part outside the magnified view’s 0.59 mm, the 5.7 pixels of the first row blur into a number on paper, and however finely the third row’s threshold is tuned, a blurred blob does not turn sharp again. Conversely, if the areas to check are spread evenly over the board and part heights are even, a single high-resolution camera of 54 MP or more, or a 31.4 MP camera split into four frames, may be the simpler choice in both moves and focus adjustments. How differently the gloss of the solder mask and the specular reflection of solder joints change defect contrast in the two approaches cannot be guaranteed before a sample test, so I would shoot the same board both ways and compare defect contrast first.
What remains for the engineer who makes this choice is the habit of counting the coordinates and number of areas to check on the drawing first. In cost terms, one high-resolution camera shifts the load toward the lens and data handling, while a camera that takes wide and magnified views together shifts it toward frame count and focusing time, and the board design decides whether the magnified approach gains nothing on frame count past three tiles. Which side is lighter depends on how many areas each product has and how often products change. This article explains technology and is not investment advice. See our Disclaimer.
Field Note
To compare the two on a real board, I would shoot a reference grid target before any defect sample. I shoot a target printed with 50 μm dots at a regular pitch in the wide view, the magnified view and one high-resolution camera frame under the same exposure conditions, and count how many pixels each dot actually spans above the threshold. If the magnified view gives far fewer than 5.7 pixels, I first suspect that focus has left the target height, and if dots in the wide view’s corners sit farther out than those in the middle, I decide whether to feed that shift into the position correction. Finally I group the areas to check on the drawing into 25 mm tiles and count them, and whether that count exceeds three is my first selection criterion.
Field Checkpoints
Once the reference grid target shows the pixel counts as numbers, what remains is to match the conditions of the board and camera once before choosing equipment. Before you receive datasheets, I recommend going through the items below in order.
- Is the WD still secured to the board surface after the dome or diffuse light goes in? (approximate 122 mm, the camera datasheet working distance minus the light height)
- Have you decided how many pixels per side the minimum defect gets? (three pixels means one pixel of 16.67 μm or less for 50 μm)
- How many magnified tiles do the areas to check fall into? (25 mm tiles; past three, magnification loses on frame count)
- Does the height difference of the parts to check exceed the magnified view’s 0.59 mm depth of field? (if so, refocus for each tile)
- Does a 1.56x longer magnified exposure still fit in the cycle time? (same light, same F-number)
- Do tall parts sit in the corners of the wide view? (corner chief ray 41°, hides neighboring parts)
- Does solder mask gloss or the specular reflection of solder joints swamp defect contrast? (check with a real board sample)
Frequently Asked Questions
Can digitally zooming the wide view replace the magnified view?
It cannot. Digital zoom only enlarges pixels already recorded, so a 50 μm defect recorded as 0.95 pixels in the wide view stays a small brightness change inside one pixel however far it is enlarged. Only optical magnification, where the lens forms a larger image on the sensor, can put the defect across more than three pixels.
If I stitch 24 magnified frames, do I get the same picture as one high-resolution camera frame?
In pixel size it becomes a finer picture, but not the same picture. Each frame has a different capture time and focus position, and matching the seams needs overlap and alignment. With a magnified depth of field of 0.59 mm, on a board that mixes parts of different heights the sharp height also changes from frame to frame.
Glossary
- [1] Pixel resolution μm/px
The length on the object that one pixel covers. It is the width of the field of view divided by the pixel count in that direction, and the smaller it is, the more pixels a small defect spans. ↩ - [2] Global shutter
A sensor readout in which every pixel starts and ends its exposure at the same moment. Unlike a rolling shutter, whose rows are offset in time, it records a moving scene as one instant. ↩ - [3] Specular reflection
Reflection in which light leaves a smooth surface in one direction, at the same angle it arrived. A camera in that direction sees a glint, and a camera slightly off it sees darkness. ↩ - [4] Diffuse reflection
Reflection in which a rough surface scatters light in many directions. Mixed with specular reflection, it makes brightness change strongly with viewing angle. ↩ - [5] Contrast
The brightness difference between the target and its surroundings. However many pixels a defect spans, it cannot be picked out if this difference is smaller than the noise. ↩ - [6] FOV field of view
The object-side area a camera captures in one frame. With the same pixel count, a wider view makes each pixel cover more. ↩ - [7] Magnification
The size of the image on the sensor divided by the size of the object. Dividing the pixel size by the pixel resolution gives the same value. ↩ - [8] Depth of field DOF
The range of heights that stay sharp together when focus is set at one height. Stopping down widens it, and raising the magnification narrows it quickly. ↩ - [9] Chief ray
The ray that passes through the center of the lens aperture. Its slope tells you from which direction the lens looks at a point in the frame. ↩ - [10] WD working distance
The distance from the front of the lens to the surface being inspected. Lighting has to fit in that gap, so this distance sets most of the setup height. ↩ - [11] Pattern matching
Processing that finds a registered reference shape in the frame and returns its position and angle. It is used to move the inspection position onto the real location of a part. ↩ - [12] ROI region of interest
The part of the frame that is actually inspected. Judging only inside it cuts processing time and false calls together. ↩
References
- Nikon, Nikon Launches “Dual Vision Camera” for Automated Inspection (November 16, 2026, launch scheduled for January 2027, imaging-position changes one-ninth or less versus a 32-megapixel camera, Nikon evaluation conditions)
- Nikon, Dual Vision Camera product page (NDV-6M8DC, two 8.1-megapixel color CMOS sensors, global shutter, 6.4 mm and 82° diagonal, 6x optical, motorized focus, up to 12 μm at WD 120 mm)
- LUCID Vision Labs, Atlas10 31.4 MP Model (IMX342) (6,464 × 4,852 px, 3.45 μm, 27.9 mm APS-C)
- Vision-Doctor, Resolution of sensors (at least 3 to 4 px for clean detection)
- NI, Setting Up Your Imaging System (at least 2 px on the smallest feature, field of view ÷ feature size × 2)
- The Imaging Source, Image Resolution in Machine Vision (presence/absence 1 to 2 px, dimensional measurement 3 to 4 px)
- Wikipedia, Depth of field (close-up depth of field approximation)
- US Patent US10846881B2, Keyence Corp, Image measuring apparatus (priority March 18, 2019, low- and high-magnification cameras share a light receiving lens and a half mirror splits the high-magnification path)
- US Patent US10244165B2, Fujifilm Corp, Imaging device (priority June 27, 2014, wide-angle and telephoto images obtained at once with one sensor)
- US Patent US6734911B1, Koninklijke Philips Electronics NV, Tracking camera using a lens that generates both wide-angle and narrow-angle views (filed 1999, dual-angle lens)
- Formulas: pixel size = field of view ÷ pixel count, required pixel = defect size ÷ 3, magnified pixel = wide pixel ÷ 6, magnification m = sensor pixel ÷ object pixel, depth of field ≈ 2 × N × c × (1 + m) ÷ m², irradiance ratio = ((1 + m wide) ÷ (1 + m magnified))², corner shift = part height × tan 41°
Related reading — In the Age of 8K Line-Scan Cameras, the Lens Still Sets the Ceiling on Inspection Resolution · How to Calculate Machine-Vision Lens Focal Length · Why Do the Corners of a 100 MP Sensor Go Dark First?


