View Single Post
  #9   Spotlight this post!  
Unread 23-01-2013, 18:02
xraymypanda's Avatar
xraymypanda xraymypanda is offline
Cowboy programmer
AKA: Chris M
FRC #0599 (RoboDox)
Team Role: Programmer
 
Join Date: Dec 2011
Rookie Year: 2011
Location: Granada Hills,CA
Posts: 82
xraymypanda has a spectacular aura aboutxraymypanda has a spectacular aura about
Re: Sample Vision Code, ComputeThreshold() exception

Because I'm having a similar issue, the Driver Station Messages are as follows:
Code:
<Code>-1074396120 ERROR: status = -1074396120 (0xBFF60428) Error in convex hull operation:  ...in ConvexHull() in C:/WindRiver/workspace/WPILib/Vision/BinaryImage.cpp at line 209
IMAQ Vision:  Not an image.
<Code>-1074396120 ERROR: status = -1074396120 (0xBFF60428) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  Not an image.
<Code>-1074396120 ERROR: status = -1074396120 (0xBFF60428) Error in convex hull operation:  ...in ConvexHull() in C:/WindRiver/workspace/WPILib/Vision/BinaryImage.cpp at line 209
IMAQ Vision:  Not an image.
<Code>-1074396120 ERROR: status = -1074396120 (0xBFF60428) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  Not an image.
<Code>-1074396120 ERROR: status = -1074396120 (0xBFF60428) Error in convex hull operation:  ...in ConvexHull() in C:/WindRiver/workspace/WPILib/Vision/BinaryImage.cpp at line 209
IMAQ Vision:  Not an image.
<Code>-1074396120 ERROR: status = -1074396120 (0xBFF60428) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  Not an image.
<Code>-1074396120 ERROR: status = -1074396120 (0xBFF60428) Error in convex hull operation:  ...in ConvexHull() in C:/WindRiver/workspace/WPILib/Vision/BinaryImage.cpp at line 209
IMAQ Vision:  Not an image.
<Code>-1074396120 ERROR: status = -1074396120 (0xBFF60428) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  Not an image.
<Code>-1074396120 ERROR: status = -1074396120 (0xBFF60428) Error in convex hull operation:  ...in ConvexHull() in C:/WindRiver/workspace/WPILib/Vision/BinaryImage.cpp at line 209
IMAQ Vision:  Not an image.
<Code>-1074396120 ERROR: status = -1074396120 (0xBFF60428) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  Not an image.
<Code>-1074396120 ERROR: status = -1074396120 (0xBFF60428) Error in convex hull operation:  ...in ConvexHull() in C:/WindRiver/workspace/WPILib/Vision/BinaryImage.cpp at line 209
IMAQ Vision:  Not an image.
<Code>-1074396120 ERROR: status = -1074396120 (0xBFF60428) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  Not an image.
Warning <Code> 44002 occurred at Ping Results:  link-GOOD,  DS radio(.4)-bad,  robot radio(.1)-GOOD,  cRIO(.2)-GOOD,  FMS-bad Driver Station
<time>1/23/2013 2:58:58 PM<unique#>7
FRC:  Driver Station ping status has changed.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396159 ERROR: status = -1074396159 (0xBFF60401) Error in convex hull operation:  ...in ConvexHull() in C:/WindRiver/workspace/WPILib/Vision/BinaryImage.cpp at line 209
IMAQ Vision:  Not enough memory for requested operation.

<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
Warning <Code> 44002 occurred at Ping Results:  link-GOOD,  DS radio(.4)-bad,  robot radio(.1)-GOOD,  cRIO(.2)-GOOD,  FMS-bad Driver Station
<time>1/23/2013 2:58:37 PM<unique#>6
FRC:  Driver Station ping status has changed.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
<Code>-1074396154 ERROR: status = -1074396154 (0xBFF60406) ImaqThreshold error:  ...in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision:  The image is not large enough for the operation.
__________________

2011: Head Scout
2012: (figure)Head Programmer
2013: Head Programmer, Chief Strategist, Outreach Executive, and Driver
Reply With Quote