Go to Post We should all just be humble, courteous, and act like gentlemen (or ladies) on these forums, and not fill it with yakking about who's drive train is better. - Veselin Kolev [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 07-01-2012, 16:03
That Canadian That Canadian is offline
Registered User
FRC #0346 (RoboHawks)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Chesterfield
Posts: 13
That Canadian is an unknown quantity at this point
Java Kinect class question (getPosition())

In the new Kinect class there is a method getPosition that returns a Kinect.Point4 variable. Within the varaible there is an x, y, z, and w float value. Now I know what the x, y, and z variables are representing but what is the w value for?
Reply With Quote
  #2   Spotlight this post!  
Unread 07-01-2012, 16:39
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,753
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Java Kinect class question (getPosition())

For more details on the four member vertex, take a look in the Microsoft documentation for the Kinect. The short answer is that it is normally not used. It is present because it is useful when performing spatial transforms. The exception is that w contains useful info when describing the floor plane as identified by the Kinect.

Greg Mckaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 07-01-2012, 23:27
Ginto8's Avatar
Ginto8 Ginto8 is offline
Programming Lead
AKA: Joe Doyle
FRC #2729 (Storm)
Team Role: Programmer
 
Join Date: Oct 2010
Rookie Year: 2010
Location: Marlton, NJ
Posts: 174
Ginto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of light
Re: Java Kinect class question (getPosition())

Is the Kinect's w coordinate anything like the w coordinate in homogeneous coordinate spaces?

Although on http://blogs.msdn.com/b/eternalcodin...ndows-sdk.aspx it says that it's the "quality level." So would it instead be the certainty with which it can determine the coordinates?
Reply With Quote
  #4   Spotlight this post!  
Unread 08-01-2012, 08:53
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,753
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Java Kinect class question (getPosition())

The Kinect SDK that was installed with the Kinect drivers has a section on structures and here is an excerpt.


vector4_u32
Four unsigned 32-bit integers.
x
X coordinate.
y
Y coordinate.
z
Z coordinate.
w
W coordinate. For the floor plane, the W value is the distance from the plane to the origin. For all other vectors, this value is 1.0.


Greg McKaskle
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:45.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi