¡@

Home 

c++ Programming Glossary: cvget2d

count Pixel coordinates x and y

http://stackoverflow.com/questions/10767057/count-pixel-coordinates-x-and-y

int x 0 x image width x for int y 0 image height y se cvGet2D image x y Sx se.val y Sx Sx Sy se.val x Sy Sy cout 3. sum x..

OpenCV insufficient memory

http://stackoverflow.com/questions/5564966/opencv-insufficient-memory

j 0 j ymax j arr i j 0 blob i div j div 0 cout endl cvGet2D hsv 5 5 .val 0 Looping through each pixel for i 0 i xmax i .. i for j 0 j ymax j Getting the current pixel i j pix cvGet2D hsv i j Setting all pixels to black cvSet2D dest i j destpix2..

Convolution to blur the image produces a Sketchy output image

http://stackoverflow.com/questions/7891561/convolution-to-blur-the-image-produces-a-sketchy-output-image

rows 2 row sum 0 for col 0 col cols 2 col Pixel 0 0 cvGet2D img row col Pixel 0 4 cvGet2D img row col 1 Pixel 0 5 cvGet2D.. cols 2 col Pixel 0 0 cvGet2D img row col Pixel 0 4 cvGet2D img row col 1 Pixel 0 5 cvGet2D img row col 2 Pixel 1 0.. img row col Pixel 0 4 cvGet2D img row col 1 Pixel 0 5 cvGet2D img row col 2 Pixel 1 0 cvGet2D img row 1 col Pixel 1 6..