Open sunank200 opened 6 years ago
➤ Ankit Chaurasia commented:
I'm on it
➤ 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?
➤ 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.
➤ Ankit Chaurasia commented:
Hey Rajat,
Can you once send me the image for the processing code?
➤ 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));
➤ Ankit Chaurasia commented:
basically in writing colMatrix
➤ 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.
➤ 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.
➤ Rajat Aggarwal commented:
Please add the following missing line:
mytform = fitgeotrans(dz, az, ‘projective’);
➤ Ankit Chaurasia commented:
sure
➤ 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=
➤ 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?
➤ Rajat Aggarwal commented:
Lets sit today and plan.
➤ Ankit Chaurasia commented:
Sure! Please let me know the time you want to do it.
Understand the complete workflow of the calibration code base and give a demo for sample input image data-set.
┆Attachments: dst.png | calibration.yml