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

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

[Octave-bug-tracker] [bug #55202] [octave forge] (image) imresize fails


From: Hartmut
Subject: [Octave-bug-tracker] [bug #55202] [octave forge] (image) imresize fails for method nearest and image of 1 row
Date: Thu, 21 Mar 2019 15:14:48 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0

Follow-up Comment #3, bug #55202 (project octave):

my opinion:

* to 1: (fixing the problem in interp2): Is this a bug happening in interp2?
Meaning: what is the exact call to interp2 that is produced by the call to
imresize quoted in comment #0? Does this call to interp2 also provoce an error
message when called in Matlab? If yes, I would consider this a bug in interp2
and try to fix it there, at the origin. In this case, this solution 1 might
probably be my personal favorite.

* to 2: I am not sure I fully understood this. But his doesn's sound very
organized. In some cases (meaning some type of input images) the actuall
interpolation will happen in interp2, and in other cases the actual
interpolation will happen somewhere else.

* to 3: The solution following this route might become more convoluted as
shown in comment #2. Because imresize can currently deal with Nd images, and
I'd like to preserve this capability. This means also sz(3) and sz(1043) needs
to be checked. And an input image can be of size 1 also in several dimensions
at the same time.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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