2017-04-27 06:54:47 -0600 | received badge | ● Editor (source) |
2017-04-27 06:52:57 -0600 | asked a question | Efficient pointer-scanning on image Hi everyone, I´m new in C++ and OpenCv and have a little problem with scanning an image with pointers. I want to switch my running (slowly) Source into faster code by using pointers instead of the iteration through the loop. The actual code is listed below: I´m not sure how to replace the part for computing the y-value and the if-line: and My first solution doesn´t work. I know, that an binary-image is ordinarily type CV_8U not CV_8UC3 but I need this with three channels ;) Thank you! Daniel S. |
2017-04-11 02:47:11 -0600 | commented answer | Conversion from RGB to HSI Can anyone explain why there is a multiplication for s with factor 100? |