doc hacking
This commit is contained in:
parent
d19a117861
commit
e77cc6a428
8
TODO
8
TODO
@ -8,8 +8,6 @@
|
||||
|
||||
- added im_local_imask(), im_local_dmask(), needs docs?
|
||||
|
||||
some of image.h seems to be missing param names
|
||||
|
||||
is local_imask() in the best place? shouldn't it be in mask.h?
|
||||
|
||||
- im_rotate_imask90 only works for square, odd-sized masks, argh
|
||||
@ -17,12 +15,6 @@
|
||||
- lots of stupid little files in hist, eg. im_hsp.c ... paste them into larger
|
||||
modules
|
||||
|
||||
- check the order of decls in hist.h, is it sensible?
|
||||
|
||||
check the order in freq_flt as well
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -41,13 +41,13 @@
|
||||
<xi:include href="xml/convolution.xml"/>
|
||||
<xi:include href="xml/format.xml"/>
|
||||
<xi:include href="xml/freq_filt.xml"/>
|
||||
<xi:include href="xml/histograms_lut.xml"/>
|
||||
</chapter>
|
||||
|
||||
<chapter>
|
||||
<title>VIPS operation API by section (no gtkdoc comments yet)</title>
|
||||
<xi:include href="xml/morphology.xml"/>
|
||||
<xi:include href="xml/resample.xml"/>
|
||||
<xi:include href="xml/histograms_lut.xml"/>
|
||||
<xi:include href="xml/mask.xml"/>
|
||||
<xi:include href="xml/inplace.xml"/>
|
||||
<xi:include href="xml/mosaicing.xml"/>
|
||||
|
@ -55,12 +55,15 @@
|
||||
* tagged with a #VipsType of IM_TYPE_HISTOGRAM and usually displayed by
|
||||
* user-interfaces such as nip2 as plots rather than images.
|
||||
*
|
||||
* You can make a LUT by scanning an image (see im_histgr()), from a
|
||||
* matrix (see im_buildlut()), or using arithmetic operators on an identity
|
||||
* LUT (see im_identity()).
|
||||
* These functions can be broadly grouped as things to find or build
|
||||
* histograms (im_histgr(), im_buildlut(), in_identity()), operations that
|
||||
* manipulate histograms in some way (im_histcum(), im_histnorm()), operations
|
||||
* to apply histograms (im_maplut()), and a variety of utility
|
||||
* operations.
|
||||
*
|
||||
* Once you have a LUT you can manipulate it in various ways (see im_historm()
|
||||
* and friends) and use it to transform other images (see im_maplut()).
|
||||
* A final group of operations build tone curves. These are useful in
|
||||
* pre-press work for adjusting the appearance of images. They are designed
|
||||
* for CIELAB images, but might be useful elsewhere.
|
||||
*/
|
||||
|
||||
/* One image in, one out.
|
||||
|
@ -54,7 +54,7 @@
|
||||
* im_hist:
|
||||
* @in: input image
|
||||
* @out: output image
|
||||
* @bandno: band to equalise
|
||||
* @bandno: band to plot
|
||||
*
|
||||
* Find and plot the histogram of @in. If @bandno is -1, plot all bands.
|
||||
* Otherwise plot the specified band.
|
||||
|
@ -295,7 +295,7 @@ find_ushort_hist_extract( REGION *reg, void *seq, void *a, void *b )
|
||||
*
|
||||
* @in must be u8 or u16. @out is always u32.
|
||||
*
|
||||
* See also: im_histindexed(), im_histeq().
|
||||
* See also: im_hist_indexed(), im_histeq().
|
||||
*
|
||||
* Returns: 0 on success, -1 on error
|
||||
*/
|
||||
|
@ -305,7 +305,7 @@ plot( IMAGE *in, IMAGE *out )
|
||||
* <emphasis>float types</emphasis> min moved to 0, max moved to any
|
||||
* (square output)
|
||||
*
|
||||
* See also: im_histindexed(), im_histeq().
|
||||
* See also: im_hist_indexed(), im_histeq().
|
||||
*
|
||||
* Returns: 0 on success, -1 on error
|
||||
*/
|
||||
|
@ -37,26 +37,36 @@
|
||||
extern "C" {
|
||||
#endif /*__cplusplus*/
|
||||
|
||||
int im_maplut( IMAGE *in, IMAGE *out, IMAGE *lut );
|
||||
int im_gammacorrect( IMAGE *in, IMAGE *out, double exponent );
|
||||
int im_heq( IMAGE *in, IMAGE *out, int bandno );
|
||||
int im_hist( IMAGE *in, IMAGE *out, int bandno );
|
||||
int im_hist_indexed( IMAGE *index, IMAGE *value, IMAGE *out );
|
||||
int im_histeq( IMAGE *in, IMAGE *out );
|
||||
int im_histnorm( IMAGE *in, IMAGE *out );
|
||||
int im_histcum( IMAGE *in, IMAGE *out );
|
||||
int im_histgr( IMAGE *in, IMAGE *out, int bandno );
|
||||
int im_histnD( IMAGE *in, IMAGE *out, int bins );
|
||||
int im_histplot( IMAGE *hist, IMAGE *histplot );
|
||||
int im_histspec( IMAGE *hin, IMAGE *href, IMAGE *lut );
|
||||
int im_hsp( IMAGE *in, IMAGE *ref, IMAGE *out );
|
||||
int im_hist_indexed( IMAGE *index, IMAGE *value, IMAGE *out );
|
||||
|
||||
int im_identity( IMAGE *lut, int bands );
|
||||
int im_identity_ushort( IMAGE *lut, int bands, int sz );
|
||||
int im_lhisteq( IMAGE *in, IMAGE *out, int xwin, int ywin );
|
||||
int im_invertlut( DOUBLEMASK *input, IMAGE *output, int lut_size );
|
||||
int im_buildlut( DOUBLEMASK *input, IMAGE *output );
|
||||
int im_project( IMAGE *in, IMAGE *hout, IMAGE *vout );
|
||||
|
||||
int im_histnorm( IMAGE *in, IMAGE *out );
|
||||
int im_histcum( IMAGE *in, IMAGE *out );
|
||||
int im_histeq( IMAGE *in, IMAGE *out );
|
||||
int im_histspec( IMAGE *hin, IMAGE *href, IMAGE *lut );
|
||||
int im_ismonotonic( IMAGE *lut, int *out );
|
||||
int im_histplot( IMAGE *hist, IMAGE *histplot );
|
||||
|
||||
int im_maplut( IMAGE *in, IMAGE *out, IMAGE *lut );
|
||||
|
||||
int im_hist( IMAGE *in, IMAGE *out, int bandno );
|
||||
int im_hsp( IMAGE *in, IMAGE *ref, IMAGE *out );
|
||||
int im_gammacorrect( IMAGE *in, IMAGE *out, double exponent );
|
||||
int im_mpercent( IMAGE *in, double percent, int *out );
|
||||
int im_mpercent_hist( IMAGE *hist, double percent, int *out );
|
||||
|
||||
int im_heq( IMAGE *in, IMAGE *out, int bandno );
|
||||
int im_lhisteq( IMAGE *in, IMAGE *out, int xwin, int ywin );
|
||||
int im_stdif( IMAGE *in, IMAGE *out,
|
||||
double a, double m0, double b, double s0, int xwin, int ywin );
|
||||
|
||||
int im_tone_build_range( IMAGE *out,
|
||||
int in_max, int out_max,
|
||||
double Lb, double Lw, double Ps, double Pm, double Ph,
|
||||
@ -66,11 +76,7 @@ int im_tone_build( IMAGE *out,
|
||||
double S, double M, double H );
|
||||
int im_tone_analyse( IMAGE *in, IMAGE *lut,
|
||||
double Ps, double Pm, double Ph, double S, double M, double H );
|
||||
int im_ismonotonic( IMAGE *lut, int *out );
|
||||
int im_tone_map( IMAGE *in, IMAGE *out, IMAGE *lut );
|
||||
int im_project( IMAGE *in, IMAGE *hout, IMAGE *vout );
|
||||
int im_mpercent( IMAGE *in, double percent, int *out );
|
||||
int im_mpercent_hist( IMAGE *hist, double percent, int *out );
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -297,8 +297,8 @@ GOptionGroup *im_get_option_group( void );
|
||||
const char *im_version_string( void );
|
||||
int im_version( int flag );
|
||||
|
||||
const char *im_guess_prefix( const char *, const char * );
|
||||
const char *im_guess_libdir( const char *, const char * );
|
||||
const char *im_guess_prefix( const char *argv0, const char *env_name );
|
||||
const char *im_guess_libdir( const char *argv0, const char *env_name );
|
||||
|
||||
VipsImage *im_open( const char *filename, const char *mode );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user