[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50656] image package: bwerode does not return
From: |
Carnë Draug |
Subject: |
[Octave-bug-tracker] [bug #50656] image package: bwerode does not return right size when there's more dimensions on conn |
Date: |
Mon, 27 Mar 2017 13:11:52 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 |
URL:
<http://savannah.gnu.org/bugs/?50656>
Summary: image package: bwerode does not return right size
when there's more dimensions on conn
Project: GNU Octave
Submitted by: carandraug
Submitted on: Mon 27 Mar 2017 05:11:51 PM UTC
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: other
Operating System: GNU/Linux
_______________________________________________________
Details:
Not sure at the moment if this is a single bug or multiple bugs. These are
probably inherited from the strel class and some of optimisations we do, so
they probably also affect other functions
imerode (true (3), ones (3, 3, 3))
ans =
1
1
0
imerode (true (5), ones (3, 3, 3))
ans =
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
## This should not give an out of memory, should use very small intermediary
arrays
## May be a separate bug
%!test
%! bw = false (5);
%! bw(1:4,2:4) = true
%! assert (bwperim (bw, conndef (6)), bw)
The error comes from:
imerode (true (5), conndef(6))
error: out of memory or dimension too large for Octave's index type
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50656>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #50656] image package: bwerode does not return right size when there's more dimensions on conn,
Carnë Draug <=