2
$\begingroup$

In my thesis I try to explain what kernel based methods are, especially the meaning for object detection.

I know kernel based methods like Mean- and CamShift and I know how to use them. I understand how the shift work. But: What does the kernel do, what does he describe?

I know, wikipedia have articles about kernels but I still don´t get it. :(

Q1: What could be an subset for an image?

Q2: How does the kernel project the points in an image?

Q3: Could you give me an simple example to understand kernels?

Thank you in advance!

$\endgroup$

1 Answer 1

3
$\begingroup$

In general, a kernel is a function that acts as a parameter to some algorithm.

Filtering: For example, it's possible to call the impulse response of a filter $h[n]$ a kernel, so that it is the parameter that defines the filter operation: $$ y[n] = h[n] * x[n]. $$

The use of the term kernel in the filtering context is much more common in 2D filtering or image processing. The link talks about the kernel being a matrix, but really it's just a sampling of the function that is the "true" kernel.

PDF Estimation: Kernel-based methods are often used in other contexts, too. For example, when estimating the probability density function of a random variable, kernel-based estimators are often preferable to simple histogramming. In that context, there are many different possible kernels.

enter image description here

Machine Learning: Finally, another context for kernel based algorithms is in machine learning. Here, we are interested in classification of an input into one of (possibly) many classes. Again, the kernel is a function $k(\mathbf{x}_i,\mathbf{x}')$ that parametrizes the algorithm and there are many possible selections.

$\endgroup$
3
  • 1
    $\begingroup$ Nice answer +1... I'd say that in the context of PDF Kernel Methods are considered parameter free methods. $\endgroup$
    – Royi
    Oct 20, 2015 at 15:48
  • $\begingroup$ Can we think of a "kernel" to be like stencil that is used in arts and drawing? $\endgroup$
    – DSP_CS
    Jun 8, 2020 at 23:38
  • $\begingroup$ @engr A bit of a loose analogy, but not a bad one. Yes, I that’s one way they could be thought of. $\endgroup$
    – Peter K.
    Jun 9, 2020 at 12:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.