|
From: | kankan |
Subject: | Re: Fist 10, second 10 points of an object |
Date: | Thu, 21 Feb 2013 00:53:35 -0800 (PST) |
On Thu, Feb 21, 2013 at 1:59 AM, kankan <[hidden email]> wrote:> [hidden email]> Sent from the Octave - General mailing list archive at Nabble.com.
> I have been using *bwlabel* to identify objects in an image. It gives output
> objects as serial no (1, 2, .....etc).
> I want to find out first 10 points, second 10 points of each object.
> Any help regarding this will be greatly appreciate.
>
> Thanks,
> Kankan
>
>
>
> --
> View this message in context: http://octave.1599824.n4.nabble.com/Fist-10-second-10-points-of-an-object-tp4650099.html
> _______________________________________________
> Help-octave mailing list
> https://mailman.cae.wisc.edu/listinfo/help-octave_______________________________________________
Hi Kankan,
I'm not sure exactly what you mean by "first", but if you want the
indices of all the pixels belonging to one object 5 (for example) you
could use the find command like:
[i, j] = find(labeled_image==5);
Hope this helps,
James Sherman
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
If you reply to this email, your message will be added to the discussion below:http://octave.1599824.n4.nabble.com/Fist-10-second-10-points-of-an-object-tp4650099p4650100.html
[Prev in Thread] | Current Thread | [Next in Thread] |