Skip to content
PPHYSICAL AI GUIDESTART HERE →

Field guide

Robot Camera Sizing: Field of View, Pixels and Motion Blur

Size a robot camera around the smallest required feature. Run a pixel and exposure budget, compare cropping with resizing, and request usable image evidence.

By Physical AI Guide Editorial TeamPublished Updated

The short answer

Specify the smallest feature, required coverage and actual image delivered to the algorithm before choosing a camera by megapixels. Then check whether relative motion during exposure consumes the available image-detail budget. Enough nominal pixels do not prove that an inspection or picking task works.

For a hypothetical 1920 by 1200 image covering 480 by 300 millimeters, a 0.5-millimeter feature spans only two pixels along either axis. Resize the entire image to 960 by 600 before inference and it spans one. At 600 millimeters per second of relative lateral motion, a one-millisecond exposure produces a calculated 2.4-pixel smear in the original image.

This guide provides a runnable sizing calculation and a supplier acceptance worksheet. We executed the arithmetic, not a camera or robot trial. Every numerical configuration below is illustrative. The chosen five-pixel feature target and half-pixel blur budget are hypothetical design inputs, not universal requirements or supplier recommendations.

Start with the decision the image must support

A robot may need to find a large package, distinguish a narrow gap, inspect a scratch or estimate a grasp pose. Those are not interchangeable specifications. State which physical feature controls acceptance, its size and orientation, and the errors that matter.

NI’s camera-sizing guide, updated October 7, 2020, defines field of view as the area to acquire and the smallest feature as the detail to detect. It calculates resolution separately for the two image dimensions and uses a minimum of two pixels across the feature as its sizing rule.

Use that rule as an initial screen, not a promise of accurate measurement or reliable recognition. A count of sample locations does not establish contrast, optical sharpness, defect classification, false-accept rate or physical localization error. Our proposed acceptance process below requires task evidence in addition to the calculation.

Write down:

  • The required coverage at the actual inspection or picking plane.
  • The smallest relevant feature, including the direction in which its width matters.
  • The source image dimensions, crop, binning and resize settings.
  • The final image dimensions and coverage seen by the algorithm.
  • Camera-to-object distance, permitted object heights and orientations.
  • Relative camera/object motion during exposure, not just the robot’s nominal top speed.
  • The task’s pass rule, including acceptable misses, false accepts or position error.

This is a concrete imaging specification to request from a robot integrator, not a substitute for assigning responsibility for the complete application.

Calculate samples across the feature, not total megapixels

For an approximately front-facing flat object plane with uniform scale, the per-axis arithmetic is:

millimeters_per_pixel = field_of_view_mm / image_pixels
pixels_across_feature = feature_mm / millimeters_per_pixel
required_image_pixels = ceil(target_pixels_per_feature * field_of_view_mm / feature_mm)

These equations rearrange the field-of-view relationship used in NI’s resolution calculation, with the target sampling made explicit. Check both axes with matching physical and image dimensions. A sensor diagonal is not a substitute for image width or height.

In our example, both axes yield 0.25 millimeters per pixel. The 0.5-millimeter feature therefore spans two pixels. A hypothetical requirement of five pixels across that same feature over the full field would need at least 4800 by 3000 samples under this simplified geometry.

That calculation does not select a lens or establish effective optical resolution. It also assumes the feature is presented in the plane and orientation being budgeted. Perspective, surface tilt, lens distortion and changing working distance can make scale vary across the scene. Use the least favorable relevant view, then verify with representative images and measured targets rather than treating a center-plane ratio as a workspace guarantee.

Cropping and resizing answer different questions

Consider two ways to deliver a 960 by 600 image:

Image path Physical coverage in this example Samples across a 0.5 mm feature
Original 1920 by 1200 480 by 300 mm 2 pixels
Whole image resized to 960 by 600 480 by 300 mm 1 pixel
Center 960 by 600 crop, no resize 240 by 150 mm 2 pixels

The crop preserves sampling but gives up coverage. The resize preserves coverage but reduces sampling. These are derived properties of the stated image operations, not measured detector results. If a cropped image is subsequently resized, apply both operations. Enlarging an image later does not turn interpolated samples into additional captured scene detail.

Record the image at the algorithm boundary, not just the camera’s maximum sensor dimensions. A large sensor specification cannot establish that its original detail reaches a model operating on a reduced image.

