1 | initial version |
calcHistogram won't help you to collect histograms at angles different from 0 and 180, so I guess you will have to write your own loop to collect those histograms. I think use of LineIterator will help you to implement those loops.