[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Binary image from a plot
From: |
Maria Jose Casas Serrano |
Subject: |
Re: Binary image from a plot |
Date: |
Fri, 10 Jul 2020 11:00:27 +0200 |
Hi Andreas,
Thanks for you tip. This helped me to re-orient my approach.
Maria
> On 7 Jul 2020, at 13:52, Andreas Weber <octave@josoansi.de> wrote:
>
> 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
>
>