Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Depth Data #16

Open
jss8649 opened this issue Nov 12, 2015 · 5 comments
Open

Depth Data #16

jss8649 opened this issue Nov 12, 2015 · 5 comments

Comments

@jss8649
Copy link

jss8649 commented Nov 12, 2015

Hi I'm a student at the Rochester Institute of Technology and I found your labs very useful. In regards to your fourth lab do you know of a way to take the depth data constructed in this lab and print it off into a text file? This would benefit my purposes greatly and I would appreciate any help you could offer. My email is: jss8649@rit.edu. Thank you for your time.

@ChimeraScorn
Copy link

In https://github.com/Kinect/tutorial/blob/master/Kinect2Sample.Lab4/Kinect2Sample/MainPage.xaml.cs you have access to the array of depth data, element by element in: ConvertDepthDataToPixels. You can simply output them to a file in whatever format you wish at the same time….

From: jss8649 [mailto:notifications@github.com]
Sent: Thursday, November 12, 2015 11:38 AM
To: Kinect/tutorial tutorial@noreply.github.com
Subject: [tutorial] Depth Data (#16)

Hi I'm a student at the Rochester Institute of Technology and I found your labs very useful. In regards to your fourth lab do you know of a way to take the depth data constructed in this lab and print it off into a text file? This would benefit my purposes greatly and I would appreciate any help you could offer. My email is: jss8649@rit.edumailto:jss8649@rit.edu. Thank you for your time.


Reply to this email directly or view it on GitHubhttps://github.com//issues/16.

@jss8649
Copy link
Author

jss8649 commented Nov 12, 2015

I don't mean to sound dense but what would be the way to output the
elements into a file? This is my first time using C# and frankly I don't
have a clue how to do what you have stated. I appreciate your hast of
response.

On Thursday, November 12, 2015, Chris White notifications@github.com
wrote:

In
https://github.com/Kinect/tutorial/blob/master/Kinect2Sample.Lab4/Kinect2Sample/MainPage.xaml.cs
you have access to the array of depth data, element by element in:
ConvertDepthDataToPixels. You can simply output them to a file in whatever
format you wish at the same time….

From: jss8649 [mailto:notifications@github.com
javascript:_e(%7B%7D,'cvml','notifications@github.com');]
Sent: Thursday, November 12, 2015 11:38 AM
To: Kinect/tutorial <tutorial@noreply.github.com
javascript:_e(%7B%7D,'cvml','tutorial@noreply.github.com');>
Subject: [tutorial] Depth Data (#16)

Hi I'm a student at the Rochester Institute of Technology and I found your
labs very useful. In regards to your fourth lab do you know of a way to
take the depth data constructed in this lab and print it off into a text
file? This would benefit my purposes greatly and I would appreciate any
help you could offer. My email is: jss8649@rit.edu
javascript:_e(%7B%7D,'cvml','jss8649@rit.edu');<mailto:jss8649@rit.edu
javascript:_e(%7B%7D,'cvml','jss8649@rit.edu');>. Thank you for your
time.


Reply to this email directly or view it on GitHub<
https://github.com/Kinect/tutorial/issues/16>.


Reply to this email directly or view it on GitHub
#16 (comment).

@ChimeraScorn
Copy link

https://www.bing.com/search?q=writing+to+a+file+in+c%23&form=EDGENT&qs=PF&cvid=c6d03f459dbb4b03bbbe5bd724f27162&pq=writing%20to%20a%20file%20in%20c%23

yields

https://msdn.microsoft.com/en-us/library/8bh11f1k.aspx

Congrats on getting started with programming! I’ve found the most useful programming tool in the world is actually a search engine.
-C

From: jss8649 [mailto:notifications@github.com]
Sent: Thursday, November 12, 2015 12:00 PM
To: Kinect/tutorial tutorial@noreply.github.com
Cc: Chris White Chris.White@microsoft.com
Subject: Re: [tutorial] Depth Data (#16)

I don't mean to sound dense but what would be the way to output the
elements into a file? This is my first time using C# and frankly I don't
have a clue how to do what you have stated. I appreciate your hast of
response.

On Thursday, November 12, 2015, Chris White <notifications@github.commailto:notifications@github.com>
wrote:

In
https://github.com/Kinect/tutorial/blob/master/Kinect2Sample.Lab4/Kinect2Sample/MainPage.xaml.cs
you have access to the array of depth data, element by element in:
ConvertDepthDataToPixels. You can simply output them to a file in whatever
format you wish at the same time….

From: jss8649 [mailto:notifications@github.com
javascript:_e(%7B%7D,'cvml','notifications@github.com');mailto:notifications@github.com%0b%3e%20%3cjavascript:_e(%7B%7D,'cvml','notifications@github.com');%3e]
Sent: Thursday, November 12, 2015 11:38 AM
To: Kinect/tutorial <tutorial@noreply.github.com
mailto:tutorial@noreply.github.com%0b> javascript:_e(%7B%7D,'cvml','tutorial@noreply.github.com');>
Subject: [tutorial] Depth Data (#16)

Hi I'm a student at the Rochester Institute of Technology and I found your
labs very useful. In regards to your fourth lab do you know of a way to
take the depth data constructed in this lab and print it off into a text
file? This would benefit my purposes greatly and I would appreciate any
help you could offer. My email is: jss8649@rit.edumailto:jss8649@rit.edu
javascript:_e(%7B%7D,'cvml','jss8649@rit.edu');<mailto:jss8649@rit.edu
mailto:jss8649@rit.edu%0b> javascript:_e(%7B%7D,'cvml','jss8649@rit.edu');>. Thank you for your
time.


Reply to this email directly or view it on GitHub<
https://github.com/Kinect/tutorial/issues/16>.


Reply to this email directly or view it on GitHub
#16 (comment).


Reply to this email directly or view it on GitHubhttps://github.com//issues/16#issuecomment-156218164.

@jss8649
Copy link
Author

jss8649 commented Nov 12, 2015

image

Shown in the picture above is my code. Why am I getting an error with the word File?

@ChimeraScorn
Copy link

Down at the bottom of your screen there is a window called “Error List” which will explain what the issue is. Good luck. ☺

Unfortunately, we cannot do general programming support through this forum. If you have additional Kinect specific questions feel free to reach out, or use the Kinect developer forums. General programming questions can often be answered on Stack Overflow.

-C

From: jss8649 [mailto:notifications@github.com]
Sent: Thursday, November 12, 2015 12:26 PM
To: Kinect/tutorial tutorial@noreply.github.com
Cc: Chris White Chris.White@microsoft.com
Subject: Re: [tutorial] Depth Data (#16)

[image]https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fcloud.githubusercontent.com%2fassets%2f15822557%2f11130144%2f83bf45ba-8951-11e5-84b2-0e02801b53f5.png&data=01%7c01%7ccwhite%40exchange.microsoft.com%7c5b765401c7ea412fd4cf08d2eb9f6d92%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=Kh4TYOQsxfIGMGQEU8smFRO%2bWZFBM3d%2f8M93qugeX0A%3d

Shown in the picture above is my code. Why am I getting an error with the word File?


Reply to this email directly or view it on GitHubhttps://github.com//issues/16#issuecomment-156224206.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants