|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Dashboard Image modification
The threshold should go on a binary image, not a grayscale image.
However, that error message does seem to be the reverse of what I'm suggesting. The error is occurring on the "image threshold", correct? If you're still having the error, try creating your algorithm with the NI Vision Assistant. |
|
#2
|
||||
|
||||
|
Re: Dashboard Image modification
Hmm, the help for the threshold says that the resulting image is a grayscale u8, Also, i have tried it in the NI Vision Assistant, thats where i started. And yes, the error occures at the threshold.
|
|
#3
|
|||
|
|||
|
Re: Dashboard Image modification
I'm afraid I haven't seen that error before, so I don't have any suggestions. Go ahead and post the VI. I'd like to help get to the bottom of it.
Greg McKaskle |
|
#4
|
||||
|
||||
|
Re: Dashboard Image modification
Heres the Dashboard Main.vi, http://dl.dropbox.com/u/967235/Dashboard%20Main.vi
Or, if you want it, http://dl.dropbox.com/u/967235/dashboard10.zip theres the entire project |
|
#5
|
||||
|
||||
|
Re: Dashboard Image modification
Well, I know its stupid of me but.. the error occurs only when it isn't getting an image.. which makes a lot of sense.. Also, the result is only correct when it is a binary image. The Dashboard was failing to get the image.
So the function does seem to be outputting a binary image. So either i didn't read the documentation correctly or its just wrong. Which leads me to my next question, How do i create a binary image? |
|
#6
|
||||
|
||||
|
Re: Dashboard Image modification
You can convert the image with a property node, or (I believe) there's an option when you create the image with the "Imaq New Image" vi. (It should be in that enum that currently says "grayscale u8)
|
|
#7
|
||||
|
||||
|
Re: Dashboard Image modification
That enum doesn't have an option for grayscale, but by clicking on the image and changing the palette to grayscale, it shows up fine..
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Camera Image on Driver Station/Dashboard | helenajoy | NI LabVIEW | 9 | 15-04-2010 10:21 |
| no camera image in the dashboard | Team_136 | Control System | 3 | 23-02-2010 18:49 |
| absolute minimum for displaying image on dashboard | kennypu | C/C++ | 17 | 14-02-2010 10:07 |
| Displaying Camera Image in C# Dashboard | PranavSathy | C/C++ | 12 | 08-02-2010 17:06 |
| Reinstall of dashboard doesn't fix camera image streaming | ellisk | Programming | 2 | 20-01-2010 08:04 |