Commit ed593b8c authored by Marc Modat's avatar Marc Modat

Minor error in the joint histogram initialisation - fixed

parent 61b673a8
......@@ -733,8 +733,8 @@ int main(int argc, char **argv)
/* the target and source are resampled between 0 and bin-1
* The images are then shifted by two which is the suport of the spline used
* by the parzen window filling of the joint histogram */
reg_intensityRescale(targetImage,2.0f,(float)param->binning-1.0f);
reg_intensityRescale(sourceImage,2.0f,(float)param->binning-1.0f);
reg_intensityRescale(targetImage,2.0f,(float)param->binning-3.0f);
reg_intensityRescale(sourceImage,2.0f,(float)param->binning-3.0f);
if(flag->backgroundIndexFlag){
int index[3];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment