Rank: 603 based on 143 downloads (last 30 days) and 2 files submitted
photo

Sylvain Boltz

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Sylvain 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 region merging, clustering, image segmentation, signal processing, image processing 141 26
  • 4.66667
4.7 | 12 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 2 1
Comments and Ratings by Sylvain 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's Files View all
Updated File Comment by Comments Rating
07 Apr 2012 Image segmentation using statistical region merging Very simple and fast image segmentation code using statistical region merging. Author: Sylvain Boltz shaan, sumanth

well...this is good.
can i know how to apply measures like local consistency error,global consistency error,or rand index,variation of information....etc,...any of two i need....

19 Dec 2011 Image segmentation using statistical region merging Very simple and fast image segmentation code using statistical region merging. Author: Sylvain Boltz reena

works well.. thanks for sharing

12 Aug 2011 Image segmentation using statistical region merging Very simple and fast image segmentation code using statistical region merging. Author: Sylvain Boltz Diggs

Am currently working on flood detection where am supposed to segment the two images , classify them independently and then later obtain a change image.am woundering how i can use to this same method to segment my images and how i can calculate mean for each segment in the image
and also when i try to run this code on my landsat image,it gives this error

??? Index exceeds matrix dimensions.

Error in ==> srm at 66
        dG=(image_seg(C1+n_pixels)-image_seg(C2+n_pixels))^2;

03 Jul 2011 Image segmentation using statistical region merging Very simple and fast image segmentation code using statistical region merging. Author: Sylvain Boltz Kumar , Nitin
22 Feb 2011 Image segmentation using statistical region merging Very simple and fast image segmentation code using statistical region merging. Author: Sylvain Boltz Hugues

@all with compiler issues: rename *.c to *.cxx if you do not know how to change your compiler.

@Sylvain: Nice piece of work.
But what is the purpose of the last 8 lines of code in srm.m function? Their results are not returned. In fact srm_boundarygradient.c can be ignored.

    bgradient = sparse(srm_boundarygradient(labels, nlabels, normgradient));
    bgradient = bgradient - tril(bgradient);
    idx=find(bgradient>0);
    [~,index]=sort(bgradient(idx));
    n_pairs=numel(idx);
    [xlabels,ylabels]=ind2sub([nlabels,nlabels],idx);
    pairs1=clusterlist(xlabels);
    pairs2=clusterlist(ylabels);

Top Tags Applied by Sylvain
centroids, clustering, exponential families, gaussian, gaussian mixture model
Files Tagged by Sylvain 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 region merging, clustering, image segmentation, signal processing, image processing 141 26
  • 4.66667
4.7 | 12 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 2 1

Contact us at files@mathworks.com