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

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

[Octave-bug-tracker] [bug #55202] imresize fails for method nearest and


From: Tis Veugen
Subject: [Octave-bug-tracker] [bug #55202] imresize fails for method nearest and image of 1 row
Date: Tue, 11 Dec 2018 04:34:35 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36

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

                 Summary: imresize fails for method nearest and image of 1 row
                 Project: GNU Octave
            Submitted by: tis
            Submitted on: Tue 11 Dec 2018 09:34:34 AM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: None
             Assigned to: None
         Originator Name: Tis Veugen
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Error occurs for image with 1 row:
                                                                              
       
im = zeros( 1, 20 );
rim = imresize( im, [ 1 30 ], "nearest" );

Yields:                                                                       
                
error: Y(2): out of bound 1
error: called from
    interp2 at line 238 column 10
    imremap>grayinterp at line 82 column 12
    imremap at line 67 column 19
    imresize at line 135 column 8

Please, fix.




    _______________________________________________________

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]