help-octave
[Top][All Lists]
Advanced

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

Re: Binary image from a plot


From: Andreas Weber
Subject: Re: Binary image from a plot
Date: Tue, 7 Jul 2020 13:52:32 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

Hi Maria,

Am 07.07.20 um 12:37 schrieb Maria Jose Casas Serrano:
> 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]. 

What have you done so far? You can select a threshold, for example 127
and do
b = img > 127 to get a boolean matrix

I think you can increase the chance to get good answers if you upload
two images which you want to caompare and show the code you've written
so far to do the comparison.

-- Andy



reply via email to

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