An open exchange for the MATLAB and Simulink user community |
Hosted by The MathWorks |
|
| Related Topics |
| New Products | Support | Documentation | Training | Webinars | Jobs | Newsletters |
| Problems? Suggestions? Contact us at files@mathworks.com | © 1994-2008 The MathWorks, Inc. Trademarks Privacy Policy |
I believe the blog database problems have all been resolved now.
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.
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.
…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.
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.
hi steve
can i represent a integer number in MATLAB using fewer than 8 bits?
ex:
can i represent 15 in 4 bits?
Sun - no.
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
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.
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