def convert(self, point):
        """
        Convert a point from one coordinate system to another.

        Args:
          point: tuple(int x, int y)
            The point in the original coordinate system.

        Returns:
          converted_point: tuple(int x, int y)
            The point in the new coordinate system.

        Example: convert coordinate from original image into a pixel location
          within a cutout image.

        @rtype: list(float,float)
        """
        x, y = point
        (x1, y1) = x - self.x_offset, y - self.y_offset
        logger.debug("converted {} {} ==> {} {}".format(x, y, x1, y1))
        return x1, y1
def convert ( self , point ) : x , y = point ( x1 , y1 ) = x - self . x_offset , y - self . y_offset logger . debug ( "converted {} {} ==> {} {}" . format ( x , y , x1 , y1 ) ) return x1 , y1
Convert a point from one coordinate system to another.

        Args:
          point: tuple(int x, int y)
            The point in the original coordinate system.

        Returns:
          converted_point: tuple(int x, int y)
            The point in the new coordinate system.

        Example: convert coordinate from original image into a pixel location
          within a cutout image.

        @rtype: list(float,float)