Method: Vips::Image#rect
- Defined in:
- lib/vips8/image.rb
permalink #rect ⇒ Image
Return an image with polar pixels converted to rectangular.
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.
1071 1072 1073 |
# File 'lib/vips8/image.rb', line 1071 def rect Image::run_cmplx(self) {|x| x.complex :rect} end |