Budget motion during exposure separately from frame rate

Basler’s Exposure Time documentation defines exposure as the interval during which the sensor is exposed to light. It also distinguishes configured and effective exposure on supported models, and notes model-specific limits. If automatic exposure is enabled, retain the exposure actually used instead of assuming the configured nominal value remained fixed.

For our simplified case of constant relative lateral speed, uniform image scale and continuous illumination:

motion_smear_pixels = relative_speed_mm_per_s * exposure_s / millimeters_per_pixel
maximum_exposure_s = blur_budget_pixels * millimeters_per_pixel / relative_speed_mm_per_s

This is our elementary displacement calculation, not a Basler performance claim. It models motion smear only. It does not model acceleration, rotation, depth changes, lens blur, vibration, rolling-shutter distortion or a short synchronized light pulse inside a longer sensor exposure.

At 600 millimeters per second and 0.25 millimeters per pixel, a one-millisecond exposure covers 2.4 pixels of motion. A hypothetical half-pixel budget requires no more than 208.33 microseconds under those assumptions. Whether enough usable light reaches the sensor in that interval remains untested.

Frame rate is not exposure duration. A stream can deliver images frequently while each exposure is too long for the required feature. Conversely, a short exposure does not prove that acquisition, transfer and inference finish before the robot needs the result. Use the sensor-timing guide for observation age and clock pairing, which are separate from within-image smear.

More pixels can tighten the exposure requirement

At 4800 pixels across the same 480-millimeter width, scale becomes 0.1 millimeters per pixel. The same motion and one-millisecond exposure now cover six pixels. Keeping the same half-pixel budget would require 83.33 microseconds.

The physical displacement has not increased. Its pixel count increased because sampling became finer. That is why a higher-resolution proposal needs a matched exposure and lighting review rather than a resolution-only approval. The half-pixel budget itself must be justified for the application; it is not a universal definition of a sharp image.

Global shutter is not a blur guarantee

Basler’s shutter documentation says global-shutter pixels start and stop exposing together. Rolling-shutter rows expose with temporal offsets, which can distort moving scenes. Those row offsets are a different mechanism from motion accumulated during an individual exposure.

A global shutter can still accumulate motion smear during its exposure. A short rolling-shutter exposure does not by itself remove row-to-row timing differences. Ask for the exact sensor mode and image evidence under the intended motion and lighting. Do not infer application performance from the shutter label alone.

Run the pixel and exposure calculation

This Python 3 example uses only the standard library. Its assertions check the arithmetic and the crop-versus-resize distinction, not optical quality or detection performance.

from math import ceil, isclose

pixels = (1920, 1200)
fov_mm = (480, 300)
feature_mm = 0.5
wanted_feature_pixels = 5  # Illustrative input, not a standard.
speed_mm_s = 600           # Relative lateral speed, constant.
exposure_s = 0.001
blur_budget_px = 0.5       # Illustrative input, not a standard.

assert feature_mm > 0 and wanted_feature_pixels > 0
assert speed_mm_s > 0 and exposure_s > 0 and blur_budget_px > 0
assert all(n > 0 for n in pixels + fov_mm)

scale = tuple(f / n for f, n in zip(fov_mm, pixels))
feature_px = tuple(feature_mm / s for s in scale)
required = tuple(ceil(wanted_feature_pixels * f / feature_mm)
                 for f in fov_mm)
resized_feature_px = tuple(v / 2 for v in feature_px)
crop_pixels = (960, 600)
crop_fov = tuple(s * n for s, n in zip(scale, crop_pixels))
crop_feature_px = tuple(feature_mm / (f / n)
                        for f, n in zip(crop_fov, crop_pixels))

# Motion is along image X only, so use the horizontal scale.
smear = speed_mm_s * exposure_s / scale[0]
max_exposure_us = blur_budget_px * scale[0] / speed_mm_s * 1e6
finer_scale = fov_mm[0] / required[0]
finer_smear = speed_mm_s * exposure_s / finer_scale
finer_max_us = blur_budget_px * finer_scale / speed_mm_s * 1e6

