This 25 mm Standard-line lens is about standoff. Its minimum working distance is 300 mm, where a thin-lens estimate gives 25 ÷ (300 − 25) ≈ 0.091, so a typical 8.8 mm wide 2/3" sensor covers about 97 mm and each 5.5 µm pixel about 5.5 ÷ 0.091 ≈ 60 µm. Moving back widens the field: at an example 600 mm, 8.8 × (600 − 25) ÷ 25 ≈ 202 mm at about 126 µm per pixel.
Distance also tames perspective: at 300 mm a 1 mm height change shifts the scale by 1 ÷ (300 − 25) ≈ 0.36 %, and less farther out. The lens is rated 2 MP for 5.5 µm pixels (Nyquist ≈ 91 lp/mm) with F1.8–F16, and even F16 is usable: the working f-number is 16 × 1.09 ≈ 17.5 and the cutoff 1 ÷ (0.55 µm × 17.5) ≈ 104 lp/mm. Stopping down for depth therefore costs little: at F8 and 300 mm the depth with a one-pixel (5.5 µm) criterion is 2 × 8 × 0.0055 mm × (0.091 + 1) ÷ 0.091² ≈ 12 mm.
Best for
Cameras that must stay 300 mm or more from the part, for example behind a guard or above the process, while still framing about 100 mm.
Stations that need space for a large bar light or diffuser between camera and part, which the 300 mm minimum distance provides.
Products with height variation of several millimeters, such as boxed or stacked goods, where about 12 mm of depth at F8 keeps all of it in focus.
Selection notes
The C23-2518-5M has the same 25 mm focal length and F1.8–F16 range, is rated 5 MP for 3.45 µm pixels and focuses down to 200 mm (61.6 mm field at 24 µm per pixel). Backed off to 300 mm it reaches this lens's 97 mm field too. This model is the one matched to 2 MP, 5.5 µm cameras; on finer pixels the 5 MP lens is the better fit.
At 60 µm per pixel (126 µm at 600 mm) this lens suits gross features, not fine measurement.
Fields narrower than about 97 mm are out of reach at the 300 mm minimum; for those use a longer lens such as the 35 mm C23-3520-2M, which frames 79 mm at its 350 mm minimum.
Specifications: General
Brand
Basler
Specifications: Optical
Focal length
25 mm
Aperture (f-number)
F1.8 - F16
Optical resolution
2 MP
Lens mount
C-mount
Image circle / max sensor
2/3"
Working distance
300 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
A 2 MP camera with a 2/3" sensor and 5.5 µm pixels, the pitch this Standard-line lens is specified for.
About 97 mm across a typical 8.8 mm wide sensor at 300 mm, as an estimate; the height scales the same way.