[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binary image from a plot

From: Przemek Klosowski
Subject: Re: Binary image from a plot
Date: Tue, 7 Jul 2020 16:43:15 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

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?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]