2015-12-01 05:11:54 -0600 | asked a question | cvInitMatNDHeader in cvHistogram strange step sizes I am trying to create a Histogram using the CreateHistogram funktion, so far so good. When i checked into the memory there lies a flat CvMatND which in turn has a size and a step for each dimension. As an example a 3D Mat with sizes of 5 results in (5,100,5,20,5,4). Checking in the code the funktion goes like: (Cut out unimportant parts) this is strange for 2 reasons.
Is this a bug or does it have a deeper meanig i dont understand? |