You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In PBAS.cpp for the three channel image, we compute dist like sqrt(a^2+b^2+c^2),but for the one channel image shouldn't we just compute distance like abs(a)dist = abs(((double)B_Col_Pts.at(0).at(index)[i] - ((double)*currentFeaturesC_Pt.at(0))) not dist = abs((((double)B_Col_Pts.at(0).at(index)[i] - ((double)*currentFeaturesC_Pt.at(0)))*((double)B_Col_Pts.at(0).at(index)[i] - ((double)*currentFeaturesC_Pt.at(0)))) which means abs(a*a), a is short for the ((double)B_Col_Pts.at(0).at(index)[i] - ((double)*currentFeaturesC_Pt.at(0)) distance
The text was updated successfully, but these errors were encountered:
bgslibrary/package_bgs/PBAS/PBAS.cpp
Line 213 in 1d9d7ca
In PBAS.cpp for the three channel image, we compute dist like sqrt(a^2+b^2+c^2),but for the one channel image shouldn't we just compute distance like abs(a)
dist = abs(((double)B_Col_Pts.at(0).at(index)[i] - ((double)*currentFeaturesC_Pt.at(0)))
notdist = abs((((double)B_Col_Pts.at(0).at(index)[i] - ((double)*currentFeaturesC_Pt.at(0)))*((double)B_Col_Pts.at(0).at(index)[i] - ((double)*currentFeaturesC_Pt.at(0))))
which means abs(a*a), a is short for the((double)B_Col_Pts.at(0).at(index)[i] - ((double)*currentFeaturesC_Pt.at(0))
distanceThe text was updated successfully, but these errors were encountered: