Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

pixel change of place

Hi I need to do an algorithm using the opencv library, which consists of dividing the image into rectangles and then move the pixels of a rectangle to another, for the extraction of features from a given image. I used the rectangle to divide the image function, anyone know how to help me?

For example, the pixel at position (2.10) belongs to the first rectangle and I want him to belong to the second rectangle ...