Module: geometry_transformation

class FlipImageX(x_c=None, fill=0)[source]

Bases: asterism.core.image_processing.geometry_transformation.ImageTransform

Methods

apply(image[, fill])
func(image[, x_c, fill, Image_obj])
func(image, x_c=None, fill=None, Image_obj=None)[source]
class FlipImageY(y_c=None, fill=0)[source]

Bases: asterism.core.image_processing.geometry_transformation.ImageTransform

Methods

apply(image[, fill])
func(image[, y_c, fill, Image_obj])
func(image, y_c=None, fill=None, Image_obj=None)[source]
class ImageTransform(func, name='')[source]

Bases: object

Methods

apply(image[, fill])
apply(image, fill=None, **kwg)[source]
class MapToCircle(a, b, angle, angle_units='deg', mode='constant', rotation_center=None, fill=0, resize=True)[source]

Bases: asterism.core.image_processing.geometry_transformation.ImageTransform

Methods

apply(image[, fill])
func(image[, fill, Image_obj])
func(image, fill=None, Image_obj=None)[source]
class RescaleImage(scale=None, fill=0)[source]

Bases: asterism.core.image_processing.geometry_transformation.ImageTransform

Methods

apply(image[, fill])
func(image[, scale, order, mode, fill, ...])
func(image, scale=None, order=1, mode='constant', fill=0.0, clip=True, preserve_range=True, Image_obj=None, preserve_integral_flux=False)[source]
class RotateImage(angle=90.0, units='deg', mode='constant', resize=True, rotation_center=None, fill=0)[source]

Bases: asterism.core.image_processing.geometry_transformation.ImageTransform

Attributes

center
center_x
center_y

Methods

apply(image[, fill])
func(image_array[, fill, center, Image_obj])
center
center_x
center_y
func(image_array, fill=None, center=None, Image_obj=None)[source]
test()[source]