Automatic correction of systematic errors of measuring channels. How does automatic light correction work in car headlights?

Table 1 - Instructions for automatic correction of tool parameters

During machining, the cutting edge of the tool must follow exactly along the programmed path. Due to the differences in the instruments used, their dimensions must be taken into account and entered into the control system before starting to play the program. Only in this case can the trajectory be calculated regardless of the parameters of the tools used. Once the tool is installed in the spindle and the corresponding compensation is activated (compensation for its dimensions), the CNC automatically takes this correction into account.

Figure 1 – Instrumental complex

Address H performs length compensation, and address D performs radius compensation.

Length compensation is possible in two ways: in relation to the front plane of the spindle and in relation to the “zero tool”.

Figure 2 – Tool length compensation in relation to the spindle rake plane and to the zero tool

In the first case, the compensation value can only be positive (for the figure Figure 2 Н1=70.832, Н2=81.712, Н3=100.003), in the second case, choose a “zero tool”, which has a zero compensation value, and the remaining compensation values ​​can be both positive and negative (for the figure Figure 2 Н1=-20.813, Н2=0, Н3=25.821). In both cases, the compensation values ​​are stored in the corresponding table.

The center of the cutter moves along an equidistant path parallel to the contour of the part, spaced from it by an amount equal to the radius of the cutter. The equidistant path is also called the path of the cutter center. The compensation values ​​for various instruments are entered into the table; for example: D1=14 (with a cutter diameter of 28 mm); D2=22 (with a cutter diameter of 44 mm). The direction of displacement is determined by looking at the trajectory from top to bottom, that is, from the “+Z” side towards the “-Z” direction.

Figure 3 – Principle of equidistant correction

Along the contour and those frame mates for which the angle of inclination of the tangent remains unchanged, the equidistance is uniquely determined by the parameters of the contour. In other irregular cases of external frame mates, the CNC system calculates the mates of equidistant segments in accordance with instructions G68 or G69.



Figure 4 – Unambiguous definition of an equidistant contour and calculation of external connections of equidistant segments

In the case of irregular mates of internal contours, the CNC system calculates the intersections of equidistant lines to determine the desired trajectory. In some cases, this can lead to complete distortion of the contour. To avoid this, some CNC systems have a “collision control” function.

Figure 5 – Calculation of internal connections of equidistant segments

In order for the CNC system to have time to perform an offset relative to the programmed contour, it is necessary to add an approach section to the initial trajectory. In this section, automatic tool radius correction is activated. Most systems require a distance of at least the tool radius to travel to activate correction. A prerequisite for activating the correction is the presence of a linear movement at the working feed.

Left tool radius compensation – G41. The G41 instruction initiates a positive equidistant offset to the left of the workpiece as viewed in the feed direction. To implement the correction, the cutter radius is programmed in the D-word, and the tool number in the T-word. Together with the G41 instruction, linear movements can be programmed; then activation of equidistant correction will occur “along the path” of movement to the end point of the frame.

N60 G41 X... Y... Z... D...

N65 G41 X... Y... Z...

Tool radius compensation right - G42. The G42 instruction initiates an equidistant offset to the right of the workpiece as viewed in the feed direction. Everything else is identical to instructions G41.

Tool length compensation - G43. Tool length compensation is accomplished by programming the G43 command and the H data word. Typically, length compensation is activated in conjunction with idle Z-axis movement.

Cancels tool radius and length compensations – G40, G49. Tool length compensation is canceled by programming the G49 or H00 command. Tool radius compensation is canceled by programming G40 or D00 commands. Cancellation of the G40 compensation may be accompanied by straight-line movement in the active plane. In this case, the exit from the equidistant trajectory is carried out “along the path” to the end point of the frame. If the circular interpolation functions are active, the action of the G40 instruction must not be accompanied by movement.

Pairing equidistant lines at the junction of frames (along an arc) – G68; along the trajectory of intersection of equidistant lines – G69. The instructions are modal and work with active equidistant correction. Their action comes down to the automatic generation of an arc (G68) or a trajectory of intersection of equidistant lines at the junction of “not smoothly” mating frames. The G68 instruction initiates automatic connection of an equidistant gap using an arc of radius r.

Figure 6 – Automatic connection of equidistant gap along an arc

Instruction G69 initiates automatic connection of the equidistant gap along the intersection path of the equidistant lines.

Figure 7 – Automatic connection of equidistant discontinuity along the trajectory of intersection of equidistant lines

