Ask Your Question

Immi's profile - activity

2017-06-16 21:25:46 -0600 received badge  Notable Question (source)
2016-11-12 12:35:08 -0600 received badge  Popular Question (source)
2015-05-11 05:01:41 -0600 received badge  Popular Question (source)
2014-12-09 13:48:19 -0600 marked best answer Texture recognition similar to Cascade Classifier with opencv

Hello all,

I'm looking for a method to recognize and identify textures. Is there any possibility to create something similar to haarClassifier.xml for textures? I don't want to use template matching.

Thanks in advance!

Immi

2014-08-05 14:36:57 -0600 received badge  Student (source)
2013-12-21 10:58:07 -0600 received badge  Teacher (source)
2013-12-18 03:40:30 -0600 answered a question problem with HoughCircles

Do you use real images or self drawn ones? If you draw your pictures, you should filter them with a lowpass filter to get proper results from HoughCircles.

2013-10-24 02:56:01 -0600 commented answer how to find glcm of an image in OpenCV or numpy?

I hope it will help you.

2013-10-24 00:50:56 -0600 answered a question how to find glcm of an image in OpenCV or numpy?

Implement your own GLCM algorithm. You have:

  1. Get the value of the actual pixel and its neighbour
  2. Take those two values to adress the pixel in the GLCM-image
  3. Increment that chosen pixel
2013-10-02 07:37:31 -0600 answered a question Getting error libopencv_core243.dll is missing

Hi,

you should search the missing dll in opencv folder and add this to your exe-file.

2013-09-30 07:51:52 -0600 received badge  Self-Learner (source)
2013-09-30 07:51:52 -0600 received badge  Necromancer (source)
2013-09-26 05:56:24 -0600 commented answer Texture recognition similar to Cascade Classifier with opencv

I can't accept my answer at myself. Got to less points.

2013-09-26 05:53:56 -0600 answered a question Texture recognition similar to Cascade Classifier with opencv

I solved the problem with:

  • calculating the mean color and a compare it with a threshold
  • calculating glcm and compare the glcm with PSNR function (Link to Tutorial)
2013-09-24 08:39:14 -0600 commented answer Texture recognition similar to Cascade Classifier with opencv

I've solved it with average color and GLCM. Thank you for your hints!

2013-06-14 00:37:06 -0600 answered a question Cascade training(Haar training) - I need help!

I am also not so experienced in Cascade training, but I think you should use more than 15 stages. When I tried it, I got with 30 stages good results. And I'd take more negative images.

Did you try feature tracking for your logo? I think this could be also a solution. http://docs.opencv.org/doc/tutorials/features2d/table_of_content_features2d/table_of_content_features2d.html#table-of-content-feature2d

2013-05-02 00:37:40 -0600 answered a question why the focal length of the camera intrinsic has two dimensions?

