This is the 12 mm lens for 2 µm pixels, where the optics rather than the sensor set the limit. Nyquist for 2 µm pixels is 1 ÷ (2 × 2 µm) = 250 lp/mm. At the 100 mm minimum working distance the magnification is 12 ÷ (100 − 12) ≈ 0.136, so the working f-number is N × 1.136: wide open at F2.8 it acts as 3.2, and the Airy disc is 2.44 × 0.55 µm × 3.2 ≈ 4.3 µm, about 2 px. The cutoff reaches Nyquist at a working f-number of 1 ÷ (0.55 µm × 250) ≈ 7.3, about F6.4, so the useful range is F2.8 to roughly F5.6.
That distance also gives the finest sampling the lens reaches: each pixel covers about 2 ÷ 0.136 ≈ 14.7 µm and a typical 8.8 mm wide 2/3" sensor sees 8.8 ÷ 0.136 ≈ 64.5 mm; at an example 200 mm it sees 8.8 × (200 − 12) ÷ 12 ≈ 138 mm. With a one-pixel (2 µm) blur criterion, depth of field at F2.8 and 100 mm is 2 × 2.8 × 0.002 mm × (0.136 + 1) ÷ 0.136² ≈ 0.7 mm.
Best for
Fine inspection across a 64.5 mm field, where 14.7 µm per pixel puts a 0.1 mm feature across 100 ÷ 14.7 ≈ 7 px.
Flat surfaces that stay within about 0.7 mm of focus, such as boards, labels, glass or printed panels, where a 16 MP camera can use its pixels.
Strobed or brightly lit stations, where added light lets the lens stay at F2.8 to F4, where it holds full detail on 2 µm pixels.
Selection notes
Specified for 2/3" sensors with 2 µm pixels up to 16 MP: a larger sensor vignettes, and on coarser pixels the lens still works but its extra resolution goes unused.
F2.8 passes (2.4 ÷ 2.8)² ≈ 0.73 of the light of the F2.4 C23-1224-5M, so plan for a stronger lamp or a strobe. At about 14.7 µm per pixel, a 15 µm drift from vibration moves the image a full pixel, so mount the camera and part rigidly.
For finer sampling than 14.7 µm at the same 100 mm, the 25 mm C23-2528-16M reaches 6 µm per pixel.
Specifications: General
Brand
Basler
Specifications: Optical
Focal length
12 mm
Aperture (f-number)
F2.8 - F16
Optical resolution
16 MP
Lens mount
C-mount
Image circle / max sensor
2/3"
Working distance
100 mm minimum
Telecentric
No
Applications this product is commonly selected for. Open one to see the full recommended hardware and approach.
Matched automatically by: camera mount fits the lens mount · camera sensor is covered by the lens image circle — this lens: C-mount · 2/3" image circle.
Get a first image quickly with the pylon Viewer, then move into the pylon SDK for your application. These cameras are GenICam/GenTL-compliant, so any compliant vision software can drive them as well.
Download and install the pylon Camera Software Suite for your OS from Basler. This provides the pylon Viewer, the GenTL transport-layer producers and the pylon SDK (C/C++/.NET/Python). On Windows the installer adds the needed drivers; on Linux follow the included setup notes for USB and network permissions.
2. Connect the camera and check the link
Cable the camera to its matching interface: GigE Vision to a GigE port (use a quality cable and, ideally, a dedicated NIC with jumbo frames enabled), USB3 Vision to a USB 3.x port with the supplied cable, or CoaXPress to the frame grabber. Provide power where required (PoE, USB bus power, or PoCXP). Open the pylon Viewer and confirm the camera appears in the device list; for GigE, make sure the camera and NIC are on the same subnet.
3. Grab a first image and set exposure, gain and pixel format
Select the camera in the pylon Viewer and start a continuous grab. Adjust exposure time and gain until the image is well exposed (avoid clipped highlights), set the pixel format (e.g. Mono8 or a Bayer/RGB format), and focus the lens. Use a test pattern if the lens or scene is not ready yet.
4. Configure triggering and acquisition
Decide between free-run and triggered acquisition. For synchronized capture, set the trigger source (software or a hardware line on the I/O connector), trigger mode and any debounce or exposure mode, then verify timing. Note the parameter names you change in the Viewer feature tree, as you will reuse them in code.
5. Move to the SDK or a GenICam-compliant library
Recreate your settings in code with the pylon SDK (C, C++, .NET or Python) to open the device, apply the same features and pull frames into your pipeline; pylon vTools and pylon AI can add processing blocks. Because the cameras are GenICam/GenTL standard, third-party vision libraries work too. Once the image stream is stable, you can route frames to a deep-learning inspection such as Rosepetal for automated defect detection.
Frequently asked questions
Not at full resolution. At F16 the working f-number is about 18.2, the Airy disc 2.44 × 0.55 µm × 18.2 ≈ 24 µm (12 px) and the cutoff ≈ 100 lp/mm, well under Nyquist, so detail is lost long before depth of field helps.
64.5 mm at the 100 mm minimum distance on a typical 8.8 mm wide sensor, widening as you back off: about 138 mm at 200 mm.