As follows from (10), the static accuracy of the multi-cycle integration ADC is determined only by the accuracy of the reference voltage source and the zero offset of the integrator and comparator, which are summed with the reference voltage. Zero offset can be corrected by automatic compensation. To do this, an additional zero-setting stage is introduced into the conversion cycle (see Fig. 11), during which the integrator is disconnected from the signal sources and, together with the comparator, is covered by deep negative feedback, as shown in Fig. 13. Here an op-amp is used as a comparator. A non-inverting follower is connected between the integrator and the ADC input as a buffer amplifier B.

In the automatic zero compensation phase, the keys S 1 , S 3 , S 5 are open and the keys S 2 , S 4 , S 6 , S 7 - closed. Therefore, the integrator, comparator and buffer amplifier form a voltage follower, the output voltage of which U k is supplied to the automatic compensation capacitor WITH ak The input voltage of the buffer amplifier is zero, and the output voltage is equal to its zero offset U 0b After the end of transient processes on the capacitor WITH Once the voltage is established, it is equal to U 0b + U 0i, where U 0i - integrator zero offset. At the same time the capacitor WITH The op is charged from a reference voltage source.

At the stage of integrating the input voltage, the switches S 4 and S 7 open, and S 1 - closes. Since at this time the voltage on the capacitor WITH Once stored, the zero offset is compensated during the integration phase. In this case, the zero drift is determined only by short-term instability, which is very small. The same holds true at the counting stage.

Since two amplifiers are connected in series in the zero offset compensation circuit, self-oscillations can easily occur. For stabilization in series with the key S 7 the resistor should be turned on.

After the integration phase is completed, the control circuit analyzes the output voltage of the comparator. If the average value of the input voltage is positive, then a high level voltage is set at the output of the comparator. In this case, simultaneously with opening the key S 1 keys are closed S 4 and S 5, connecting a capacitor to the input of the buffer amplifier WITH op with a reference voltage stored on it, and in such a way that this voltage has a polarity opposite to the polarity of the reference voltage source. If the average value of the input voltage is negative, then the output of the comparator is set to a low level voltage. Then the keys are closed S 3 and S 6, connecting the reference capacitor to the input of the buffer amplifier with other poles. In both cases, during the counting stage the integrator voltage changes U And ( t) in the direction opposite to that which took place at the integration stage. At the same time, the control circuit generates a character code. Thus, in the simplest case, the ADC output code is a signed direct code.

Integrated multicycle integration ADCs are manufactured in the form of semiconductor ICs. Two main groups can be distinguished:

    circuits with parallel or serial output for interfacing with microprocessors (for example, ICL7109, the output word of which includes 12 bits plus sign in a parallel 14 or 8-bit code, or 18-bit plus sign MAX132 with a serial interface);

    circuits with binary decimal counters with decoders for controlling seven-segment indicators, including multiplexed ones. Such ADCs are used as the basis for digital voltmeters. Examples are ICL7106 (domestic analogue - 572ПВ5) with a range of +/-2000 counts or ICL7135 (domestic analogue - 572ПВ6) with a range of +/-40000 counts.

Color correction is an integral part of the process of processing digitized images. The need for it especially often arises during the pre-press preparation of photographs: film negatives tend to fade over time, shifting the overall gamut of the image towards blue or red. Digital cameras also do not guarantee perfect quality due to uncontrollable errors in manual balance adjustments. Of course, modern graphic editors have the necessary tools to correct color errors manually, but this is not very effective when processing documents in streams. Fortunately, there are a number of inexpensive third-party solutions that can automate the process of color correction of images as much as possible.

AutoEye 2.0 (AutoFX Software)

AutoEye 2.0 is a new version of the popular software designed to improve the quality of digital images by restoring color detail and increasing clarity. As before, AutoEye 2.0 is released either as a stand-alone program for Windows and Macintosh platforms, or as a plug-in for the most common graphic editors: Adobe Photoshop CS, Jasc Paint Shop Pro, as well as Corel Photo Paint and CorelDRAW 9.0. Although all of these programs have built-in image correction tools, AutoEye 2.0 differs favorably from them due to the use of unique proprietary technologies Intelligent Visual Imaging Technologies (for example, the plug-in does not rely on traditional curves and histograms in its work), allowing it to solve the same problems more simply way, as well as automate as much as possible and, therefore, speed up their implementation.

Thanks to the use of “intelligent” tools, the developers managed to extremely simplify the user interface of the program. All controls are grouped into three sets: Enhancement (image error correction), Color (color adjustment) and Creative (art processing), and to control all changes made to the image, a single panel is enough, which is undoubtedly much more effective than traveling through numerous dialog boxes and extensive menus.

