Resizing an ofxCvGrayscaleImage


I think i found a ‘bug’ when resizing an ofxCvGrayscaleImage, where the image goes from threshholded state (black - white), to it’s normal grayscale image.

Might be a worth a look.

Hey @Phoenix03 , it might help if you posted some code so that others can replicate. A very simple example that compiles can be really helpful, along with a description of the issue (or even some screenshots).

Edit: Resizing an image with black or white pixels would produce some gray pixels, as neighboring pixels are interpolated to create new ones.

Your edit makes literally sense. Thanks for your input @TimChi :slight_smile: