Tuesday, 17 September 2024

Moire Removal

 In the program I have  'Gimp', I have with it the plugin GMIC-qt. Two of the filters are Moire' removal and Descreen.
I had a photo the other day where I could not remove the moire and tried something different using noise/spread then denoise.Removed most of it.

OriginalAfter.
Also with other things done to it that I normally would do.

Friday, 1 March 2024

Extra Thoughts

 If there are missing areas of a photo you may beable to get them back. Sometimes easily, sometimes it may take a bit of ingenuity on your part as well.
I find usually a missing eye can be selected & copied from the other opposite eye. It needs to be done as a layer though, as it will need to be flipped. Remember faces are not symetrical. You can get away with it more on other parts of the body as long as you have people standing/sitting straight on.
Buttons, medals etc can be done with the clone brush if there are some already in the photo.
Sometimes one side of a body, usually only a small area (maybe a neck, collar and arm including part of the chest can be selected then copied as a new layer, flipped and put in the place where the other side should be. You can also do this with legs. Before merging down erase any extra away of the new layer as possible (If your new layer is selected only it will be affected).
Where appropriate I have even used photos from the net to fill in missing parts and also the blur tool and smudge. 
If you intend to use thes photos online only use creative commons or public domain photos though.
Whenever making a selection to copy an area, always feather it at least by 3 pixels (more depending on the size) to give it a smooth merge.  You still may need to use the heal tool to soften the joins.

Pop

 There are a few ways to pop photos. You will find the best one for you. Try the Exposure  slider under colour. Also the shadow & highlights filter. In GMIC there is a special filter to pop shadows, under lights and shadows. Contrast as said will sharpen your photo, as well as making it darker & brighter it also makes the colours more enhanced. I rarely use the saturation filter since I found this out.

Here is a tutorial to make shadows pop

This beginner’s tutorial describes how to make shadows pop in GIMP without that overly cheesy “HDR” look.

  1. Open a photo in GIMP. In this example I’m using a plain ol’ JPEG.

  2. Duplicate the layer and desaturate it.

  3. Invert it.

  4. Set blending mode to “Overlay”, strength 50.

  5. Duplicate the base layer again, move it to the top and set blending mode to “Lighten only”.
    A side-effect of this lame tone mapping technique is that high radius halos mighty appear, and the sky could be darkened in a cheesy way. You would more easily notice halos in what should be an even blue sky than in grass or rocks. As we only want to make the shadows pop and we don’t want a fake “HDR look” cheesy sky, we fix it in this step. This layer’s job is to undo the effects of this whole technique in the light areas.

  6. Go back to the black-and-white layer and blur it. How much you blur it depends on how large your image is and on taste, that’s why I left this step for last. Try 30 and go from there.
    Tutorial by Morgan Hardwood


Denoise.

 This should be your last thing to do to a photo. But you may find things to do after your finished.
There is a denoise in gimp under enhance but many more in GMIC under repair.

Sharpen

 There are many ways to sharpen a photo.

The most popular one in Gimp is unsharp mask.
There is also High pass.
Another way is to duplicate your image and desaturate the duplicate. Then go to the colour menu, down  to tone mapping then to Retinex. Apply it using the default settings. Once you have done that set the layer mode to overlay. You may want to change the opacity of that layer (the duplicated one) to taste. This usually brings put more detail in some photos

In GMIC there are many under details. It really depends what you want to sharpen. too. I go for Sharpen [gradient] as I do a lot of smaller photos and it is kinder.

Despeckle and Wavelet decompose

 Despeckle should be one of the first things you do if you have lots of white or black spots. There is also 'Descreen' in Gmic if the spots seem to follow a pattern. I have even used it to remove a flyscreen.


You may also like to use the wavelet decompose to remove areas of noise etc. Be careful not to remove your photo details though. I very rarely use this but some people swear by it.

Burn/Dodge tool

 This tool is good for black and white photos especially. As long as there is some detail in the photo. Burn will usually bring faded black lines out. Making them darker. You can do this with a brush or there is also a burn layer mode (where you would duplicate your layer and use the layer mode) Dodge can work wonders if a dark photo has detail in it. Not a fully black photo but a dark photo. It does the opposite of burn. Lightening areas. You can also use this as a brush or layer mode.
If only parts of the photo need burn or dodge. Bring your view up and work on that area

Levels & Curves

Levels are good for changing colours, bringing out the best colours in  photos. getting your white balance correct most times. You have a colour picker for white grey and black to do this. There are five channels in levels.
Value - take the slider to the left and it will lighten your whole photo. To the  right and it will darken it.
Red - Take the slider to the left and you will enhance the red in the photo. To the right and it will remove some red and replace it with green.
Green - Take the slider to the left and you will enhance the green. To the right and you will get magenta/dark pink.
Blue - Take the slider to the left and you will enhance the blue. To the right and yellow will be the dominant colour.
and Alpha


Curves also have five channels.
Changing to the different channels and moving the line up or down you will see a change.

The main one used in restoration is Value where you can lighten or darken a photo.

Contrast

 Contrast is good for making a photo look sharper, darker or even too bright in places if used to heavy. You need to be careful how much you use.
It can also remove cloudiness over a photo if the cloudiness is not too bad.
GMIC also has  Local Contrast Enhancement which can do the job just as well, I find mostly for black and white photos. 

Clone tool and Healing brush

 

You would use the clone tool when there is a large area (the same colour or pattern/texture) missing from your photo. Depending on where the photo needs fixing you can have your clone tool alignment in fixed or align. It can even be used as a stamp to touch up areas, like buttons etc. 

Healing Brush
 The healing brush is useful to remove small areas that you do not want in the photo. Like dots etc; where there are cracks or creases in photos and to merge/soften cloned areas where they look too harsh. Too much use of this though can take away any texture you have in the photo

There is also heal selection. This is useful for getting rid of things like overhead wires or light beams and filling in those areas with the surrounding area.

First

 

Open your photo in Gimp. 

Is it black and white?

Is it colour?

Don't know? 

You will learn that even if a Photo is all one colour (different shades), it is probably black and white. 

Red or green over a colour photo usually show a little of other colours. 

Put your photo mode in RGB & make sure it is not in greyscale.

If your still not sure, go to colour in the top menu and down to levels, In the dialog that opens, click on Auto Input Levels. This usually will give you the correct colours. You may still have to play around with other settings in the colour menu. It should show you now if it is black and white. You can also use 'Equalize Local Histograms' in GMIC-Qt under Details. Should equal out the colours.

Some coloured photos cannot be rescued to their former glory unless you can colour them. In this case you may have to change them to a black and white 
(desaturate - luminance) or even a sepia.

There is also the image modes under Image. Make sure your photo is set to RGB so you see what it is.


Restoring Tools
The main tools for restoring are the clone brush, healing brush, burn/dodge tool, contrast, levels, curves, sharpen and despeckle.

Dehaze in Gmic-qt is good for removing mist/haze over your photos. It can also be done other ways depending how much there is. Contrast will remove some. Levels – auto input levels will remove some, and another way is to try duplicating your layer and using the ‘multiply’ layer mode.

I suggest you get the heal selection filter as well if you do not have it. It can come in handy to remove things like light beams or overhead wires etc.

Home

 

For those who have already seen my other blog (Gimp Newby) or know a bit about gimp already, in the following pages I will try to tell you what to use to restore photos.

If you do not already have the plugin Gmic-Qt, I advise you to download it. David has put a lot of filters in there that will help you with your Photo Restoring as well. There is an online one but to make it easier it is probably better to download. The plugin was originally made for Gimp but a few other programs can use it now.

Enjoy your restoring and practice on a few that you may have. Might take you a little while to get used to the tools you have at hand but once you do you will see the amazing things they can do for you.

Anyway practice,  practice with the different tools. Don't expect to be really good straight away either. Some people are faster learners than others. I have been doing it for 6-7 years and am still not perfect.

I will post some photos later and hopefully show you.
I will try to give my workflow. You will have your own workflow eventually. Everyone is different.

I am not a colourer of photos but there are plenty of sites online where you can find out how to do it. All I know is the photo needs to be restored first then desaturate it.

Moire Removal

 In the program I have  'Gimp', I have with it the plugin GMIC-qt. Two of the filters are Moire' removal and Descreen. I had a p...