edição-de-imagens

Basic image editing using OpenCV

Hello, I am learning to use the features that OpenCV offers for image processing and the following question arose: How do I ... ng is right, but How do I combine the gray crop with the original image and create a new partially gray image (cropped area)?

Segmentation failure during image to grayscale conversion

I am writing code that should receive a color image file (PPM format) and turn it into grayscale (PGM format in ASC II code) ... imagem[i][j].r = 255; imagem[i][j].g = 255; imagem[i][j].b = 255; } } } }´ Thank you