Rank: 966 based on 162 downloads (last 30 days) and 2 files submitted
photo

Sylvain Boltz

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by Sylvain Boltz View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
14 Feb 2010 Screenshot Image segmentation using statistical region merging Very simple and fast image segmentation code using statistical region merging. Author: Sylvain Boltz image processing, image segmentation, clustering, signal processing, region merging 144 36
  • 4.40909
4.4 | 22 ratings
22 Dec 2009 Screenshot Wrapper of the jMEF java library Matlab Wrapper for jMEF : A Java library to process mixtures of exponential families Author: Sylvain Boltz exponential families, kullback leibler dive..., gaussian, multivariate gaussian, statistics, centroids 18 2
  • 3.0
3.0 | 1 rating
Comments and Ratings by Sylvain Boltz View all
Updated File Comments Rating
12 Jul 2010 Image segmentation using statistical region merging Very simple and fast image segmentation code using statistical region merging. Author: Sylvain Boltz

"I met same problems as worldguard Zhou", and I give you indeed the same answer : use a cpp compiler, not a c compiler.

02 Mar 2010 Image segmentation using statistical region merging Very simple and fast image segmentation code using statistical region merging. Author: Sylvain Boltz

Hi,

The mex files given are from a cpp code.
If you want to compile them with a c compiler, you need to correct some minor symtax differences.
The main one is that you need to declare the variables on the top of the function and not through the program, e.g. avoid for {int i = 0....

I should fix this in a future release, thanks

09 Feb 2010 Image segmentation using statistical region merging Very simple and fast image segmentation code using statistical region merging. Author: Sylvain Boltz

Hi, please refer to the following paper :

Nock, Richard and Nielsen, Frank 2004. Statistical Region Merging. IEEE Trans. Pattern Anal. Mach. Intell. 26, 11 (Nov. 2004), 1452-1458.

19 Jan 2010 Image segmentation using statistical region merging Very simple and fast image segmentation code using statistical region merging. Author: Sylvain Boltz

Your matlab release is old, you should replace :

[~,index]=....
by
[trash,index]=....

I use the new command ~ that ignores useless argouts. If your matlab does not recognize it, just replace all the ~ by trash ( send argouts to a trash variable )

03 Nov 2009 Image segmentation using statistical region merging Very simple and fast image segmentation code using statistical region merging. Author: Sylvain Boltz

Hi,

This algorithm is designed for images with 3 color channels.

for i=1:3
im_final(:,:,i)=image_seg(map+(i-1)*n_pixels);
end

if your image is black and white or has a different number of channels you should change all the hard coded 3 by size_image(3).

if this does not correct the problem, can you send me the image causing problems as well as the way you open it (e.g. image=double(imread(...))).

Thanks for your feedback

Comments and Ratings on Sylvain Boltz's Files View all
Updated File Comment by Comments Rating
02 Oct 2014 Image segmentation using statistical region merging Very simple and fast image segmentation code using statistical region merging. Author: Sylvain Boltz RASHMI

12 Mar 2014 Image segmentation using statistical region merging Very simple and fast image segmentation code using statistical region merging. Author: Sylvain Boltz Debanjan Sarkar

I run the file srm_demo.m and these eroors came up

Undefined function or method 'srm_boundarygradient' for input arguments of type 'double'.

Error in ==> srm at 125
bgradient = sparse(srm_boundarygradient(labels, nlabels, normgradient));

Error in ==> srm_demo at 8
[maps,images]=srm(image,Qlevels);

Can you please tell me how to fix this. I am in very urgent need of help. And also, thanks for the code.

20 Dec 2013 Image segmentation using statistical region merging Very simple and fast image segmentation code using statistical region merging. Author: Sylvain Boltz Reza Farrahi Moghaddam

For MEX problem: The compilation can be directly done outside Matlab environment using MinGW-w64 compiler:

http://stackoverflow.com/a/20711035/2026975

12 Dec 2013 Image segmentation using statistical region merging Very simple and fast image segmentation code using statistical region merging. Author: Sylvain Boltz Markus

For all of you having trouble with

srm_boundarygradient or any other of the mex-files: you are probably running Matlab in x64-mode and therefore Matlab will not run the included 32bit files.

On Windows the easiest will be to install a gcc-toolchain since compilation with MSVC seems to fail. A nice how-to has been posted here: http://stackoverflow.com/questions/8552580/using-gccmingw-as-matlabs-mex-compiler

Once I changed the toolchain, mex64-files were successfully created and the code works flawlessly. Thank you!

28 Nov 2013 Image segmentation using statistical region merging Very simple and fast image segmentation code using statistical region merging. Author: Sylvain Boltz running

Contact us