Digikam/Basic RAW Processing: Difference between revisions

From KDE UserBase Wiki
No edit summary
(formatting tweek)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
<translate>
<translate>


== Basic RAW Processing in digiKam ==
== Basic RAW Processing in digiKam == <!--T:1-->
Transcribed from Dmitri Popov's blog, 11 March 2013
Transcribed from Dmitri Popov's blog, 11 March 2013


<!--T:2-->
For this project, we’ll use a photo of the famous Sagrada Familia cathedral in Barcelona, Spain (you can download the RAW file from [https://www.box.com/s/cq3uknqt54o3usf1jg3r https://www.box.com/s/cq3uknqt54o3usf1jg3r]). The photo was taken with a Canon PowerShot S90 camera, and the RAW file exhibits several obvious flaws, including visible barrel distortion, underexposed areas, and noise. In other words, this particular RAW file is perfect for tweaking in '''digiKam'''.
For this project, we’ll use a photo of the famous Sagrada Familia cathedral in Barcelona, Spain (you can download the RAW file from [https://www.box.com/s/cq3uknqt54o3usf1jg3r https://www.box.com/s/cq3uknqt54o3usf1jg3r]). The photo was taken with a Canon PowerShot S90 camera, and the RAW file exhibits several obvious flaws, including visible barrel distortion, underexposed areas, and noise. In other words, this particular RAW file is perfect for tweaking in '''digiKam'''.




<!--T:3-->
[[Image:Digikam-rawdev-rawdecoding.png|center|500px|thumb|Configuring RAW decoding]]
[[Image:Digikam-rawdev-rawdecoding.png|center|500px|thumb|Configuring RAW decoding]]




<!--T:4-->
Before you start, make sure that '''digiKam''' is set to open RAW files in the 16-bit mode using the default settings. To do this, choose <menuchoice>Settings -> Configure digiKam</menuchoice> and switch to the <menuchoice>Raw Decoding</menuchoice> section. Enable the <menuchoice>Use the default settings, in 16 bit </menuchoice> option and press <menuchoice>OK</menuchoice>. Open then the RAW file for editing using the <keycap>F4</keycap> key (or choose <menuchoice>Image -> Edit</menuchoice>).
Before you start, make sure that '''digiKam''' is set to open RAW files in the 16-bit mode using the default settings. To do this, choose <menuchoice>Settings -> Configure digiKam</menuchoice> and switch to the <menuchoice>Raw Decoding</menuchoice> section. Enable the <menuchoice>Use the default settings, in 16 bit </menuchoice> option and press <menuchoice>OK</menuchoice>. Open then the RAW file for editing using the <keycap>F4</keycap> key (or choose <menuchoice>Image -> Edit</menuchoice>).




<!--T:5-->
[[Image:Digikam-rawdev-lenscorrection.png|center|500px|thumb|Applying lens correction ]]
[[Image:Digikam-rawdev-lenscorrection.png|center|500px|thumb|Applying lens correction ]]




<!--T:6-->
The first order of business is to fix the lens distortion. Since the LenFun library used by '''digiKam''' for automatic lens correction doesn’t have a lens profile for Canon PowerShot S90, you have to fix lens distortion manually. Choose <menuchoice>Enhance -> Lens -> Distortion</menuchoice>, then use the <menuchoice>Main</menuchoice> slider to set the correction value. Alternatively, you can enter the exact value in the field next to the slider. For this particular file, the -27 value should do the trick. Check the preview image to make sure that the distortion is properly corrected, and press <menuchoice>OK</menuchoice> to apply the correction.
The first order of business is to fix the lens distortion. Since the LenFun library used by '''digiKam''' for automatic lens correction doesn’t have a lens profile for Canon PowerShot S90, you have to fix lens distortion manually. Choose <menuchoice>Enhance -> Lens -> Distortion</menuchoice>, then use the <menuchoice>Main</menuchoice> slider to set the correction value. Alternatively, you can enter the exact value in the field next to the slider. For this particular file, the -27 value should do the trick. Check the preview image to make sure that the distortion is properly corrected, and press <menuchoice>OK</menuchoice> to apply the correction.


<!--T:7-->
[[Image:digikam-rawdev-localcontrast.png|center|500px|thumb|Using the Local Contrast tool ]]
[[Image:digikam-rawdev-localcontrast.png|center|500px|thumb|Using the Local Contrast tool ]]


Although the Canon PowerShot S90 did a respectable job of producing a well-exposed image, the photo still has slightly underexposed areas. The easiest way to fix this problem is to use the Local Contrast tool (<menuchoice>Enhance -> Local Contrast</menuchoice>). The default values should do the trick, but feel free to experiment with different settings. But don’t try to push them too far, as the final result may look unnatural. Also, before you start modifying the default settings, save them as a preset using the Save As button. Later, you can restore the original settings from the preset using the Load button.
<!--T:8-->
Although the Canon PowerShot S90 did a respectable job of producing a well-exposed image, the photo still has slightly underexposed areas. The easiest way to fix this problem is to use the Local Contrast tool (<menuchoice>Enhance -> Local Contrast</menuchoice>). The default values should do the trick, but feel free to experiment with different settings. But don’t try to push them too far, as the final result may look unnatural. Also, before you start modifying the default settings, save them as a preset using the <menuchoice>Save As</menuchoice> button. Later, you can restore the original settings from the preset using the <menuchoice>Load</menuchoice> button.




<!--T:9-->
[[Image:digikam-rawdev-noisereduction.png|center|500px|thumb|Applying noise reduction ]]
[[Image:digikam-rawdev-noisereduction.png|center|500px|thumb|Applying noise reduction ]]




<!--T:10-->
Next stop is the Noise Reduction tool (<menuchoice>Enhance -> Noise Reduction</menuchoice>). While the default noise reduction settings work fine in most situations, you might want to adjust them to achieve even better results. When experimenting with different noise reduction settings, it’s a good idea to switch to the 100% crop, which gives you a much better view of the noise reduction effect. To do this, select <menuchoice>100%</menuchoice> from the <menuchoice>Zoom</menuchoice> drop-down list. You can then use the scrollbars to view the desired part of the photo. Alternatively, you can use the <menuchoice>Pan</menuchoice> button in the lower-right corner of the preview window to display a thumbnail of the photo and pan by dragging the red square to the desired area in the image. To preview the noise reduction result, use the <menuchoice>Try</menuchoice> button.
Next stop is the Noise Reduction tool (<menuchoice>Enhance -> Noise Reduction</menuchoice>). While the default noise reduction settings work fine in most situations, you might want to adjust them to achieve even better results. When experimenting with different noise reduction settings, it’s a good idea to switch to the 100% crop, which gives you a much better view of the noise reduction effect. To do this, select <menuchoice>100%</menuchoice> from the <menuchoice>Zoom</menuchoice> drop-down list. You can then use the scrollbars to view the desired part of the photo. Alternatively, you can use the <menuchoice>Pan</menuchoice> button in the lower-right corner of the preview window to display a thumbnail of the photo and pan by dragging the red square to the desired area in the image. To preview the noise reduction result, use the <menuchoice>Try</menuchoice> button.




<!--T:11-->
[[Image:digikam-rawdev-sharpen.png|center|500px|thumb|Sharpening the photo ]]
[[Image:digikam-rawdev-sharpen.png|center|500px|thumb|Sharpening the photo ]]




Finally, the photo could use some sharpening, so choose <menuchoice>Enhance -> Sharpen</menuchoice>, adjust the sharpness level using the <menuchouice>Sharpness slider</menuchoice>, and press <menuchoice>Try</menuchoice> to preview the result. Again, you might want to switch to the 100% crop for a better preview.
<!--T:12-->
Finally, the photo could use some sharpening, so choose <menuchoice>Enhance -> Sharpen</menuchoice>, adjust the sharpness level using the <menuchoice>Sharpness</menuchoice> slider, and press <menuchoice>Try</menuchoice> to preview the result. Again, you might want to switch to the 100% crop for a better preview.


<!--T:13-->
[[Category:Graphics]]
[[Category:Graphics]]
[[Category:Photography]]
[[Category:Photography]]

Latest revision as of 09:25, 15 June 2013

Other languages:

Basic RAW Processing in digiKam

Transcribed from Dmitri Popov's blog, 11 March 2013

For this project, we’ll use a photo of the famous Sagrada Familia cathedral in Barcelona, Spain (you can download the RAW file from https://www.box.com/s/cq3uknqt54o3usf1jg3r). The photo was taken with a Canon PowerShot S90 camera, and the RAW file exhibits several obvious flaws, including visible barrel distortion, underexposed areas, and noise. In other words, this particular RAW file is perfect for tweaking in digiKam.


Configuring RAW decoding


Before you start, make sure that digiKam is set to open RAW files in the 16-bit mode using the default settings. To do this, choose Settings -> Configure digiKam and switch to the Raw Decoding section. Enable the Use the default settings, in 16 bit option and press OK. Open then the RAW file for editing using the F4 key (or choose Image -> Edit).


Applying lens correction


The first order of business is to fix the lens distortion. Since the LenFun library used by digiKam for automatic lens correction doesn’t have a lens profile for Canon PowerShot S90, you have to fix lens distortion manually. Choose Enhance -> Lens -> Distortion, then use the Main slider to set the correction value. Alternatively, you can enter the exact value in the field next to the slider. For this particular file, the -27 value should do the trick. Check the preview image to make sure that the distortion is properly corrected, and press OK to apply the correction.

Using the Local Contrast tool

Although the Canon PowerShot S90 did a respectable job of producing a well-exposed image, the photo still has slightly underexposed areas. The easiest way to fix this problem is to use the Local Contrast tool (Enhance -> Local Contrast). The default values should do the trick, but feel free to experiment with different settings. But don’t try to push them too far, as the final result may look unnatural. Also, before you start modifying the default settings, save them as a preset using the Save As button. Later, you can restore the original settings from the preset using the Load button.


Applying noise reduction


Next stop is the Noise Reduction tool (Enhance -> Noise Reduction). While the default noise reduction settings work fine in most situations, you might want to adjust them to achieve even better results. When experimenting with different noise reduction settings, it’s a good idea to switch to the 100% crop, which gives you a much better view of the noise reduction effect. To do this, select 100% from the Zoom drop-down list. You can then use the scrollbars to view the desired part of the photo. Alternatively, you can use the Pan button in the lower-right corner of the preview window to display a thumbnail of the photo and pan by dragging the red square to the desired area in the image. To preview the noise reduction result, use the Try button.


Sharpening the photo


Finally, the photo could use some sharpening, so choose Enhance -> Sharpen, adjust the sharpness level using the Sharpness slider, and press Try to preview the result. Again, you might want to switch to the 100% crop for a better preview.