I'm sorry if this is not the proper place to post this , but I have a question and I hope some of you may be able to help me, so here goes:
I need to apply a gaussian high pass filter on a grayscale image represented as a pixel matrix.
After doing some reading I understand that I need to a pply a transformation matrix on each pixel of the image, actually a transformation vector in two passes, once for the x axis and once for the y axis resulting in something like(for a row, for example):
transofrmationSum = the sum of the transformationVector elements
for (i=0, i<pixels.size; i++) {
for (j=0, j<tranformationVector.size; j++) {
pixels[i] = pixels[i] + pixels[i+(j-transformationVector.size/2)]*transformationVector[j]/transformationSum
}
}
Please tell me if this is correct and how do I compute the transormation matrix for the gaussian high pass filter.
Thank you,
Daniel
_______________________________________________ Gimp-developer mailing list Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer