VOOZH about

URL: https://www.geeksforgeeks.org/python/python-scipy-ndimage-interpolation-geometric_transform-function/

⇱ Python Scipy - ndimage.interpolation.geometric_transform() function - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Python Scipy - ndimage.interpolation.geometric_transform() function

Last Updated : 6 Jul, 2021

The given mapping function is used to find, for each point in the output, the corresponding coordinates in the input

Syntax: scipy.ndimage.interpolation.geometric_transform(input, mapping,  order=3)

Parameters  

  • input : takes an array.
  • mapping : accepts a tuple data structure similar to length of given output array rank.
  • order : int parameter. which is a spline interpolation and the default value is 3.

Returns: Returns an n d array.

Example 1:

Output:


 

👁 Image


 

Example 2:


 

Output:

👁 Image
Comment
Article Tags:
Article Tags: