|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
help with bwmorph on OS XI just downloaded octave , so be gentle. OS X binary.
I have a *.m script that uses the bwmorph function When I try to use that function ... octave-3.2.3:17> help bwmorph error: help: `bwmorph' not found octave-3.2.3:17> bwmorph error: `bwmorph' undefined near line 17 column 1 octave-3.2.3:17> bwmorph() error: `bwmorph' undefined near line 17 column 1 octave-3.2.3:17> help bwmorph error: help: `bwmorph' not found octave-3.2.3:19> x = bwmorph('my.jpg') error: `bwmorph' undefined near line 19 column 5 octave-3.2.3:19> x = bwmorph('my.jpg','thin',3) error: `bwmorph' undefined near line 19 column 5 Any ideas ???? _______________________________________________ Help-octave mailing list Help-octave@... https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
|
|
Re: help with bwmorph on OS XHi,
søn, 25 10 2009 kl. 21:56 +0700, skrev Justin MacCarthy: > octave-3.2.3:17> help bwmorph > error: help: `bwmorph' not found All the error messages tell you the same: you do not have the 'bwmorph' function. This function is part of the 'image' package. Do you have that package installed? You can tell which packages you have installed by typing pkg list at the Octave prompt. Søren _______________________________________________ Help-octave mailing list Help-octave@... https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
|
|
Re: help with bwmorph on OS XI've installed the image package (On Mac OSX ) and got a few warnings...
octave-3.2.3:5> pkg install image-1.0.10.tar.gz In file included from /Applications/Octave.app/Contents/Resources/include/jpeglib.h:24, from jpgwrite.cc:18: /Applications/Octave.app/Contents/Resources/include/jconfig.h:12:1: warning: "HAVE_STDLIB_H" redefined In file included from /Applications/Octave.app/Contents/Resources/include/octave-3.2.3/octave/oct.h:31, from jpgwrite.cc:11: /Applications/Octave.app/Contents/Resources/include/octave-3.2.3/octave/config.h:699:1: warning: this is the location of the previous definition In file included from /Applications/Octave.app/Contents/Resources/include/jpeglib.h:24, from jpgread.cc:49: /Applications/Octave.app/Contents/Resources/include/jconfig.h:12:1: warning: "HAVE_STDLIB_H" redefined In file included from /Applications/Octave.app/Contents/Resources/include/octave-3.2.3/octave/oct.h:31, from jpgread.cc:41: /Applications/Octave.app/Contents/Resources/include/octave-3.2.3/octave/config.h:699:1: warning: this is the location of the previous definition also when I go to use bwmorph I'm getting another error octave-3.2.3:6> error: `swap' undefined near line 550 column 10 error: called from: error: /Users/macarthy/octave/image-1.0.10/bwmorph.m at line 550, column 9 error: /Users/macarthy/octave/myscript.m at line 17, column 12 octave-3.2.3:6> do I need to add another package for that swap function ? Is there a why to find out what package adds what function? Thanks Justin 2009/10/25 Søren Hauberg <soren@...>: > Hi, > > søn, 25 10 2009 kl. 21:56 +0700, skrev Justin MacCarthy: >> octave-3.2.3:17> help bwmorph >> error: help: `bwmorph' not found > > All the error messages tell you the same: you do not have the 'bwmorph' > function. This function is part of the 'image' package. Do you have that > package installed? You can tell which packages you have installed by > typing > > pkg list > > at the Octave prompt. > > Søren > > _______________________________________________ Help-octave mailing list Help-octave@... https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
|
|
Re: help with bwmorph on OS Xman, 26 10 2009 kl. 11:19 +0700, skrev Justin MacCarthy:
> octave-3.2.3:5> pkg install image-1.0.10.tar.gz > In file included from > /Applications/Octave.app/Contents/Resources/include/jpeglib.h:24, > from jpgwrite.cc:18: > /Applications/Octave.app/Contents/Resources/include/jconfig.h:12:1: > warning: "HAVE_STDLIB_H" redefined > In file included from > /Applications/Octave.app/Contents/Resources/include/octave-3.2.3/octave/oct.h:31, > from jpgwrite.cc:11: > /Applications/Octave.app/Contents/Resources/include/octave-3.2.3/octave/config.h:699:1: > warning: this is the location of the previous definition > In file included from > /Applications/Octave.app/Contents/Resources/include/jpeglib.h:24, > from jpgread.cc:49: > /Applications/Octave.app/Contents/Resources/include/jconfig.h:12:1: > warning: "HAVE_STDLIB_H" redefined > In file included from > /Applications/Octave.app/Contents/Resources/include/octave-3.2.3/octave/oct.h:31, > from jpgread.cc:41: > /Applications/Octave.app/Contents/Resources/include/octave-3.2.3/octave/config.h:699:1: > warning: this is the location of the previous definition I guess these warnings are okay to ignore, although it would be nice to get rid of them. > also when I go to use bwmorph I'm getting another error > > octave-3.2.3:6> > > error: `swap' undefined near line 550 column 10 > error: called from: > error: /Users/macarthy/octave/image-1.0.10/bwmorph.m at line 550, column 9 > error: /Users/macarthy/octave/myscript.m at line 17, column 12 > octave-3.2.3:6> > > do I need to add another package for that swap function ? No, this seems to be a bug in the 'bwmorph' function. I've uploaded a fix to SVN, so this will be corrected in the next version of the 'image' package. Until this is released, you can create a function with the following contents somewhere in your path function [a, b] = swap (b, a) endfunction > Is there a why to find out what package adds what function? You can go to http://octave.sourceforge.net/doc/index.html and browse the function names alphabetically. After each function name you'll see a package name. For instance, after 'edge' on http://octave.sourceforge.net/doc/E.html#E you'll see '[image]' which informs you that the 'edge' function is in the 'image' package. Søren _______________________________________________ Help-octave mailing list Help-octave@... https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
| Free embeddable forum powered by Nabble | Forum Help |