Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ガボール機能を使用して分類作業を行いたいと考えています。ただし、OpenCV はこの機能をサポートしていません。この機能を実装するためのアイデアを教えてください。オープンソースのライブラリもOK。前もって感謝します。
ああ、opencv には gabor カーネルがあります。
#include "opencv2/imgproc/imgproc.hpp" cv::Mat kernel = cv::getGaborKernel(cv::Size(kernel_size,kernel_size), sig, th, lm, gm, ps); Mat src_f; // img converted to float Mat dest; cv::filter2D(src_f, dest, CV_32F, kernel);