Ask Your Question

tinahom's profile - activity

2021-07-01 04:13:31 -0600 received badge  Popular Question (source)
2018-10-21 05:34:48 -0600 edited question Conversion of Mat to 2d arrays in c++

Conversion of Mat to 2d arrays in c++ Hi, I have converted a Mat to 2d arrays in c++ using opencv. To be able to make

2018-10-21 05:32:56 -0600 commented question Conversion of Mat to 2d arrays in c++

@barek Sorry, my mistake. It works perfect! Thanks. I will just update the code.

2018-10-21 05:26:57 -0600 commented question Conversion of Mat to 2d arrays in c++

It gives me "e" value like: 2.98916e+29

2018-10-21 05:26:05 -0600 commented question Conversion of Mat to 2d arrays in c++

@berak src image is a RGB image so it has 3 channels. Just by converting it to double I will not get all pixel values in

2018-10-21 04:50:31 -0600 commented question Conversion of Mat to 2d arrays in c++

I tried cvtColor(src,dst,COLOR_BGR2GRAY); but the result is not what I expected. I thought this will make all pixel valu

2018-10-21 04:41:41 -0600 commented question Conversion of Mat to 2d arrays in c++

I tried cvtColor(src,dst,COLOR_BGR2GRAY); but the pixel values are not between 0 and 1.

2018-10-13 10:01:03 -0600 commented question filter2d vs conv2

:) Finally! It works. Thanks

2018-10-13 09:34:14 -0600 commented question filter2d vs conv2

I do not understand the problem with the boarder. Everywhere says BORDER_DEFAULT should work. If Not, do I need to use b

2018-10-13 08:57:04 -0600 commented question filter2d vs conv2

[-7.4505806e-09, -0.92799991, -0.95599997, -0.95600009, -0.92799979, -7.4505806e-09; -7.4505806e-09, -0.92799991, -0.95

2018-10-13 08:51:12 -0600 edited question filter2d vs conv2

filter2d vs conv2 The result I get from conversion of conv2 function in matlab is very different from the result I get i

2018-10-13 08:50:02 -0600 commented question filter2d vs conv2

I fliped the kernel. Now I do get better result. But in column 0 and 5 I still get e number.

2018-10-13 07:28:24 -0600 commented question filter2d vs conv2

I do not want to flip the kernel as it says in the link. I want the kernel to be applied horizontally.

2018-10-13 07:16:42 -0600 edited question filter2d vs conv2

filter2d vs conv2 The result I get from conversion of conv2 function in matlab is very different from the result I get i

2018-10-13 07:16:20 -0600 edited question filter2d vs conv2

filter2d vs conv2 The result I get from conversion of conv2 function in matlab is very different from the result I get i

2018-10-13 07:12:19 -0600 edited question filter2d vs conv2

filter2d vs conv2 The result I get from conversion of conv2 function in matlab is very different from the result I get i

2018-10-13 07:10:46 -0600 commented question filter2d vs conv2

@berak Yes, the matlab code is correct. I increased the size of the Mat to make it bigger than the kernel but I still do

2018-10-13 05:49:45 -0600 asked a question filter2d vs conv2

filter2d vs conv2 The result I get from conversion of conv2 function in matlab is very different from the result I get i

2018-10-10 13:32:25 -0600 commented question Conversion of Mat to 2d arrays in c++

@Berak you are right. How I have implemented it is not efficient at all. I will update the code.

2018-10-10 11:17:31 -0600 commented question Conversion of Mat to 2d arrays in c++

@sjhalayka Do you know any function in opencv for converting an RGB image to grayscale?

2018-10-10 11:16:45 -0600 answered a question Conversion of Mat to 2d arrays in c++

@sjhalayka Do you know any function in opencv for converting an RGB image to grayscale?

2018-10-10 11:11:44 -0600 commented question Conversion of Mat to 2d arrays in c++

@berak in the first and second for-loop I am trying to get the average of the rgb image channels. And then by dividing i

2018-10-07 10:07:57 -0600 commented question Conversion of Mat to 2d arrays in c++

@berak sorry, I should have posted the code earlier. Please let me know if you see any problem in my code.

2018-10-07 10:07:36 -0600 commented question Conversion of Mat to 2d arrays in c++

@berek sorry, I should have posted the code earlier. Please let me know if you see any problem in my code.

2018-10-07 09:45:54 -0600 received badge  Editor (source)
2018-10-07 09:45:54 -0600 edited question Conversion of Mat to 2d arrays in c++

Conversion of Mat to 2d arrays in c++ Hi, I have converted a Mat to 2d arrays in c++ using opencv. To be able to make

2018-10-07 07:09:42 -0600 asked a question Conversion of Mat to 2d arrays in c++

Conversion of Mat to 2d arrays in c++ Hi, I have converted a Mat to 2d arrays in c++ using opencv. To be able to make