|
From: | Levente Torok |
Subject: | Re: type handling bug? |
Date: | Tue, 26 May 2009 14:31:56 +0200 |
User-agent: | KMail/1.11.2 (Linux/2.6.27-14-generic; KDE/4.2.2; i686; ; ) |
> > octave:10> sum(sum(im==0)) > > ans = 16980 > > > > > > > > z=resize( im, s=rows(im)*columns(im),1 ); > > octave:11> sum(sum(z==0)) > > ans = 3144192 > > My guess is that you image is an RGB image (all JPEG's are RGB, right?). > This makes the image NxMx3, but you're treating it as being MxN. But I'm > just guessing here. Wrong. ans = octave:18> size(im) ans = Blogger of http://fapuma.blogspot.com |
[Prev in Thread] | Current Thread | [Next in Thread] |