The Color Controls mode, in turn, is responsible for adjusting the color of the image. Through the use of advanced blending algorithms and correction tables, the program is not only able to restore colors that have faded when shooting or scanning the original, but also allows its user to change their original gamma - again, with just two or three mouse clicks.

To save preliminary work results without making changes to the source file, AutoEye 2.0 allows you to save current settings in separately stored profiles. The program accepts files in .psd, .tiff, .bmp, .jpg, .gif, and .png formats as source documents. If the Adobe Photoshop .psd format is selected for processing, information about the layers is saved.

AutoEye 2.0 price $129. The demo version can be downloaded from the developer's website http://www.autofx.com/demo_center.asp.

AliveColors 1.1 (AliveColors)

AliveColors 1.1 is a convenient and easy-to-use entry-level utility that has extensive capabilities for color correction and retouching of digitized images with one button. Efficiency is achieved through the cumulative use of a number of procedures hidden from the user by a simple visual interface.

AliveColors 1.1 includes eight built-in color correction functions, as well as a set of traditional tools for “mechanical” image editing, including tools for selecting, cropping, rotating and inverting the active layer. Although for fine-tuning the user has access to almost all procedural parameters, in most cases the program copes with restoring image quality automatically (Automatic correction by Channels and Automatic correction by Brightness functions).

Along with automatic color correction throughout the document, AliveColors 1.1 allows for more subtle editing, such as sharpening, creating a blur effect, or selectively replacing colors in a selected area of ​​the image. It is noteworthy that the results of all operations performed are displayed in real time in the preview window, and the history saving function allows you to go back several steps.

AliveColors 1.1 supports the TWAIN protocol, so images can be loaded into the program directly from a scanner or from a digital video camera connected to a computer. The only drawback would be the overly limited set of raster file formats known to the program (there are only four .bmp. .tiff, .jpg and .png), however, this limitation applies only to the stand-alone version of the utility, while AliveColors 1.1 is also available as a plugin for Adobe Photoshop, Corel Photo Paint and Jasc Paint Shop Pro. Along with the full version, the developers offer a free version with reduced functionality (the automatic color correction mode is turned off).

Price AliveColors 1.1 27 euros. A demo version can be found on the developer's website at http://www.alivecolors.com.

Color Mechanic Pro (Digital Light & Color)

Color Mechanic Pro is a plugin developed by Digital Light & Color for Adobe Photoshop and Photoshop Elements, which includes a fairly powerful and convenient mechanism for correcting and editing image color. Unlike most programs in its class, Color Mechanic Pro operates in the HSL color space, and its work is based on algorithms for separately editing channels and then combining them. Selective analysis and approximation calculations are performed in a fully automatic mode. In fact, the user's role is reduced to selecting an object for correction (color control is carried out using HSL hexagons and fine-tuning sliders); At the same time, the plugin supports selection areas created with standard Photoshop tools.

In addition to the “full-fledged” version of the plugin, the user is offered its lightweight version Color Mechanic Standard. The main difference between the two is that the full version allows editing of both RGB and CMYK images in 16bpc mode, while the lite version only allows for CMYK editing. In addition, the full version interface has several supporting tools, as well as an unlimited command stack for returning to a previous state.

Price Color Mechanic Pro $50. The demo version (it does not allow you to save correction results) can be downloaded from the developer’s website at http://www.colormechanic.com.

Digital ROC Professional (Eastman Kodak Company)

The DIGITAL ROC Professional plug-in is sold under the Kodak brand, one of the veterans of digital photography, but the range of potential users of this program is by no means limited to owners of digital cameras. On the contrary, this tool will be useful to any person who, on duty or in his free time, has to deal with the need to quickly and effectively color correct a problematic image. The plugin provides the ability to both automatically recover the document and subsequently manually adjust the color balance to achieve the optimal result.

DIGITAL ROC Professional's algorithms analyze the color gradients of the loaded image to identify introduced color or overall tonal imbalance caused by poor original quality or hardware calibration errors. Based on the results of this analysis, the program generates compensating hue curves in each of the color channels (16-bit processing mode is supported). More fine-tuning of brightness, contrast and color gamma can subsequently be done manually for this purpose, a preview window is provided in the plug-in dialog panel, updated in real time.

DIGITAL ROC Professional works with files from a variety of sources, including digital cameras, flatbed scanners and slide scanners. In the latter case, the plugin has additional built-in tools to improve image quality by suppressing traces of film grain.

