Search Window and Cost
The search window is considered as an image and, to perform F*
algorithm, we must define a cost for each pixel of the search window.
The probability for the pixel to be on a linear feature induces its cost
value. We have to consider the maximum of characteristics of linear features
to define this cost.
The cost value will be a weighted mean of all the expressions corresponding to all the characteristics.
The only point of the searched linear feature that we know at the beginning is the starting point. So, we initialize the radiometry mean of the element that we search, with the radiometry of the starting point and recalculate it after each iteration with all the pixels which are on the resulting path. A good expression for the pixel cost can be the absolute value of the difference between the radiometry mean and the pixel radiometry. SPOT P and XS3 are the best bands for this characteristic computation as linear features are homogeneous and there is a contrast with environment.