Ask Your Question

salahuddin_12's profile - activity

2019-12-02 08:16:11 -0500 received badge  Popular Question (source)
2018-01-12 05:49:15 -0500 commented question Applying dense optical flow to image

I think i was unable to explain my question, but the link which you shared really helped. All i was asking how to write

2018-01-12 05:46:12 -0500 commented question Applying dense optical flow to image

I think i was unable to explain my question, but the link which you shared really helped. All i was how to write warp_fl

2018-01-12 05:27:42 -0500 commented question Applying dense optical flow to image

Isn't it possible when we have already calculated flow values by using both next and prev images?

2018-01-12 05:27:29 -0500 commented question Applying dense optical flow to image

Isn't it possible when we have already calculated flow valued by using both next and prev images?

2018-01-12 05:16:11 -0500 commented question Applying dense optical flow to image

What i'm trying to do is, I'm trying to regenerate next image from prev image. I thought that there might be some way to

2018-01-12 05:05:04 -0500 asked a question Applying dense optical flow to image

Applying dense optical flow to image I need help in applying dense optical flow to an image. This is how I'm generation

2016-10-19 06:44:05 -0500 asked a question Stitching two fisheye images

I have been trying to stitch two spherical (fish eye) images together by using opencv. I have tried there sample code: https://raw.githubusercontent.com/ope... but it haven't given me much success (It says that it don't have sufficient features). I want to know exact steps which are required here. Do i need to defish it first? Do i need to remove these black border. I want to create Stereographic or Equirectangular projection from them. Can someone please guide me how this can be done ?

image description image description

2016-10-19 06:38:56 -0500 commented question Estimating rotation Matrix. OpenCV

yes i think thats the only option i have with me right now. Thanks for replying.

2016-10-19 03:52:15 -0500 commented question Estimating rotation Matrix. OpenCV

Actually my cameras are fixed. Im using a 7 rig Gopro.

2016-10-18 06:43:13 -0500 asked a question Estimating rotation Matrix. OpenCV

I'm Quite new with OpenCv. What I'm trying to do is I'm trying to Stitch few images together using stitching_detailed.cpp. Problem which I'm facing is due to lack of feature it is dropping one image out. So for the dropped Image I have to manually calculate the camera angle.

Following are the camera Rotation Matrix:

cam1.jpg
[0.15191515, 0.032542922, 0.9878577;
-0.016061526, 0.99940717, -0.030453419;
-0.98826301, -0.011240158, 0.15234777]

cam3.jpg
[0.7509135, 0.0035269554, -0.66039109;
-0.021461653, 0.99958795, -0.019064991;
0.66005164, 0.028489247, 0.75067973]

cam4.jpg
[1, 4.1909516e-09, 0;
 7.9162419e-09, 1, 0;
 0, 3.7252903e-09, 0.99999994]

cam5.jpg
[0.75491911, 0.024605259, 0.65535617;
-0.01778595, 0.99969661, -0.017045438;
-0.65557659, 0.0012118071, 0.75512767]

As you can see Rotation Matrix for Cam 2 is missing. Can anyone help me in calculation Rotation matrix for Cam2

2016-08-26 08:50:44 -0500 commented question Assertion failure durring defishing in initUndistortRectifyMap

I will try to improve calibration. Thanks for helping me out

2016-08-26 08:46:02 -0500 commented question Assertion failure durring defishing in initUndistortRectifyMap

origional undistorted Can you check again

2016-08-26 08:35:58 -0500 commented question Assertion failure durring defishing in initUndistortRectifyMap

I was acceding my comment limit so i had to divide it in two. If you see I'm loosing some of the image in undistorted version. Any idea how to avoid it.

2016-08-26 08:34:45 -0500 commented question Assertion failure durring defishing in initUndistortRectifyMap
2016-08-26 08:34:16 -0500 commented question Assertion failure durring defishing in initUndistortRectifyMap
2016-08-26 07:59:40 -0500 commented question Assertion failure durring defishing in initUndistortRectifyMap

It worked like a charm. Can you write it as an answer so then i can mark it. One more thing. After applying the distortion I'm loosing some of the image (Is there a way to avoid that).

2016-08-26 07:39:49 -0500 commented question Assertion failure durring defishing in initUndistortRectifyMap

I used "opencv/samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp" script.

2016-08-26 07:36:41 -0500 commented question Assertion failure durring defishing in initUndistortRectifyMap

Following is the error which I'm getting

'error: (-215) K.size() == Size(3, 3) && (D.empty() || D.total() == 4) in function initUndistortRectifyMap'

2016-08-26 07:32:21 -0500 asked a question Assertion failure durring defishing in initUndistortRectifyMap

I'm trying to do fish an image by providing "camera_matrix" and "distortion_coefficients" to cv::fisheye::undistortImage. problem is I'm getting Assertion error. Reason is the distortion coefficients which i'm getting through camera calibration are 5x1

<distortion_coefficients type_id="opencv-matrix"> <rows>5</rows> <cols>1</cols> <dt>d</dt> <data> -2.0834245161331000e-01 5.8179563841609050e-02 0. 0. -8.0440183287724919e-03</data></distortion_coefficients>

but undistortImage method accepts 4X1 distortion matrix. Any idea whats the way around to this problem

2016-08-18 21:01:05 -0500 commented answer Defishing an fisheye image.

Thanks .. I will check it

2016-08-17 08:23:12 -0500 commented answer Defishing an fisheye image.

Thanks for the information. I will look into it. :)

2016-08-17 08:22:49 -0500 received badge  Scholar (source)
2016-08-17 08:22:48 -0500 received badge  Supporter (source)
2016-08-17 08:05:51 -0500 received badge  Editor (source)
2016-08-17 07:57:44 -0500 asked a question Can we use stitching_detailed.cpp to create 3D sphere

I'm trying to create a 3d sphere with by using opencv sample code "stitching_detailed.cpp". Pictures have been taken by 7 camera (5 in ring and 1 for top and 1 for bottom). Any idea which prams i can use to stitch top and bottom?

image description image description image description image description image description

Following are top and bottom.

image description image description

Here are result i achieved without bottom and top image.

image description

2016-08-17 05:49:56 -0500 asked a question Defishing an fisheye image.

I'm quite new to opencv so pardon me if I'm asking a question which is already been answered. I'm trying to find a way do defish an fisheye image (Taken from a gopro). Can someone guide me how i can achieve that, and are intrinsic matrices values required for this purpose? If they are required can i find them for gopro online or do i have to some how calculate them.

image description