octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #44799] [octave forge] (image) imrotate chrash


From: Hartmut
Subject: [Octave-bug-tracker] [bug #44799] [octave forge] (image) imrotate chrashes when using 'spline' as interpolation method
Date: Mon, 7 Feb 2022 03:31:38 -0500 (EST)

Follow-up Comment #11, bug #44799 (project octave):

In Matlab (R2019b) I get the following result when running the code from
comment #0:


>> M = rand(50); 
>> N = imrotate(M,45,'spline');
Error using imrotate>checkStringValidity (line 291)
Unknown interpolation method or BBOX: spline

Error in imrotate>parse_inputs (line 244)
    checkStringValidity(idx,arg);

Error in imrotate (line 67)
[A,ang,method,bbox] = parse_inputs(args{:});


Matlab does not always what its documentation says. But in this case it really
simply throws an error message, since the "spline" method is just not
supported by its imrotate function.

So I would also be fine with only updating the documentation of our image
package function imrotate accordingly. We could say there for example that "in
current versions of core Octave (up to version 7) the 'spline' method is not
supported by imrotate". That would leave the possibility open that the spline
method might work in the future if core Octave ever fixes this issue in
interp2 (see Carne's comment #7).

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?44799>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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