pyimreg / python-register

Linear and non-linear image registration methods, using scipy and numpy.
Other
62 stars 34 forks source link

Masked cost functions #18

Open nfaggian opened 13 years ago

nfaggian commented 13 years ago

We need to add masking to the registration process, minimizing:

e = | M(W(I;p)) - M(T) |

where M is a masking function defined in the template space...

riaanvddool commented 13 years ago

Sounds good.

riaanvddool commented 13 years ago

I like this idea because we can generate a mask based on the features. So cost function only measures cost around points of interest instead of the whole image.

riaanvddool commented 12 years ago

Should work well with proposed SSIM metric as well, with SSIM being calculated for masked areas only.