Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Cannot get image after vision processing (http://www.chiefdelphi.com/forums/showthread.php?t=124860)

E Dawg 18-01-2014 16:57

Cannot get image after vision processing
 
We've been trying to get our vision processing to work. We cannot successfully create a binary image. We have adjusted the HSL values, but no matter what we do the image is black. We've done some testing and have confirmed the problem is not related to the camera.

Your help is appreciated.

Arhowk 18-01-2014 18:21

Re: Cannot get image after vision processing
 
Quote:

Originally Posted by E Dawg (Post 1328943)
We've been trying to get our vision processing to work. We cannot successfully create a binary image. We have adjusted the HSL values, but no matter what we do the image is black. We've done some testing and have confirmed the problem is not related to the camera.

Your help is appreciated.

What step is the image turning black?

E Dawg 18-01-2014 23:31

Re: Cannot get image after vision processing
 
After we turn the input into a binary image.

RufflesRidge 19-01-2014 06:30

Re: Cannot get image after vision processing
 
How are you viewing the image? Are you writing a JPG or BMP? Writing a JPG will always result in a black image.

To verify that things are working correctly you can try opening the HSL values up substantially and make sure you see the image as mostly red, then start narrowing down until you get just the target.

Greg McKaskle 19-01-2014 10:45

Re: Cannot get image after vision processing
 
If you are doing this in LabVIEW, you will need to right click on the vision display and set its display palette to binary. Otherwise the values in the binary are 0 and 1, and those are drawn as black and practically black. The binary palette is black and red.

Greg McKaskle


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

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