The minimum working distance here is 150 mm, 50 mm more than the other C12 lenses, because a longer focal length must sit farther back for the same scale. At that closest distance magnification is 25 ÷ (150 − 25) = 0.2× (thin-lens estimate), about what C12-1624-25M gets at its 100 mm minimum (0.19×), but with 50 mm more room for lights, polarizers or a guard. A 2.71 µm pixel covers 2.71 µm ÷ 0.2 ≈ 13.6 µm of the part.
Closest-case depth of field is DOF ≈ 2 × N × c × (m + 1) ÷ m²: at F4 and c = 2.71 µm (example, one-pixel blur criterion), 2 × 4 × 2.71 µm × 1.2 ÷ 0.04 ≈ 0.65 mm. Backing off widens the field and deepens the focus range. The lens is not telecentric, but sensitivity to part height is 1 ÷ 125 ≈ 0.8% per mm at 150 mm, against 1.1% and 1.2% for the 12 mm and 16 mm lenses at 100 mm. The F4 diffraction disk of about 5.4 µm limits how far you can stop down on 2.71 µm pixels.
Best for
25 MP inspection that needs working room for lighting: at least 150 mm of stand-off at about 13.6 µm per pixel.
Parts with some height variation, since scale changes only about 0.8% per mm at 150 mm against about 1.2% for the 100 mm lenses.
Cells where fixtures or guards keep the camera back, because the longer focal length reaches a useful scale at greater distance.
Selection notes
Choose it for the stand-off, not for extra resolution: at its closest it samples the part (13.6 µm) about as finely as the 16 mm lens does at 100 mm (14 µm), and it cannot go closer than 150 mm for a finer pixel.
Check the lighting you plan to use against a 150 mm or longer stand-off, since each light has its own best working distance.
Keep the iris around F2.4 to F4 for full 25 MP detail, since the diffraction disk reaches two pixels at F4.
Specifications: General
Brand
Basler
Specifications: Optical
Focal length
25 mm
Aperture (f-number)
F2.4 - F16
Optical resolution
25 MP
Lens mount
C-mount
Image circle / max sensor
1.2"
Working distance
150 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 · 1.2" 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
It is consistent with the thin-lens relation WD ≈ f × (1 + 1 ÷ m): a 25 mm lens at 0.2× sits at 25 × (1 + 1 ÷ 0.2) = 150 mm, where the 16 mm lens needs 16 × (1 + 1 ÷ 0.2) = 96 mm for the same scale.
About 0.65 mm at F4 at the closest distance with a 2.71 µm blur criterion (2 × 4 × 2.71 µm × 1.2 ÷ 0.2², an example value). It grows as you move back; stopping down adds depth but also diffraction.