From: astro mmi on
Hi everyone,
If i have an image with 4 white lines which are connected in a particular fashion against a black background how can i classify them(separate) using matlab. Thanx in advance.
From: ImageAnalyst on
On Mar 19, 12:05 pm, "astro mmi" <pyarsa_ma...(a)yahoo.co.in> wrote:
> Hi everyone,
>      If i have an image with 4 white lines which are connected in a particular fashion against a black background how can i classify them(separate) using matlab. Thanx in advance.

--------------------------------------------------------------
You forgot to post the link where you posted your image.
From: Dave Robinson on
"astro mmi" <pyarsa_madhu(a)yahoo.co.in> wrote in message <ho07c0$hso$1(a)fred.mathworks.com>...
> Hi everyone,
> If i have an image with 4 white lines which are connected in a particular fashion against a black background how can i classify them(separate) using matlab. Thanx in advance.

Come on now, give us a fighting chance.

What does "Connected in a particular fashion" mean - are they brothers?

Are the white lines straight lines or curved lines?

If you can't be bothered to phrase a meaningful question, you can't blame us for not bothering to phrase a meaningful answer. Put the image up on one of the image sharing sites so we can get a look at what you are failing to describe using words, maybe we can get an idea from that.

A pure shot in the dark here, assuming the lines are straight type the following at your command prompt

help hough

Regards

Dave Robinson
From: astro mmi on
Let us say it is a white square against a black background. I mean the edges of the square are white not the entire square. Now if I want to assign a different color to each edge how can i do it. Based on the same lines I have two curved pipes intersecting each other. So I have 4 curves which I have shown on image sharing site. I want to assign 4 different colors to each curve. I hope I have made myself clearer. Thanx.

"Dave Robinson" <dave.robinson(a)somewhere.biz> wrote in message <ho0aeq$a3n$1(a)fred.mathworks.com>...
> "astro mmi" <pyarsa_madhu(a)yahoo.co.in> wrote in message <ho07c0$hso$1(a)fred.mathworks.com>...
> > Hi everyone,
> > If i have an image with 4 white lines which are connected in a particular fashion against a black background how can i classify them(separate) using matlab. Thanx in advance.
>
> Come on now, give us a fighting chance.
>
> What does "Connected in a particular fashion" mean - are they brothers?
>
> Are the white lines straight lines or curved lines?
>
> If you can't be bothered to phrase a meaningful question, you can't blame us for not bothering to phrase a meaningful answer. Put the image up on one of the image sharing sites so we can get a look at what you are failing to describe using words, maybe we can get an idea from that.
>
> A pure shot in the dark here, assuming the lines are straight type the following at your command prompt
>
> help hough
>
> Regards
>
> Dave Robinson
From: astro mmi on
"astro mmi" <pyarsa_madhu(a)yahoo.co.in> wrote in message <hoaomd$f7i$1(a)fred.mathworks.com>...
> Let us say it is a white square against a black background. I mean the edges of the square are white not the entire square. Now if I want to assign a different color to each edge how can i do it. Based on the same lines I have two curved pipes intersecting each other. So I have 4 curves which I have shown on image sharing site. I want to assign 4 different colors to each curve. I hope I have made myself clearer. I have posted it on file exchange wth the title "image shared classification Madhumitha". Thanx.
>
> "Dave Robinson" <dave.robinson(a)somewhere.biz> wrote in message <ho0aeq$a3n$1(a)fred.mathworks.com>...
> > "astro mmi" <pyarsa_madhu(a)yahoo.co.in> wrote in message <ho07c0$hso$1(a)fred.mathworks.com>...
> > > Hi everyone,
> > > If i have an image with 4 white lines which are connected in a particular fashion against a black background how can i classify them(separate) using matlab. Thanx in advance.
> >
> > Come on now, give us a fighting chance.
> >
> > What does "Connected in a particular fashion" mean - are they brothers?
> >
> > Are the white lines straight lines or curved lines?
> >
> > If you can't be bothered to phrase a meaningful question, you can't blame us for not bothering to phrase a meaningful answer. Put the image up on one of the image sharing sites so we can get a look at what you are failing to describe using words, maybe we can get an idea from that.
> >
> > A pure shot in the dark here, assuming the lines are straight type the following at your command prompt
> >
> > help hough
> >
> > Regards
> >
> > Dave Robinson