Home
last modified time | relevance | path

Searched refs:m_nr_bins (Results 1 – 2 of 2) sorted by relevance

/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
Ddbreg.cpp29 …m_initialized(false),m_nr_matches(0),m_over_allocation(256),m_nr_bins(20),m_max_cost_pix(30), m_qu… in db_FrameToReferenceRegistration()
238 m_cost_histogram = new int [m_nr_bins]; in Init()
634 for ( int b = 0; b < m_nr_bins; ++b ) in ComputeCostHistogram()
640 int bin = (int)(error/m_max_cost_pix*m_nr_bins); in ComputeCostHistogram()
641 if ( bin < m_nr_bins ) in ComputeCostHistogram()
644 m_cost_histogram[m_nr_bins-1]++; in ComputeCostHistogram()
659 for (; i < m_nr_bins-1; ++i ) in SetOutlierThreshold()
670 for (; i < m_nr_bins-1; ++i ) in SetOutlierThreshold()
679 m_outlier_t2 = db_sqr(i*m_max_cost_pix/m_nr_bins); in SetOutlierThreshold()
Ddbreg.h397 int m_nr_bins; variable