Rank: 239753 based on 0 downloads (last 30 days) and 0 file submitted
photo

Manini

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Manini View all
Updated File Comments Rating
22 May 2013 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig

How to place an image in the axes without brosing the image. By giving some path or filename ?

15 May 2013 Segmentation Multiple Image Segmentation using PSO, DPSO, FO-DPSO and exhaustive methods. Author: Micael Couceiro

Sir,
Could you please suggest a code for color image segmentation using PSO for matlab beginners like me. I am unable to follow the code particularly the fitness function. Could you please suggest a simple code or a fitness function that i could modify to get the color image segmented output.

Thanks

04 Nov 2012 color Image Segmentation Segments a color image into regions. Author: Athi

Hi Athi
I have implemented your code..
i am getting correct output when i run it first time..but when i try to run it next time i am getting this error..
Index exceeds matrix dimensions.

Error in colImgSeg (line 22)
temp((n+1):(end-n),(n+1):(end-n),2)=inImg(:,:,2);

Error in nbinsusage (line 19)
outImg = colImgSeg(inImg, nBins, winSize, nClass);

please help me to resolve the same..
thanks

22 Oct 2012 Segmentation Multiple Image Segmentation using PSO, DPSO, FO-DPSO and exhaustive methods. Author: Micael Couceiro

Sir, I am using your code for RGB multiobject image. Sir i want to know which is the fitness function here. and
for j=1:N
if size(I,3)==1 %grayscale image
fitR(j)=sum(probR(1:xR(j,1)))*(sum((1:xR(j,1)).*probR(1:xR(j,1))/sum(probR(1:xR(j,1)))) - sum((1:Lmax).*probR(1:Lmax)) )^2;
for jlevel=2:level-1
fitR(j)=fitR(j)+sum(probR(xR(j,jlevel-1)+1:xR(j,jlevel)))*(sum((xR(j,jlevel-1)+1:xR(j,jlevel)).*probR(xR(j,jlevel-1)+1:xR(j,jlevel))/sum(probR(xR(j,jlevel-1)+1:xR(j,jlevel))))- sum((1:Lmax).*probR(1:Lmax)))^2;
end
fitR(j)=fitR(j)+sum(probR(xR(j,level-1)+1:Lmax))*(sum((xR(j,level-1)+1:Lmax).*probR(xR(j,level-1)+1:Lmax)/sum(probR(xR(j,level-1)+1:Lmax)))- sum((1:Lmax).*probR(1:Lmax)))^2;
fitBestR(j)=fitR(j);

sir this is one of the the for loop from your code. can you please explain this for loop. I will be thankful.
Thanks

Contact us