The plugin is compatible with all versions of Adobe Photoshop starting from 5.0, Jasc Paint Shop Pro 7.0 and older, as well as other applications that support the Adobe plugin model. DIGITAL ROC Professional is priced at $50, and a demo version of the program can be found on the developer's website at http://www.asf.com.



iCorrect EditLab (Pictographics International Corporation)

iCorrect EditLab is a powerful professional tool for automatic color correction of images, released as a plug-in for Adobe Photoshop and a number of other most popular graphic editors. The program mechanism is focused on complete color correction on the scale of the entire document, based on automatic analysis of the color information contained in the file, recognition of pre-defined sets of shades (for example, the color of the sky, foliage, human skin, etc.), as well as user-specified parameters and current Photoshop (or other “mother application”) color management settings.

iCorrect EditLab provides a fully automatic mode of operation, however, at each of the color correction steps, the user has the opportunity to agree with the option proposed by the computer or make his own edits to it. The entire editing operation consists of four successive stages. At the first, the program performs balancing according to a neutral shade, determining those areas of the image that should be painted in a gray color of medium intensity, thereby eliminating the effect of the so-called color cast. The second step is to find the limiting points for white and black. Next, iCorrect EditLab adjusts the color saturation, as well as the contrast and lightness of the image. The fourth and final stage is the most difficult - in it the program restores the natural coloring of individual shades.

The cost of iCorrect EditLab is $100. You can find a demo version of the plugin on the developer’s website at

With this lesson you can significantly improve your team's performance. Automatic color correction (Auto Color). Once you do this once, you will have a much more effective tool at your disposal. In addition, you will learn new things about tools such as Eyedropper And Curves(Curves).

Let's start the lesson.

Step 1. Open the image

Let's say you open an image that needs color correction. But time for fine adjustments using Curves (Curves) you do not have. Here you can see that the shooting was carried out under artificial lighting with fluorescent lamps, which gave the image a green tint.

Step 2. Make auto-correction

Select from menu Image - Auto Color Correction or click Shift+ Ctrl+ B.

Using this command is not accompanied by the appearance of dialog boxes; the program itself tries to balance the colors of the image. Sometimes the result is quite acceptable, sometimes the image becomes even worse than the original one. Next, we'll look at two ways to improve the performance of this tool.

Step 3. Improving the result

One way to improve the result is to immediately go to the menu after applying the command Editing - Reduce: Automatic color correction (Edit- Fade: Auto Color) or click Shift+ Ctrl+ F.

In the dialog box that appears, shown in the figure below. Drag the slider to the left until you get an acceptable result. You can also change the blending mode, for example the mode Multiplication will help darken the image, mode Lightening (Screen) lighten, and so on.

Step 4. Set up auto-correction

There is another, in my opinion, better technique that allows you to change the parameters of this command before you use it. It turns out that Photoshop has options for setting up automatic color correction, but these settings are located where most of us don’t even look. To access them you need to open the command dialog box Curves(Curves) or Levels (Levels) . You can do this by clicking CTRL+M or CTRL+L.

Then click the button Options. A dialog box for setting correction parameters will appear on the screen.

Select options Find dark and light colors And Snap to Neutral Midtones. You also need to check the box next to the parameter Save as defaults. Click OK. The settings you have made are now saved.

But that is not all. Now you need to specify the values ​​of the black, white and gray points and configure the tool parameters Eyedropper, which is used in many commands and tools Curves (Curves), Levels (Levels), Selection - Color Range (Select- ColorRange) and so on. This is what we will do in the next steps.

Step 5. Adjust the values ​​of black, white and gray points

Adjust the values ​​of black, white and gray points. Double-click on the black eyedropper. In the dialog box that opens, enter the values ​​R = 20, G = 20, B = 20.

Press Enter. Similarly, double-click on the eyedropper corresponding to the white point and enter R = 240, G = 240, B = 240.

For the eyedropper corresponding to the gray point, the values ​​of all three colors will be equal to 128.

Now let's press the button again Options and keep the default values.

Step 6: Setting up the Eyedropper Tool

Setting up the tool Eyedropper. Let's select it on the toolbar. This tool is not as simple as it seems. It is used to sample color, or to analyze a specific area of ​​the image, depending on which command it is used in. By default, the pipette sample size is 1 pixel.

But at the same time, for example, the color of a piece of skin or white snow is actually determined not by one, but by several pixels of different colors. If you zoom in a lot on the image, you'll see what I'm talking about. It follows from this that if, when selecting a color, the color of only one pixel in an area is taken into account, then the probability of an error is high. To make such errors happen less often, you need to set the sample size to 3x3 pixels.

