Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Is it possible to run filter2D at just one point in an image?

I am currently running this:

cv::filter2D(source, 
                  dest, 
                  CV_64F, 
                  kernal, 
                  cv::Point(-1,-1), 
                  0, 
                  cv::BORDER_CONSTANT);

However, I am not interested in convoluting the whole image with a kernel, I just want to run the convolution at a given point.

Is this possible?

Is it possible to run filter2D at just one point in an image?

I am currently running this:filter2D:

cv::filter2D(source, 
               dest, 
               CV_64F, 
               kernal, 
               cv::Point(-1,-1), 
               0, 
               cv::BORDER_CONSTANT);

However, I am not interested in convoluting the whole image with a kernel, I just want to run the convolution at a given point.

Is this possible?

Is it possible to run filter2D at just one point in an image?

I am currently running filter2D:

cv::filter2D(source, 
              dest, 
              CV_64F, 
              kernal, 
              cv::Point(-1,-1), 
              0, 
              cv::BORDER_CONSTANT);

However, I am not interested in convoluting the whole image with a kernel, I just want to run the convolution at a given point.

Is this possible?