POV-Ray : Newsgroups : povray.unofficial.patches : Regression tests for POV development : Re: Regression tests for POV development Server Time
2 Nov 2024 07:25:48 EDT (-0400)
  Re: Regression tests for POV development  
From: Nathan Kopp
Date: 11 Jan 2000 12:26:05
Message: <387b67ad@news.povray.org>
This is what I was thinking.

-Nathan

Ron Parker <ron### [at] povrayorg> wrote...
> The reason I asked is because it's something I've thought about myself.
> I think it should be relatively easy to work out an automated solution
> for the cases where there aren't any failures:
>
> Use pnminvert to invert the canonical copy of the image, then use ppmmix
> to mix 50% of it with 50% of the test image.  Finally, run ppmhist on
> the result and examine its output to see how many pixels are significantly
> different from solid 50% gray.  If it's over a certain threshold, you can
> guarantee there's been a significant change in how the image was rendered.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.