Hello fellows, (my 2nd post here)
I have been experimenting with communicating TrakEM2 and Distortion Correction (Kaynig et al., 2010) plugin in Fiji for using the calculated non-linear transform of the lens correction in the second one. I have a feeling that the first plugin is more dynamic and arrives at a better approximation of the lens distortion. My objective is to run the correction in a much larger tile collection (500 tiles or High-resolution tiles) than the calibration tileset (3x3 with 50% overlap) before reimportation to TrakEM2 for the final montaging.
I have written a MatLab code to write a file called ‘distCorr.txt’ equal to the formatted text saved at the Distortion Correction ‘Save’ input menu (link attached).
link.m (2.5 KB)
However, the file is not recognized properly by Distortion Correction and either saves the images as zero matrices (empty images) or the Log windows shows:
Could a TrakEM2 user point in the right direction? I will be grateful. Have a nice day.