Ask Your Question

Revision history [back]

filter2d BORDER_WRAP on certain texturefilter

I am running filter2d on an image with a filter that I was given. I have several filters, ranging from 3_3_5bit to 17_17_12bit. For some reason, whenever I run my software on a filter that has dimensions smaller than 9, I will received this error:

libc++abi.dylib: terminating with uncaught exception of type cv::Exception: /tmp/B3p0_301755_83026/build-maci64.maci64.301755.r000/B3p0/maci64/OpenCV/modules/imgproc/src/filter.cpp:166: error: (-215) columnBorderType != BORDER_WRAP in function init

Abort trap: 6

My program works for all other filters, except for any smaller than 9. However, these filters will work on any different bordertype, other than WRAP, but to have my software do its job, it needs BORDER_WRAP. Any help would be greatly greatly appreciated! If code would be helpful to see, I can show some