[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58567] [octave forge] (image) radon does not
From: |
Avinoam Kalma |
Subject: |
[Octave-bug-tracker] [bug #58567] [octave forge] (image) radon does not support logical images |
Date: |
Mon, 15 Jun 2020 14:29:11 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36 |
Update of bug #58567 (project octave):
Item Group: Unexpected Error => Incorrect Result
Status: None => Confirmed
Assigned to: None => avinoam
Release: 5.2.0 => other
Operating System: Microsoft Windows => Any
Summary: [octave forge] (image) radon: I must be a MxN
numeric matrix => [octave forge] (image) radon does not support logical images
_______________________________________________________
Follow-up Comment #1:
Thanks for reporting.
The problem is that your image is logical, and radon currently does not
support logical images.
As a workaround, you may use radon (double(edgeimage)).
The fix should be simple: line 35
if (! isnumeric (I) || ndims (I) != 2)
should be changed to:
if (! isimage (I) || ndims (I) != 2)
If there is no objection (Carne, Hartmut), I will fix this.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58567>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/