Image Processing, Opencv, Python, Mathematics, 3d Modeling.
Cartesian coordinates x = 2 y = 3 # Convert the point to homogeneous coordinates point_cart = np.array([x, y, 1]) point_homog = point_cart.reshape(-1, 1) # Define a 2D transformation matrix T = np.array([[1, 0, 3], [0, 1, 2], [0, 0, 1]]) # Apply the transformation to the point in homogeneous