Re: unsharp mask

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

 



On 11/22/2010 05:59 AM, Ofnuts wrote:
> On 11/22/2010 02:24 PM, bioster wrote:
... elisions by patrick ...
>>       Er, I think you misunderstood me a bit.  I believe I understand what the convolution matrix is, and I also understand why it's important.  Yes, the entire purpose of the convolution matrix is to look at neighbouring pixels to create the pixel you're looking for, but that is not what I was talking about when I said '50 samples'.
>>
>> In the code which *creates* the convolution matrix it does not look at the pixels at all.  It creates the convolution matrix using an equation.  I would think that it would simply plug in the variables for each convolution matrix value it's looking for, but what it is actually doing is taking 50 numbers and plugs those into the equation, then averages them.
>>
>> Just to repeat, this is in the part that creates the convolution matrix, not the part that uses the convolution matrix to generate pixel values.  I was wondering about the purpose of all those samples along the equation that generates the matrix.
>>
>>
>    From the comments in the code, it looks like it's computing the
> convolution matrix values by integrating the gaussian bell curve (using
> 100 points total).
Now I'm interested.  Where can I look in the code for 
this?  They really do this every time with the same 
results instead of just having an array of the numbers 
so generated?

Patrick
_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[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