FineRegistration resampled image before run is shifted
Mantis Issue 47, reported by jinglada, assigned to jmichel, created: 2008-12-09
Before running the registration, the resampled image should be identical to the moving one. However, these to images are horizontally shifted, one with respect to the other.
1229589704 - julienAt first I did not notice but looking carefully there is a slight shift between the two images (not more than one or two pixels).
1229592900 - julienThe bug seems to be located in the visualisation classes. When writing the color composition to the disk, there is no offset.
1229597125 - julienThe offset came from additionnal channel extraction in the view to handle the color composition modes. There were not necessary, since we can use the channel indices instead. Removing the extractor fixed the problem.
More information on the fix: http://hg.orfeo-toolbox.org/OTB-Applications/rev/6b9c26eaf4a2
1229650135 - christopDoes that mean that there is a bug in the channel extractor?
1231947656 - julienfixed.