Tool/software:
Hi,
I'm tying to apply a rotation of an image without distortion, as explained in this thread:
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1324990/tda4vh-q1-ldc-affine-rotate?tisearch=e2e-sitesearch&keymatch=LDC%20matrix%20rotation
The explanation is clear to me. However, the DCC Tool is asking me for a LUT to execute the plugin. Is there any way to avoid to add the LUT? As I could not achieve that, I decided to include a LUT table without distortion generated usign the octave code below. The mesh grid has the same dimension as the image (1936x1552).
function no_distortion()
m = 4; # Table subsampling factor
# LUT table dimension
width = 1936;
height = 1552;
[u,v] = meshgrid(0:width,0:height);
u_dist_m = u(1:m^2:end, 1:m^2:end)';
v_dist_m = v(1:m^2:end, 1:m^2:end)';
dlmwrite('no_distortion.txt', [u_dist_m(:), v_dist_m(:)], 'delimiter', ' ');
endfunction
When trying to generate the output (even without rotation), the output image seems to be laterally shrinked in the right and down side of the image. I would expect the image not to be shrinked. Could you provide some hint about why that happens? I'm usind DCC Tool version 3.1. Thanks
This is the original image:

And the image after executing the plugin:
