|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Colorimage.cpp error
We have started testing with our vision code, and our robot is returning an error- specifically, it says that we have error 1074396120 at line 37 of C:/Windriver/workspace/WPILib/Vision/Colorimage.cpp
We have not changed this file at all We are programming in Windriver C++, and would really appreciate some thoughts on what might be causing this. |
|
#2
|
|||
|
|||
|
Re: Colorimage.cpp error
To get any good advice you'll want to attach code showing where in your code you are using ColorImage. Some basic advice, make sure you are deleting images that you are getting from the camera, and the images you get back from the threshold function.
Each time you get an image from the camera, and perform a threshold (producing a binary image) you'll be left with 1 color image and 1 binary image, if you don't store pointers to these objects and delete them when you are done with them, you will quickly eat up your memory and things will start failing. This post has some more detailed info: http://www.chiefdelphi.com/forums/sh...15&postcount=3 If this doesn't help you, please post your code. |
|
#3
|
||||
|
||||
|
Re: Colorimage.cpp error
Please see thread @ http://www.chiefdelphi.com/forums/sh...d.php?t=101718 as I think it may be the same discussion to have...
bob |
|
#4
|
||||
|
||||
|
Re: Colorimage.cpp error
Thank you! We will look into that!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|