Click here to Skip to main content
15,886,919 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to best pull together data from multiple sources (hardware sensors) in Win32? Pin
CPallini24-Jun-15 3:18
mveCPallini24-Jun-15 3:18 
GeneralRe: How to best pull together data from multiple sources (hardware sensors) in Win32? Pin
Albert Holguin24-Jun-15 11:57
professionalAlbert Holguin24-Jun-15 11:57 
GeneralRe: How to best pull together data from multiple sources (hardware sensors) in Win32? Pin
CPallini24-Jun-15 12:11
mveCPallini24-Jun-15 12:11 
GeneralRe: How to best pull together data from multiple sources (hardware sensors) in Win32? Pin
Albert Holguin24-Jun-15 12:16
professionalAlbert Holguin24-Jun-15 12:16 
AnswerRe: How to best pull together data from multiple sources (hardware sensors) in Win32? Pin
Albert Holguin24-Jun-15 12:04
professionalAlbert Holguin24-Jun-15 12:04 
GeneralRe: How to best pull together data from multiple sources (hardware sensors) in Win32? Pin
MW-83121724-Jun-15 23:55
MW-83121724-Jun-15 23:55 
GeneralRe: How to best pull together data from multiple sources (hardware sensors) in Win32? Pin
Albert Holguin25-Jun-15 9:24
professionalAlbert Holguin25-Jun-15 9:24 
GeneralRe: How to best pull together data from multiple sources (hardware sensors) in Win32? Pin
MW-83121726-Jun-15 3:04
MW-83121726-Jun-15 3:04 
Albert Holguin wrote:
Member 11703498 wrote:
I can't afford to drop any frames from the Kinect

I don't know how you can say this and also say that you're producing data faster than you can process it. You HAVE to decimate if you're not keeping up. You'll be dropping data even if you don't want to once your queue is full. Best to deal with that some way or another so the results are predictable.

Not necessarily.

Dropping frames is not a good idea when they are used by the Kinect Fusion algoritm. This algorithm simply fails if the consecutive frames supply data that differs too much from frame to frame. This typically happens when frames are dropped or the Color stream causes Kinect's frame rate to drop to approx 30fps/2 (it's just a feature, or downside one should say, of this particular sensor).

The queue won't fill up. The system is required to have enough RAM available to the program. Also, the task should complete with a certain amount of frames stored in the queue. The nature of the application is to do a one off job, not a continuous one heavy lifting. If the task fails for whatever reason, say the amount of acquired frames was insufficient, or something along those lines, then the task can be repeated.

I am not that proficient at parallelizing stuff on GPUs Smile | :) . Fom what I've seen, the Fusion algorithm utilizes the GPUs resources to the max. A good GPU would actually make the Queue and high RAM requirement redundant. For the time being though, the best approach I can see is to stick to the use of the Queue and large RAM.
QuestionSDI Project Question Pin
Arrin23-Jun-15 9:00
Arrin23-Jun-15 9:00 
SuggestionRe: SDI Project Question Pin
David Crow23-Jun-15 9:50
David Crow23-Jun-15 9:50 
GeneralRe: SDI Project Question Pin
Arrin23-Jun-15 12:21
Arrin23-Jun-15 12:21 
QuestionUse #define or enum in switch() case(s) ? Pin
Vaclav_22-Jun-15 5:40
Vaclav_22-Jun-15 5:40 
AnswerRe: Use #define or enum in switch() case(s) ? Pin
PIEBALDconsult22-Jun-15 5:51
mvePIEBALDconsult22-Jun-15 5:51 
AnswerRe: Use #define or enum in switch() case(s) ? Pin
Jochen Arndt22-Jun-15 6:51
professionalJochen Arndt22-Jun-15 6:51 
AnswerRe: Use #define or enum in switch() case(s) ? Pin
Albert Holguin22-Jun-15 9:49
professionalAlbert Holguin22-Jun-15 9:49 
AnswerRe: Use #define or enum in switch() case(s) ? Pin
Vaclav_22-Jun-15 15:42
Vaclav_22-Jun-15 15:42 
GeneralRe: Use #define or enum in switch() case(s) ? Pin
Frankie-C22-Jun-15 22:44
Frankie-C22-Jun-15 22:44 
GeneralRe: Use #define or enum in switch() case(s) ? Pin
Vaclav_23-Jun-15 4:44
Vaclav_23-Jun-15 4:44 
AnswerRe: Use #define or enum in switch() case(s) ? Pin
Albert Holguin24-Jun-15 12:12
professionalAlbert Holguin24-Jun-15 12:12 
GeneralRe: Use #define or enum in switch() case(s) ? Pin
Vaclav_26-Jun-15 5:25
Vaclav_26-Jun-15 5:25 
GeneralRe: Use #define or enum in switch() case(s) ? Pin
Albert Holguin26-Jun-15 10:16
professionalAlbert Holguin26-Jun-15 10:16 
GeneralJust released the latest version of my open source project... Pin
Corvusoft21-Jun-15 4:30
Corvusoft21-Jun-15 4:30 
GeneralRe: Just released the latest version of my open source project... Pin
CPallini21-Jun-15 21:37
mveCPallini21-Jun-15 21:37 
GeneralRe: Just released the latest version of my open source project... Pin
Corvusoft21-Jun-15 21:50
Corvusoft21-Jun-15 21:50 
GeneralRe: Just released the latest version of my open source project... Pin
CPallini22-Jun-15 2:04
mveCPallini22-Jun-15 2:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.