Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

help needed in image processing functions

Asked by Alaa-eddean hussein on 28 Aug 2014 at 2:37
Latest activity Answered by Image Analyst on 28 Aug 2014 at 3:37

hey everyone i'm working on a project and i need some help .. i need to group objects together like the one attached, i need all these objects grouped together to one object

i used some processes before

here are the functions used before

Processing.image_gray(:,:,:,i)=rgb2gray(Processing.img_diff(:,:,:,i));

Processing.Adj_img(:,:,:,i)=imadjust(Processing.image_gray(:,:,:,i),[ 0.1 0.9],[0 1]);

Processing.BW_image(:,:,:,i)=im2bw(Processing.Adj_img(:,:,:,i),0.01);

Processing.img_eli(:,:,:,i)= bwareaopen(Processing.BW_image(:,:,:,i), 100);

Processing.img_objects(:,:,:,i) = bwconvhull(Processing.img_eli(:,:,:,i),'object');

Processing.BWnobord(:,:,:,i)= imclearborder(Processing.img_objects(:,:,:,i), 4);

is there something i can adjust or a function to add to get this done

thanks in advance to any help :)

0 Comments

Alaa-eddean hussein

Products

No products are associated with this question.

1 Answer

Answer by Image Analyst on 28 Aug 2014 at 3:37

After looking at your code, I have no idea what you want to do, and I do image processing all day long every day. Anyway, there is nothing attached like you said.

0 Comments

Image Analyst

Contact us