2021-01-18 19:03:30 -0600 | received badge | ● Famous Question (source) |
2020-10-27 16:15:59 -0600 | received badge | ● Popular Question (source) |
2019-11-22 09:34:28 -0600 | received badge | ● Notable Question (source) |
2019-08-15 16:11:17 -0600 | received badge | ● Popular Question (source) |
2018-03-08 10:51:53 -0600 | asked a question | H264 byte array to cv::Mat image in cpp H264 byte array to cv::Mat image in cpp Hi, I'm trying to get frames from Parrot Bebop2 video stream. I can get H264 byt |
2017-09-11 02:19:18 -0600 | marked best answer | Writing cv::Mat data is failed Hi, I'm trying to read and write the data array of a cv::Mat only as a binary file. I saved the array like below. Then I read it like below. It's fine when I check the result like this. The last value of the "data" array and the red value of the last pixel of the cv::Mat image was the same. (ex, 37[41, 32, 37]) However, after I write the cv::Mat image again, the some pixel values are...destoyed like below. (ex, [127, 0, 0]) The most of the pixels are OK but usually some of the last pixels are destroyed. Did I something wrong? Also, I read the binary file and save it as a image file using python cv2, that was OK. What should I do in C++? |
2017-09-10 10:12:58 -0600 | commented question | Writing cv::Mat data is failed Oh, thank you all for your answering. I tested my code on another ubuntu server, it works well. |
2017-09-09 06:45:15 -0600 | commented question | Writing cv::Mat data is failed Is there any way to read the data written already? I think it is not the problem of the written data because it has no p |
2017-09-09 06:17:16 -0600 | edited question | Writing cv::Mat data is failed Writing cv::Mat data is failed Hi, I'm trying to read and write the data array of a cv::Mat only as a binary file. I sav |
2017-09-09 06:17:02 -0600 | commented question | Writing cv::Mat data is failed Alright, another typo again, sorry. |
2017-09-09 05:01:54 -0600 | commented question | Writing cv::Mat data is failed I called cvtcolor (rgba to rgb) first before writing the binary file. Will it be a problem? |
2017-09-09 04:58:03 -0600 | commented question | Writing cv::Mat data is failed I called cvtcolor (rgba to rgb) first before writing. Will it be a problem? |
2017-09-09 03:57:30 -0600 | commented question | Writing cv::Mat data is failed Oh, it was a typo, sorry. I did it using fwrite. |
2017-09-09 03:57:13 -0600 | commented question | Writing cv::Mat data is failed @StevenPuttemans Oh, it was a typo, sorry. I did it using fwrite. |
2017-09-09 03:53:51 -0600 | edited question | Writing cv::Mat data is failed Writing cv::Mat data is failed Hi, I'm trying to read and write the data array of a cv::Mat only as a binary file. I sav |
2017-09-09 03:53:41 -0600 | commented question | Writing cv::Mat data is failed Oh, it was a typo, sorry. I did it using fwrite. |
2017-09-09 03:25:29 -0600 | edited question | Writing cv::Mat data is failed Writing cv::Mat data is failed Hi, I'm trying to read and write the data array of a cv::Mat only as a binary file. I sav |
2017-09-09 03:24:25 -0600 | asked a question | Writing cv::Mat data is failed Writing cv::Mat data is failed Hi, I'm trying to read and write the data array of a cv::Mat only as a binary file. I sav |
2017-06-06 16:48:15 -0600 | asked a question | Corrupt JPEG data error when using yuyv webcam Hi, I'm using yuyv format webcams. Here is my code. It seems to works well with imshow GUI but the terminal says that Shall I just ignore these messages or should I fix something? Also, I installed OpenCv 3.2 on NVIDIA Jetson TX1 with |
2017-05-22 03:48:18 -0600 | commented question | initUndistortRectifyMap method throws segmentation fault Damn, I't works so well without ROS Indigo...thank you for your help. I think I need to find some way to use OpenCV 3 with ROS Indigo. |
2017-05-22 02:08:09 -0600 | commented question | initUndistortRectifyMap method throws segmentation fault I built it using CMakeLists.txt file on Ubuntu 14. The file is added on the post. |
2017-05-22 01:41:40 -0600 | received badge | ● Editor (source) |
2017-05-22 01:39:50 -0600 | commented question | initUndistortRectifyMap method throws segmentation fault cout << "1" << endl; initUndistortRectifyMap(left_K, left_D, left_R, left_P, rectified_image_size, CV_32FC1, cam1map1, cam1map2); cout << "2" << endl; initUndistortRectifyMap(right_K, right_D, right_R, right_P, rectified_image_size, CV_32FC1, cam2map1, cam2map2); cout << "3" << endl; than the result is: 1 Segmentation fault (core dump) |
2017-05-22 01:21:18 -0600 | asked a question | initUndistortRectifyMap method throws segmentation fault Hi, I'm using OpenCV 3.2. In Ubuntu 16 and ROS Kinetic, initUndistortRectifyMap method works well. However in Ubuntu 14 and ROS Indigo, initUndistortRectifyMap method throws segmentation fault. How can I solve this problem. Here my source code. The result is: The CMakeLists.txt file is here |
2017-05-22 01:19:01 -0600 | received badge | ● Enthusiast |
2017-05-18 03:50:24 -0600 | asked a question | Does imwirte function write an image in RGB order? Hi, I'm studying openCV and I have a simple question. I read a RGB image and I notice that openCV store it as a Mat in BGR oder. I wanna know whether the image file is in RGB order or BGR order, if I save the mat as a png file using imwrite. |
2017-04-20 19:14:13 -0600 | commented answer | How can I register a keyboard event handier for opencv viz I testes it but it didn't work for arrow keys. Of course I don't need to use arrow keys but is there any way to use arrow keys? |
2017-04-20 19:11:54 -0600 | commented answer | How can I register a keyboard event handier for opencv viz Thank you so much. |
2017-04-20 04:09:43 -0600 | received badge | ● Student (source) |
2017-04-20 02:52:14 -0600 | asked a question | How can I register a keyboard event handier for opencv viz Hi, I'm using opencv viz library to visualize 3D point clouds. I want to move the camera when I press an arrow key, but I can't find any example for it. Please help me. |
2017-03-28 03:43:41 -0600 | commented answer | How can I get index of the gratest element in a Mat Should I reshape a 2D Mat into a 1D Mat to use this solution? |
2017-03-28 03:33:25 -0600 | marked best answer | How can I get index of the gratest element in a Mat I know that opencv has sort method, but I want to get something like argmax method. How can I get indices of the gratest element, and second, an third, and so on, from a 2D Mat? |
2017-03-28 03:32:13 -0600 | marked best answer | Is there an easy way to get indices of zeros (value is zero)? Hi, I'm using findEssentialMat method and trying to use the "mask" it gives. I know that there is a way to get non-zero elements' indices, but how can I get indices of elements that have zero as their values? |