Lines Matching full:ncells
622 Size nblocks, ncells;
667 ncells = Size(blockSize.width/cellSize.width, blockSize.height/cellSize.height);
668 blockHistogramSize = ncells.width*ncells.height*nbins;
734 if( (unsigned)icellX0 < (unsigned)ncells.width &&
735 (unsigned)icellX1 < (unsigned)ncells.width )
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;
768 if( (unsigned)icellX0 < (unsigned)ncells.width )
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;