[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60336] [octave forge] (image) imresize does n
From: |
Hartmut |
Subject: |
[Octave-bug-tracker] [bug #60336] [octave forge] (image) imresize does not accept complex input values |
Date: |
Sun, 4 Apr 2021 11:55:32 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0 |
URL:
<https://savannah.gnu.org/bugs/?60336>
Summary: [octave forge] (image) imresize does not accept
complex input values
Project: GNU Octave
Submitted by: hardy
Submitted on: Sun 04 Apr 2021 03:55:30 PM UTC
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: other
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Details:
As mentioned in bug #60226, the Matlab version of imresize also accepts images
with complex numbers as inputs. The current Octave version does not.
Here is a small example code that currently fails in Octave but works fine in
Matlab:
in = ones(2) +1i
out = imresize(in, 1.5)
Matlab does not mention on its documentation page that it supports complex
input values, but I have tested this with Online-Matlab and it really does.
The Matlab result for the above code is identical to the output of
"ones(3)+1i".
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60336>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #60336] [octave forge] (image) imresize does not accept complex input values,
Hartmut <=