Missing functions from the image package

David Bateman dbateman at dbateman.org
Mon Nov 17 18:09:48 CST 2008


Alasdair McAndrew wrote:
> When I enter "pkg describe -verbose image" I obtain a long list of 
> functions, some of which actually don't exist.  They are:
> 
> imfinfo
> imapprox
> rgb2ycbcr
> dither
> roifill
> roifilt2
> 
> What has happened to these functions - were they once in the package but 
> have been removed in the latest release?  And if so, is there any way I 
> can obtain them?
> 


Opps, that is in fact a bug in the "pkg describe -verbose" command. The 
packages INDEX can perfectly well have function names in it that don't 
exist. That was a deliberate choice so that it might be used to note 
equivalent functions of matlab that Octave doesn't have, and in 
particular note this in the function reference on the website. For 
example see the roifill and roifilt2 functions on

http://octave.sourceforge.net/doc/image.html

Now the "pkg describe -verbose" command just uses this INDEX file as 
well and prints out the contents. If the INDEX file was automatically 
created  by the "pkg install" command this is not a problem. However, 
hand written ones like that for the image package aren't. Not sure of 
the best solution for this, but note that the function reference section 
of the octave-forge website is a better source for the type of 
information you are looking for.

Cheers
David


-- 
David Bateman                                dbateman at dbateman.org
35 rue Gambetta                              +33 1 46 04 02 18 (Home)
92100 Boulogne-Billancourt FRANCE            +33 6 72 01 06 33 (Mob)


More information about the Help-octave mailing list