Ask Your Question

WordBreaker's profile - activity

2020-10-06 15:10:17 -0600 received badge  Notable Question (source)
2016-11-08 18:22:52 -0600 received badge  Notable Question (source)
2014-08-05 14:10:44 -0600 received badge  Nice Question (source)
2012-07-08 22:42:57 -0600 received badge  Notable Question (source)
2012-07-05 03:54:14 -0600 received badge  Popular Question (source)
2012-07-02 09:44:43 -0600 asked a question Why is 'cvGLCM' deprecated/moved to legacy? Are there some replacement?

Dear community members,

I want to know why GLCM feature computation APIs are moved to legacy and not supported anymore. And whether there is some new API to replace it.

Thank you

2012-06-30 12:42:59 -0600 received badge  Student (source)
2012-06-29 07:06:12 -0600 received badge  Popular Question (source)
2012-06-29 01:46:02 -0600 received badge  Popular Question (source)
2012-06-28 13:32:17 -0600 answered a question Where to find the documentation for GLCM APIs?

Thanks Alexander for your reply. I'd like to know if there is some new structure/API that replaces the deprecated CvGLCM. Is there some new API that accomplishes the same functionality (Computes GLCM)? When I used the method 'cvCreateGLCM', I get an error in memory allocation. That's why I am trying to find some example/code snippet/documentation for that API.

I am afraid that I have to re-implement my own version of GLCM computation :) Thank you.

2012-06-28 07:27:25 -0600 asked a question Where to find the documentation for GLCM APIs?
  1. Is GLCM APIs supported in OpenCV 2.4+?
  2. Where to find the documentation for GLCM APIs?

Thanks guys

2012-06-27 15:09:25 -0600 asked a question Allocation error with 'cvCreateGLCM' method

Hi, I am trying to compute GLCM for an input image. I load the image, convert it to grayscale, then I invoke cvCreateGLCM method on the grayscale image. OpenCV Version: 2.4.1, vc10, x64.

const char* filePath = "C:\\input.jpg";
IplImage* inputIm = cvLoadImage(filePath);

IplImage* grayIm = cvCreateImage(cvSize(width, height), IPL_DEPTH_8U, 1);
cvCvtColor(inputIm, grayIm, CV_RGB2GRAY);

CvGLCM* glcm = cvCreateGLCM(resizedGray, 0);  // ERROR

I get the following error message image description

when I press 'Break', it shows where the error took place:

__forceinline void * __cdecl _heap_alloc (size_t size)

{

    if (_crtheap == 0) {
        _FF_MSGBANNER();    /* write run-time error banner */
        _NMSG_WRITE(_RT_CRT_NOTINIT);  /* write message */
        __crtExitProcess(255);  /* normally _exit(255) */
    }

    return HeapAlloc(_crtheap, 0, size ? size : 1);  // <<< The error
}

Any ideas please?