I want to feed my extracted character bitmaps (.bmp files) into some kind of matrices that can be processed in C++ and then fed into the artificial neural network e.g. the network will take 72 inputs – each one as a pixel of the binarized picture of dimensions 6 x 12.
For instance: I have a binarized bitmap of size let’s say 40 x 80. I want to make out of it a structure that will have dimensions 6 x 12 and it would consist of my scaled bitmap. So I need a bitmap library that would allow me to scale the bmps and then fed them into the ANN. (As some of you stated already, they will be stored already as a matrix of so kind so no transformations will be necessary)
What can I use in here ?
It seems that any image processing library could suit your needs. So, my advice would be to use a library that is as simple as possible to integrate in your build process.
In this context, the CImg library is extremely easy to us, as it is composed of a simple .h file.
Concerning your need, a possible implementation would be