Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Work with operations pixel by pixel and loops

Hello All.

I heard in this forum before that it isnt recomended work or make an operation pixel by pixel and its more convenient use a function defined in opencv headers and librarys. But that opencv's functions have to work pixel by pixel or there is another way?

For example in this post.

http://answers.opencv.org/question/183494/copy-half-image/

I needed to copy a half image and first I did it with a for().

Why is not recomended use a loop?

Thanks in advance. its a theorical question.