Thanks for explanation, Mark.
On Thu, 27 Oct 2005, Mark Jenkinson wrote:
> Hi Martin,
>
> The cost function class calculates the bin index values
> off-line and stores them in an array. The function
I am really courious about the histogram calculation, so could you please
point me to the "off-line" place (file).
:)
Thanks a lot.
Martin
> get_bindexptr just returns a pointer to the required
> element of this array (which is incremented across that
> line of the image with a simple ++).
>
> This is all done to make the code run more efficiently
> and avoid recalculating the bin index value for the
> reference image every time you want the cost function value.
>
> All the best,
> Mark
|