Lines Matching refs:height
288 validationFS << it->x << it->y << it->width << it->height;
309 float dist = min(imgSize.height, imgSize.width) * eps.dist;
311 float hDiff = imgSize.height * eps.s;
326 it2 >> r.x >> r.y >> r.width >> r.height;
338 Point2f cp1 = Point2f( cr->x + (float)cr->width/2.0f, cr->y + (float)cr->height/2.0f );
340 float minDist = (float)norm( Point(imgSize.width, imgSize.height) );
344 Point2f cp2 = Point2f( vr->x + (float)vr->width/2.0f, vr->y + (float)vr->height/2.0f );
360 (abs(cr->height - vr.height) > hDiff) )
663 int rawBlockSize = blockSize.width*blockSize.height;
666 (winSize.height - blockSize.height)/blockStride.height + 1);
667 ncells = Size(blockSize.width/cellSize.width, blockSize.height/cellSize.height);
668 blockHistogramSize = ncells.width*ncells.height*nbins;
673 (winSize.height/cacheStride.height)+1);
674 blockCache.create(cacheSize.height, cacheSize.width*blockHistogramSize);
686 for(i = 0; i < blockSize.height; i++)
689 float di = i - blockSize.height*0.5f;
694 blockData.resize(nblocks.width*nblocks.height);
723 for( i = 0; i < blockSize.height; i++ )
727 float cellY = (i+0.5f)/cellSize.height - 0.5f;
737 if( (unsigned)icellY0 < (unsigned)ncells.height &&
738 (unsigned)icellY1 < (unsigned)ncells.height )
741 data->histOfs[0] = (icellX0*ncells.height + icellY0)*nbins;
743 data->histOfs[1] = (icellX1*ncells.height + icellY0)*nbins;
745 data->histOfs[2] = (icellX0*ncells.height + icellY1)*nbins;
747 data->histOfs[3] = (icellX1*ncells.height + icellY1)*nbins;
753 if( (unsigned)icellY0 < (unsigned)ncells.height )
758 data->histOfs[0] = (icellX0*ncells.height + icellY1)*nbins;
760 data->histOfs[1] = (icellX1*ncells.height + icellY1)*nbins;
774 if( (unsigned)icellY0 < (unsigned)ncells.height &&
775 (unsigned)icellY1 < (unsigned)ncells.height )
778 data->histOfs[0] = (icellX1*ncells.height + icellY0)*nbins;
780 data->histOfs[1] = (icellX1*ncells.height + icellY1)*nbins;
788 if( (unsigned)icellY0 < (unsigned)ncells.height )
793 data->histOfs[0] = (icellX1*ncells.height + icellY1)*nbins;
815 for( i = 0; i < nblocks.height; i++ )
817 BlockData& data = blockData[j*nblocks.height + i];
818 data.histOfs = (j*nblocks.height + i)*blockHistogramSize;
819 data.imgOffset = Point(j*blockStride.width,i*blockStride.height);
832 (unsigned)pt.y <= (unsigned)(grad.rows - blockSize.height) );
837 pt.y % cacheStride.height == 0 );
839 (pt.y/cacheStride.height) % blockCache.rows);
984 (imageSize.height - winSize.height)/winStride.height + 1);
992 return Rect( x*winStride.width, y*winStride.height, winSize.width, winSize.height );
1016 gcd(winStride.height, blockStride.height));
1019 padding.height = (int)alignSize(std::max(padding.height, 0), cacheStride.height);
1020 Size paddedImgSize(img.cols + padding.width*2, img.rows + padding.height*2);
1043 pt0.y < -padding.height || pt0.y > img.rows + padding.height - winSize.height )
1049 CV_Assert(pt0.x % cacheStride.width == 0 && pt0.y % cacheStride.height == 0);
1118 gcd(winStride.height, blockStride.height));
1121 padding.height = (int)alignSize(std::max(padding.height, 0), cacheStride.height);
1122 Size paddedImgSize(img.cols + padding.width*2, img.rows + padding.height*2);
1145 pt0.y < -padding.height || pt0.y > img.rows + padding.height - winSize.height )
1151 CV_Assert(pt0.x % cacheStride.width == 0 && pt0.y % cacheStride.height == 0);
1191 img.rows + paddingTL.height + paddingBR.height);
1211 AutoBuffer<int> mapbuf(gradsize.width + gradsize.height + 4);
1220 for( y = -1; y < gradsize.height + 1; y++ )
1221 ymap[y] = borderInterpolate(y - paddingTL.height + roiofs.y,
1222 wholeSize.height, borderType) - roiofs.y;
1235 for( y = 0; y < gradsize.height; y++ )
1349 rng.uniform(1, 10) * actual_hog.winSize.height);
1385 int height = rng.uniform(1, 100);
1386 Mat img(height, width, CV_8U);