Re: 3x3 (graphics) kernel



A kernel is a matrix used to modify an image, usually by taking the dot product of the preimage and the kernel after shifting the kernel over every pixel in the preimage.

It's been a while since I've done it, but an "edge detect" kernel would look something like this:

-1 0 1
-1 0 1
-1 0 1

This detects vertical lines only, not horizontal.

Look into image processing for more information.


Thank you. .



Relevant Pages

  • Re: Filtering kernel width
    ... of kernel function becomes irrelevant for 2 pixels, 2x2 pixels, etc. ... Suppose I was using a sinc filter, that has 1 lobe and is 0 outside ... Why should a pixel ... So then basically that's what these filters do: they "blur" the image ...
    (comp.graphics.algorithms)
  • Magic kernel for image zoom resampling?
    ... My need was to downsample an image by a factor of 8 in each direction ... To downsample or upsample by a factor of 2, use a kernel ... placed over every second pixel in each direction. ... The results for upsampling are astoundingly good, ...
    (sci.image.processing)
  • Re: Selective Gaussian -> Early test app posted
    ... >> Well, the problem with an arbitrary kernel, is that it imposes a ... >> gaussian kernel is separable, you can take advantage of this fact in ... can we take advantage of this for selective gaussian blur? ... is the value of some color component of a pixel at ...
    (borland.public.delphi.language.basm)
  • Re: need some help with custom filter in Photoshop
    ... this seems to be some tough math here but I think I'm beginning to ... If I have a 7x7 kernal, for example, and apply that to a 500x500 pixel ... > summing follwoed by a scaling operation implicit in the kernel. ... > even used as input images for higher-level convolutions. ...
    (sci.astro.amateur)
  • Re: Magic kernel for image zoom resampling?
    ... I am not interlacing this kernel with identity for enlargement. ... Start with downsampling. ... pixel outside the image; that's an edge effect that we can deal with. ... Gaussian and this has been covered in literature, ...
    (sci.image.processing)