[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: search for better regtest comparison algorithm
From: |
Luca Fascione |
Subject: |
Re: search for better regtest comparison algorithm |
Date: |
Tue, 30 Jul 2024 11:52:22 +0200 |
"backshift" -> do something to negate the translation, for example compute
the bbox of the two and align the center of one to the other. Or maybe
better the midpoint of the top of the bbox of one to the other. Taking the
top-left corner might be an idea, but it makes it hard to realign by a
subpixel amount.
And mind you: we need _tests_ not just the images, I want to investigate if
making the images in a different format helps (with/withou aa, messing with
resolution, ... whatever the case might be)
L
On Tue, Jul 30, 2024 at 11:47 AM Luca Fascione <l.fascione@gmail.com> wrote:
> Yes we do need a few tests set aside for this. Agreed. I was thinking
> about antialiasing and such, it's possible a different approach might work:
> render at a somewhat higher resolution, then backshift and blur everything
> a bit (say a gaussian of 2 pixels or so, just a touch). That might make
> enough of a "moat" between good and bad to make it fine for comparisons
>
--
Luca Fascione
- Re: search for better regtest comparison algorithm, (continued)
- Re: search for better regtest comparison algorithm, Luca Fascione, 2024/07/27
- Re: search for better regtest comparison algorithm, Werner LEMBERG, 2024/07/27
- Re: search for better regtest comparison algorithm, Luca Fascione, 2024/07/27
- Re: search for better regtest comparison algorithm, Michael Käppler, 2024/07/28
- Re: search for better regtest comparison algorithm, Werner LEMBERG, 2024/07/29
- Re: search for better regtest comparison algorithm, Luca Fascione, 2024/07/29
- Re: search for better regtest comparison algorithm, Han-Wen Nienhuys, 2024/07/29
- Re: search for better regtest comparison algorithm, Werner LEMBERG, 2024/07/29
- Re: search for better regtest comparison algorithm, Han-Wen Nienhuys, 2024/07/30
- Re: search for better regtest comparison algorithm, Luca Fascione, 2024/07/30
- Re: search for better regtest comparison algorithm,
Luca Fascione <=
- Re: search for better regtest comparison algorithm, Luca Fascione, 2024/07/29
- Re: search for better regtest comparison algorithm, Han-Wen Nienhuys, 2024/07/29
- Re: search for better regtest comparison algorithm, Luca Fascione, 2024/07/29
- Re: search for better regtest comparison algorithm, Werner LEMBERG, 2024/07/29
- Re: search for better regtest comparison algorithm, Luca Fascione, 2024/07/29
- Re: search for better regtest comparison algorithm, Michael Käppler, 2024/07/31
- Re: search for better regtest comparison algorithm, Werner LEMBERG, 2024/07/29
- Re: search for better regtest comparison algorithm, Luca Fascione, 2024/07/29
- Re: search for better regtest comparison algorithm, Han-Wen Nienhuys, 2024/07/29
- Re: search for better regtest comparison algorithm, Han-Wen Nienhuys, 2024/07/29