Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

typical noob errors:

  • reinventing the wheel (don't!)
  • reinventing the wheel (don't!)
  • reinventing the wheel (don't!)
  • buffer overruns (need to spare a 1 pixel border for x,y when iterating)
  • getting the types wrong (the result won't fit into a uchar)

typical noob errors:

  • reinventing the wheel (don't!)
  • reinventing the wheel (don't!)
  • reinventing the wheel (don't!)
  • buffer overruns (need to spare a 1 pixel border for x,y when iterating)
  • getting the types wrong (the result won't fit into a uchar)uchar, you need something larger, like CV_16S or CV_32F)