Take the 2-minute tour ×
Signal Processing Stack Exchange is a question and answer site for practitioners of the art and science of signal, image and video processing. It's 100% free, no registration required.

I have asked this question before in the sense that what does a high frequency and low frequency component signify in a image and i got satisfactory answers now i want to know that how i can get high frequency and low frequency component separately from the image.

I mean what changes i have to make in the equations of bilateral filters and its implementation in matlab so that i can get both high frequency and low frequency component of that image.

Because in my experiment i need both the high frequency and low frequency component of a image.

Bilateral filters takes a weighted sum of the pixels in a local neighborhood; the weights depend on both the spatial distance and the intensity distance.

The value of a pixel assigned is given as

$$ BF[I_p] = \frac{1}{W_p} \sum_{\substack{ q\in S }} G_{\sigma_s}(\parallel p-q \parallel) G_{\sigma_r}(\mid I_p - I_q\mid) I_q $$

Do I have to make changes to this equation of bilateral filter to get high frequency and low frequency components separately .

What component does this equation signify is it the high frequency component or low frequency component ?

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

One you have convolved your original image with the gaussian kernel (of appropriately chosen variance), then simply subtract the original image from the result of the convolution. This will give you the image with only the high frequency components of your original.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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