Re: [Gimp-developer] intelligent scissors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On , 15 Jan 2002, Michael Natterer wrote:

> I stripped out the USE_LAPLACIAN part not because it was unused
> but because my impression was that it could not work:
> 
> gimp-1-2/app/iscissors.c has the following piece of code:
> 
> #ifdef USE_LAPLACIAN
> static gint  laplacian [9] = 
> {
>   -1, -1, -1,
>   -1, 8, -1,
>   -1, -1, -1,
> };
> #endif
> 
> but then "USE_LAPLACIAN" never appears below and the "laplacian"
> matrix is never used, which made me think it's b0rken, so I removed
> it when porting it to GimpTool...

Ah ok - it was a long time since I last looked at the code.  You're
right, it wouldn't work.  I mis-remembered there being a bit more to
it than that.

> I can put the stuff back so people don't need to compare code
> they have not restructured themselves, please let me know.

Nah: It's not worth the hassle, but thanks for offering.

Austin


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux