1 | initial version |
did this function do all of that? - yes.
And if it does, then how many regions are there? - have a look here . the image is divided into grid_x * grid_y patches (8x8 by default), and sure you can try to change those numbers. if you increase the grid count, your histograms will get more 'sparse' (more patches == less pixels per patch) and more 'local', and overall the descriptor(feature) will get longer. just try ;)