The Basler Lens C12-1224-25M is a premium fixed-focal-length lens optimized for high-resolution industrial imaging up to 25 megapixels. It delivers a 19.3 mm image circle covering 1.2" sensors with 184 LP/mm resolving power (2.71 µm pixel pitch). The focus range spans 100 mm to infinity, with manual iris locking screws and an all-metal housing. Distortion is -1.15% (optical) and relative illumination is 60% at full aperture.
This is the 12 mm lens for 25 MP. It has a 19.3 mm image circle for 1.2" sensors and resolves 184 lp/mm, matching the Nyquist limit of a 2.71 µm pixel (1 ÷ (2 × 2.71 µm) ≈ 184 lp/mm). Distortion is −1.15 %, so a corner shifts by about 0.0115 × 9.65 mm ≈ 0.11 mm, or 0.11 ÷ 0.00271 ≈ 41 px, and relative illumination at full aperture is 60 %.
Focus runs from 100 mm to infinity, so the field is yours to choose. For an example 5,000 px wide sensor (13.55 mm), 12 ÷ (100 − 12) ≈ 0.136 at 100 mm gives about 99 mm at 20 µm per pixel, and at 300 mm, 12 ÷ 288 ≈ 0.042 gives about 325 mm at 65 µm per pixel. A manual iris with locking screws holds the aperture, and the housing is all metal at 243 g.
Best for
High-resolution inspection with a 1.2" 25 MP camera, where 2.71 µm pixels need a lens rated for them and a wide view.
Production lines where vibration or handling could shift the iris: the locking screws hold the set aperture.
Large-field surface checks and OCR with a 25 MP sensor, where an example 325 mm field at 300 mm still gives about 65 µm per pixel.
Selection notes
Against the 12 mm C11-1220-12M, it covers a larger sensor (19.3 mm image circle against 17.6 mm), a finer pixel (2.71 µm against 3.57 µm) and has lower distortion (−1.15 % against −3.10 %), but it is heavier (243 g against 211.2 g) and slower (F2.4 against F2.0).
A sensor larger than 1.2" vignettes; pixels coarser than 2.71 µm leave part of the lens resolution unused.
Correct the 41 px corner shift for gauging, or use a telecentric lens where distance changes matter.
Specifications: Optical
Focal length
12 mm
Lens mount
C-mount
Aperture (f-number)
F2.4 – F16
Image circle / max sensor
19.3 mm (1.2")
Optical resolution
25 MP
Working distance
100 mm to ∞
Specifications: Environment
Operating temperature
-20 to 60 °C
Specifications: Mechanical
Weight
243 g
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 · 19.3 mm (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
Sensors up to 1.2" with 2.71 µm pixels, up to 25 MP.
Yes, manually, between F2.4 and F16, and it can be locked with the screws.