print(f"Native feature: {feature_px[0]:.2f} x {feature_px[1]:.2f} px")
print(f"Half-size full field: {resized_feature_px[0]:.2f} px across")
print(f"Unresized crop field: {crop_fov[0]:.0f} x {crop_fov[1]:.0f} mm")
print(f"Required image for chosen target: {required[0]} x {required[1]}")
print(f"Native motion smear: {smear:.2f} px; exposure ceiling: {max_exposure_us:.2f} us")
print(f"Finer motion smear: {finer_smear:.2f} px; exposure ceiling: {finer_max_us:.2f} us")

assert feature_px == (2, 2) and resized_feature_px == (1, 1)
assert crop_feature_px == feature_px and crop_fov == (240, 150)
assert required == (4800, 3000)
assert isclose(smear, 2.4) and isclose(finer_smear, 6)

The calculated exposure ceilings are 208.33 and 83.33 microseconds, respectively. The required-image result is a sampling target only. Neither output is a camera setting validated on hardware, and passing these assertions does not mean the proposed camera can meet the task.

An image-evidence acceptance worksheet

This is our proposed procurement record, not a published standard. Leave unperformed checks marked NOT TESTED. Agree the acceptance limits before reviewing favorable examples.

Review field Evidence to retain
Task and smallest feature Physical size, orientation, required decision and error limits
Coverage Field of view at relevant heights, working distances and scene positions
Actual image path Sensor mode, crop, binning, resizing and final algorithm input
Sampling screen Per-axis feature samples, chosen target and its application rationale
Motion and exposure Relative motion, effective exposure, auto limits, shutter mode and lighting timing
Optical and scene conditions Lens, focus, aperture, illumination, surface finish and contrast
Held-out task evidence Representative parts and conditions excluded from tuning, failures included
Application outcome Misses, false accepts or physical position errors with attempt denominators
Ownership Who controls settings, approves changes and repeats acceptance

Request both stationary and representative moving-image evidence. Include relevant workspace edges, object heights, orientations and difficult surfaces, not just one centered example. Preserve the processed image used for the decision alongside its source image and settings so a resize or exposure change cannot disappear from the handoff.

For stereo systems, use the disparity and depth-error budget to distinguish image sampling from depth resolution and accuracy at the intended working distance.

For a picking application, usable images still do not establish correct robot-camera geometry. Our hand-eye calibration guide addresses held-out transform consistency and separates it from physical task accuracy. An image sampling calculation, a calibration residual and a successful pick each answer a different question.

Record the accepted configuration and use application change control when optics, camera pose, image preprocessing, lighting or motion changes. Reopen the affected evidence rather than assuming yesterday’s images validate a different setup.

Sources and limits

  1. NI, Calculating Camera Sensor Resolution and Lens Focal Length. Updated October 7, 2020, reviewed November 20, 2026. Primary technical guidance for field of view, smallest feature and per-axis sensor sampling. We use its two-pixel rule as a screen, not a guarantee of recognition or metrology accuracy. We do not use its focal-length examples to specify a lens.
  2. Basler Product Documentation, Exposure Time. Living model-dependent documentation, publication date not stated, reviewed November 20, 2026. Source for exposure duration, effective-versus-configured exposure and model-specific settings. No particular camera was configured or tested.
  3. Basler Product Documentation, Electronic Shutter Types. Living model-dependent documentation, publication date not stated, reviewed November 20, 2026. Source for simultaneous global exposure, rolling row offsets and moving-scene distortion. This does not establish task performance for a proposed sensor.

The numerical example, motion-displacement equations and acceptance worksheet are Physical AI Guide’s illustrative analysis. We did not acquire images, evaluate a detector, select optics or lighting, or validate physical robot accuracy. The worksheet helps scope that work, not replace it.

Frequently asked questions

Does a higher-megapixel camera guarantee reliable robot inspection?

No. Check pixels across the required feature at the actual field of view and processing resolution. Exposure, optics, lighting, contrast and the task's measured error rate still need validation. A pixel budget is a screening calculation, not a detection result.

Is cropping a camera image the same as resizing it?

No. An unresized crop retains the original sampling within a smaller field of view. Resizing the whole image reduces the samples across each feature while retaining its overall coverage. Any later resizing must also be included in the budget.

Does a global shutter eliminate motion blur?

No. Simultaneous exposure avoids the row-to-row exposure offset of a rolling shutter, but relative motion can still smear a feature during the exposure interval. Check exposure duration and physical task results separately.