Then all commands using the tool Pipette(Eyedropper), will receive averaged data from already nine pixels of the area. This significantly improves accuracy and efficiency.

Operations for adjusting black, white and gray, called target colors, can also be performed in the settings dialog box. The setup is done in exactly the same way.

I have deliberately given you two methods, try both and choose the one you like best.

Step 7: Complete setup

So, we are done setting up the command. Now we have a much more convenient and effective tool for work. In addition, when you press the button Auto in the command dialog Curves or Levels will also be applied to the image Automatic color correction. You also now know how to manage the settings of these tools. And here is the image that came out after correction.


I wish you creative success!

Many functions in professional raster editors correct defects in images, but color correction has never been considered easy. Automatic correction tools eliminate routine work, leaving only the final operations to the person.

I’ve been working with Photoshop for a long time, so I was skeptical about the news that some developer had released the next version of a filter that automates the process of correcting colors in an image. But curiosity won out and I decided to try it. I downloaded the demo version and tried to understand how such software could be useful for beginners and how it would benefit professionals. This is how a review of automatic image correction programs was born.

I foresee the objection of skeptics - no program can completely replace human labor. But even professionals can get rid of routine: it’s convenient to see the result of several adjustments at once (in the best packages there are up to 7-8 parameters, some can be turned off and you can evaluate the difference). Other programs allow you to selectively influence selected areas of the image (usually limited to three standard ranges: Shadows, Midtones, Highlights and their combinations). In Photoshop, unfortunately, simultaneous viewing of options is only possible in the Variations operation, but the limited settings reduce the practical benefit to zero.

But for less experienced users, when working with household digital photos, such software allows two or three mouse clicks to get a completely acceptable result. In fact, in Photoshop there are about a dozen functions for controlling image parameters (Image/Adjustments), many of them have an abyss of adjustments. If you consider that one operation is often not enough (usually the process takes 2-3 stages - correction of tonality, color balance, increasing clarity, and each can take several steps), then the means of automatically correcting the basic image parameters will become a real lifeline.

Human Software Autocorrect

Human Software does not shine with developments that are popular with designers - all products are aimed at beginners who from time to time need to “build” something at an amateur level. As a result, Autocorrect is a simple utility for quickly correcting colors in images (the first and, apparently, the latest version is available). Features include enhancing photo clarity, removing moire, and color correction (the original mechanism gives good results). In the filter window, you can control the redistribution of tones (similar to Curves in Photoshop) in the composite image and separately in each channel. The speed of action is highly commendable.

Auto F/X AutoEye 2.0

It's just a pleasure to work with such a program

Since 1994, Auto F/X has been developing various modules for raster editors (two DreamSuite sets, DreamSuite Gel and Photo/Graphic Edges). AutoEye Available as a plug-in and standalone application. The main emphasis in the current second version was on the appearance - now it is in a fashionable aquatic interface style.

All controls are divided into three groups: Enhance Controls (removing artifacts), Color Controls (color correction itself) and Creative Controls (special effects). The first contains tools for equalizing color balance in the image (Remove Color Cast), restoring details (Rebuild Detail), noise suppression (Smooth Noise) and moire (Anti-Moire). Settings from the second affect the redistribution of colors in the image (Saturation, Hue, Contrast, Brightness). An interesting setting is Tonal Range, which increases the depth of tone without increasing contrast or changing the overall color balance. You can add additional effects such as blur (types known from Photoshop: Motion, Radial, Zoom). The module gives very decent results, but how relevant its special capabilities are is a moot point. The quality of AutoEye, assessed by removing excess colors (color cast) in automatic mode, turned out to be the highest compared to other filters in the review.

A special feature of the filter is Memory Dots, which remembers the current results for the duration of the workflow. The necessary parameters are recorded in the form of Presets.

iCorrect EditLab 3.0

The developments of Pictographics are little known, which, however, does not in any way detract from their significance. EditLab Possessing the most ascetic interface and the minimum number of settings among similar developments, it brings quite tangible practical benefits.

Correction is possible in fully automatic and manual modes. In the latter case, you need to manually determine the gray level in the image using a standard eyedropper, and then the white and black levels (this operation is optional). Based on this data, the utility creates a corrected image. In automatic mode, no additional settings are provided - the Auto button will do everything itself. The same window displays the brightness, contrast and saturation parameters used during auto-correction (you can edit them manually if desired). iCorrect coped well with the task of restoring the color balance, and no other product showed such radicalism (the filter almost completely suppressed the “redness” in the image). But the developers, apparently, decided to leave more advanced operations (moire suppression, clarity enhancement) for us to decide on our own.

