Skip to content

Commit 0407285

Browse files
committed
update docs in freqfilt
1 parent 1db77ac commit 0407285

File tree

6 files changed

+20
-13
lines changed

6 files changed

+20
-13
lines changed

libvips/freqfilt/freqfilt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ vips_freqfilt_init(VipsFreqfilt *freqfilt)
116116
* partial bandjoin ->
117117
* output pipeline
118118
*
119-
* vips__fftproc() needs to just call VipsFftProcessFn directly for 1 band images,
120-
* so we can't cache the output in this fn.
119+
* vips__fftproc() needs to just call VipsFftProcessFn directly for 1 band
120+
* images, so we can't cache the output in this fn.
121121
*/
122122
int
123123
vips__fftproc(VipsObject *context,

libvips/freqfilt/freqmult.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ vips_freqmult_init(VipsFreqmult *freqmult)
151151
* transformed back to real space. If @in is already a complex image, just
152152
* multiply then inverse transform.
153153
*
154-
* See also: vips_invfft(), vips_mask_ideal().
154+
* ::: seealso
155+
* [method@Image.invfft], [ctor@Image.mask_ideal].
155156
*
156157
* Returns: 0 on success, -1 on error.
157158
*/

libvips/freqfilt/fwfft.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,8 @@ vips_fwfft_init(VipsFwfft *fwfft)
370370
* VIPS uses the fftw Fourier Transform library. If this library was not
371371
* available when VIPS was configured, these functions will fail.
372372
*
373-
* See also: vips_invfft().
373+
* ::: seealso
374+
* [method@Image.invfft].
374375
*
375376
* Returns: 0 on success, -1 on error.
376377
*/

libvips/freqfilt/invfft.c

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -284,17 +284,19 @@ vips_invfft_init(VipsInvfft *invfft)
284284
* @out: (out): output image
285285
* @...: %NULL-terminated list of optional named arguments
286286
*
287-
* Optional arguments:
287+
* Transform an image from Fourier space to real space.
288288
*
289-
* * @real: only output the real part
290-
*
291-
* Transform an image from Fourier space to real space. The result is complex.
292-
* If you are OK with a real result, set @real, it's quicker.
289+
* The result is complex. If you are OK with a real result, set @real,
290+
* it's quicker.
293291
*
294292
* VIPS uses the fftw Fourier Transform library. If this library was not
295293
* available when VIPS was configured, these functions will fail.
296294
*
297-
* See also: vips_fwfft().
295+
* ::: tip "Optional arguments"
296+
* * @real: %gboolean, only output the real part
297+
*
298+
* ::: seealso
299+
* [method@Image.fwfft].
298300
*
299301
* Returns: 0 on success, -1 on error.
300302
*/

libvips/freqfilt/phasecor.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ vips_phasecor_init(VipsPhasecor *phasecor)
129129
* Convert the two input images to Fourier space, calculate phase-correlation,
130130
* back to real space.
131131
*
132-
* See also: vips_fwfft(), vips_cross_phase(),
132+
* ::: seealso
133+
* [method@Image.fwfft], [method@Image.cross_phase],
133134
*
134135
* Returns: 0 on success, -1 on error.
135136
*/

libvips/freqfilt/spectrum.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,11 @@ vips_spectrum_init(VipsSpectrum *spectrum)
115115
* Make a displayable (ie. 8-bit unsigned int) power spectrum.
116116
*
117117
* If @in is non-complex, it is transformed to Fourier space. Then the
118-
* absolute value is passed through vips_scale() in log mode, and vips_wrap().
118+
* absolute value is passed through [method@Image.scale] in log mode, and
119+
* [method@Image.wrap].
119120
*
120-
* See also: vips_fwfft(), vips_scale(), vips_wrap().
121+
* ::: seealso
122+
* [method@Image.fwfft], [method@Image.scale], [method@Image.wrap].
121123
*
122124
* Returns: 0 on success, -1 on error.
123125
*/

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy