What causes this discontinuity? A bug in bicubicresize? >> Sports >> Our Forum
Our Forum

Our Forum



SearchSearch   Users   Registration   Entrance
Today: 23.07.2025 - 20:51:20
Pages:  1  

What causes this discontinuity? A bug in bicubicresize?

Advertising


MessageAuthor

Thanks for the observation, spent quite a bit of time on it. So when specific conditions are met, resize can fallback to a single Crop: and Now the question is that this is good or not. Seems that it was a planned behaviour.

---------------------

CoMZ302

users




Statistics:
Messages: 565
Registration: 04.25.2002
09.02.23 - 14:24:32
Message # 1
RE: What causes this discontinuity? A bug in bicubicresize?

It should be fine to fall back to a crop, because an integral (sub)pixel shift would mean all coefficients will be zero, except for one of them which will be 1, making it the same as a crop. But the other frames shouldn't be this blurry. I assume spline16resize similarly reduces to a crop when possible, but it doesn't exhibit this problem.

---------------------

TrnsferErr

users




Statistics:
Messages: 79
Registration: 08.11.2002
09.02.23 - 14:28:55
Message # 2
RE: What causes this discontinuity? A bug in bicubicresize?

For 32bit float format I can see the same difference by looking at the Histogram so it's not a rounding issue. The exact peaks of histogram are smeared a bit for non-integer shifts giving the image a blurry look.

---------------------
David

BMDave

users




Statistics:
Messages: 218
Registration: 04.16.2003
09.02.23 - 14:35:26
Message # 3
RE: What causes this discontinuity? A bug in bicubicresize?

Yes, disabled the crop, at least it became consistently blurry. I don't think that this edge case speed gain is worth vs. consistent behaviour.

---------------------
E30 M3 (Sold) - Evo Airbox, Supersprint Exhaust System, Autothority Chip, Sachs Sport Clutch 5 Series - Stock

calvin d

users




Statistics:
Messages: 416
Registration: 09.24.2003
09.02.23 - 14:44:34
Message # 4
RE: What causes this discontinuity? A bug in bicubicresize?

Probably the least disruptive solution, if not my preferred one :)

---------------------

Ac Schnitzer

users




Statistics:
Messages: 51
Registration: 05.29.2002
09.02.23 - 14:54:40
Message # 5
RE: What causes this discontinuity? A bug in bicubicresize?
What does anybody know about the ASUS A7V8X : Previous topicNext topic: Q: IP addresses and ports
Pages:  1  

The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants