ColorImagePoint in openni

33 views
Skip to first unread message

Salvatore Russo

unread,
May 28, 2012, 11:53:03 AM5/28/12
to openn...@googlegroups.com
hi, what is the equivalent funtion in openni to colorImagepoint of microsoft sdk? i saw that it return a X and Y value. but i don't understand how to obtain the same thing in openni. 

thanks in advance!!


Pedro Silva

unread,
May 30, 2012, 6:22:42 PM5/30/12
to openn...@googlegroups.com
You don't have that function in OpenNI. 
You can get metadata array from color image and get R, G and B value.

Pedro Silva
R&D Manager
CoVii - Computer Vision Interaction

On 28/05/2012, at 16:53, Salvatore Russo <salvatore....@gmail.com> wrote:

hi, what is the equivalent funtion in openni to colorImagepoint of microsoft sdk? i saw that it return a X and Y value. but i don't understand how to obtain the same thing in openni. 

thanks in advance!!


--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To view this discussion on the web visit https://groups.google.com/d/msg/openni-dev/-/VMxRbxycUPwJ.
To post to this group, send email to openn...@googlegroups.com.
To unsubscribe from this group, send email to openni-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

Xavier Mendez

unread,
May 31, 2012, 8:30:45 AM5/31/12
to openn...@googlegroups.com
Please clarify.
You need a function that (given a RGB color) returns the coordinates
of the pixels of that color? Is it right?

2012/5/31 Pedro Silva <selu...@gmail.com>

Salvatore Russo

unread,
Jun 7, 2012, 4:29:49 PM6/7/12
to openn...@googlegroups.com
yes, i have to obtain the xy coordinates of a single color image point. 

my aim is to reply the exact result that i would obtain using microsoft sdk  ColorImagePoint

here's the link to the specification of the function


salvo


Il giorno giovedì 31 maggio 2012 14:30:45 UTC+2, jmendeth ha scritto:
Please clarify.
You need a function that (given a RGB color) returns the coordinates
of the pixels of that color? Is it right?

2012/5/31 Pedro Silva <selu...@gmail.com>
You don't have that function in OpenNI. 
You can get metadata array from color image and get R, G and B value.

Pedro Silva
R&D Manager
CoVii - Computer Vision Interaction

On 28/05/2012, at 16:53, Salvatore Russo <salvatore.russo.1986@gmail.com> wrote:

hi, what is the equivalent funtion in openni to colorImagepoint of microsoft sdk? i saw that it return a X and Y value. but i don't understand how to obtain the same thing in openni. 

thanks in advance!!


--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To view this discussion on the web visit https://groups.google.com/d/msg/openni-dev/-/VMxRbxycUPwJ.
To post to this group, send email to openn...@googlegroups.com.
To unsubscribe from this group, send email to openni-dev+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to openn...@googlegroups.com.
To unsubscribe from this group, send email to openni-dev+unsubscribe@googlegroups.com.

Steto84

unread,
Jun 7, 2012, 5:53:55 PM6/7/12
to OpenNI
i think the closest one is ConvertRealWorldToProjective (XnUInt32
nCount, const XnPoint3D aRealWorld[], XnPoint3D aProjective[])
it does it on the depthmap but if you are using the two images at the
same resolution it works.

On 7 Giu, 22:29, Salvatore Russo <salvatore.russo.1...@gmail.com>
wrote:
> yes, i have to obtain the xy coordinates of a single color image point.
>
> my aim is to reply the exact result that i would obtain using microsoft sdk
>  ColorImagePoint
>
> here's the link to the specification of the function
>
> http://msdn.microsoft.com/en-us/library/microsoft.kinect.colorimagepo...
>
> regards
>
> salvo
>
> Il giorno giovedì 31 maggio 2012 14:30:45 UTC+2, jmendeth ha scritto:
>
>
>
>
>
>
>
>
>
> > Please clarify.
> > You need a function that (given a RGB color) returns the coordinates
> > of the pixels of that color? Is it right?
>
> > 2012/5/31 Pedro Silva <selu.p...@gmail.com>
>
> >> You don't have that function in OpenNI.
> >> You can get metadata array from color image and get R, G and B value.
>
> >> Pedro Silva
> >> R&D Manager
> >> +351 91 932 72 38
> >>www.covii.pt
> >> CoVii - Computer Vision Interaction
>
> >> On 28/05/2012, at 16:53, Salvatore Russo <salvatore.russo.1...@gmail.com>
> >> wrote:
>
> >> hi, what is the equivalent funtion in openni to colorImagepoint of
> >> microsoft sdk? i saw that it return a X and Y value. but i don't understand
> >> how to obtain the same thing in openni.
>
> >> thanks in advance!!
>
> >>  --
> >> You received this message because you are subscribed to the Google Groups
> >> "OpenNI" group.
> >> To view this discussion on the web visit
> >>https://groups.google.com/d/msg/openni-dev/-/VMxRbxycUPwJ.
> >> To post to this group, send email to openn...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> openni-dev+...@googlegroups.com.
> >> For more options, visit this group at
> >>http://groups.google.com/group/openni-dev?hl=en.
>
> >>  --
> >> You received this message because you are subscribed to the Google Groups
> >> "OpenNI" group.
> >> To post to this group, send email to openn...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> openni-dev+...@googlegroups.com.

Xavier Mendez

unread,
Jun 8, 2012, 3:08:35 PM6/8/12
to openn...@googlegroups.com
You want to find the coordinates of a point with that color, right?

Well, I wonder why would you want to do that?
Normally, you already have the coordinates.
Besides, there will (surely) be other points with that color.

Anyway, you can easily iterate on every pixel and check its color.

2012/6/7 Steto84 <ste...@gmail.com>
Reply all
Reply to author
Forward
0 new messages