4.0

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

Multithreaded Bilateral filter

by Jose Vicente Manjon-Herrera

 

20 Feb 2010

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  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
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++)
        {

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++)
        {

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
image processing Jose Vicente Manjon-Herrera 22 Feb 2010 10:28:28
multithreading Jose Vicente Manjon-Herrera 22 Feb 2010 10:28:28

Contact us at files@mathworks.com