Lines Matching refs:imsize

119                                Size& imsize, std::vector<double>& uniranges )  in histPrepareImages()  argument
124 imsize = images[0].size(); in histPrepareImages()
149 CV_Assert( images[j].size() == imsize && images[j].depth() == depth ); in histPrepareImages()
154 deltas[i*2+1] = (int)(images[j].step/esz1 - imsize.width*deltas[i*2]); in histPrepareImages()
159 CV_Assert( mask.size() == imsize && mask.channels() == 1 ); in histPrepareImages()
169 imsize.width *= imsize.height; in histPrepareImages()
170 imsize.height = 1; in histPrepareImages()
368 Size imsize, Mat& hist, const double* uniranges, int _dims, in calcHist3D_Invoker() argument
372 imageWidth_(imsize.width), in calcHist3D_Invoker()
456 Size imsize, Mat& hist, int dims, const std::vector<size_t>& tab, in CalcHist1D_8uInvoker() argument
460 imageWidth_(imsize.width), in CalcHist1D_8uInvoker()
461 imageSize_(imsize), in CalcHist1D_8uInvoker()
577 Size imsize, Mat& hist, int dims, const std::vector<size_t>& _tab, in CalcHist2D_8uInvoker() argument
581 imageWidth_(imsize.width), in CalcHist2D_8uInvoker()
662 Size imsize, Mat& hist, int dims, const std::vector<size_t>& tab ) in CalcHist3D_8uInvoker() argument
666 imageWidth_(imsize.width), in CalcHist3D_8uInvoker()
731 Size imsize, Mat& hist, int dims, std::vector<size_t>& _tab ) in callCalcHist2D_8u() argument
733 int grainSize = imsize.height / tbb::task_scheduler_init::default_num_threads(); in callCalcHist2D_8u()
736 CalcHist2D_8uInvoker body(_ptrs, _deltas, imsize, hist, dims, _tab, &histogramWriteLock); in callCalcHist2D_8u()
737 parallel_for(BlockedRange(0, imsize.height, grainSize), body); in callCalcHist2D_8u()
742 Size imsize, Mat& hist, int dims, std::vector<size_t>& _tab ) in callCalcHist3D_8u() argument
744 CalcHist3D_8uInvoker body(_ptrs, _deltas, imsize, hist, dims, _tab); in callCalcHist3D_8u()
745 parallel_for(BlockedRange(0, imsize.height), body); in callCalcHist3D_8u()
751 Size imsize, Mat& hist, int dims, const float** _ranges, in calcHist_() argument
776 calcHist1D_Invoker<T> body(_ptrs, _deltas, hist, _uniranges, size[0], dims, imsize); in calcHist_()
777 parallel_for(BlockedRange(0, imsize.height), body); in calcHist_()
783 for( ; imsize.height--; p0 += step0, mask += mstep ) in calcHist_()
786 for( x = 0; x < imsize.width; x++, p0 += d0 ) in calcHist_()
793 for( x = 0; x < imsize.width; x++, p0 += d0 ) in calcHist_()
807 calcHist2D_Invoker<T> body(_ptrs, _deltas, hist, _uniranges, size, dims, imsize, hstep); in calcHist_()
808 parallel_for(BlockedRange(0, imsize.height), body); in calcHist_()
818 for( ; imsize.height--; p0 += step0, p1 += step1, mask += mstep ) in calcHist_()
821 for( x = 0; x < imsize.width; x++, p0 += d0, p1 += d1 ) in calcHist_()
829 for( x = 0; x < imsize.width; x++, p0 += d0, p1 += d1 ) in calcHist_()
844 if( calcHist3D_Invoker<T>::isFit(hist, imsize) ) in calcHist_()
846 … calcHist3D_Invoker<T> body(_ptrs, _deltas, imsize, hist, uniranges, dims, hstep, size); in calcHist_()
847 parallel_for(BlockedRange(0, imsize.height), body); in calcHist_()
863 for( ; imsize.height--; p0 += step0, p1 += step1, p2 += step2, mask += mstep ) in calcHist_()
866 for( x = 0; x < imsize.width; x++, p0 += d0, p1 += d1, p2 += d2 ) in calcHist_()
877 for( x = 0; x < imsize.width; x++, p0 += d0, p1 += d1, p2 += d2 ) in calcHist_()
892 for( ; imsize.height--; mask += mstep ) in calcHist_()
895 for( x = 0; x < imsize.width; x++ ) in calcHist_()
914 for( x = 0; x < imsize.width; x++ ) in calcHist_()
946 for( ; imsize.height--; mask += mstep ) in calcHist_()
948 for( x = 0; x < imsize.width; x++ ) in calcHist_()
986 Size imsize, Mat& hist, int dims, const float** _ranges, in calcHist_8u() argument
1003 if( CalcHist1D_8uInvoker::isFit(hist, imsize) ) in calcHist_8u()
1006 int grainSize = imsize.height/treadsNumber; in calcHist_8u()
1009 … CalcHist1D_8uInvoker body(_ptrs, _deltas, imsize, hist, dims, _tab, &histogramWriteLock); in calcHist_8u()
1010 parallel_for(BlockedRange(0, imsize.height, grainSize), body); in calcHist_8u()
1018 for( ; imsize.height--; p0 += step0, mask += mstep ) in calcHist_8u()
1024 for( x = 0; x <= imsize.width - 4; x += 4 ) in calcHist_8u()
1034 for( x = 0; x <= imsize.width - 4; x += 4 ) in calcHist_8u()
1044 for( ; x < imsize.width; x++, p0 += d0 ) in calcHist_8u()
1048 for( x = 0; x < imsize.width; x++, p0 += d0 ) in calcHist_8u()
1063 if( CalcHist2D_8uInvoker::isFit(hist, imsize) ) in calcHist_8u()
1065 callCalcHist2D_8u(_ptrs, _deltas, imsize, hist, dims, _tab); in calcHist_8u()
1074 for( ; imsize.height--; p0 += step0, p1 += step1, mask += mstep ) in calcHist_8u()
1077 for( x = 0; x < imsize.width; x++, p0 += d0, p1 += d1 ) in calcHist_8u()
1084 for( x = 0; x < imsize.width; x++, p0 += d0, p1 += d1 ) in calcHist_8u()
1095 if( CalcHist3D_8uInvoker::isFit(hist, imsize) ) in calcHist_8u()
1097 callCalcHist3D_8u(_ptrs, _deltas, imsize, hist, dims, _tab); in calcHist_8u()
1109 for( ; imsize.height--; p0 += step0, p1 += step1, p2 += step2, mask += mstep ) in calcHist_8u()
1112 for( x = 0; x < imsize.width; x++, p0 += d0, p1 += d1, p2 += d2 ) in calcHist_8u()
1119 for( x = 0; x < imsize.width; x++, p0 += d0, p1 += d1, p2 += d2 ) in calcHist_8u()
1129 for( ; imsize.height--; mask += mstep ) in calcHist_8u()
1132 for( x = 0; x < imsize.width; x++ ) in calcHist_8u()
1152 for( x = 0; x < imsize.width; x++ ) in calcHist_8u()
1275 Size imsize; in calcHist() local
1279 uniform, ptrs, deltas, imsize, uniranges ); in calcHist()
1285 calcHist_8u(ptrs, deltas, imsize, ihist, dims, ranges, _uniranges, uniform ); in calcHist()
1287 calcHist_<ushort>(ptrs, deltas, imsize, ihist, dims, ranges, _uniranges, uniform ); in calcHist()
1289 calcHist_<float>(ptrs, deltas, imsize, ihist, dims, ranges, _uniranges, uniform ); in calcHist()
1302 Size imsize, SparseMat& hist, int dims, const float** _ranges, in calcSparseHist_() argument
1317 for( ; imsize.height--; mask += mstep ) in calcSparseHist_()
1319 for( x = 0; x < imsize.width; x++ ) in calcSparseHist_()
1348 for( ; imsize.height--; mask += mstep ) in calcSparseHist_()
1350 for( x = 0; x < imsize.width; x++ ) in calcSparseHist_()
1386 Size imsize, SparseMat& hist, int dims, const float** _ranges, in calcSparseHist_8u() argument
1400 for( ; imsize.height--; mask += mstep ) in calcSparseHist_8u()
1402 for( x = 0; x < imsize.width; x++ ) in calcSparseHist_8u()
1448 Size imsize; in calcHist() local
1452 uniform, ptrs, deltas, imsize, uniranges ); in calcHist()
1457 calcSparseHist_8u(ptrs, deltas, imsize, hist, dims, ranges, _uniranges, uniform ); in calcHist()
1459 calcSparseHist_<ushort>(ptrs, deltas, imsize, hist, dims, ranges, _uniranges, uniform ); in calcHist()
1461 calcSparseHist_<float>(ptrs, deltas, imsize, hist, dims, ranges, _uniranges, uniform ); in calcHist()
1589 Size imsize, const Mat& hist, int dims, const float** _ranges, in calcBackProj_() argument
1617 for( ; imsize.height--; p0 += step0, bproj += bpstep ) in calcBackProj_()
1619 for( x = 0; x < imsize.width; x++, p0 += d0 ) in calcBackProj_()
1637 for( ; imsize.height--; p0 += step0, p1 += step1, bproj += bpstep ) in calcBackProj_()
1639 for( x = 0; x < imsize.width; x++, p0 += d0, p1 += d1 ) in calcBackProj_()
1663 for( ; imsize.height--; p0 += step0, p1 += step1, p2 += step2, bproj += bpstep ) in calcBackProj_()
1665 for( x = 0; x < imsize.width; x++, p0 += d0, p1 += d1, p2 += d2 ) in calcBackProj_()
1679 for( ; imsize.height--; bproj += bpstep ) in calcBackProj_()
1681 for( x = 0; x < imsize.width; x++ ) in calcBackProj_()
1714 for( ; imsize.height--; bproj += bpstep ) in calcBackProj_()
1716 for( x = 0; x < imsize.width; x++ ) in calcBackProj_()
1754 Size imsize, const Mat& hist, int dims, const float** _ranges, in calcBackProj_8u() argument
1781 for( ; imsize.height--; p0 += step0, bproj += bpstep ) in calcBackProj_8u()
1785 for( x = 0; x <= imsize.width - 4; x += 4 ) in calcBackProj_8u()
1795 for( x = 0; x <= imsize.width - 4; x += 4 ) in calcBackProj_8u()
1805 for( ; x < imsize.width; x++, p0 += d0 ) in calcBackProj_8u()
1816 for( ; imsize.height--; p0 += step0, p1 += step1, bproj += bpstep ) in calcBackProj_8u()
1818 for( x = 0; x < imsize.width; x++, p0 += d0, p1 += d1 ) in calcBackProj_8u()
1834 for( ; imsize.height--; p0 += step0, p1 += step1, p2 += step2, bproj += bpstep ) in calcBackProj_8u()
1836 for( x = 0; x < imsize.width; x++, p0 += d0, p1 += d1, p2 += d2 ) in calcBackProj_8u()
1845 for( ; imsize.height--; bproj += bpstep ) in calcBackProj_8u()
1847 for( x = 0; x < imsize.width; x++ ) in calcBackProj_8u()
1884 Size imsize; in calcBackProject() local
1891 uniform, ptrs, deltas, imsize, uniranges ); in calcBackProject()
1896 … calcBackProj_8u(ptrs, deltas, imsize, hist, dims, ranges, _uniranges, (float)scale, uniform); in calcBackProject()
1898 …calcBackProj_<ushort, ushort>(ptrs, deltas, imsize, hist, dims, ranges, _uniranges, (float)scale, … in calcBackProject()
1900 …calcBackProj_<float, float>(ptrs, deltas, imsize, hist, dims, ranges, _uniranges, (float)scale, un… in calcBackProject()
1911 Size imsize, const SparseMat& hist, int dims, const float** _ranges, in calcSparseBackProj_() argument
1926 for( ; imsize.height--; bproj += bpstep ) in calcSparseBackProj_()
1928 for( x = 0; x < imsize.width; x++ ) in calcSparseBackProj_()
1958 for( ; imsize.height--; bproj += bpstep ) in calcSparseBackProj_()
1960 for( x = 0; x < imsize.width; x++ ) in calcSparseBackProj_()
1996 Size imsize, const SparseMat& hist, int dims, const float** _ranges, in calcSparseBackProj_8u() argument
2010 for( ; imsize.height--; bproj += bpstep ) in calcSparseBackProj_8u()
2012 for( x = 0; x < imsize.width; x++ ) in calcSparseBackProj_8u()
2046 Size imsize; in calcBackProject() local
2054 uniform, ptrs, deltas, imsize, uniranges ); in calcBackProject()
2059 calcSparseBackProj_8u(ptrs, deltas, imsize, hist, dims, ranges, in calcBackProject()
2062 calcSparseBackProj_<ushort, ushort>(ptrs, deltas, imsize, hist, dims, ranges, in calcBackProject()
2065 calcSparseBackProj_<float, float>(ptrs, deltas, imsize, hist, dims, ranges, in calcBackProject()