4.0

4.0 | 1 rating Rate this file 11 Downloads (last 30 days) File Size: 3.03 KB File ID: #26745

Multithreaded Bilateral filter

by

 

Example of a multithreaded implementation of a bilateral filter using a MEX file.

| Watch this File

File Information
Description

The provided MEX file uses process.h library so it will work only on windows machines. For other platforms please use pthread library.
  

MATLAB release MATLAB 7.4 (R2007a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
06 Mar 2010 German Voronov

I made a mistake in my previous comment. Here is an update
It looks like the loops definition in the thread function should be
for(j=ini;j<fin;j++)
for(i=0;i<cols;i++)
{
for(jj=0;jj<v;jj++)
for(ii=-v;ii<=v;ii++)
{

06 Mar 2010 German Voronov

works fast but wrong and crashes
It looks like the loops definition in the thread function should be
for(j=ini;j<fin;j++)
for(i=0;i<cols;i++)
{
for(ii=-v;ii<=v;ii++)
for(jj=-v;jj<=v;jj++)
{

Contact us