|
| From: | Hartmut |
| Subject: | [Octave-bug-tracker] [bug #48794] image package: imreconstruct should clip marker > mask |
| Date: | Mon, 15 Aug 2016 21:26:04 +0000 (UTC) |
| User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0 |
URL:
<http://savannah.gnu.org/bugs/?48794>
Summary: image package: imreconstruct should clip marker >
mask
Project: GNU Octave
Submitted by: hardy
Submitted on: Mon 15 Aug 2016 09:26:02 PM GMT
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
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
Here is a little example to show the behavior:
clear, close all
pkg load image
marker = true(3)
mask = logical([1 1 1; 1 0 1; 1 1 1])
im = imreconstruct(marker, mask)
This throws an error "imreconstruct: MARKER must be less or equal than MASK"
in the current image package (version 2.4.1 and image dev version).
According to the Matlab help in
http://de.mathworks.com/help/images/ref/imreconstruct.html the imreconstruct
should instead clip the values where marker > mask to the corresponding mask
value.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48794>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |