On 7/7/20 6:37 AM, Maria Jose Casas
Serrano wrote:
The software I’m doing, prints some plots that I
save as .bmp and with -mono
and -bestfit parameters. When I read them with
“imread” function, I can see that it’s an
indexed image and the matrix contains values [0 255]. I would
like to convert it to binary but without using the “image”
package.
(Yes, I know that this sounds weird but I would like
to find a solution without using it, if possible. It’s due to
some incompatibilities with some computers in the lab which
cannot be updated to the last Octave version nor installing
packages.)
Since you want to namipulate images without using the
image package, let me ask what is the goal. Do you want to simply
see if they are different? Maybe you could just do system('md5sum
image1 image2')? and if you want to see particular differences in
images, why not store the plot data along with plot images, and
compare the data?