help-octave
[Top][All Lists]
Advanced

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

Re: Create a logical array of 0


From: Stefan van der Walt
Subject: Re: Create a logical array of 0
Date: Fri, 3 Sep 2004 17:27:40 +0200
User-agent: Mutt/1.5.6+20040722i

I do not have 'poly2mask' here -- is it part of a toolbox?  But here
is an excerpt from 'help im2bw':

IM2BW Convert image to binary image by thresholding.
 
    Class Support
    -------------
    The input image can be of class uint8, uint16, or double. 
    The output image BW is of class uint8.
 
Regards
Stefan

On Fri, Sep 03, 2004 at 05:03:27PM +0200, Josep Mon?s i Teixidor wrote:
> On dv, 2004-09-03 at 16:42, Stefan van der Walt wrote:
> > My version of MATLAB uses uint8 for black and white pictures, so there
> > should be no need to accommodate 'logical'.
> > 
> > Regards
> > Stefan
> 
> 
> Hi!
> 
> What version of MATLAB have you got?
> 
> In MATLAB docs they always talk about "logical arrays" for BW arguments.
> For instance look at:
> 
> http://www.mathworks.com/access/helpdesk/help/toolbox/images/isbw.html
> 
> Do you mean that all of those are really uint8?
> 
> Can you check, for instance, output from poly2mask?
> 
> 
> Thanks,
> -- 
> Josep Mon?s i Teixidor
> Clau GnuPG: gpg --recv-keys 80E85CC4




-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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