Skip to Main Content Skip to Search
File Exchange
MATLAB Newsgroup
Link Exchange
  Blogs  
 Contest 
MathWorks.com

Steve on Image Processing

December 7th, 2006

Seen on the Web: Bilateral filtering in MATLAB

This looks interesting: Medical Image Processing: Bilateral Filtering in MATLAB. It includes MATLAB code.

By the way, we have been experiencing blog database problems in the last 12 hours or so. We are correcting them as soon as we can. In the meantime, you may see error messages on the page, or you may have difficulty leaving comments. We're sorry for any inconvenience.

10 Responses to “Seen on the Web: Bilateral filtering in MATLAB”

  1. Steve replied on :

    I believe the blog database problems have all been resolved now.

  2. João replied on :

    The Bilateral Filtering isn’t implemented correctly. It makes no use of the gaussian closeness function (H_c). The output of the similarity function should be

    V = sum(sum(H_c.*sim.*B)) ./ sum(sum(H_c.*sim));

    The resulting image isn’t much different. I guess they were lucky in their choice of image example.

  3. Doug replied on :

    For those working with color images, please see my implementation of Bilateral Filtering on the Matlab Central File Exchange. The provided source directly implements the approach outlined by Tomasi and Manduchi. In addition, it demonstrates a recent application of the method to automatic image abstraction.

  4. Bjorn replied on :

    …and the idea is apparently patent protected (whatever one might think of software patents):

    S.M. Smith. Method for digitally processing images to determine the position of edges and/or corners therein for guidance of unmanned vehicle. UK Patent 2272285. Proprietor: Secretary of State for Defence, UK. 15 January 1997.

  5. Christopher replied on :

    Thanks for the correction. I accidently put up an older version where I forgot the multiplication with the closeness function. It should be okay now.

  6. sun replied on :

    hi steve
    can i represent a integer number in MATLAB using fewer than 8 bits?
    ex:
    can i represent 15 in 4 bits?

  7. Steve replied on :

    Sun - no.

  8. Tom replied on :

    Hi Steve,

    Bilateral filter implemented by Doug uses loops. Is there anyway to vectorise this code? I tried the filter mentioned in this post but it’s even slower.

    Doug’s code - http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=12191&objectType=file

  9. Steve replied on :

    Tom - I’ll have to take a look. I’ll put it on my list of things to investigate for possible blog postings. I won’t be able to get to it for a while, though.

  10. Tom replied on :

    Thanks Steve,
    I’ve put it up on Matlab newsgroups too. Maybe some readers will come up with something meanwhile.

    Your blogs are excellent by the way.
    Regards,
    Tom

Leave a Reply


Steve Eddins manages the Image & Geospatial development team at The MathWorks and coauthored Digital Image Processing Using MATLAB. He writes here about image processing concepts, algorithm implementations, and MATLAB.

  • Mikr: I look for answers before asking people… “But we still can’t see the coordinates!...
  • Steve: Mikr—You might want to take a look at the Getting Started section of the MATLAB documentation in order...
  • Mikr: thanks but is it possible to see and write to file (Excel ?) that matrix of pixel coordinates ? instead of...
  • Steve: Mikr—An image in MATLAB is simply a matrix of pixel values. It can be saved (exported) to several common...
  • Mikr: thanks, Steve just started to learn matlab and to clarify matlab saves image files as a matrix of pixel...
  • Steve: Mikr—As far as I know, the commonly used image file formats such as TIFF, JPEG, PNG, etc., do not...
  • Mikr: how to write pixel coordinates in file ?
  • Steve: M.S.—Code for the bwtraceboundaries function ships with the Image Processing Toolbox.
  • M.S.Cheema: i need to know the detailed algorithm for bwtraceboundaries. i want how that function works. so please...
  • Steve: Wagas—It depends on how much memory you have on your computer. You should be able to load a 94 MB TIFF...

These postings are the author's and don't necessarily represent the opinions of The MathWorks.

Related Topics