Ask Your Question

mrgloom's profile - activity

2020-11-16 14:55:29 -0500 received badge  Nice Question (source)
2020-11-10 17:35:45 -0500 marked best answer MNIST and Local Binary Patterns

I'm trying to cluster MNIST dataset, I'm using PCA(for dimension reduction) and kmeans for clustering. For now I'm using just raw vector of pixels, I tried to convert it with Local Binary Patterns but it still gives bad results, I think I need to compute histograms based on LBP, but not sure how. I use code from here

can you provide some examples?

2020-10-26 17:42:02 -0500 received badge  Nice Question (source)
2020-10-11 11:36:18 -0500 received badge  Popular Question (source)
2020-09-13 16:08:09 -0500 marked best answer how to understand which functions available in python bindings?

How to understand which functions are available in python bindings? I only found old documentation. For example which functions can be used for keypoint extraction(cv2.FeatureDetector_create and cv2.GridAdaptedFeatureDetector only)?

For example if I have c++ code I just can look in header files to understand which functions I can use, but I don't know how to do this in python bindings.

2020-07-20 02:12:35 -0500 received badge  Notable Question (source)
2020-07-06 13:38:13 -0500 received badge  Popular Question (source)
2020-06-17 07:05:21 -0500 received badge  Notable Question (source)
2020-03-10 13:27:12 -0500 received badge  Famous Question (source)
2018-12-13 05:29:27 -0500 received badge  Nice Question (source)
2018-11-20 15:16:46 -0500 received badge  Notable Question (source)
2018-10-22 12:40:08 -0500 received badge  Popular Question (source)
2018-01-21 20:21:58 -0500 received badge  Nice Question (source)
2018-01-14 10:14:48 -0500 received badge  Famous Question (source)
2018-01-03 23:18:02 -0500 marked best answer How to use trainHOG with liblinear or libsvm?

How to use trainHOG with liblinear or libsvm?

this tutor only for svmlight http://opencv.willowgarage.com/wiki/trainHOG

If you are planning in training with LIBSVM instead of SVMlight, pass me a note so I can provide you with some code.

So where I can find the code?

2017-12-24 23:50:51 -0500 received badge  Popular Question (source)
2017-11-08 02:13:01 -0500 received badge  Popular Question (source)
2017-09-03 19:45:45 -0500 marked best answer fast way to draw ellipse axes?

Is there any way to draw ellipse axes in opencv?

2017-09-03 19:45:34 -0500 received badge  Nice Question (source)
2017-08-09 18:14:17 -0500 received badge  Nice Question (source)
2017-07-11 11:30:32 -0500 received badge  Popular Question (source)
2017-06-20 08:36:52 -0500 marked best answer annotation tool for object detection

Is there some annotation tool that I can use for mark objects on images and then use this croped object images to train classifers?

2017-02-25 02:15:55 -0500 received badge  Famous Question (source)
2017-02-24 19:31:22 -0500 received badge  Notable Question (source)
2016-09-01 04:55:30 -0500 received badge  Popular Question (source)
2016-08-16 19:40:41 -0500 received badge  Notable Question (source)
2016-05-31 18:33:15 -0500 received badge  Notable Question (source)
2016-04-22 09:19:04 -0500 marked best answer convert from vector to Mat

I have

vector<cv::Point> pts

and I want to use it with FLANN I tried

cv::flann::Index tree= cv::flann::Index(cv::Mat(pts),cv::flann::KDTreeIndexParams(1));

but it doesn't work.I think I must convert pts to Mat.

How I can do this?

2016-04-22 09:18:32 -0500 received badge  Nice Question (source)
2016-04-20 08:47:50 -0500 marked best answer shape context implementation in opencv

I want to use shape context for contour matching and for contour clusterization/classification, I have already implimented it in opencv, but I don't understand how to use it in case if contours have different number of points? maybe I can add some fictitious points between real point or simplify contour to delete some points?

In paper they just add some "dummy" points, but it's only suitable for shape comparision, but if I want to use vector of features for example in SVM,feature vector need to be the constant size.

2016-03-24 05:37:05 -0500 received badge  Famous Question (source)
2016-03-16 05:52:38 -0500 received badge  Notable Question (source)
2016-02-21 15:22:52 -0500 received badge  Popular Question (source)
2015-12-27 07:52:41 -0500 marked best answer Mat element access

I read this article, but I can't find how to access Mat element like this

img[y][x]=100;

is it possible? And another question is how can I don't omit type of Mat, but check types on compilation time.

instead of

img.at<uchar>(i,j)

something like this

img[i][j]
2015-11-25 07:18:45 -0500 received badge  Famous Question (source)
2015-11-18 04:44:37 -0500 received badge  Popular Question (source)
2015-10-10 15:31:08 -0500 marked best answer how to free memory through cv::Mat ?
IplImage* src= cvLoadImage("1.tif");
        Mat m= src;//no copy
        Mat m1(src);//no copy
        m.release();//don't free mem
        m1.release();//don't free mem
        cvReleaseImage(&src);//free mem

how to free memory through cv::Mat ?

2015-07-01 11:38:42 -0500 received badge  Famous Question (source)
2015-06-28 12:46:29 -0500 received badge  Notable Question (source)
2015-05-25 05:55:06 -0500 received badge  Popular Question (source)
2015-05-12 10:31:45 -0500 received badge  Taxonomist
2015-05-02 04:00:05 -0500 received badge  Notable Question (source)
2015-04-21 12:03:07 -0500 received badge  Popular Question (source)
2015-04-16 16:02:28 -0500 received badge  Notable Question (source)
2015-04-05 01:42:53 -0500 received badge  Famous Question (source)
2015-02-23 07:10:31 -0500 marked best answer how to watch cv::Mat type in VC++ debugger?

Is there way to see what type of Mat is current Mat? for example CV_32FC1 or CV_64FC1.

I don't mean something like src.type() == CV_32FC1 I need to watch type of Mat on some breakpoint.

2015-02-09 08:52:33 -0500 received badge  Notable Question (source)
2015-01-16 09:00:10 -0500 received badge  Popular Question (source)