I have a series of 2D images which i have fitted a 6th degree polynomial into:
I want to transform every 2D image into a line with respect to the polynomial and stack the lines so i get a 2D image (basically the job is to transform 3D CBCT-scan to 2D OPG image). I have tried just picking the pixels on the polynomial but that lead to a stretching image like this:
how can i transform image pixels on the polynomial right?