It is currently Fri Jul 26, 2024 9:33 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 28 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: how do you improve images like this ?
PostPosted: Wed Sep 04, 2013 12:14 pm  (#21) 
Offline
GimpChat Member
User avatar

Joined: Jan 10, 2013
Posts: 863
Rod wrote:
I got some pretty good results by just using Repair>Smoothing - anisotropic with these settings.
[ [url]Image[/url] ]

A difuculdades I have to use some filters in G'MIC is that the preview does not give them later with the generated image.
I've discussed in the past that fact in a post here on GC.

In the case of the filter used by Sallyanne (G'MIC - Ian's noise reduction), had tried to improve the image using it, but the preview did not get anything even close to this topic presented by Sally. Then discarded.

But more strange is when I use the same settings as another user, and regardless of what the preview shows, the end result ends up being different than expected.
In the specific case, play the same settings Rod, but my image is in no way seemed to him that after applying the filter.

This varies from machine to machine?
In your case, using the same settings, the final image approximates the same look?

The result obtained with the same settings, presents much more residual noise. Some very visible in Annex


Attachments:
BladeRunnerDifer.png
BladeRunnerDifer.png [ 2.36 MiB | Viewed 2521 times ]

_________________
bbbbbbbbbbbImage
bbbbbbbbbbb Be patient, English is not my language.
Top
 Post subject: Re: how do you improve images like this ?
PostPosted: Wed Sep 04, 2013 2:28 pm  (#22) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
Removing this is done by a process called descreening https://sites.google.com/a/colgate.edu/ ... escreening

Here is my manual descreening effort using fft/inverse fft:
Attachment:
fft.jpg
fft.jpg [ 437.94 KiB | Viewed 2517 times ]


There is also a script: http://registry.gimp.org/node/24411

That is a front end to this fft plugin: http://registry.gimp.org/node/19596

-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Post subject: Re: how do you improve images like this ?
PostPosted: Wed Sep 04, 2013 2:47 pm  (#23) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2446
Akros wrote:
Esper wrote:
the direct transform gave me a strange all grey image as output and the inverse transform an error

The direct transform gave me a strange all grey image too, and changed the appearance of how layers are displayed in layers dialog.


The gmic fft is a little strange but in my opinion has a more clear display over the regular (and old) gimp plugin. Both work however.

My demo, somewhat old, on using gmic fft

http://www.youtube.com/watch?v=30XaCfM2QGg

_________________
Image


Top
 Post subject: Re: how do you improve images like this ?
PostPosted: Wed Sep 04, 2013 6:13 pm  (#24) 
Offline
GimpChat Member

Joined: Feb 01, 2013
Posts: 24
Location: London, UK
I think Ronounours has already done an excellent recovery, here are some comments anyway

1./ re. why is FFT difficult inside GIMP
using fft and inverse fft must be with a floating point precision as the quantities produces are well outside the 0-255 values that 8-bits per channel can represent.

best way to play is with the command line but you can mess around in the "custom filter" and preview too.

2./ re. why is "anisotropic" good
We start by noticing that the screening frequencies and other noise seem to be mostly at high frequencies, so a first estimate of noise removal can be a low-pass or a blur but often that loses edge information too , by using anisotropic filters we can preserve edges, and it is another optimisation as to "how much"
sometimes it is nice to visualise the noise itself and instead recover edge data to put back into the image .. see under Testing / Iain Fergusson in GMIC menu for examples of "detail recovery".

In this case there is also a problem from JPEG compression quantizing values in Y'CbCr colourspace and 4:2:2 resolution which gives a lot of cross-talk in chroma noise from the original scan of CMYK printed material where there are four distinct grid orientations - see the "star" shape still visible in noise is actually in all channels - if we could start with an original uncompressed scan it might be that C M Y K split could be treated separately.

Anyway on my machine I ran this command line to get the image uploaded here ..

cd C:\msys\home\James\gmic-1.5.7.0\src
set PATH=c:\msys\bin;%PATH%

C:\msys\home\James\gmic-1.5.7.0\src>gmic.exe c:\Users\James\Pictures\20130904fft.jpg --b 5 --[0] [1] --smooth[0] 40,0.2,0.8 --[0] [2] -+[1,2] --fftpolar -rm[3,5] -log[2,3] -*[2,3] 15 -+[0] 127 -a[1,3] y -a[0,2] y -a[0,1] x -c 0,255

Attachment:
File comment: a look as estimated noise and its spectrum
20130904-lowfreqplusedge-noiseest-andlogffts.jpg
20130904-lowfreqplusedge-noiseest-andlogffts.jpg [ 98.69 KiB | Viewed 2500 times ]

Explanation of the steps:
--b 5 --[0] [1] # split high from low spatial frequency components
--smooth[0] 40,0.2,0.8 # recover some edge information from high component
--[0] [2] -+[1,2] # subtract and add to update original estimates
--fftpolar -rm[3,5] # visualise the power spectrum ignoring the phase
-log[2,3] -*[2,3] 15 -+[0] 127 # scaled log for fft and grain-extract for noise
-a[1,3] y -a[0,2] y -a[0,1] x -c 0,255 # combine all four into a big 8-bit image

_________________
-- jayprich


Top
 Post subject: Re: how do you improve images like this ?
PostPosted: Wed Sep 04, 2013 6:50 pm  (#25) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 2770
RobA wrote:
Removing this is done by a process called descreening https://sites.google.com/a/colgate.edu/ ... escreening

There is also a script: http://registry.gimp.org/node/24411

That is a front end to this fft plugin: http://registry.gimp.org/node/19596

excellent RobA !

i was wondering if it is this moire you get from scanning, but it looked too odd for me
so thank you for the educational link !


also thank you @gerard82 for the explanation !


Top
 Post subject: Re: how do you improve images like this ? [moire]
PostPosted: Wed Sep 04, 2013 7:23 pm  (#26) 
Offline
GimpChat Member
User avatar

Joined: Jan 10, 2013
Posts: 863
Wow!!
How much learning! :jumpclap :clap :coolthup
This topic has been another class image editing.
After seeing the video rich2005, could use the FFT, and the results were amazing! :wizwand
To all who were involved in this matter, thank you very much! :tyspin

_________________
bbbbbbbbbbbImage
bbbbbbbbbbb Be patient, English is not my language.


Top
 Post subject: Re: how do you improve images like this ? [moire]
PostPosted: Wed Sep 04, 2013 7:35 pm  (#27) 
Offline
GimpChat Member
User avatar

Joined: Nov 09, 2011
Posts: 726
Yes, thank you. A very educational thread.
Anyway I had never noticed these patterns in my scans. Sometimes I just needed to apply deinterlacing.

_________________
Image
Be patient, English is not my language.


Top
 Post subject: Re: how do you improve images like this ?
PostPosted: Mon Sep 16, 2013 1:18 pm  (#28) 
Offline
GimpChat Member
User avatar

Joined: Nov 09, 2011
Posts: 726
Ronounours wrote:
Used G'MIC Fourier Transform to remove the frequency noise (regular pattern noise), then one step of G'MIC anisotropic smoothing.

Ok, now I think I begin to understand:
https://secure.flickr.com/groups/gmic/d ... 462331405/

I had not paid much attention to what jayprich was written.
Interesting filter.

_________________
Image
Be patient, English is not my language.


Top
Post new topic Reply to topic  [ 28 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Descreening or removing moire?

5

No new posts Attachment(s) Gimp Improve/sharpen

5

No new posts More RPG images

3

No new posts RPG images summary

7

No new posts save images according to abc

1



* Login  



Powered by phpBB3 © phpBB Group