Ask Your Question

Jamesac's profile - activity

2019-10-05 03:15:32 -0600 received badge  Famous Question (source)
2019-02-25 02:54:54 -0600 received badge  Notable Question (source)
2018-06-27 22:12:01 -0600 received badge  Popular Question (source)
2017-06-12 11:23:11 -0600 commented answer Comparison betweens resize/interpolation algorithms

Thank you for your help. I figure out that I wasn't using factor size as a parameter.

It is working now.

2017-06-12 11:22:10 -0600 received badge  Supporter (source)
2017-06-12 11:22:08 -0600 received badge  Scholar (source)
2017-06-12 11:22:06 -0600 commented answer How to implement a bilinear/bicubic interpolation algorithm on Opencv using CUDA?

Thank you so much for your answer. it was what I was looking for.

2017-05-22 12:58:53 -0600 commented answer Comparison betweens resize/interpolation algorithms

Thank you for the answer.

Done it already but no changes. Which flags do you mean?

2017-05-12 14:20:55 -0600 received badge  Student (source)
2017-05-12 14:11:02 -0600 asked a question Comparison betweens resize/interpolation algorithms

Hello, I'm trying to evaluate nearest, bilinear and bicubic interpolation algorithms from the resize function but all my images are exactly the same.

Can anyone help me?

Mat img; 
Mat img2;

img = imread("face2.png", IMREAD_UNCHANGED);

Size size(720,1080);

vector<int> com_param;
com_param.push_back(CV_IMWRITE_JPEG_QUALITY);
com_param.push_back(9);
cv::resize(img, img2, size, cv::INTER_NEAREST);
imwrite("nearest.jpg",img2,com_param);
cv::resize(img, img2, size, cv::INTER_NEAREST);
imwrite("bilinear.jpg",img2,com_param);
cv::resize(img, img2, size, cv::INTER_NEAREST);
imwrite("cubic.jpg",img2,com_param);
2017-05-12 13:56:49 -0600 answered a question How to implement a bilinear/bicubic interpolation algorithm on Opencv using CUDA?

Thank you, solved my problem now.

2017-03-28 13:27:03 -0600 asked a question How to implement a bilinear/bicubic interpolation algorithm on Opencv using CUDA?

Good evening. I just started using Opencv and I would like to use a bilinear/bicubic interpolation algorithm to enhance an image's resolution. I have read some articles about it but I still don't understand how the implementation will be using opencv and C++.

Could someone lend me a hand please?

The version of Opencv is 3.1.0 and I'm using eclipse mars as IDE.