Among the original settings, I would like to note the automatic binding of the specified areas to three specific color ranges (Skin, Foliage, Sky). It looks like this: let’s say you need to correct your complexion. First, using the eyedropper, we “clip off” the places that should have a flesh color (to make it easier to determine which colors fall into the selected range, turn on the Show sampled region parameter in Preferences), and then click Skin. The utility adjusts all colors that fall within the range to the standard skin color values ​​of Europeans. A troublesome task turns into a simple operation. The same applies to adjusting the color of foliage and sky. If the result is not satisfactory, you can reconfigure the default values ​​and save them for recall (Save Color Circuit). Expand the program's capabilities for adjusting image brightness and saturation.

Intellihance Pro 4

The Extensis company does not need any special introduction - its products have found recognition among the design and layout fraternity. The pioneer of this trend, the Intellihance filter, has been popular for a long time. Almost since the days of Photoshop 4.0, its position has remained unshakable, and today it is the most advanced tool for adjusting images. It has three main modes - Intelligent Adjustments, Fine Tune and Power Variations.

The first is a powerful tool for automatic complex image correction. The asset includes 8 adjustments, covering all frequently used functions: Descreen, Dust&Scratches, Contrast, Brightness, Saturation, Cast, Sharpness, Despeckle. Each has several predefined values: for example, Auto, Newspaper, Magazine and Fine Art are available for Despeckle, which guarantees the removal of moire that occurs when scanning any materials, and to align the color balance in the image, the Purify Gray Balance, Remove Cast settings have different effects. and Aggressive Removal. To facilitate the operator's basic tasks, all settings are organized into 25 predefined sets and placed in the Photoshop menu as a separate Extensis item. Of course, you can create your own settings and also have accelerated access to them.

The starting point for using Intellihance is to set the Quick Enhance full automatic correction mode, the settings of which, according to the developers, eliminate most problems. After this, you can compare its quality with the result of other settings aimed at solving specific problems (their names speak for themselves). Accordingly, the quality of the program in such a semi-automatic mode depends on how accurately the best correction option is determined. It seems to me that understanding them is very difficult even if you have experience in color correction, and the procedure for correcting an image can come down to automatically going through all the available settings. I quickly got tired of this and preferred to manually adjust only those parameters that I considered necessary.

For manual correction, the Fine Tune mode is used, in which image parameters are controlled using graphs and sliders (like those found in Photoshop), which gives additional flexibility. The result is in the same window. The disadvantage of this mode is the small size of the graphs, which does not allow you to manage them with the same degree of accuracy as in Photoshop.

Power Variations is a powerful analogue of the Variations function known from Photo-shop. It simultaneously displays up to 25 variants of the original image on the screen, while the basic one can be pre-processed (many ready-made settings are offered for different cases). The step of changing the parameters varies widely (Preferences). To control color, there is a special panel with information in the form of RGB, brightness and contrast.

A recent update (4.1) added support for Photoshop 7 and Mac OS X.

Intelligent Automation

Of all the modules reviewed, Intellihance Pro seems to be the clear favorite, followed by Auto Eye, the quality of which is also high. It's difficult to single out anyone among the rest. After testing on various types of images, I was of two minds.

Not a single module in the automatic correction mode showed truly high-quality results with all images (it coped well with some, but with others the processing left much to be desired).

Even on similar tasks (removing a dominant color in different photographs), the same product gave noticeably different results. There are many explanations for this, but I would like to focus on a practical conclusion: not a single program, even the most intelligent, can replace human experience. Consequently, such utilities can be used only under heavy workload, for processing many images of the same type, and only at the first stage of correction, and the final refinement must be done manually. Where would we be without them?

About the author: Mikhail Borisov([email protected]) - writes software reviews and useful tips on prepress and web design for Publish.

