Method: Vips::Image#conj

Defined in:
lib/vips8/image.rb

#conjImage

Return the complex conjugate of an image.

The image can be complex, in which case the return image will also be complex, or must have an even number of bands, in which case pairs of bands are treated as (x, y) coordinates.

Returns:

  • (Image)

    complex conjugate

[View source]

1083
1084
1085
# File 'lib/vips8/image.rb', line 1083

def conj
    Image::run_cmplx(self) {|x| x.complex :conj}
end