[Gimp-developer] still the same bug

Geert Jordaens geert.jordaens at telenet.be
Tue May 1 01:35:04 PDT 2007


GSR - FR wrote:
> Hi,
> gimpdevel at luisflorit.endjunk.com (2007-04-30 at 2137.21 -0300):
>   
>>> could you provide more instructions to reproduce the error,
>>>       
>> Well, cannot tell you more...
>> Adaptative, nonrecursive, 1 pixel radius, black=7, white=248.
>> A 5 pixel cross in the middle of a white image,
>> and I got a NONSYMMETRIC 6 pixel output like this:
>>
>>  x
>> xxx
>>  xx
>>     
>
> I see what you describe, with the 5 pixels being grey #88888 and the
> bg #ffffff. A longer cross (3 pixels each arm plus the center pixel)
> also returns something interesting:
>
>    x          x
>    x          xx
>    x          xx
> xxxxxxx -> xxxxxxx
>    x        xxxxxx
>    x          xx
>    x          xx
>  
> Repeating the filter makes it grow to the bottom right a bit each
> time.
>
> GSR
>  
> _______________________________________________
> Gimp-developer mailing list
> Gimp-developer at lists.XCF.Berkeley.EDU
> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
>
>
>   
IMHO this comes from the histogram correction, try the same with a black 
(000000) cross and white (FFFFFF) background.

see :

2004-10-30  Sven Neumann  <sven at gimp.org <mailto:sven at gimp.org>>

	* plug-ins/common/despeckle.c: applied a patch from Geert Jordaens
	that improves the Despeckle algorithm. See bug #72862 <http://bugzilla.gnome.org/show_bug.cgi?id=72862>.

The problem is that due to histogram correction some pixels are thrown 
out in this case the white pixels are thrown out.
In the patch of 30-10-2004 I allowed the value of black to be -1 and 
white to be 256 to disable the histogram correction.

Geert Jordaens







-------------- next part --------------
An HTML attachment was scrubbed...
URL: /lists/gimp-developer/attachments/20070501/fac1060a/attachment.html 


More information about the Gimp-developer mailing list