HOW CAN I DO BILATERAL FITERING ON AN IMAGE?

3 次查看(过去 30 天)
Respected sir/madam,
Iam doing a work on image processing.I want to do bilateral filtering on an image.I used the code
I = imread('cameraman.tif');
imshow(I)
J = imbilatfilt(I)
but error is coming as follows
Undefined function or variable 'imbilatfilt'.
Error in Untitled7 (line 3)
J = imbilatfilt(I) pls do help me

回答(2 个)

John D'Errico
John D'Errico 2018-11-29
  1. Do you have the image processing toolbox (properly) installed?
  2. What MATLAB release do you have? An old release may be too old to have that function. In fact, it looks like imbilatfilt was introduced in R2018a.
So you can do much here by typing
ver
at the command line in MATLAB. You will learn first if you have the IPT, and what MATLAB release you are using. If you do not have a sufficiently recent release, AND a license for the IPT, then you would need to upgrade MATLAB, and possibly purchase a license for the IPT. Or, you would need to write a similar function with that capability yourself.

arshitha femin
arshitha femin 2018-11-29
thank you sir.u r right.im using R2016 model.i dont know how to replace that command for bilateral filter.anyway thnk you sir

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by