2020-12-21 06:26:58 -0600 | received badge | ● Notable Question (source) |
2018-10-18 08:42:13 -0600 | received badge | ● Notable Question (source) |
2017-06-20 04:12:12 -0600 | received badge | ● Popular Question (source) |
2017-01-17 22:41:35 -0600 | received badge | ● Popular Question (source) |
2015-05-26 00:29:39 -0600 | asked a question | The problem about the global variable of vector<cv::Mat> and temporary cv::Mat variable As above, I create the temporary variable Mat map_x map_y in Function MapInit(),to my surprise, when I pushback the different map_x map_y into vector<mat> mapx,mapy in order,the element of vector<mat> are the same as the latest modified map_x map_y. Similarly, I write a section of code as following,the elements in the vector result are different,which is contradicted against the above example. I am so confused about that. |
2015-02-26 01:09:51 -0600 | asked a question | The perplexity about the formula derivation of camera calibration on the source code and tutorial documents the interpretation of initundistortRectify map in OpenCv tutorial the sourcecode in undistort.cpp Something puzzle me between source code and tutorial 1.[u,v] in the tutorial is the point in the undistort image coordinates,but in source code is the point in the distort image. 2.the radial distort happens in converting the world coordinate to the camera coordinate or the camera coordinate to the image coordinate.In the source code [_x,_y,_w] is the world coordinate, which is nomalized into [x,y] as camera coordinate,that is true? 3.The R (rotation matrix) is assumed as identity,why? |
2014-08-29 23:24:13 -0600 | asked a question | how to show gpumat in window with glut lib Because I want to use some mouse scrollwheel function in my projects,so I want to know how to use gpumat in window created by glutCreateWindow Function and hope somebody can help me. |
2014-08-23 09:57:08 -0600 | commented question | How to display gpumat with QT window Thanks,I have known it |
2014-08-23 09:19:30 -0600 | asked a question | How to display gpumat with QT window I have cmake opencv with qt,cuda,and opengl.So I can display mat in a Qt-style window,and I can resize,drag and save picture in the GUI.But when I create a window with CV_WINDOWN_OPENGL to show GpuMat, I can only have a window without extended gui.Finally,I want to ask how to display gpumat in a qt-style window,and hope somebody can help me . |
2014-04-19 03:05:40 -0600 | answered a question | The problem about cmake + cuda5.5 + opencv2.4.7 or higher hope someone can help me |
2014-04-18 11:39:52 -0600 | asked a question | The problem about cmake + cuda5.5 + opencv2.4.7 or higher My complier is vs2010.Several month ago,I make it successfully in the same computer.But today I want to make a new opencvlib,it always report error" 6>CMake Error at cuda_compile_generated_matrix_operations.cu.obj.cmake:264 (message): 6> Error generating file 6> D:/opencv249/modules/core/CMakeFiles/cuda_compile.dir/__/dynamicuda/src/cuda/Debug/cuda_compile_generated_matrix_operations.cu.obj" firstly, and then report
|
2014-03-31 22:33:05 -0600 | asked a question | The problem about read 1080p Hd video My program requires cpureader in opencv to read 4 1080p(avi) video,it works well in any pc or labtop,but I try to run it in the Graphics workstation in my lab,the error shows "mpeg4@ 0735d060 cannot allocate memory",but When I use GpuReader in opencv or use cpureader to capture 720p ,it works well.I have install ffdshow and xvid in graphic workstation(serve2008 or win7 x64 both failed).I cannot figure out that and hope sb can help me. |
2014-03-31 07:01:38 -0600 | asked a question | The problem about tbb and Vector<Mat. I want to compare the results between openmp and tbb in the opencv code(as above),but in the section of tbb,the result image is the same as the origin img,it is not working.I don't use cv::ParallelLoopBody,because I think there is no difference between them . I am new to tbb and hope some point out error about tbb |
2014-03-28 02:22:19 -0600 | asked a question | The problem about Using "cudamemcpy" to copy IplImage image to GpuMat the result is right. the result is wrong I think there is not difference between them; |
2014-03-18 09:57:38 -0600 | commented answer | The function "setTo"about gpumat THanks! if GpuMat A ,GpuMat B , int k, A = B > k GpuMat can't support operator.How to do it,can you share you idea? |
2014-03-18 04:41:18 -0600 | answered a question | a wierd result of a project with GpuMat and cuda thumb!!!!!! |
2014-03-17 14:34:13 -0600 | commented question | a wierd result of a project with GpuMat and cuda I am new to the GpuMat struct and PtrStep,hope you can figure out my fault. |
2014-03-17 14:23:59 -0600 | commented question | a wierd result of a project with GpuMat and cuda I edit my post and pic ^_^ |
2014-03-17 14:05:25 -0600 | asked a question | a wierd result of a project with GpuMat and cuda The code like following
According to code,the final_mask should be the same as origin_mask.The pic should be cut according to the mask.But result is disappointed,So I hope somebody can point out error of my code.Thanks! |
2014-03-16 02:16:11 -0600 | asked a question | The function "setTo"about gpumat I define GpuMat Img,Mask, and use" Img.setTo(Scalar::all(0),Mask == 0)",but Vs2010 can't complie and report error. |
2014-03-15 11:28:36 -0600 | asked a question | GPU API call (unknown error) in unknown function in gpumat.hpp when I use upload or create a Gpumat varaiable , the program stop at gpumat.hpp line 1415(cudaSafeCall( cudaMallocPitch(devPtr, step, width, height).But I have create several GpuMat variables and works well before error varaibles. |
2014-02-08 06:27:43 -0600 | asked a question | The question about Homography matrix I get H findHomography =(left_points,right_point); so I modify H by H.at<double>(0,2) += X_translation;//to show all of leftimage in the result andthen warpPerwarpPerspective(left,result,H) finally I copy rightImage to half(reust,Rect(X_translation,0,cols,rows)); To my surprise,the stich image looks bad,it is not accurate. .I can't figure out that and hope somebody can help me! |
2014-01-22 02:04:26 -0600 | asked a question | The detail thing in the opencv stitch module I get K(intrinsic matrix),R(rotation matrix) by bundleadjuster,so I can calculate Homography matrix by "H = K(R|T)".For example,I want to stitch 4 pics ,and calculate four homography matrix (H1,H2,H3,H4)corresponding to pic(P1,P2,P3,P4).Finally I want to use Homograph matrix to map 4 pic to the final panorama instead of warper(K,R) in the opencv stitch module.But I tried to realize my idea this afternoon and failed.Someone knows that my ideas make sense ? Thank you for your reply! |
2014-01-21 08:28:49 -0600 | commented answer | A question about relation of (K R T H) I choose pairwise points manually instead of surf features.My purpose is that using Homography matrix to map the pics on the final pano instead of warp the image by K and R.And I have get a good final panorama by stitch moudle order.So I want to know ,is the idea"use homograph matrix to map pic insteadof stitch module" right? |
2014-01-21 05:53:52 -0600 | commented answer | A question about relation of (K R T H) Thanks,Bro! I got Homography matrix like above.But I use the K,R refined Bundleadjuster in opencv stitch module to calculate Homography matrix.For example, I have four pic(P1,P2,P3,P4) to stitch a panorama,so I will calculate four H(H1,H2,H3,H4)correspoding to(P1 to P4),finally I try to use function warpPespective(H)to map Pic to the final pano instead of function remap(K,R)(opencvStitchmodule use remap to map pics to final pano).I tried to realize that idea this afternoon and failed.So I want to know ,is my idea right? |
2014-01-21 03:04:03 -0600 | received badge | ● Teacher (source) |
2014-01-21 02:10:08 -0600 | received badge | ● Student (source) |
2014-01-20 11:55:01 -0600 | asked a question | A question about relation of (K R T H) H is homography matrix. R(r1,r2,r3)is a rotation matrix ,t is a translation matrix , k is a intrinsic matrix.I want to get H by R K T,so I use the equation (H = K(R|T).But I want to get the Homography matrix between two 2D images,and I only use r1 r2 just like H = K(r1,r2,T).Is that right?? Thank you for your reply!! |
2014-01-07 22:27:59 -0600 | marked best answer | The relationship between Homography matrix and scaling images I have compute the Homography matrix H1 between two images,after that I just use function "resize(orign_image,img,Size(),workscale,worscale)".finally I want to get a H'to apply to the img which has been resized,but the H1 or H'(H1 *workscale)cann't work.So I hope someone can help me get correct H' that can be applied to resized imgs.^_^ |
2014-01-07 22:27:55 -0600 | received badge | ● Scholar (source) |
2014-01-07 22:25:55 -0600 | commented answer | The relationship between Homography matrix and scaling images Thanks Bro!! your answer is correct,I have solved it^_^ |