stephlj / Traces

Analysis software for single-molecule fluorescence resonance energy transfer (smFRET) data.
MIT License
9 stars 1 forks source link

creating an overlaid image #7

Open stephlj opened 10 years ago

stephlj commented 10 years ago

No matter how good the mapping between channels is, using Matlab's built in imwarp and related functions to create a combined image (of one channel transformed to the other channel's coordinates and summed with the other) fails miserably. Need to first check if imwarp etc can actually handle polynomial transformations. See CalcCombinedImage.m. I don't need this, at least not right now, but many people expect this functionality.

stephlj commented 8 years ago

Oh--it looks like (http://www.mathworks.com/help/images/ref/imwarp.html?refresh=true#bu0klge-2) imwarp does not accept polynomial, only affine ... So what is it doing when I hand it a polynomial tform? It's not outputting the same image as with an affine transformation.