Log in

View Full Version : darken and lighten only some lines


byme
15th September 2010, 00:38
I would lighten only the dark lines of edge of legs

http://file2.net/thb/100915/5405ko.png (http://file2.net/100915img5405ko.png.html) http://file2.net/thb/100915/1935oe.png (http://file2.net/100915img1935oe.png.html)

Use the FastLineDarkenMOD2 so, to thin the lines

FastLineDarkenMOD2(strength=0, luma_cap=255, threshold=0, thinning=96)

and the FastLineDarkenMOD2 so, to lighten the lines

FastLineDarkenMOD2(strength=-96, luma_cap=255, threshold=0, thinning=0)

but using the latter, together with the Sharpen, the image becomes a bit too flat and square
In addition, also the parts I would like that remain dark (as the eyes), are lightened

something as darken only the horizontal lines, I do not know whether it is the right way

you have a suggestion on this?

Motenai Yoda
15th September 2010, 01:41
blinddehalo3 or dehalo_alpha, or again yahr
http://avisynth.org/mediawiki/External_filters#Dehaloing

byme
15th September 2010, 14:02
blinddehalo3 already use. dehalo_alpha square too. yahr I do not know

but on that function I have to do to get what they want?

the blinddehalo3 use it to remove halos, and only in small part to reduce the blacks

Didée
15th September 2010, 14:44
MedianBlur(3,0,0)
GaussResize(width/4,height/4,p=5).GaussResize(width,height,p=5)

All halos gone, and the result is not "square". :D


Apart from that,

Another case to stress the saying "crap in, crap out" ...

byme
15th September 2010, 15:03
MedianBlur(3,0,0)
GaussResize(width/4,height/4,p=5).GaussResize(width,height,p=5)

All halos gone, and the result is not "square". :D


Apart from that,
this is the result

http://file2.net/thb/100915/8288pr.png (http://file2.net/100915img8288pr.png.html)

:eek:

apart that I did not ask a dehalo, but a filter that bright some dark lines
maybe it's impossible (?)

Motenai Yoda
15th September 2010, 15:54
these aren't dark lines, are halo made by an overstrength sharper (or overfiltering).
I still can't understand why for some people mediaset's stream looks so bad...

Didée
15th September 2010, 17:36
this is the result
Yes, that's what I had in mind. All of the ugly artifacts have disappeared! Big success! :D

apart that I did not ask a dehalo, but a filter that bright some dark lines
But a halo remover in fact is what you want. Those lines are an artifact. Usually one wants to remove artifacts, not to modify artifacts.

maybe it's impossible (?)
Problem is very simple and very old: how to distinguish the good from the bad. It's not a too hard problem to remove the halos, but it's a problem to not touch those parts that in fact are detail. Like you already noted with e.g. people's eyes.

Why is it so hard to remove halos ... well, example: Imagine I have a text document. I use a replace function, and replace all letters "e" with an "a". Then I give the document to you, and tell you what I did.
Now, how are you going to undo my operation? Obviously, if you try the reverse operation and replace all letters "a" with letter "e", the result will not be good. Think about that. It's a problem.

byme
15th September 2010, 20:14
but for you lines so dark around the legs is good, and normal?
I do not like absolutely
when I look at a beautiful photo, I never see black lines that surround a person

if it's really that simple remove without removing detail, please explain how

Didée
15th September 2010, 22:02
I did not say it looks good, and did not say it would be simple.

IN CONTRARY.

Please read more closely what I wrote.

byme
16th September 2010, 14:30
sorry... I paid little attention to the translation

Motenai Yoda
17th September 2010, 22:05
try blinddehalo3

Usedocne
18th September 2010, 23:14
OK, so I think what your asking is. Get rid of the haloing, but keep the black details black, not greyish black?

If so, then maybe try: DeHalo_Alpha(darkstr=0.8)