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

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

[Octave-bug-tracker] [bug #30115] bwfill hole-filling in Octave-forge im


From: Qianqian Fang
Subject: [Octave-bug-tracker] [bug #30115] bwfill hole-filling in Octave-forge image toolbox is not working
Date: Fri, 11 Jun 2010 15:20:49 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3

URL:
  <http://savannah.gnu.org/bugs/?30115>

                 Summary: bwfill hole-filling in Octave-forge image toolbox
is not working
                 Project: GNU Octave
            Submitted by: fangq
            Submitted on: Fri 11 Jun 2010 03:20:48 PM GMT
                Category: Libraries
                Severity: 3 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Qianqian Fang
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.2.2
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I have installed image toolbox 1.0.10, and found that bwfill is not working
for filling holes. Here is a quick test

dat=zeros(60);
theta=0:pi/360:2*pi;
ix=20*sin(theta)+30;
iy=20*cos(theta)+30;
dat(sub2ind(size(dat),floor(ix),floor(iy)))=1;

figure
imagesc(dat)
dat2=bwfill(dat,'holes');
figure
imagesc(dat2)

the same script works perfectly in matlab.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?30115>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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