|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Image processing and performance
Hi everyone,
Currently, I've gotten my program to recognize the pink and green flags, but the image processing functions take a long time (about 1/4 a second or more). I'm using threads ("tasks" on the cRIO) for the different parts of our code, and there's currently 3 threads. I'm wondering if the threads are all getting 1/3 of the CPU, and so that's slowing down our code. Is that possible? If so, can I set the priority of some threads to be higher? I noticed in the constructor for the Task class that I can specify a priority (it defaults to 100). Is 1 the highest or 100? How can I set the priority of the thread which runs OperatorControl? Thanks, -Kevin |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [not-FIRST] Camera Image Processing | Greg Marra | Programming | 11 | 11-03-2008 21:10 |
| Image Processing on mouth ROI | tommy_chai | Programming | 0 | 20-11-2007 08:32 |
| thoughts about image processing | 3dude_2231 | Technical Discussion | 5 | 12-11-2007 13:26 |
| Critique my image processing program... | Salik Syed | Programming | 13 | 29-06-2006 16:57 |
| STAMP (Statistical Team Analysis of Match Performance) is off and running! | Ethulin | Scouting | 6 | 04-02-2006 23:12 |