Autocorrect
Developer: Human Software
Platforms: Mac OS, Windows
Flaws: very few features, everything is implemented only at the most basic level.
Summary: The filter is recommended only for beginners and the laziest.
Demo version: www.humansoftware.com
Price:$60
AutoEye 2.0
Developer: Auto F/X
Platforms: Mac OS, Windows
Advantages: very decent quality of work, beautiful interface.
Flaws: It is not always intuitively clear what moving the engines will lead to; the filter noticeably “slows down”, the only thing that can save it is turning on the rough rendering mode Proxy (Preferences).
Summary: A tool worth having in your collection.
Demo version: www.autofx.com
Price:$130
iCorrect EditLab 3.0
Manufacturer: Pictographics International
Platforms: Mac OS, Windows
Advantages: good quality of work with a minimum of settings; all elements are functional, there is nothing superfluous.
Flaws: There are no relatively complex operations (moire removal, sharpening).
Summary: The program does not claim to be of a professional level, but for many tasks its capabilities are quite sufficient.
Demo version: www.picto.com/editlab
Price:$100
Intellihance Pro 4
Developer: Extensis
Platforms: Mac OS, Windows
Advantages: a colossal selection of parameters gives greater freedom and flexibility in work; high speed of image processing.
Flaws: The number of parameters can also be considered a disadvantage. The settings are not easy to understand (they are clearly not for beginners), and the description of the effect does not always coincide with the effect it produces (for removing obvious excess in the test image, not a single setting from the Cast setting had the expected effect). The utility is expensive (for comparison: Photoshop 7 costs a little more than $600).
Summary: the most powerful utility of all those considered, with some experience it will be useful even to professionals in the field of correction (Pro says so in the name). During frequent promotions, the product is sold at half price.
Price:$200
Photoshop can do it all

Photoshop provides a rich arsenal of manual color correction tools, allowing you to control the slightest nuances of color in an image. Typically the procedure consists of three stages:

  1. tonal correction (setting white and black, determines the range of colors);
  2. color balance correction (removing the dominant shade);
  3. increased clarity (increased level of detail).

Let's start in order. Stage one - setting the brightness. The simplest operation to redistribute pixel brightness is Levels. The top chart displays the current distribution of brightness in the image, and the bottom chart shows the entire available range - from 100% white to 100% black. Three sliders are responsible for the darkest, neutral and brightest points in each channel or composite image. When you move the first slider towards light tones, the contrast of the image decreases (the darkest areas are lightened), the same happens when you move the slider responsible for the brightness of the lightest point towards dark tones (shift to the gray area). Intermediate brightnesses are determined by linear approximation. By changing the position of the neutral point, you can further influence the redistribution of dark and light areas.

A more powerful operation is Curves. Unlike Levels, it changes the brightness of pixels more flexibly: the uneven law is often used to increase contrast in the image. To do this, the graph is given an S-shape: all pixels with brightness less than 50% are forcibly darkened, and those more than 50% are brightened. If you move only the extreme points on the chart, you will get the same effect as when using Levels.

The second stage is adjusting the Color balance. One of the most popular color correction operations is designed to redistribute colors in an image (the main purpose is to remove the dominant hue). It is advisable to enable the Preserve Luminosity option, which preserves the brightness range.

There are other ways to change the basic parameters of an image (hue, saturation, brightness): separately in each of the main color ranges - the Hue/Saturation or Selective Colors operation; directly selecting a color using the eyedropper - Replace color. By specifying the range of capture of adjacent shades, you can change the color parameters within a wide range.

To automatically correct certain image parameters, Photoshop has a built-in set of functions (Image/Adjustments) - Auto Levels, Auto Contrast, Auto Colors.

Auto Contrast increases the brightness range of an image, setting the darkest point to 100% black and the brightest point to 100% white. The intermediate values ​​shift, making dark areas darker and light areas lighter. Since the operation is performed on a composite image, no color shifts (imbalances) occur. Auto Levels does the same thing, but analyzes each channel individually. Accordingly, color shifts are almost always guaranteed. But the Auto Colors operation restores the lost color balance, and, in principle, it alone is often enough for quick color correction of acceptable quality.

Before you decide to purchase additional software for correction, first try all the capabilities of Photoshop - it’s not for nothing that it is called the flagship of work with raster images.

Dealing with artifacts after scanning

As a rule, scanned images require, in addition to color correction, removal of dust, scratches, moire, and sharpening. There is a whole arsenal of tools for this in Photoshop (Noise/Dust and Scratches, Despeckle, Unsharp Mask), but for high-quality results you need to first prepare the image - accurately determine the area of ​​influence of the filter.

The Despeckle filter removes moire that occurs during scanning. But sometimes its one-time use is not enough. Then the filter is reused or Noise/Median is applied with a Radius value of 1-2 pixels.

In principle, Photoshop can deal with dust and scratches (Dust and Scratches), but often the quality of its work leaves much to be desired (it noticeably blurs the details in the image). Therefore, it is advisable to protect small parts from the effects of the filter. Considering that they are most perceived by the eye as changes in brightness, and not color, we will work in the LAB (Image/Mode) color model. We go to the brightness channel L, duplicate it and use the Find Edges filter to highlight sharp changes in brightness (to make them appear even sharper, the contrast can be increased). We save the channel as an image mask and calmly apply the Dust and Scratches filter - the mask protects sudden changes in brightness from the influence of the filter, which is what was required.

