docs, c++, all done

This commit is contained in:
John Cupitt 2015-11-07 20:54:00 +00:00
parent 295b18585a
commit ca51b46e9a
4 changed files with 72 additions and 4 deletions

2
TODO
View File

@ -1,5 +1,3 @@
- need to update docs, c++ binding
- test suite is broken, float->int mask I guess - test suite is broken, float->int mask I guess
- looks like we have a race in tiled threadcache? see - looks like we have a race in tiled threadcache? see

View File

@ -1,5 +1,5 @@
// headers for vips operations // headers for vips operations
// Tue Oct 6 16:54:32 BST 2015 // Sat Nov 7 20:36:13 GMT 2015
// this file is generated automatically, do not edit! // this file is generated automatically, do not edit!
static void system( char * cmd_format , VOption *options = 0 ) static void system( char * cmd_format , VOption *options = 0 )
@ -102,6 +102,8 @@ VImage extract_band( int band , VOption *options = 0 )
throw( VError ); throw( VError );
static VImage bandjoin( std::vector<VImage> in , VOption *options = 0 ) static VImage bandjoin( std::vector<VImage> in , VOption *options = 0 )
throw( VError ); throw( VError );
VImage bandjoin_const( std::vector<double> c , VOption *options = 0 )
throw( VError );
static VImage bandrank( std::vector<VImage> in , VOption *options = 0 ) static VImage bandrank( std::vector<VImage> in , VOption *options = 0 )
throw( VError ); throw( VError );
VImage bandmean( VOption *options = 0 ) VImage bandmean( VOption *options = 0 )
@ -280,6 +282,12 @@ void fitssave( char * filename , VOption *options = 0 )
throw( VError ); throw( VError );
VImage shrink( double xshrink , double yshrink , VOption *options = 0 ) VImage shrink( double xshrink , double yshrink , VOption *options = 0 )
throw( VError ); throw( VError );
VImage shrinkh( int xshrink , VOption *options = 0 )
throw( VError );
VImage shrinkv( int yshrink , VOption *options = 0 )
throw( VError );
VImage shrink2( double xshrink , double yshrink , VOption *options = 0 )
throw( VError );
VImage quadratic( VImage coeff , VOption *options = 0 ) VImage quadratic( VImage coeff , VOption *options = 0 )
throw( VError ); throw( VError );
VImage affine( std::vector<double> matrix , VOption *options = 0 ) VImage affine( std::vector<double> matrix , VOption *options = 0 )

View File

@ -1,5 +1,5 @@
// bodies for vips operations // bodies for vips operations
// Tue Oct 6 16:53:55 BST 2015 // Sat Nov 7 20:36:01 GMT 2015
// this file is generated automatically, do not edit! // this file is generated automatically, do not edit!
void VImage::system( char * cmd_format , VOption *options ) void VImage::system( char * cmd_format , VOption *options )
@ -696,6 +696,20 @@ VImage VImage::bandjoin( std::vector<VImage> in , VOption *options )
return( out ); return( out );
} }
VImage VImage::bandjoin_const( std::vector<double> c , VOption *options )
throw( VError )
{
VImage out;
call( "bandjoin_const" ,
(options ? options : VImage::option()) ->
set( "in", *this ) ->
set( "out", &out ) ->
set( "c", c ) );
return( out );
}
VImage VImage::bandrank( std::vector<VImage> in , VOption *options ) VImage VImage::bandrank( std::vector<VImage> in , VOption *options )
throw( VError ) throw( VError )
{ {
@ -1858,6 +1872,49 @@ VImage VImage::shrink( double xshrink , double yshrink , VOption *options )
return( out ); return( out );
} }
VImage VImage::shrinkh( int xshrink , VOption *options )
throw( VError )
{
VImage out;
call( "shrinkh" ,
(options ? options : VImage::option()) ->
set( "in", *this ) ->
set( "out", &out ) ->
set( "xshrink", xshrink ) );
return( out );
}
VImage VImage::shrinkv( int yshrink , VOption *options )
throw( VError )
{
VImage out;
call( "shrinkv" ,
(options ? options : VImage::option()) ->
set( "in", *this ) ->
set( "out", &out ) ->
set( "yshrink", yshrink ) );
return( out );
}
VImage VImage::shrink2( double xshrink , double yshrink , VOption *options )
throw( VError )
{
VImage out;
call( "shrink2" ,
(options ? options : VImage::option()) ->
set( "in", *this ) ->
set( "out", &out ) ->
set( "xshrink", xshrink ) ->
set( "yshrink", yshrink ) );
return( out );
}
VImage VImage::quadratic( VImage coeff , VOption *options ) VImage VImage::quadratic( VImage coeff , VOption *options )
throw( VError ) throw( VError )
{ {

View File

@ -333,6 +333,11 @@
<entry>bandwise join a set of images</entry> <entry>bandwise join a set of images</entry>
<entry>vips_bandjoin(), vips_bandjoin2()</entry> <entry>vips_bandjoin(), vips_bandjoin2()</entry>
</row> </row>
<row>
<entry>bandjoin_const</entry>
<entry>appendd a set of constants to an image</entry>
<entry>vips_bandjoin_const(), vips_bandjoin_const1()</entry>
</row>
<row> <row>
<entry>bandrank</entry> <entry>bandrank</entry>
<entry>band-wise rank of a set of images</entry> <entry>band-wise rank of a set of images</entry>