Method: Vips::Image#cos

Defined in:
lib/vips8/image.rb

#cosImage

Return the cosine of an image in degrees.

Returns:

  • (Image)

    cosine of each pixel

[View source]

1097
1098
1099
# File 'lib/vips8/image.rb', line 1097

def cos
    math :cos
end