Image Doctor

Among third-party manufacturers offering solutions to improve the quality of photographs, I would like to note the development of Alien Skin. The company is well known for its generation filters (EyeCandy, Xenofex, EyeCandy 4000, Splat!) for various raster packages. Recently, developers have turned their attention to the problems of image correction and now offer Image Doctor - a collection of four filters: Smart Fill, Scratch Remover, Spot Lifter and JPEG Repair. In principle, they do not fall under the category of tonal correction tools, since their direct work is “worn out” images.

The first of them is used for invisible retouching of large areas of the image, but for an acceptable result on a complex background it will have to be applied several times. Scratch Remover will remove small artifacts found in scanned images: scratches, fold defects. But it works extremely slowly and therefore is unlikely to compete with the usual method of cloning using the Stamp tool in Photoshop. If the image was compressed with a high degree of JPEG compression and the loss in clarity is very noticeable, try using JPEG Repair - it restores the original quality of the image (and although the main effect is achieved by the Blur Edges parameter, the result is still definitely better than Smart Blur from Photoshop - the first preserves more small parts). The filter removes the characteristic blocky structure of “overcompressed” images, only slightly reducing the clarity of small details.

Of all the filters in the collection, Spot Lifter is the most interesting. Its task is to nullify contaminated areas, smoothly transferring them into the background image. The principle of operation is based on shading the problem part (feather) with partial duplication of the border area inward. The quality of the filter is average. You can get no worse results by skillfully using the standard Photoshop set (in particular, the Healing Brush).

The cost of the filter is $130. The capabilities of Image Doctor do not justify the price, which seriously reduces its practical value.

Still Photoshop?

As can be seen from the example of Image Doctor, most of the defect-reduction tools, for which you will have to pay extra money (as well as tools for automatically correcting colors in images), are quite implementable using standard Photoshop tools. Powerful tools appeared in the seventh version of the editor - these are Healing Brush and Patch.

Basically, Healing Brush is a more developed analogue of the well-known Clone Stamp. The tool, as it were, “dissolves” the cloned area in the edited place, exactly repeating all the features of the latter (texture, hue, brightness). This is convenient even for retouching fairly large areas of the image. Available adjustments include brush size and blending mode.

Patch works only on the selected area, using it as a cloned sample or retouched area. Both tools cope well with various artifacts (creases in folded areas, stains and unwanted writing on photographs).

There are several ways to remove the unwanted effect that occurs with a bright flash and insufficient lighting. Regardless of the choice, it is useful to first create a copy of the document (Image/Duplicate) and in it increase the size of the adjusted area to 100 or even 200%. In order to check how they look in the general context when making changes, place the window with the duplicate so that it does not overlap the original document.

The easiest way to suppress is the Sponge tool. Once you've chosen your brush size and hardness, simply brush over the areas with a red tint. Their saturation will decrease, and the pupil will become a more natural color. The procedure is repeated several times.

The second way is to manipulate the layer blending modes. First, “pipette” the color of the pupil with an eyedropper and on a new created layer (Layer/New) use a brush to outline the areas with a red tint. Set the active layer's blending mode to Saturation and experiment with its transparency. If the pupil looks unnatural, duplicate the active layer and set its blending mode to Hue. By adjusting the transparency of the layer, you can achieve a completely believable result.

Image brightening

Duplicate the layer and set its blending mode to Screen. If the result remains too dark, repeat the operation; if too light, try making the layer partially transparent. To darken overexposed areas, the easiest way is to create a transparency mask for the layer and use a brush of the appropriate size to darken the problem areas. Both operations with layers when adjusting images are standard, and therefore in other cases they can be used without restrictions.

Dimming the image

Duplicate the image onto a new layer and set its blending mode to Multiply. If the result is unsatisfactory, use the already known operation with repeated duplication, changing the transparency and creating a mask.

If the image is faded, you can duplicate the layer and set its blending mode to Soft Light. Further actions are standard.

Increase Contrast

In early versions of Photoshop, contrast was increased only by giving the curve an S-shape in Curves (or using Auto Curves), in the “seven” a new Vivid light mode appeared, which brightens pixels with a brightness of less than 50% and darkens the rest - in general, it gives a similar effect .

Magazines are freely available.

On the same topic: