I believe I built ITK with the opencv bridge. But when I compile my code, I'm getting an error that says:
error: 'itk::OpenCVImageBridge' has not been declared
Can somebody please tell me what I'm doing wrong?
Here's how ITK was built:
cmake -D BUILD_EXAMPLES:BOOL=OFF -D BUILD_TESTING:BOOL=OFF -D BUILD_TESTS:BOOL=OFF -D Module_ITKVideoBridgeOpenCV:BOOL=ON -D Module_ITKReview:BOOL=ON -D BUILD_SHARED_LIBS:BOOL=ON
Thanks.
You are probably forgetting to #include <itkOpenCVImageBridge.h>