MCPcopy Create free account
hub / github.com/Smorodov/Multitarget-tracker / WidthDist

Method WidthDist

src/Tracker/track.cpp:476–482  ·  view source on GitHub ↗

\brief CTrack::WidthDist \param reg \return

Source from the content-addressed store, hash-verified

474/// \return
475///
476track_t CTrack::WidthDist(const CRegion& reg) const
477{
478 if (m_lastRegion.m_rrect.size.width < reg.m_rrect.size.width)
479 return m_lastRegion.m_rrect.size.width / reg.m_rrect.size.width;
480 else
481 return reg.m_rrect.size.width / m_lastRegion.m_rrect.size.width;
482}
483
484///
485/// \brief CTrack::HeightDist

Callers 1

CreateDistaceMatrixMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected