Skip to content
Swing Catalyst Support Swing Catalyst Support
Contact support
Cameras & Video/ Camera Setup/ Improving camera image quality

Improving camera image quality

🏷️
Added in version 8.0. Earlier versions do not have it.

A dark, soft or noisy picture from a machine vision camera can often be fixed in the software. Swing Catalyst has three video filters for this: sharpening, gamma and denoise. This article shows what each one does and where to find them. How much they help depends on the camera type and model.

Machine vision cameras send raw sensor data, which the software turns into a picture itself. That is why the filters below make a bigger difference on those cameras. Web cameras and DirectShow devices do their own processing inside the camera, so there is less left for you to change.

Since version 26.1 the software does more of that work for you, including correcting color for your camera model. See Camera color and video rendering settings . The filters below sit on top of that and remain useful for taste and for room conditions.

Requirements

  • Any camera compatible with Swing Catalyst.
  • A dedicated graphics card (GPU). The video filters run on the graphics card, so they add to its load with every camera you apply them to.

Jumping straight to the results

The screenshots are from a Point Grey Chameleon 149 FPS USB 3.0 camera in our test lab, and with alternative screenshots from our offices.

The two dialog screenshots below are from an older version of the software. The Lens Correction section with its K1, K2 and K3 sliders is no longer in the Filters tab; see Lens correction at the end of this article.

Without filters:

The sharpening, gamma and denoise sections of the Filters tab, each switched off, beside a dark, murky live picture of a golfer at address in front of a gray screen

With Sharpening, Gamma and Denoise filters enabled:

The same three sections with sharpening, gamma and denoise ticked, and a live picture that is now bright and clear, with the golfer, the mat and the gray screen easy to make out

The image goes from being borderline unusable to usable.

Without filters:

An office desk seen through a wide lens, with a gray lab power supply, a pen cup and a doorway; the picture is dim, grainy and slightly soft

Sharpening, gamma and denoise filters on:

The same office desk, now brighter and cleaner, with the power supply’s edges and the wall behind it clear and smooth

Getting to know the video filters

The video filters are in the Advanced camera settings and are applied per camera.

To reach them, open Settings, then Cameras. Click the Advanced… button for the camera you want to adjust, then click the Filters tab in the Advanced Camera Settings dialog.

The Settings menu with Cameras selected, and the camera list on the right showing three cameras, each with a Use camera switch and an Advanced… button

Gamma

Machine vision cameras usually do not apply any gamma correction, so adjusting the gamma in Swing Catalyst can make a big difference. Increasing gamma only brightens the dark parts of the image. The black level of the image changes, and too high a gamma gives a washed out, gray looking picture.

No gamma adjustment (camera default):

A golfer at address in front of a gray screen, very dark, with the golfer and the mat barely visible

Gamma adjustment (1.6):

The same golfer, now clearly lit: the gray screen, the green turf and the black mat are all easy to see

No gamma adjustment:

An office desk with a gray lab power supply and a doorway, dim and grainy

Gamma 1.6:

The same office desk, brighter, with the wall and the corridor beyond the door now clearly visible

Sharpening

The sharpening filter enhances the edges of objects in the image, mostly of whatever is in focus. Sharpening also makes noise more visible, so we generally avoid maximum gain when sharpening is on. How much noise there is at maximum gain varies a lot between camera sensors.

In the two screenshots from our test lab, the gamma filter is enabled, because otherwise it is difficult to see the differences.

This is the default, no sharpening enabled:

A golfer at address in front of a gray screen with gamma applied, evenly lit but slightly soft

Sharpening enabled:

The same golfer with sharpening on: the edges of the club, the mat and the golfer are crisper, and the gray screen behind shows fine grain

Note how the Balance Plate and club become sharper, but the impact screen becomes noisier.

Alternative (no sharpening):

A close crop of a gray lab power supply on a desk, soft, with the text on its front panel hard to read

Sharpening enabled:

The same crop of the power supply with sharpening on: the front-panel text is readable, and the gray casing and the wall behind show clear grain

Notice how the text on the power supply becomes easier to read, but the image becomes much noisier.

Denoise

The denoise filter is useful when there is a lot of noise in the video image, whether from high gain or something else. Sharpening and denoise together give good results.

Gamma and sharpening only:

A golfer at address in front of a gray screen with gamma and sharpening on; the screen and turf show visible grain

With Gamma, sharpening and denoise:

The same golfer with denoise added: the gray screen and the turf are smooth, while the golfer and club stay sharp

Note how the noise around the turf and the screen has been reduced a lot.

Alternative (no filters):

A tight crop of a gray lab power supply, grainy, with speckled noise across its casing

Denoise enabled (notice how the chassis of the power supply has less white noise):

The same crop with denoise on: the casing is smooth, with the speckle gone

Sharpening and denoise enabled:

The same crop with both sharpening and denoise on: the casing is smooth and the front-panel text is crisp

Lens correction

Lens correction is no longer something you tune here. You calibrate it by moving a printed board across the camera’s field of view. The software works out the correction from what it sees.

It belongs to the lens, not to the camera body. Changing the lens, or changing the zoom on a varifocal lens, changes the distortion, so that combination needs calibrating again.

Automatic lens distortion correction covers the whole process.


Related

Last updated on