I need to convert Projected image to original image(before projection) Projected image is IPM(Inverse Perspective Mapping) image , and I wrote code, and it works, but too expensive.... This is the code that I wrote
function [img] = IPM2im(IPM, lin_ind_img, sizeImg)
for j=1:size(lin_ind_img, 2)
if IPM(i,j) ~= 1
[r,c]=ind2sub([sizeCol sizeRow], lin_ind_img(i,j));
can I make it faster??