Wrong computation of SFS Textures
Mantis Issue 955, reported by gpasero, assigned to gpasero, created: 2014-08-12
In file otbSFSTexturesFunctor.h The computation of the angle is wrong (m_Alpha parameter shouldn't be used for this).
In addition, the distance is computed with the centre, which seems strange to estimate length and width.
1407925272 - gpaseroI have uploaded a patch, following the proposed solution :
- angles computed between 0 and PI.
- for each angle, two sides are explored.
- the distance is computed between the two sides.
Someone can review it to double check.
1408983812 - gpaseroPatched pushed here : http://hg.orfeo-toolbox.org/OTB/rev/da953ee7f565
Test baselines updated.
1429262580 - julienClosing resolved bugs.