Ask Your Question

Tatev's profile - activity

2020-07-06 06:28:44 -0600 received badge  Popular Question (source)
2018-01-21 04:45:57 -0600 received badge  Enthusiast
2018-01-20 09:36:43 -0600 commented question Why MatOfPoint is list of points?

Here is a sample image https://imgur.com/a/lHlwN I need to have coordinates of graph nodes and lenght for each edge.

2018-01-20 09:07:48 -0600 commented question Why MatOfPoint is list of points?

I've already read it, thanks a lot for your help! :)))

2018-01-20 08:43:08 -0600 asked a question Why MatOfPoint is list of points?

Why MatOfPoint is list of points? Hi, I'm quite new in OpenCV and image processing, I'm trying to understand findContou

2015-12-16 02:34:46 -0600 commented answer How to change gabor wavelet's colors

thank you :)

2015-11-27 07:46:42 -0600 received badge  Scholar (source)
2015-11-27 05:12:32 -0600 commented answer How to change gabor wavelet's colors

I want to ask one more question. I found that to create custom color map in c++ they define unsigned char arrays then pass to Mat constructor, while in java the constructor expects argument type of scalar. Here is the link https://github.com/spmallick/learnope... Do you know if there is a way to convert those arrays, or maybe I should define r,g,b-is in another way

2015-11-27 05:10:49 -0600 commented answer How to change gabor wavelet's colors

great! Thank you :)

2015-11-25 23:57:10 -0600 received badge  Editor (source)
2015-11-25 22:24:51 -0600 asked a question How to change gabor wavelet's colors

I draw gabor wavelets using this code

        Mat kernel = Imgproc.getGaborKernel(new Size(kernel_size, kernel_size), sigma, theta, lambda, gamma, Math.PI / 2.0, CvType.CV_64F);
        Mat normalized = new Mat();
        Core.normalize(kernel, normalized, 0, 255, Core.NORM_MINMAX);

This is what i have.

image description

I wander how I can draw it with other colors. I tried tried to replace for example background gray color with another color,but by just replacing I lost gabor effects.