Log in

View Full Version : New simpleresize.dll: chroma little (left) shifted?


unplugged
10th August 2002, 17:38
Some information of my setup:

LoadPlugin("c:\app\media\Avisynth\MPEG2DEC2.DLL")
LoadPlugin("c:\app\media\avisynth\simpleresize.dll")
mpeg2source("d:\TR\TR.d2v")
crop(8,4,712,432)
simpleresize(640,272)

I have experienced something like 2 pixels chroma shift on left or right direction, almost I have noticed this by comparing with classic bicubicresize (x,y,0,0.5)

Haven't tried old simpleresize...

anyone know anything?

(I can post a link to the shots)

trbarry
10th August 2002, 19:58
unplugged -

Instead could you post a link to shots with and without:

SimpleResize(712,432)

(forget Bicubic for this test) This looks like it would be the original (cropped) size so SimpleResize should return basically the same result. But it will still go through the resize code since it is too stupid to know not to.

- Tom

unplugged
11th August 2002, 18:57
Ok

Image cropped (http://space.virgilio.it/hehflo@tin.it/images/crop-712x432.png)

:( Yes, this seems enough to see the problem, look at the center of medallion (the eye's metallic part gets red tint)

Image cropped and (simple)resized (http://space.virgilio.it/hehflo@tin.it/images/simpleresize-712x432.png)

unplugged
11th August 2002, 19:09
Ah, don't forget to zoom 2-4x to see *firstly* where is and how happens the difference.
Good work Tom.
Your tools are always welcome :).

trbarry
12th August 2002, 02:03
Unplugged -

Good eye!

If you hadn't told me what to look for with zoom I never would have see n it, but you are correct. I'll take a look at the code.

- Tom

dividee
12th August 2002, 02:44
That's for this kind of debugging I wrote the Compare filter (with the help of MarcFD, but his motivations were different). Look in the PSNR thread for instructions if you want to use it.

trbarry
12th August 2002, 05:29
Dividee -

You are psychic! ;)

I was just sitting here thinking "I need that Dividee's new compare thingy, what the heck was it called? Oh yeah, it was just posted about recently ... I wonder if I can find it ............"

But I'll look in the PSNR thread. Thanks. :)

- Tom

spyder
12th August 2002, 17:56
I can also see this shift in all my encodes just recently made with the new DLL. Please fix this quickly. I love this filter and now I am at a loss. I will have to use BicubicResize for now. If I can help, just ask.

trbarry
12th August 2002, 20:16
Can anybody tell me if the prev version had this problem? The only differnce in the new version is that it doesn't need a multiple of 4 for the width.

- Tom

spyder
13th August 2002, 04:44
I can confirm the bug in the 0.3.0 release as well. Apparently I never unpacked your new one and was using 0.3.0 anyway.

trbarry
13th August 2002, 06:00
Okay, I'm working hot n heavy on a new idea for something else right now but should be able to get back to SimpleResize later this week. I have sort of an idea what I might have done, but could be completely off on this.

- Tom

trbarry
16th September 2002, 20:15
See version 0.3.2 of SimpleResize at www.trbarry.com/SimpleResize.zip .

Should fix the chroma shift problem.

- Tom