Quantcast Avisynth: Interesting Asharp Phenomenon... - digitalFAQ.com Forums [Archives]
  #1  
10-22-2003, 06:43 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
I tried a few different scripts and took screenshots to see the difference between them. I made an interesting discovery regarding ASharp. You can see for yourself, here:

With ASharp


Without ASharp


Amazing how much of the image "disappears" when NOT using ASharp. Almost as if the image is vertically stretched. Look at the bottom of the images to see what I mean... Is this a known fact coz I never heard of it before?

This is the script I used:
Quote:
nf=0

MPEG2Source("D:/Rippat/Reloaded/The Matrix Reloaded.d2v")

UnDot()
ASharp(1, 4)
GripCrop(480, 576, overscan=2, source_anamorphic=true)
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0)
MergeChroma(blur(1.50))
MergeLuma(blur(0.1))

SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >= SwitchThreshold ? \
UnFilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ) : \
TemporalSoften( fmin( round(2/nf), 6), round(1/nf), round(3/nf), 1, 1)")

DCTFilter(1, 1, 1, 1, 1, 1, 0.5, 0)
GripBorders()

function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}
And then I deleted the ASharp line for the other screenshot...
__________________
AudioSlave
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
10-22-2003, 06:54 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
i can't get the images,i only see a word wrote:

"image"...not the link!

Reply With Quote
  #3  
10-22-2003, 07:05 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
Well you should see the images, not the address. Try loading the page again, please. It should be fixed now... I hope. I can see them.
__________________
AudioSlave
Reply With Quote
  #4  
10-22-2003, 07:43 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts

really strange audioslave
with opera i got the word "image",
with IE i got a "x" without any image...
(right click and "show image" don't work too)
what type of image is posted? (bmp,jpg...?)


edited>
is jpg28x30(proprieties)but can't show!
http://www20.brinkster.com/dogpoundonline/ASharp.jpg
http://www20.brinkster.com/dogpoundonline/No-ASharp.jpg

Reply With Quote
  #5  
10-22-2003, 07:49 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts

now i got...
copy the links to IE (new page foe each image)!
Reply With Quote
  #6  
10-22-2003, 07:54 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
oh yes i see the differences but i did the same here with and without asharp
and don't got this problems.
try without "GripCrop"...one time i have some problems like this too,
is posted somewhere here!
Reply With Quote
  #7  
10-22-2003, 08:14 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
I just tried the script with a simple BicubicResize() line. And with that line in the script it is even worse! Because you lose pixels from the sides too as well as on the top and bottom. Strange indeed!
__________________
AudioSlave
Reply With Quote
  #8  
10-22-2003, 09:52 PM
muhali3 muhali3 is offline
Free Member
 
Join Date: Sep 2003
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
i don't know about you other guys, but it still can't see the pictures
Reply With Quote
  #9  
10-22-2003, 11:37 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
@ muhali3
open 2 pages with IE, one page for each link:
http://www20.brinkster.com/dogpoundonline/ASharp.jpg
http://www20.brinkster.com/dogpoundonline/No-ASharp.jpg
you will see the images!

@ audioslave
i did 4 pictures...

2 with gripcrop:
with and without asharp have differences like you posted!


but the
2 with bicubicresize:
with and without asharp
don't have any difference


like i wrote is a little gripcrop "problem" !

and the worse:
with gripcrop you loose "some" image in the top/botton
(part of the scene) no matter if you're using asharp!
yes, the image, not the "size"
the image "encrease" from the center to the top and to the botton,
loosing little parts in the top and botton!
seems a "buble" from the center to top/botton
that change the linearity of height!


hey, you have "eagle eyes" too
Reply With Quote
  #10  
10-23-2003, 02:10 AM
EightBall EightBall is offline
Free Member
 
Join Date: Apr 2002
Posts: 167
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by muhali3
i don't know about you other guys, but it still can't see the pictures



They are there in his post. I see them. Wonder whats causing the problem for some and not others? hmmm
Reply With Quote
  #11  
10-23-2003, 04:36 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Audioslave, ...I posted your images to my Lycos free account so there will be no problem for anyone by viewing them in diff. browsers:

Audioslaves script using Asharp


Audioslaves script using no Asharp


I loaded the two pictures in one Photoshop Layer PSD, as I every time do it like this when comparing different filter settings in my scripts etc.

Well I don't know the reason, but personally I do really prefer not to use GripFit in all my encodings. I choose FitCD or in Moviestacker the option "use Gripfit" unchecked. Cause I want to know what happens when resizing.

Using Gripfit in scripts to show here in the forum is more comfortable cause of just adding the width and the height by the readers.

Maybe SansGrip knows a solution to this ... or why GripFit behaves like this when performing an asharp before?!
Reply With Quote
  #12  
10-23-2003, 05:27 AM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
Thankx for helping me out with the pictures, incredible! Now even I can't see the pictures! Hmmm...
Yes, jorel, guess it's better to use the resizing lines from MovieStacker instead. (Eagle eyes )
__________________
AudioSlave
Reply With Quote
  #13  
10-23-2003, 06:36 AM
bman bman is offline
Free Member
 
Join Date: Apr 2002
Posts: 356
Thanks: 0
Thanked 0 Times in 0 Posts
It's always better to control process by yourself than trust at blind way in some even very sophisticated machine code
bman
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Interesting results with YlevelsS supermule Avisynth Scripting 2 08-06-2006 11:59 PM
Avisynth: Asharp problem towerblocks Avisynth Scripting 4 04-21-2005 01:04 PM
Interesting Avisynth resizing thread at doom9.org incredible Avisynth Scripting 305 03-31-2004 03:37 PM
Avisynth: Motion Adaptive Asharp? ovg64 Avisynth Scripting 0 06-07-2003 04:07 PM
AviSynth 2.05 filter Compare for debugging is interesting... black prince Avisynth Scripting 0 09-25-2002 08:57 PM

Thread Tools



 
All times are GMT -5. The time now is 01:44 AM  —  vBulletin Jelsoft Enterprises Ltd