Here is line 37 of the ColorImage.cpp
Code:
BinaryImage * ColorImage::ComputeThreshold(ColorMode colorMode,
int low1, int high1,
int low2, int high2,
int low3, int high3)
{
BinaryImage *result = new BinaryImage();
Range range1 = {low1, high1},
range2 = {low2, high2},
range3 = {low3, high3};
int success = imaqColorThreshold(result->GetImaqImage(),
m_imaqImage, 1, colorMode, &range1, &range2, &range3);
wpi_imaqAssert(success, "ImaqThreshold error");
//here's the assert that's producing the error. What can I do to fix this?
return result;
}
Note that an assert is failing. What can I do to rectify this on my end?
Thanks.