Ask Your Question

Hyon Lim's profile - activity

2019-05-25 19:14:44 -0600 received badge  Famous Question (source)
2017-12-16 12:05:24 -0600 received badge  Notable Question (source)
2017-04-10 08:32:38 -0600 received badge  Popular Question (source)
2015-09-26 13:44:14 -0600 received badge  Taxonomist
2013-08-05 08:06:48 -0600 asked a question Save OpenNI depth image as BMP

Hi. I'm using OpenCV to capture RGB-D image with OpenNI. I can capture a depth image, however, I couldn't save it as bmp. I know it can be saved as 16-bit PNG. However, the computer I'm using is not so powerful one (embedded computer) for robot. I've tried to save depth as 16-bit PNG image, however, it is so slow. I also tuned the compression ration as lowest, it is still slow.

So I tested BMP for comparison, it was fast. I think I can save it as 16-bit BMP, however, when I save using imwrite, it just save 8-bit greyscale bmp. Does anyone know how to do that?

2012-11-08 11:08:13 -0600 asked a question cv::Mat divide by last row.

Hi. How can I write a OpenCV code for following.

if there is a 3xN vector, divide all elements by last row.

2012-11-05 11:16:45 -0600 asked a question opencv reshape like matlab

Hi. Let assume that there is a vector.

cv::Mat v(9,1,CV_64F);

I would like to change this to 3x3 matrix (any order is okay). But, v.reshape() does not help anything!

I think documentation should note about reshaping (not the channel reshaping)

2012-09-07 00:53:18 -0600 asked a question Extract specified row from cv::Mat

Hi. I'm looking for good expression equivalent to the following MATLAB matrix manipulation.

p=[1 4 2 3 5 11 7 13 6 12 8 14 17 9 15 18 10 16 19 20] ;%rearrange the columns of A A=A(:,p);

It is really painful when do above job manually. Any idea?

2012-09-05 04:51:51 -0600 asked a question Segmentation fault when I open window with OpenGL

cv::namedWindow(windowName, cv::WINDOW_OPENGL);

Above code gives segmentation fault on my Linux (Ubuntu 11.10) 64bit machine. I've compiled OpenCV with WITH_OPENGL option.

2012-09-04 02:55:14 -0600 asked a question How do I update OpenCV for ROS?

How do I update OpenCV for ROS? I have read that The ROS Electric currently using 2.3. But I would like to try latest version.

2012-07-22 03:18:21 -0600 received badge  Student (source)
2012-07-16 02:08:02 -0600 received badge  Popular Question (source)
2012-07-14 03:24:10 -0600 asked a question Windows install tutorial page has some error?

Hi. I'm following tutorial page for windows, however, all repository URL are wrong. In the video tutorial (I don't know who made this. Probably not from official opencv developer), the repository is shown as https://code.ros.org/svn/opencv/trunk. However, it needs id and password to checkout.

And even written manual, both URL below are not working.

http://code.opencv.org/svn/opencv/tags/2.4.2 http://code.opencv.org/svn/opencv/trunk

What...?