API
- imgaug
BackgroundAugmenter()Batch()BatchLoader()BoundingBox()BoundingBoxesOnImage()DeprecationWarningHeatmapsOnImage()HooksHeatmapsHooksImagesHooksKeypointsKeypoint()KeypointsOnImage()MultiPolygon()Polygon()PolygonsOnImage()SegmentationMapsOnImage()angle_between_vectors()apply_lut()apply_lut_()avg_pool()caller_name()compute_geometric_median()compute_line_intersection_point()compute_paddings_for_aspect_ratio()compute_paddings_to_reach_exponents_of()compute_paddings_to_reach_multiples_of()copy_random_state()current_random_state()deprecatedderive_random_state()derive_random_states()do_assert()draw_grid()draw_text()dummy_random_state()flatten()forward_random_state()imresize_many_images()imresize_single_image()imshow()is_callable()is_float_array()is_generator()is_integer_array()is_iterable()is_np_array()is_np_scalar()is_single_bool()is_single_float()is_single_integer()is_single_number()is_string()max_pool()max_pool_()median_pool()min_pool()min_pool_()new_random_state()normalize_random_state()pad()pad_to_aspect_ratio()pad_to_multiples_of()pool()quokka()quokka_bounding_boxes()quokka_heatmap()quokka_keypoints()quokka_polygons()quokka_segmentation_map()quokka_square()seed()show_grid()warn()warn_deprecated()
- imgaug.parameters
AbsoluteAddAutoPrefetcherBetaBinomialChiSquareChoiceClipDeterministicDeterministicListDiscreteUniformDiscretizeDivideForceSignFrequencyNoiseFromLowerResolutionIterativeNoiseAggregatorLaplaceMultiplyNegative()NormalPoissonPositive()PowerRandomSignSigmoidSimplexNoiseStochasticParameterSubtractTruncatedNormalUniformWeibullboth_np_float_if_one_is_float()draw_distributions_grid()force_np_float_dtype()handle_categorical_string_param()handle_continuous_param()handle_discrete_kernel_size_param()handle_discrete_param()handle_probability_param()no_prefetchingshow_distributions_grid()toggle_prefetching()toggled_prefetching
- imgaug.multicore
- imgaug.dtypes
allow_only_uint8()change_dtype_()change_dtypes_()clip_()clip_to_dtype_value_range_()copy_dtypes_for_restore()gate_dtypes()gate_dtypes_strs()get_minimal_dtype()get_value_range_of_dtype()increase_array_resolutions_()increase_itemsize_of_dtype()normalize_dtype()normalize_dtypes()promote_array_dtypes_()restore_dtypes_()
- imgaug.random
- Definitions
RNGRNG.advance_()RNG.beta()RNG.binomial()RNG.bytes()RNG.chisquare()RNG.choice()RNG.copy()RNG.copy_unless_global_rng()RNG.create_fully_random()RNG.create_if_not_rng_()RNG.create_pseudo_random_()RNG.derive_rng_()RNG.derive_rngs_()RNG.dirichlet()RNG.duplicate()RNG.equals()RNG.equals_global_rng()RNG.exponential()RNG.f()RNG.gamma()RNG.generate_seed_()RNG.generate_seeds_()RNG.geometric()RNG.gumbel()RNG.hypergeometric()RNG.integers()RNG.is_global_rng()RNG.laplace()RNG.logistic()RNG.lognormal()RNG.logseries()RNG.multinomial()RNG.multivariate_normal()RNG.negative_binomial()RNG.noncentral_chisquare()RNG.noncentral_f()RNG.normal()RNG.pareto()RNG.permutation()RNG.poisson()RNG.power()RNG.rand()RNG.randint()RNG.randn()RNG.random()RNG.random_integers()RNG.random_sample()RNG.rayleigh()RNG.reset_cache_()RNG.set_state_()RNG.shuffle()RNG.standard_cauchy()RNG.standard_exponential()RNG.standard_gamma()RNG.standard_normal()RNG.standard_t()RNG.stateRNG.tomaxint()RNG.triangular()RNG.uniform()RNG.use_state_of_()RNG.vonmises()RNG.wald()RNG.weibull()RNG.zipf()
advance_generator_()convert_seed_sequence_to_generator()convert_seed_to_generator()copy_generator()copy_generator_unless_global_generator()create_fully_random_generator()create_pseudo_random_generator_()derive_generator_()derive_generators_()generate_seed_()generate_seeds_()get_generator_state()get_global_rng()is_generator_equal_to()normalize_generator()normalize_generator_()polyfill_integers()polyfill_random()reset_generator_cache_()seed()set_generator_state_()supports_new_numpy_rng_style()temporary_numpy_seed
- imgaug.validation
- imgaug.augmentables.base
- imgaug.augmentables.batches
- imgaug.augmentables.bbs
BoundingBoxBoundingBox.almost_equals()BoundingBox.areaBoundingBox.center_xBoundingBox.center_yBoundingBox.clip_out_of_image()BoundingBox.clip_out_of_image_()BoundingBox.compute_out_of_image_area()BoundingBox.compute_out_of_image_fraction()BoundingBox.contains()BoundingBox.coordsBoundingBox.coords_almost_equals()BoundingBox.copy()BoundingBox.cut_out_of_image()BoundingBox.deepcopy()BoundingBox.draw_box_on_image()BoundingBox.draw_label_on_image()BoundingBox.draw_on_image()BoundingBox.extend()BoundingBox.extend_()BoundingBox.extract_from_image()BoundingBox.from_point_soup()BoundingBox.heightBoundingBox.intersection()BoundingBox.iou()BoundingBox.is_fully_within_image()BoundingBox.is_out_of_image()BoundingBox.is_partly_within_image()BoundingBox.project()BoundingBox.project_()BoundingBox.shift()BoundingBox.shift_()BoundingBox.to_keypoints()BoundingBox.to_polygon()BoundingBox.union()BoundingBox.widthBoundingBox.x1_intBoundingBox.x2_intBoundingBox.y1_intBoundingBox.y2_int
BoundingBoxesOnImageBoundingBoxesOnImage.clip_out_of_image()BoundingBoxesOnImage.clip_out_of_image_()BoundingBoxesOnImage.copy()BoundingBoxesOnImage.cut_out_of_image()BoundingBoxesOnImage.deepcopy()BoundingBoxesOnImage.draw_on_image()BoundingBoxesOnImage.emptyBoundingBoxesOnImage.fill_from_xy_array_()BoundingBoxesOnImage.fill_from_xyxy_array_()BoundingBoxesOnImage.from_point_soups()BoundingBoxesOnImage.from_xyxy_array()BoundingBoxesOnImage.heightBoundingBoxesOnImage.invert_to_keypoints_on_image_()BoundingBoxesOnImage.itemsBoundingBoxesOnImage.on()BoundingBoxesOnImage.on_()BoundingBoxesOnImage.remove_out_of_image()BoundingBoxesOnImage.remove_out_of_image_()BoundingBoxesOnImage.remove_out_of_image_fraction()BoundingBoxesOnImage.remove_out_of_image_fraction_()BoundingBoxesOnImage.shift()BoundingBoxesOnImage.shift_()BoundingBoxesOnImage.to_keypoints_on_image()BoundingBoxesOnImage.to_polygons_on_image()BoundingBoxesOnImage.to_xy_array()BoundingBoxesOnImage.to_xyxy_array()BoundingBoxesOnImage.width
- imgaug.augmentables.heatmaps
HeatmapsOnImageHeatmapsOnImage.avg_pool()HeatmapsOnImage.change_normalization()HeatmapsOnImage.copy()HeatmapsOnImage.deepcopy()HeatmapsOnImage.draw()HeatmapsOnImage.draw_on_image()HeatmapsOnImage.from_0to1()HeatmapsOnImage.from_uint8()HeatmapsOnImage.get_arr()HeatmapsOnImage.invert()HeatmapsOnImage.max_pool()HeatmapsOnImage.pad()HeatmapsOnImage.pad_to_aspect_ratio()HeatmapsOnImage.resize()HeatmapsOnImage.scale()HeatmapsOnImage.to_uint8()
- imgaug.augmentables.kps
KeypointKeypoint.almost_equals()Keypoint.compute_out_of_image_fraction()Keypoint.coordsKeypoint.coords_almost_equals()Keypoint.copy()Keypoint.deepcopy()Keypoint.draw_on_image()Keypoint.generate_similar_points_manhattan()Keypoint.is_out_of_image()Keypoint.project()Keypoint.project_()Keypoint.shift()Keypoint.shift_()Keypoint.x_intKeypoint.xyKeypoint.xy_intKeypoint.y_int
KeypointsOnImageKeypointsOnImage.clip_out_of_image()KeypointsOnImage.clip_out_of_image_()KeypointsOnImage.copy()KeypointsOnImage.deepcopy()KeypointsOnImage.draw_on_image()KeypointsOnImage.emptyKeypointsOnImage.fill_from_xy_array_()KeypointsOnImage.from_coords_array()KeypointsOnImage.from_distance_maps()KeypointsOnImage.from_keypoint_image()KeypointsOnImage.from_xy_array()KeypointsOnImage.get_coords_array()KeypointsOnImage.heightKeypointsOnImage.invert_to_keypoints_on_image_()KeypointsOnImage.itemsKeypointsOnImage.on()KeypointsOnImage.on_()KeypointsOnImage.remove_out_of_image_fraction()KeypointsOnImage.remove_out_of_image_fraction_()KeypointsOnImage.shift()KeypointsOnImage.shift_()KeypointsOnImage.to_distance_maps()KeypointsOnImage.to_keypoint_image()KeypointsOnImage.to_keypoints_on_image()KeypointsOnImage.to_xy_array()KeypointsOnImage.width
compute_geometric_median()
- imgaug.augmentables.lines
LineStringLineString.almost_equals()LineString.clip_out_of_image()LineString.compute_distance()LineString.compute_neighbour_distances()LineString.compute_out_of_image_fraction()LineString.compute_pointwise_distances()LineString.concatenate()LineString.contains()LineString.coords_almost_equals()LineString.copy()LineString.deepcopy()LineString.draw_heatmap_array()LineString.draw_lines_heatmap_array()LineString.draw_lines_on_image()LineString.draw_mask()LineString.draw_on_image()LineString.draw_points_heatmap_array()LineString.draw_points_on_image()LineString.extract_from_image()LineString.find_intersections_with()LineString.get_pointwise_inside_image_mask()LineString.heightLineString.is_fully_within_image()LineString.is_out_of_image()LineString.is_partly_within_image()LineString.lengthLineString.project()LineString.project_()LineString.shift()LineString.shift_()LineString.subdivide()LineString.to_bounding_box()LineString.to_heatmap()LineString.to_keypoints()LineString.to_polygon()LineString.to_segmentation_map()LineString.widthLineString.xxLineString.xx_intLineString.yyLineString.yy_int
LineStringsOnImageLineStringsOnImage.clip_out_of_image()LineStringsOnImage.clip_out_of_image_()LineStringsOnImage.copy()LineStringsOnImage.deepcopy()LineStringsOnImage.draw_on_image()LineStringsOnImage.emptyLineStringsOnImage.fill_from_xy_array_()LineStringsOnImage.from_xy_arrays()LineStringsOnImage.invert_to_keypoints_on_image_()LineStringsOnImage.itemsLineStringsOnImage.on()LineStringsOnImage.on_()LineStringsOnImage.remove_out_of_image()LineStringsOnImage.remove_out_of_image_()LineStringsOnImage.remove_out_of_image_fraction()LineStringsOnImage.remove_out_of_image_fraction_()LineStringsOnImage.shift()LineStringsOnImage.shift_()LineStringsOnImage.to_keypoints_on_image()LineStringsOnImage.to_xy_array()LineStringsOnImage.to_xy_arrays()
- imgaug.augmentables.normalization
estimate_bounding_boxes_norm_type()estimate_heatmaps_norm_type()estimate_keypoints_norm_type()estimate_line_strings_norm_type()estimate_normalization_type()estimate_polygons_norm_type()estimate_segmaps_norm_type()find_first_nonempty()invert_normalize_bounding_boxes()invert_normalize_heatmaps()invert_normalize_images()invert_normalize_keypoints()invert_normalize_line_strings()invert_normalize_polygons()invert_normalize_segmentation_maps()normalize_bounding_boxes()normalize_heatmaps()normalize_images()normalize_keypoints()normalize_line_strings()normalize_polygons()normalize_segmentation_maps()restore_dtype_and_merge()
- imgaug.augmentables.polys
MultiPolygonPolygonPolygon.almost_equals()Polygon.areaPolygon.change_first_point_by_coords()Polygon.change_first_point_by_index()Polygon.clip_out_of_image()Polygon.compute_out_of_image_area()Polygon.compute_out_of_image_fraction()Polygon.coordsPolygon.coords_almost_equals()Polygon.copy()Polygon.cut_out_of_image()Polygon.deepcopy()Polygon.draw_on_image()Polygon.exterior_almost_equals()Polygon.extract_from_image()Polygon.find_closest_point_index()Polygon.from_shapely()Polygon.heightPolygon.is_fully_within_image()Polygon.is_out_of_image()Polygon.is_partly_within_image()Polygon.is_validPolygon.project()Polygon.project_()Polygon.shift()Polygon.shift_()Polygon.subdivide()Polygon.subdivide_()Polygon.to_bounding_box()Polygon.to_keypoints()Polygon.to_line_string()Polygon.to_shapely_line_string()Polygon.to_shapely_polygon()Polygon.widthPolygon.xxPolygon.xx_intPolygon.yyPolygon.yy_int
PolygonsOnImagePolygonsOnImage.clip_out_of_image()PolygonsOnImage.clip_out_of_image_()PolygonsOnImage.copy()PolygonsOnImage.deepcopy()PolygonsOnImage.draw_on_image()PolygonsOnImage.emptyPolygonsOnImage.fill_from_xy_array_()PolygonsOnImage.invert_to_keypoints_on_image_()PolygonsOnImage.itemsPolygonsOnImage.on()PolygonsOnImage.on_()PolygonsOnImage.remove_out_of_image()PolygonsOnImage.remove_out_of_image_()PolygonsOnImage.remove_out_of_image_fraction()PolygonsOnImage.remove_out_of_image_fraction_()PolygonsOnImage.shift()PolygonsOnImage.shift_()PolygonsOnImage.subdivide()PolygonsOnImage.subdivide_()PolygonsOnImage.to_keypoints_on_image()PolygonsOnImage.to_xy_array()
recover_psois_()
- imgaug.augmentables.segmaps
SegmentationMapOnImage()SegmentationMapsOnImageSegmentationMapsOnImage.DEFAULT_SEGMENT_COLORSSegmentationMapsOnImage.copy()SegmentationMapsOnImage.deepcopy()SegmentationMapsOnImage.draw()SegmentationMapsOnImage.draw_on_image()SegmentationMapsOnImage.get_arr()SegmentationMapsOnImage.get_arr_int()SegmentationMapsOnImage.pad()SegmentationMapsOnImage.pad_to_aspect_ratio()SegmentationMapsOnImage.resize()SegmentationMapsOnImage.scale()
- imgaug.augmentables.utils
- imgaug.augmenters.arithmetic
AddAddElementwiseAdditiveGaussianNoiseAdditiveLaplaceNoiseAdditivePoissonNoiseCoarseDropoutCoarsePepperCoarseSaltCoarseSaltAndPepperContrastNormalization()CutoutDropoutDropout2dImpulseNoiseInvertJpegCompressionMultiplyMultiplyElementwisePepperReplaceElementwiseSaltSaltAndPepperSolarizeTotalDropoutadd_elementwise()add_scalar()add_scalar_()compress_jpeg()cutout()cutout_()invert()invert_()multiply_elementwise()multiply_elementwise_()multiply_scalar()multiply_scalar_()replace_elementwise_()solarize()solarize_()
- imgaug.augmenters.artistic
- imgaug.augmenters.base
- imgaug.augmenters.blend
Alpha()AlphaElementwise()BlendAlphaBlendAlphaBoundingBoxesBlendAlphaCheckerboardBlendAlphaElementwiseBlendAlphaFrequencyNoiseBlendAlphaHorizontalLinearGradientBlendAlphaMaskBlendAlphaRegularGridBlendAlphaSegMapClassIdsBlendAlphaSimplexNoiseBlendAlphaSomeColorsBlendAlphaVerticalLinearGradientBoundingBoxesMaskGenCheckerboardMaskGenFrequencyNoiseAlpha()HorizontalLinearGradientMaskGenIBatchwiseMaskGeneratorInvertMaskGenRegularGridMaskGenSegMapClassIdsMaskGenSimplexNoiseAlpha()SomeColorsMaskGenStochasticParameterMaskGenVerticalLinearGradientMaskGenblend_alpha()blend_alpha_()
- imgaug.augmenters.blur
- imgaug.augmenters.collections
- imgaug.augmenters.color
AddToBrightnessAddToHueAddToHueAndSaturationAddToSaturationChangeColorTemperatureChangeColorspaceGrayscaleInColorspace()KMeansColorQuantizationMultiplyAndAddToBrightnessMultiplyBrightnessMultiplyHueMultiplyHueAndSaturationMultiplySaturationPosterizeRemoveSaturationUniformColorQuantizationUniformColorQuantizationToNBitsWithBrightnessChannelsWithColorspaceWithHueAndSaturationchange_color_temperature()change_color_temperatures_()change_colorspace_()change_colorspaces_()posterize()quantize_colors_kmeans()quantize_colors_uniform()quantize_kmeans()quantize_uniform()quantize_uniform_()quantize_uniform_to_n_bits()quantize_uniform_to_n_bits_()
- imgaug.augmenters.contrast
- imgaug.augmenters.convolutional
- imgaug.augmenters.debug
- imgaug.augmenters.edges
- imgaug.augmenters.flip
- imgaug.augmenters.geometric
- imgaug.augmenters.imgcorruptlike
BrightnessContrastDefocusBlurElasticTransformFogFrostGaussianBlurGaussianNoiseGlassBlurImpulseNoiseJpegCompressionMotionBlurPixelateSaturateShotNoiseSnowSpatterSpeckleNoiseZoomBlurapply_brightness()apply_contrast()apply_defocus_blur()apply_elastic_transform()apply_fog()apply_frost()apply_gaussian_blur()apply_gaussian_noise()apply_glass_blur()apply_impulse_noise()apply_jpeg_compression()apply_motion_blur()apply_pixelate()apply_saturate()apply_shot_noise()apply_snow()apply_spatter()apply_speckle_noise()apply_zoom_blur()get_corruption_names()
- imgaug.augmenters.meta
AssertLambdaAssertShapeAugmenterAugmenter.augment()Augmenter.augment_batch()Augmenter.augment_batch_()Augmenter.augment_batches()Augmenter.augment_bounding_boxes()Augmenter.augment_heatmaps()Augmenter.augment_image()Augmenter.augment_images()Augmenter.augment_keypoints()Augmenter.augment_line_strings()Augmenter.augment_polygons()Augmenter.augment_segmentation_maps()Augmenter.copy()Augmenter.copy_random_state()Augmenter.copy_random_state_()Augmenter.deepcopy()Augmenter.draw_grid()Augmenter.find_augmenters()Augmenter.find_augmenters_by_name()Augmenter.find_augmenters_by_names()Augmenter.get_all_children()Augmenter.get_children_lists()Augmenter.get_parameters()Augmenter.localize_random_state()Augmenter.localize_random_state_()Augmenter.pool()Augmenter.remove_augmenters()Augmenter.remove_augmenters_()Augmenter.remove_augmenters_inplace()Augmenter.reseed()Augmenter.seed_()Augmenter.show_grid()Augmenter.to_deterministic()
ChannelShuffleClipCBAsToImagePlanesIdentityLambdaNoopOneOfRemoveCBAsByOutOfImageFractionSequentialSomeOfSometimesWithChannelsclip_augmented_image()clip_augmented_image_()clip_augmented_images()clip_augmented_images_()copy_arrays()estimate_max_number_of_channels()handle_children_list()invert_reduce_to_nonempty()reduce_to_nonempty()shuffle_channels()
- imgaug.augmenters.pillike
AffineAutocontrastEnhanceBrightnessEnhanceColorEnhanceContrastEnhanceSharpnessEqualizeFilterBlurFilterContourFilterDetailFilterEdgeEnhanceFilterEdgeEnhanceMoreFilterEmbossFilterFindEdgesFilterSharpenFilterSmoothFilterSmoothMorePosterizeSolarizeautocontrast()enhance_brightness()enhance_color()enhance_contrast()enhance_sharpness()equalize()equalize_()filter_blur()filter_contour()filter_detail()filter_edge_enhance()filter_edge_enhance_more()filter_emboss()filter_find_edges()filter_sharpen()filter_smooth()filter_smooth_more()posterize()posterize_()solarize()solarize_()warp_affine()
- imgaug.augmenters.pooling
- imgaug.augmenters.segmentation
- imgaug.augmenters.size
CenterCropToAspectRatioCenterCropToFixedSizeCenterCropToMultiplesOfCenterCropToPowersOfCenterCropToSquareCenterPadToAspectRatioCenterPadToFixedSizeCenterPadToMultiplesOfCenterPadToPowersOfCenterPadToSquareCropCropAndPadCropToAspectRatioCropToFixedSizeCropToMultiplesOfCropToPowersOfCropToSquareKeepSizeByResizePadPadToAspectRatioPadToFixedSizePadToMultiplesOfPadToPowersOfPadToSquareResizeScale()compute_croppings_to_reach_aspect_ratio()compute_croppings_to_reach_multiples_of()compute_croppings_to_reach_powers_of()compute_paddings_to_reach_aspect_ratio()compute_paddings_to_reach_multiples_of()compute_paddings_to_reach_powers_of()pad()pad_to_aspect_ratio()pad_to_multiples_of()
- imgaug.augmenters.weather