[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #43893] image package: Incorrect result of ero
From: |
Carnë Draug |
Subject: |
[Octave-bug-tracker] [bug #43893] image package: Incorrect result of erosion and dilation |
Date: |
Sat, 27 Dec 2014 16:26:37 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.3.0 |
Update of bug #43893 (project octave):
Status: None => Invalid
Open/Closed: Open => Closed
Release: 3.8.1 => other
Summary: Incorrect result of erosion and dilation => image
package: Incorrect result of erosion and dilation
_______________________________________________________
Follow-up Comment #2:
Your images look fine to me. Note that the white regions of your image (pixels
of value true) are the objects/foreground while the black regions (pixels with
value false) are the background.
The visual effect of erosion is shrinking of objects (white regions become
smaller, very small objects disappear) while the effect of dilation is is the
opposite. Your screenshoot shows this so the results are as expected.
The only reason I can see someone expecting the opposite is if you are an
ImageJ user. ImageJ uses an inverted LUT for binary images by default ---
background is white, objects are white --- which can be confusing for users of
everything else. If so, you may want to use the complement of your image (use
imcomplement of the image package).
I'm closing this is an invalid (but please comment if we interpreted this
wrong and we will reopen the bug).
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43893>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/