Yes, thats the reason. For more deteails, eg: Bradski, G. & Kaehler, A. Learning OpenCV: [computer vision with the OpenCV library (p.373)

2013-04-24 07:18:50 -0600 commented answer cvGLCM is there a new function providing same functionality

I've seen this topic, but it's almost one year old, so something could change and the docu link is offline. That's why I opened new thread or better using the old topic? If there are just undocumented functions, I'll create one by myself.

2013-04-24 02:04:00 -0600 asked a question cvGLCM is there a new function providing same functionality

Hi all,

I've read in some posts that the GLCM went into legacay. Is there a new function providing the same functionality? Or shall I use the legacy.hpp?

Best regards, Immi

2013-04-23 00:43:10 -0600 answered a question How do I fix "cannot find or open PBD files visual studio 2010 express

Hi,

to solve this warnings goto: "Debug" its in the same list like "file" "edit"... -> "Options and Settings" -> in this window: Left side: "Debugging" -> "Symbols" -> Check "Microsoft Symbol Server"

2013-04-18 03:01:20 -0600 answered a question Image Recognition question

I think, for mobile device is checking colors no solution, because of huge variance of luminance.

2013-04-15 05:54:53 -0600 commented answer Feature Matching with FLANN Tutorial

I'm just wondering about this error described in topic. It crashs equalizing one image. im1 = imread("im1.bmp, CV_LOAD_IMAGE_GRAYSCALE); im2 = imread("im1.bmp, CV_LOAD_IMAGE_GRAYSCALE);

equalizeHist(im1, im1); // then it crashs like described above. descriptors_2 is empty

//adding following line, it's working equalizeHist(im2, im2);

And now I'm asking, why this happens.

2013-04-15 02:02:15 -0600 commented answer Feature Matching with FLANN Tutorial

I have still a question for this problem: When I'm equalizing both images, it works also with the same image file. Why does it crash, when I'm equalizing only img_1?

2013-04-15 01:57:24 -0600 received badge  Scholar (source)
2013-04-15 01:50:29 -0600 commented answer Feature Matching with FLANN Tutorial

Hi, I've found the solution: http://answers.opencv.org/question/11449/flann-algorithm-cannot-find-any-descriptor/ I was using the same picture for img_1 and img_2

2013-04-15 01:27:05 -0600 commented answer Feature Matching with FLANN Tutorial

Hi, thanks for your answers. I've loaded images with img_1 = imread("path", CV_LOAD_IMAGE_GRAYSCALE); after your comments I've tried with cvtColor() but the error was the same. descriptors_1 is not empty. Checked with .data and .empty().

The code is running, when both images are equalized.

2013-04-15 01:14:19 -0600 commented question Feature Matching with FLANN Tutorial

Hi, I've just changed imread from variable to path and deleted the lines with check of arguments.Thanks for your help.

2013-04-12 09:08:23 -0600 asked a question Feature Matching with FLANN Tutorial

Hello all!

I've tried this tut: http://docs.opencv.org/doc/tutorials/features2d/feature_flann_matcher/feature_flann_matcher.html#feature-flann-matcher .

When I'm adding: equalizeHist(img_1,img_1) after loading the images, the program will crash. This crash at "matcher.match( descriptors_1, descriptors_2, matches );" with error: "OpenCV Error: Unsupported format or combination of formats (type=0) in unknown function, file ......\src\opencv\modules\flann\src\miniflann.cpp, line 315"

What changes in format does equalizeHist() do? Do you have some hints for me, to evade this error? Thanks in advance. Wish you a nice weekend.

Solution: http://answers.opencv.org/question/11449/flann-algorithm-cannot-find-any-descriptor/ I was using the same image. Immi

2013-04-11 08:41:20 -0600 commented answer delete videocapture

@Guanta May you tell my, why it crashes with Delete and not with calling destructor directly?

2013-04-11 07:21:32 -0600 commented answer delete videocapture

@Guanta (hope it get linked): I've played a little bit with this in OpenCV 2.4.4: When I'm trying it like described in the Question -> It works. I get a crash with: int main (void) { cout << "Creating" << endl; VideoCapture cap(0); cout << "Created" << endl; delete &cap; cout << "Deleted" << endl;

waitKey();
return 0;

}

2013-04-11 07:05:07 -0600 commented answer Calculating a template matching similarity score?

I've used minMaxLoc in my sample and I'm getting always 0..1 (depends on method). Also when the template is not in picture I get with minMaxLoc best value.

2013-04-11 06:54:55 -0600 commented answer delete videocapture

Did you tried to call the destructor? ~VideoCapture();?

2013-04-11 05:52:51 -0600 answered a question delete videocapture

Did you tried x.release();?

2013-04-08 06:08:53 -0600 answered a question Catch event closing window

destroyWindow(window_name);

2013-04-08 01:38:19 -0600 commented answer Texture recognition similar to Cascade Classifier with opencv

Thank you for your help, I' ll try it!

2013-04-04 06:59:18 -0600 commented answer Texture recognition similar to Cascade Classifier with opencv

Hi, I'll try this and reply.