sunank200 / asana_github_test

0 stars 0 forks source link

DEMO - Given the ‘tiff’ images, generate a Left-Right panorama. #5

Open sunank200 opened 6 years ago

sunank200 commented 6 years ago

Understand the complete workflow of the calibration code base and give a demo for sample input image data-set.

┆Attachments: dst.png | calibration.yml

sunank200 commented 6 years ago

➤ Ankit Chaurasia commented:

I'm on it

sunank200 commented 6 years ago

➤ Ankit Chaurasia commented:

Hey Rajat, In inPaint_fast function line no 29, its throwing an error saying Index exceeds matrix dimensions.

Error in inpaint_fast (line 29) dd(1011, 638, 🙂

Error in generateRemapValuesUsingInpaintNans (line 3) [springs, nan_list, known_list, mapArray, panoheight, panowidth] = inpaint_fast(panorama, heightInit, widthInit, inpaintType);

Could you once explain me the purpose of dd matrix?

sunank200 commented 6 years ago

➤ Ankit Chaurasia commented:

rajat in main function in line no 66: 'filename' is a parameter being passed to dewarpUsingInpaintNans(filename, PanoramaMap_Inpaint)

But filename is not defined anywhere.

sunank200 commented 6 years ago

➤ Ankit Chaurasia commented:

Hey Rajat,

Can you once send me the image for the processing code?

sunank200 commented 6 years ago

➤ Ankit Chaurasia commented:

After replacing panaroma with PanoramaMap_Inpaint, the yml writing code block is throwing error. We are trying to access the matrix beyond its index. Index exceeds matrix dimensions.

Error in main (line 116) fprintf(fd, ' %d,', finalImg(i,j,2));

Index exceeds matrix dimensions.

Error in main (line 116) fprintf(fd, ' %d,', finalImg(i,j,2));

sunank200 commented 6 years ago

➤ Ankit Chaurasia commented:

basically in writing colMatrix

sunank200 commented 6 years ago

➤ Ankit Chaurasia commented:

Hi Rajat, I am able to generate the yml completely by nearest neighbour function. its running fine and i have attached the final panorama in the files. Please do check it and let me know.

sunank200 commented 6 years ago

➤ Ankit Chaurasia commented:

Hey Rajat,

Please let me know after sharing the code for creating the .mat file in main function in re-calibrate step. Also, alignViews()in line 74 in main.m should have third parameter as totalRot.

Please correct me if I am wrong.

sunank200 commented 6 years ago

➤ Rajat Aggarwal commented:

Please add the following missing line:

mytform = fitgeotrans(dz, az, ‘projective’);

sunank200 commented 6 years ago

➤ Ankit Chaurasia commented:

sure

sunank200 commented 6 years ago

➤ Ankit Chaurasia commented:

Also could you once explain In-paints over nans in an array using a spring metaphor https://www.mathworks.com/matlabcentral/mlc-downloads/downloads/submissions/10902/versions/11/previews/pivmat/private/inpaint_nans.m/index.html?access_key=

sunank200 commented 6 years ago

➤ Ankit Chaurasia commented:

I have added the workflow for the re-calibration step and further. Please do review it and let me know when we can discuss it?

sunank200 commented 6 years ago

➤ Rajat Aggarwal commented:

Lets sit today and plan.

sunank200 commented 6 years ago

➤ Ankit Chaurasia commented:

Sure! Please let me know the time you want to do it.