SYMBOL INDEX (8828 symbols across 144 files) FILE: checks/check_add_to_hue_and_saturation.py function main (line 14) | def main(): FILE: checks/check_affine.py function main (line 20) | def main(): FILE: checks/check_affinecv2.py function main (line 18) | def main(): FILE: checks/check_average_blur.py function main (line 14) | def main(): FILE: checks/check_background_augmentation.py function main (line 13) | def main(): function load_images (line 261) | def load_images(n_batches=10, sleep=0.0): function draw_grid (line 284) | def draw_grid(images_aug, keypoints_aug): FILE: checks/check_bb_augmentation.py function main (line 20) | def main(): FILE: checks/check_bilateral_blur.py function main (line 12) | def main(): FILE: checks/check_blendalphasegmapclassids.py function main (line 7) | def main(): FILE: checks/check_blendalphasomecolors.py function main (line 7) | def main(): FILE: checks/check_brightness.py function main (line 7) | def main(): FILE: checks/check_canny.py function main (line 6) | def main(): FILE: checks/check_cartoon.py function main (line 8) | def main(): FILE: checks/check_channel_shuffle.py function main (line 8) | def main(): FILE: checks/check_clouds.py function main (line 9) | def main(): FILE: checks/check_color_temperature.py function main (line 7) | def main(): FILE: checks/check_contrast.py function main (line 11) | def main(): FILE: checks/check_crop_and_pad.py function main (line 8) | def main(): FILE: checks/check_cutout.py function main (line 6) | def main(): FILE: checks/check_deprecation_warning.py class Dummy1 (line 6) | class Dummy1(object): method __init__ (line 8) | def __init__(self): class Dummy2 (line 12) | class Dummy2(object): method __init__ (line 14) | def __init__(self): class Dummy3 (line 18) | class Dummy3(object): method __init__ (line 19) | def __init__(self): method foo (line 24) | def foo(self): function foo (line 29) | def foo(): function main (line 33) | def main(): FILE: checks/check_directed_edge_detect.py function main (line 15) | def main(): FILE: checks/check_elastic_transformation.py function main (line 16) | def main(): class ElasticTransformationScipy (line 132) | class ElasticTransformationScipy(iaa.ElasticTransformation): method map_coordinates (line 134) | def map_coordinates(cls, image, dx, dy, order=1, cval=0, mode="constan... class ElasticTransformationCv2 (line 227) | class ElasticTransformationCv2(iaa.ElasticTransformation): method map_coordinates (line 229) | def map_coordinates(cls, image, dx, dy, order=1, cval=0, mode="constan... FILE: checks/check_fast_snowy_landscape.py function main (line 9) | def main(): FILE: checks/check_fixed_size.py function main (line 9) | def main(): FILE: checks/check_flip_performance.py function main (line 80) | def main(): FILE: checks/check_fog.py function main (line 9) | def main(): FILE: checks/check_heatmaps.py function main (line 9) | def main(): FILE: checks/check_impulse_noise.py function main (line 7) | def main(): FILE: checks/check_imshow.py function main (line 8) | def main(): FILE: checks/check_jigsaw.py function main (line 7) | def main(): FILE: checks/check_jpeg_compression.py function main (line 9) | def main(): FILE: checks/check_kmeans_color_quantization.py function main (line 7) | def main(): FILE: checks/check_laplace_noise.py function main (line 7) | def main(): FILE: checks/check_mean_shift_blur.py function main (line 6) | def main(): FILE: checks/check_median_blur.py function main (line 14) | def main(): FILE: checks/check_motion_blur.py function main (line 15) | def main(): FILE: checks/check_multicore_pool.py class PoolWithMarkedWorker (line 14) | class PoolWithMarkedWorker(multicore.Pool): method __init__ (line 15) | def __init__(self, *args, **kwargs): method _worker (line 19) | def _worker(cls, batch_idx, batch): function main (line 28) | def main(): function load_images (line 321) | def load_images(n_batches=10, sleep=0.0, draw_text=True): function draw_grid (line 354) | def draw_grid(images_aug, keypoints_aug): FILE: checks/check_multiply_hue_and_saturation.py function main (line 9) | def main(): FILE: checks/check_noise.py function main (line 10) | def main(): FILE: checks/check_parameters.py function main (line 13) | def main(): FILE: checks/check_performance.py function main (line 160) | def main(): FILE: checks/check_perspective_transform.py function main (line 9) | def main(): FILE: checks/check_piecewise_affine.py function main (line 12) | def main(): function keypoints_draw_on_image (line 53) | def keypoints_draw_on_image(kps, image, color=[0, 255, 0], size=3, copy=... FILE: checks/check_poisson_noise.py function main (line 6) | def main(): FILE: checks/check_polygons_stay_valid_during_augmentation.py function main (line 9) | def main(): function create_random_polygon (line 44) | def create_random_polygon(height, width, seed): FILE: checks/check_pooling.py function main (line 9) | def main(): function run (line 16) | def run(clazz): FILE: checks/check_quantize_uniform_to_n_bits.py function main (line 7) | def main(): function posterize (line 41) | def posterize(arr, n_bits): FILE: checks/check_rain.py function main (line 9) | def main(): FILE: checks/check_randaugment.py function main (line 9) | def main(): FILE: checks/check_readme_examples.py function main (line 17) | def main(): function seeded (line 35) | def seeded(func): function example_simple_training_setting (line 45) | def example_simple_training_setting(): function example_very_complex_augmentation_pipeline (line 87) | def example_very_complex_augmentation_pipeline(): function example_augment_images_and_keypoints (line 180) | def example_augment_images_and_keypoints(): function example_augment_images_and_bounding_boxes (line 207) | def example_augment_images_and_bounding_boxes(): function example_augment_images_and_polygons (line 230) | def example_augment_images_and_polygons(): function example_augment_images_and_linestrings (line 252) | def example_augment_images_and_linestrings(): function example_augment_images_and_heatmaps (line 275) | def example_augment_images_and_heatmaps(): function example_augment_images_and_segmentation_maps (line 295) | def example_augment_images_and_segmentation_maps(): function example_visualize_augmented_images (line 315) | def example_visualize_augmented_images(): function example_visualize_augmented_non_image_data (line 330) | def example_visualize_augmented_non_image_data(): function example_using_augmenters_only_once (line 371) | def example_using_augmenters_only_once(): function example_multicore_augmentation (line 389) | def example_multicore_augmentation(): function example_probability_distributions_as_parameters (line 423) | def example_probability_distributions_as_parameters(): function example_withchannels (line 445) | def example_withchannels(): function example_hooks (line 464) | def example_hooks(): FILE: checks/check_remove_saturation.py function main (line 6) | def main(): FILE: checks/check_resize.py function main (line 11) | def main(): FILE: checks/check_rot90.py function main (line 6) | def main(): FILE: checks/check_seed.py function main (line 11) | def main(): FILE: checks/check_segmentation_maps.py function main (line 9) | def main(): FILE: checks/check_single_image_warning.py function main (line 8) | def main(): FILE: checks/check_snowflakes.py function main (line 9) | def main(): FILE: checks/check_snowflakes_layer.py function main (line 9) | def main(): FILE: checks/check_solarize.py function main (line 7) | def main(): FILE: checks/check_some_of.py function main (line 14) | def main(): function to_grid (line 90) | def to_grid(rows, rows_kps): FILE: checks/check_superpixels.py function main (line 18) | def main(): FILE: checks/check_uniform_color_quantization.py function main (line 7) | def main(): FILE: checks/check_visually.py function main (line 17) | def main(): FILE: checks/check_voronoi.py function main (line 9) | def main(): FILE: checks/check_with_hue_and_saturation.py function main (line 6) | def main(): FILE: checks/check_withchannels.py function main (line 13) | def main(): FILE: checks/check_withcolorspace.py function main (line 10) | def main(): FILE: imgaug/augmentables/base.py class IAugmentable (line 9) | class IAugmentable(object): FILE: imgaug/augmentables/batches.py function _get_column_names (line 23) | def _get_column_names(batch, postfix): function _get_columns (line 29) | def _get_columns(batch, postfix): class UnnormalizedBatch (line 45) | class UnnormalizedBatch(object): method __init__ (line 133) | def __init__(self, images=None, heatmaps=None, segmentation_maps=None, method get_column_names (line 153) | def get_column_names(self): method to_normalized_batch (line 170) | def to_normalized_batch(self): method fill_from_augmented_normalized_batch_ (line 218) | def fill_from_augmented_normalized_batch_(self, batch_aug_norm): method fill_from_augmented_normalized_batch (line 259) | def fill_from_augmented_normalized_batch(self, batch_aug_norm): class Batch (line 314) | class Batch(object): method __init__ (line 350) | def __init__(self, images=None, heatmaps=None, segmentation_maps=None, method images (line 372) | def images(self): method heatmaps (line 378) | def heatmaps(self): method segmentation_maps (line 384) | def segmentation_maps(self): method keypoints (line 390) | def keypoints(self): method bounding_boxes (line 396) | def bounding_boxes(self): method get_column_names (line 400) | def get_column_names(self): method to_normalized_batch (line 417) | def to_normalized_batch(self): method to_batch_in_augmentation (line 433) | def to_batch_in_augmentation(self): method fill_from_batch_in_augmentation_ (line 460) | def fill_from_batch_in_augmentation_(self, batch_in_augmentation): method deepcopy (line 488) | def deepcopy(self, class _BatchInAugmentationPropagationContext (line 614) | class _BatchInAugmentationPropagationContext(object): method __init__ (line 615) | def __init__(self, batch, augmenter, hooks, parents): method __enter__ (line 622) | def __enter__(self): method __exit__ (line 628) | def __exit__(self, exc_type, exc_val, exc_tb): class _BatchInAugmentation (line 634) | class _BatchInAugmentation(object): method __init__ (line 670) | def __init__(self, images=None, heatmaps=None, segmentation_maps=None, method empty (line 684) | def empty(self): method nb_rows (line 699) | def nb_rows(self): method columns (line 720) | def columns(self): method get_column_names (line 736) | def get_column_names(self): method get_rowwise_shapes (line 753) | def get_rowwise_shapes(self): method subselect_rows_by_indices (line 787) | def subselect_rows_by_indices(self, indices): method invert_subselect_rows_by_indices_ (line 818) | def invert_subselect_rows_by_indices_(self, indices, batch_subselected): method propagation_hooks_ctx (line 890) | def propagation_hooks_ctx(self, augmenter, hooks, parents): method apply_propagation_hooks_ (line 915) | def apply_propagation_hooks_(self, augmenter, hooks, parents): method invert_apply_propagation_hooks_ (line 956) | def invert_apply_propagation_hooks_(self, noned_info): method to_batch_in_augmentation (line 983) | def to_batch_in_augmentation(self): method fill_from_batch_in_augmentation_ (line 999) | def fill_from_batch_in_augmentation_(self, batch_in_augmentation): method to_batch (line 1031) | def to_batch(self, batch_before_aug): method deepcopy (line 1070) | def deepcopy(self): FILE: imgaug/augmentables/bbs.py class BoundingBox (line 22) | class BoundingBox(object): method __init__ (line 51) | def __init__(self, x1, y1, x2, y2, label=None): method coords (line 65) | def coords(self): method x1_int (line 83) | def x1_int(self): method y1_int (line 98) | def y1_int(self): method x2_int (line 113) | def x2_int(self): method y2_int (line 128) | def y2_int(self): method height (line 143) | def height(self): method width (line 155) | def width(self): method center_x (line 167) | def center_x(self): method center_y (line 179) | def center_y(self): method area (line 191) | def area(self): method contains (line 203) | def contains(self, other): method project_ (line 224) | def project_(self, from_shape, to_shape): method project (line 260) | def project(self, from_shape, to_shape): method extend_ (line 288) | def extend_(self, all_sides=0, top=0, right=0, bottom=0, left=0): method extend (line 328) | def extend(self, all_sides=0, top=0, right=0, bottom=0, left=0): method intersection (line 361) | def intersection(self, other, default=None): method union (line 393) | def union(self, other): method iou (line 417) | def iou(self, other): method compute_out_of_image_area (line 443) | def compute_out_of_image_area(self, image): method compute_out_of_image_fraction (line 470) | def compute_out_of_image_fraction(self, image): method is_fully_within_image (line 507) | def is_fully_within_image(self, image): method is_partly_within_image (line 533) | def is_partly_within_image(self, image): method is_out_of_image (line 558) | def is_out_of_image(self, image, fully=True, partly=False): method cut_out_of_image (line 594) | def cut_out_of_image(self, *args, **kwargs): method clip_out_of_image_ (line 598) | def clip_out_of_image_(self, image): method clip_out_of_image (line 634) | def clip_out_of_image(self, image): method shift_ (line 653) | def shift_(self, x=0, y=0): method shift (line 683) | def shift(self, x=0, y=0, top=None, right=None, bottom=None, left=None): method draw_label_on_image (line 729) | def draw_label_on_image(self, image, color=(0, 255, 0), method draw_box_on_image (line 801) | def draw_box_on_image(self, image, color=(0, 255, 0), alpha=1.0, method draw_on_image (line 902) | def draw_on_image(self, image, color=(0, 255, 0), alpha=1.0, size=1, method extract_from_image (line 964) | def extract_from_image(self, image, pad=True, pad_max=None, method to_keypoints (line 1095) | def to_keypoints(self): method to_polygon (line 1114) | def to_polygon(self): method coords_almost_equals (line 1136) | def coords_almost_equals(self, other, max_distance=1e-4): method almost_equals (line 1179) | def almost_equals(self, other, max_distance=1e-4): method from_point_soup (line 1210) | def from_point_soup(cls, xy): method copy (line 1250) | def copy(self, x1=None, y1=None, x2=None, y2=None, label=None): method deepcopy (line 1289) | def deepcopy(self, x1=None, y1=None, x2=None, y2=None, label=None): method __getitem__ (line 1325) | def __getitem__(self, indices): method __iter__ (line 1338) | def __iter__(self): method __repr__ (line 1351) | def __repr__(self): method __str__ (line 1354) | def __str__(self): class BoundingBoxesOnImage (line 1359) | class BoundingBoxesOnImage(IAugmentable): method __init__ (line 1385) | def __init__(self, bounding_boxes, shape): method items (line 1390) | def items(self): method items (line 1404) | def items(self, value): method height (line 1420) | def height(self): method width (line 1434) | def width(self): method empty (line 1446) | def empty(self): method on_ (line 1457) | def on_(self, image): method on (line 1487) | def on(self, image): method from_xyxy_array (line 1507) | def from_xyxy_array(cls, xyxy, shape): method from_point_soups (line 1551) | def from_point_soups(cls, xy, shape): method to_xyxy_array (line 1586) | def to_xyxy_array(self, dtype=np.float32): method to_xy_array (line 1612) | def to_xy_array(self): method fill_from_xyxy_array_ (line 1626) | def fill_from_xyxy_array_(self, xyxy): method fill_from_xy_array_ (line 1676) | def fill_from_xy_array_(self, xy): method draw_on_image (line 1701) | def draw_on_image(self, image, color=(0, 255, 0), alpha=1.0, size=1, method remove_out_of_image_ (line 1754) | def remove_out_of_image_(self, fully=True, partly=False): method remove_out_of_image (line 1784) | def remove_out_of_image(self, fully=True, partly=False): method remove_out_of_image_fraction_ (line 1806) | def remove_out_of_image_fraction_(self, fraction): method remove_out_of_image_fraction (line 1831) | def remove_out_of_image_fraction(self, fraction): method cut_out_of_image (line 1856) | def cut_out_of_image(self): method clip_out_of_image_ (line 1860) | def clip_out_of_image_(self): method clip_out_of_image (line 1882) | def clip_out_of_image(self): method shift_ (line 1893) | def shift_(self, x=0, y=0): method shift (line 1921) | def shift(self, x=0, y=0, top=None, right=None, bottom=None, left=None): method to_keypoints_on_image (line 1966) | def to_keypoints_on_image(self): method invert_to_keypoints_on_image_ (line 1998) | def invert_to_keypoints_on_image_(self, kpsoi): method to_polygons_on_image (line 2034) | def to_polygons_on_image(self): method copy (line 2051) | def copy(self, bounding_boxes=None, shape=None): method deepcopy (line 2078) | def deepcopy(self, bounding_boxes=None, shape=None): method __getitem__ (line 2106) | def __getitem__(self, indices): method __iter__ (line 2119) | def __iter__(self): method __len__ (line 2134) | def __len__(self): method __repr__ (line 2147) | def __repr__(self): method __str__ (line 2150) | def __str__(self): class _LabelOnImageDrawer (line 2156) | class _LabelOnImageDrawer(object): method __init__ (line 2159) | def __init__(self, color=(0, 255, 0), color_text=None, color_bg=None, method draw_on_image_ (line 2171) | def draw_on_image_(self, image, bounding_box): method draw_on_image (line 2193) | def draw_on_image(self, image, bounding_box): method _do_raise_if_out_of_image (line 2197) | def _do_raise_if_out_of_image(cls, image, bounding_box): method _preprocess_colors (line 2206) | def _preprocess_colors(self): method _compute_bg_corner_coords (line 2233) | def _compute_bg_corner_coords(self, image, bounding_box): method _draw_label_arr (line 2253) | def _draw_label_arr(cls, label, height, width, nb_channels, dtype, method _blend_label_arr_with_image_ (line 2264) | def _blend_label_arr_with_image_(self, image, label_arr, x1, y1, x2, y2): FILE: imgaug/augmentables/heatmaps.py class HeatmapsOnImage (line 11) | class HeatmapsOnImage(IAugmentable): method __init__ (line 43) | def __init__(self, arr, shape, min_value=0.0, max_value=1.0): method get_arr (line 96) | def get_arr(self): method draw (line 129) | def draw(self, size=None, cmap="jet"): method draw_on_image (line 187) | def draw_on_image(self, image, alpha=0.75, cmap="jet", resize="heatmap... method invert (line 254) | def invert(self): method pad (line 286) | def pad(self, top=0, right=0, bottom=0, left=0, mode="constant", cval=... method pad_to_aspect_ratio (line 337) | def pad_to_aspect_ratio(self, aspect_ratio, mode="constant", cval=0.0, method avg_pool (line 396) | def avg_pool(self, block_size): method max_pool (line 418) | def max_pool(self, block_size): method scale (line 442) | def scale(self, *args, **kwargs): method resize (line 446) | def resize(self, sizes, interpolation="cubic"): method to_uint8 (line 479) | def to_uint8(self): method from_uint8 (line 497) | def from_uint8(arr_uint8, shape, min_value=0.0, max_value=1.0): method from_0to1 (line 541) | def from_0to1(arr_0to1, shape, min_value=0.0, max_value=1.0): method change_normalization (line 586) | def change_normalization(cls, arr, source, target): method copy (line 660) | def copy(self): method deepcopy (line 671) | def deepcopy(self): FILE: imgaug/augmentables/kps.py function compute_geometric_median (line 18) | def compute_geometric_median(points=None, eps=1e-5, X=None): class Keypoint (line 74) | class Keypoint(object): method __init__ (line 87) | def __init__(self, x, y): method coords (line 92) | def coords(self): method x_int (line 109) | def x_int(self): method y_int (line 121) | def y_int(self): method xy (line 133) | def xy(self): method xy_int (line 147) | def xy_int(self): method project_ (line 160) | def project_(self, from_shape, to_shape): method project (line 192) | def project(self, from_shape, to_shape): method is_out_of_image (line 219) | def is_out_of_image(self, image): method compute_out_of_image_fraction (line 245) | def compute_out_of_image_fraction(self, image): method shift_ (line 271) | def shift_(self, x=0, y=0): method shift (line 295) | def shift(self, x=0, y=0): method draw_on_image (line 314) | def draw_on_image(self, image, color=(0, 255, 0), alpha=1.0, size=3, method generate_similar_points_manhattan (line 414) | def generate_similar_points_manhattan(self, nb_steps, step_size, method coords_almost_equals (line 493) | def coords_almost_equals(self, other, max_distance=1e-4): method almost_equals (line 532) | def almost_equals(self, other, max_distance=1e-4): method copy (line 560) | def copy(self, x=None, y=None): method deepcopy (line 581) | def deepcopy(self, x=None, y=None): method __repr__ (line 604) | def __repr__(self): method __str__ (line 607) | def __str__(self): class KeypointsOnImage (line 611) | class KeypointsOnImage(IAugmentable): method __init__ (line 635) | def __init__(self, keypoints, shape): method items (line 640) | def items(self): method items (line 654) | def items(self, value): method height (line 668) | def height(self): method width (line 680) | def width(self): method empty (line 692) | def empty(self): method on_ (line 703) | def on_(self, image): method on (line 732) | def on(self, image): method draw_on_image (line 750) | def draw_on_image(self, image, color=(0, 255, 0), alpha=1.0, size=3, method remove_out_of_image_fraction_ (line 796) | def remove_out_of_image_fraction_(self, fraction): method remove_out_of_image_fraction (line 825) | def remove_out_of_image_fraction(self, fraction): method clip_out_of_image_ (line 851) | def clip_out_of_image_(self): method clip_out_of_image (line 869) | def clip_out_of_image(self): method shift_ (line 885) | def shift_(self, x=0, y=0): method shift (line 909) | def shift(self, x=0, y=0): method get_coords_array (line 929) | def get_coords_array(self): method to_xy_array (line 942) | def to_xy_array(self): method from_coords_array (line 961) | def from_coords_array(coords, shape): method from_xy_array (line 982) | def from_xy_array(cls, xy, shape): method fill_from_xy_array_ (line 1012) | def fill_from_xy_array_(self, xy): method to_keypoint_image (line 1056) | def to_keypoint_image(self, size=1): method from_keypoint_image (line 1104) | def from_keypoint_image(image, if_not_found_coords={"x": -1, "y": -1}, method to_distance_maps (line 1190) | def to_distance_maps(self, inverted=False): method from_distance_maps (line 1236) | def from_distance_maps(distance_maps, inverted=False, method to_keypoints_on_image (line 1341) | def to_keypoints_on_image(self): method invert_to_keypoints_on_image_ (line 1357) | def invert_to_keypoints_on_image_(self, kpsoi): method copy (line 1390) | def copy(self, keypoints=None, shape=None): method deepcopy (line 1417) | def deepcopy(self, keypoints=None, shape=None): method __getitem__ (line 1445) | def __getitem__(self, indices): method __iter__ (line 1458) | def __iter__(self): method __len__ (line 1473) | def __len__(self): method __repr__ (line 1486) | def __repr__(self): method __str__ (line 1489) | def __str__(self): FILE: imgaug/augmentables/lines.py class LineString (line 27) | class LineString(object): method __init__ (line 48) | def __init__(self, coords, label=None): method length (line 73) | def length(self): method xx (line 88) | def xx(self): method yy (line 100) | def yy(self): method xx_int (line 112) | def xx_int(self): method yy_int (line 128) | def yy_int(self): method height (line 144) | def height(self): method width (line 161) | def width(self): method get_pointwise_inside_image_mask (line 177) | def get_pointwise_inside_image_mask(self, image): method compute_neighbour_distances (line 204) | def compute_neighbour_distances(self): method compute_pointwise_distances (line 224) | def compute_pointwise_distances(self, other, default=None): method compute_distance (line 268) | def compute_distance(self, other, default=None): method contains (line 294) | def contains(self, other, max_distance=1e-4): method project_ (line 318) | def project_(self, from_shape, to_shape): method project (line 349) | def project(self, from_shape, to_shape): method compute_out_of_image_fraction (line 376) | def compute_out_of_image_fraction(self, image): method is_fully_within_image (line 414) | def is_fully_within_image(self, image, default=False): method is_partly_within_image (line 438) | def is_partly_within_image(self, image, default=False): method is_out_of_image (line 468) | def is_out_of_image(self, image, fully=True, partly=False, default=True): method clip_out_of_image (line 507) | def clip_out_of_image(self, image): method find_intersections_with (line 621) | def find_intersections_with(self, other): method shift_ (line 676) | def shift_(self, x=0, y=0): method shift (line 704) | def shift(self, x=0, y=0, top=None, right=None, bottom=None, left=None): method draw_mask (line 749) | def draw_mask(self, image_shape, size_lines=1, size_points=0, method draw_lines_heatmap_array (line 783) | def draw_lines_heatmap_array(self, image_shape, alpha=1.0, method draw_points_heatmap_array (line 828) | def draw_points_heatmap_array(self, image_shape, alpha=1.0, method draw_heatmap_array (line 869) | def draw_heatmap_array(self, image_shape, alpha_lines=1.0, alpha_point... method draw_lines_on_image (line 930) | def draw_lines_on_image(self, image, color=(0, 255, 0), method draw_points_on_image (line 1057) | def draw_points_on_image(self, image, color=(0, 128, 0), method draw_on_image (line 1109) | def draw_on_image(self, image, method extract_from_image (line 1215) | def extract_from_image(self, image, size=1, pad=True, pad_max=None, method concatenate (line 1310) | def concatenate(self, other): method subdivide (line 1334) | def subdivide(self, points_per_edge): method to_keypoints (line 1365) | def to_keypoints(self): method to_bounding_box (line 1378) | def to_bounding_box(self): method to_polygon (line 1397) | def to_polygon(self): method to_heatmap (line 1411) | def to_heatmap(self, image_shape, size_lines=1, size_points=0, method to_segmentation_map (line 1455) | def to_segmentation_map(self, image_shape, size_lines=1, size_points=0, method coords_almost_equals (line 1495) | def coords_almost_equals(self, other, max_distance=1e-4, points_per_ed... method almost_equals (line 1544) | def almost_equals(self, other, max_distance=1e-4, points_per_edge=8): method copy (line 1571) | def copy(self, coords=None, label=None): method deepcopy (line 1593) | def deepcopy(self, coords=None, label=None): method __getitem__ (line 1616) | def __getitem__(self, indices): method __iter__ (line 1629) | def __iter__(self): method __repr__ (line 1642) | def __repr__(self): method __str__ (line 1645) | def __str__(self): class LineStringsOnImage (line 1665) | class LineStringsOnImage(IAugmentable): method __init__ (line 1692) | def __init__(self, line_strings, shape): method items (line 1704) | def items(self): method items (line 1718) | def items(self, value): method empty (line 1732) | def empty(self): method on_ (line 1743) | def on_(self, image): method on (line 1773) | def on(self, image): method from_xy_arrays (line 1793) | def from_xy_arrays(cls, xy, shape): method to_xy_arrays (line 1823) | def to_xy_arrays(self, dtype=np.float32): method draw_on_image (line 1844) | def draw_on_image(self, image, method remove_out_of_image_ (line 1928) | def remove_out_of_image_(self, fully=True, partly=False): method remove_out_of_image (line 1956) | def remove_out_of_image(self, fully=True, partly=False): method remove_out_of_image_fraction_ (line 1978) | def remove_out_of_image_fraction_(self, fraction): method remove_out_of_image_fraction (line 2003) | def remove_out_of_image_fraction(self, fraction): method clip_out_of_image_ (line 2023) | def clip_out_of_image_(self): method clip_out_of_image (line 2055) | def clip_out_of_image(self): method shift_ (line 2081) | def shift_(self, x=0, y=0): method shift (line 2109) | def shift(self, x=0, y=0, top=None, right=None, bottom=None, left=None): method to_xy_array (line 2154) | def to_xy_array(self): method fill_from_xy_array_ (line 2170) | def fill_from_xy_array_(self, xy): method to_keypoints_on_image (line 2221) | def to_keypoints_on_image(self): method invert_to_keypoints_on_image_ (line 2244) | def invert_to_keypoints_on_image_(self, kpsoi): method copy (line 2282) | def copy(self, line_strings=None, shape=None): method deepcopy (line 2313) | def deepcopy(self, line_strings=None, shape=None): method __getitem__ (line 2345) | def __getitem__(self, indices): method __iter__ (line 2358) | def __iter__(self): method __len__ (line 2373) | def __len__(self): method __repr__ (line 2386) | def __repr__(self): method __str__ (line 2389) | def __str__(self): function _is_point_on_line (line 2394) | def _is_point_on_line(line_start, line_end, point, eps=1e-4): function _flatten_shapely_collection (line 2403) | def _flatten_shapely_collection(collection): function _convert_var_to_shapely_geometry (line 2420) | def _convert_var_to_shapely_geometry(var): FILE: imgaug/augmentables/normalization.py function _preprocess_shapes (line 12) | def _preprocess_shapes(shapes): function _assert_exactly_n_shapes (line 36) | def _assert_exactly_n_shapes(shapes, n, from_ntype, to_ntype): function _assert_single_array_ndim (line 63) | def _assert_single_array_ndim(arr, ndim, shape_str, to_ntype): function _assert_many_arrays_ndim (line 72) | def _assert_many_arrays_ndim(arrs, ndim, shape_str, to_ntype): function _assert_single_array_last_dim_exactly (line 97) | def _assert_single_array_last_dim_exactly(arr, size, to_ntype): function _assert_many_arrays_last_dim_exactly (line 106) | def _assert_many_arrays_last_dim_exactly(arrs, size, to_ntype): function normalize_images (line 130) | def normalize_images(images): function normalize_heatmaps (line 159) | def normalize_heatmaps(inputs, shapes=None): function normalize_segmentation_maps (line 190) | def normalize_segmentation_maps(inputs, shapes=None): function normalize_keypoints (line 233) | def normalize_keypoints(inputs, shapes=None): function normalize_bounding_boxes (line 306) | def normalize_bounding_boxes(inputs, shapes=None): function normalize_polygons (line 389) | def normalize_polygons(inputs, shapes=None): function normalize_line_strings (line 402) | def normalize_line_strings(inputs, shapes=None): function _normalize_polygons_and_line_strings (line 415) | def _normalize_polygons_and_line_strings(cls_single, cls_oi, axis_names, function invert_normalize_images (line 525) | def invert_normalize_images(images, images_old): function invert_normalize_heatmaps (line 589) | def invert_normalize_heatmaps(heatmaps, heatmaps_old): function invert_normalize_segmentation_maps (line 629) | def invert_normalize_segmentation_maps(segmentation_maps, function invert_normalize_keypoints (line 672) | def invert_normalize_keypoints(keypoints, keypoints_old): function invert_normalize_bounding_boxes (line 765) | def invert_normalize_bounding_boxes(bounding_boxes, bounding_boxes_old): function invert_normalize_polygons (line 864) | def invert_normalize_polygons(polygons, polygons_old): function invert_normalize_line_strings (line 873) | def invert_normalize_line_strings(line_strings, line_strings_old): function _invert_normalize_polygons_and_line_strings (line 882) | def _invert_normalize_polygons_and_line_strings(inputs, inputs_old, function _assert_is_of_norm_type (line 1051) | def _assert_is_of_norm_type(type_str, valid_type_strs, arg_name): function estimate_heatmaps_norm_type (line 1058) | def estimate_heatmaps_norm_type(heatmaps): function estimate_segmaps_norm_type (line 1072) | def estimate_segmaps_norm_type(segmentation_maps): function estimate_keypoints_norm_type (line 1091) | def estimate_keypoints_norm_type(keypoints): function estimate_bounding_boxes_norm_type (line 1116) | def estimate_bounding_boxes_norm_type(bounding_boxes): function estimate_polygons_norm_type (line 1142) | def estimate_polygons_norm_type(polygons): function estimate_line_strings_norm_type (line 1147) | def estimate_line_strings_norm_type(line_strings): function _estimate_polygons_and_line_segments_norm_type (line 1152) | def _estimate_polygons_and_line_segments_norm_type(inputs, cls_single_name, function estimate_normalization_type (line 1186) | def estimate_normalization_type(inputs): function restore_dtype_and_merge (line 1192) | def restore_dtype_and_merge(arr, input_dtype): function _is_iterable (line 1205) | def _is_iterable(obj): function find_first_nonempty (line 1214) | def find_first_nonempty(attr, parents=None): function _nonempty_info_to_type_str (line 1257) | def _nonempty_info_to_type_str(nonempty, success, parents): FILE: imgaug/augmentables/polys.py function recover_psois_ (line 26) | def recover_psois_(psois, psois_orig, recoverer, random_state): class Polygon (line 80) | class Polygon(object): method __init__ (line 104) | def __init__(self, exterior, label=None): method coords (line 148) | def coords(self): method xx (line 163) | def xx(self): method yy (line 175) | def yy(self): method xx_int (line 187) | def xx_int(self): method yy_int (line 203) | def yy_int(self): method is_valid (line 219) | def is_valid(self): method area (line 239) | def area(self): method height (line 254) | def height(self): method width (line 270) | def width(self): method project_ (line 285) | def project_(self, from_shape, to_shape): method project (line 316) | def project(self, from_shape, to_shape): method find_closest_point_index (line 343) | def find_closest_point_index(self, x, y, return_distance=False): method compute_out_of_image_area (line 385) | def compute_out_of_image_area(self, image): method compute_out_of_image_fraction (line 410) | def compute_out_of_image_fraction(self, image): method is_fully_within_image (line 444) | def is_fully_within_image(self, image): method is_partly_within_image (line 465) | def is_partly_within_image(self, image): method is_out_of_image (line 485) | def is_out_of_image(self, image, fully=True, partly=False): method cut_out_of_image (line 544) | def cut_out_of_image(self, image): method clip_out_of_image (line 550) | def clip_out_of_image(self, image): method shift_ (line 654) | def shift_(self, x=0, y=0): method shift (line 682) | def shift(self, x=0, y=0, top=None, right=None, bottom=None, left=None): method draw_on_image (line 729) | def draw_on_image(self, method extract_from_image (line 909) | def extract_from_image(self, image): method change_first_point_by_coords (line 961) | def change_first_point_by_coords(self, x, y, max_distance=1e-4, method change_first_point_by_index (line 1012) | def change_first_point_by_index(self, point_idx): method subdivide_ (line 1045) | def subdivide_(self, points_per_edge): method subdivide (line 1073) | def subdivide(self, points_per_edge): method to_shapely_polygon (line 1093) | def to_shapely_polygon(self): method to_shapely_line_string (line 1108) | def to_shapely_line_string(self, closed=False, interpolate=0): method to_bounding_box (line 1130) | def to_bounding_box(self): method to_keypoints (line 1148) | def to_keypoints(self): method to_line_string (line 1163) | def to_line_string(self, closed=True): method from_shapely (line 1188) | def from_shapely(polygon_shapely, label=None): method coords_almost_equals (line 1227) | def coords_almost_equals(self, other, max_distance=1e-4, method exterior_almost_equals (line 1255) | def exterior_almost_equals(self, other, max_distance=1e-4, method almost_equals (line 1314) | def almost_equals(self, other, max_distance=1e-4, points_per_edge=8): method copy (line 1347) | def copy(self, exterior=None, label=None): method deepcopy (line 1368) | def deepcopy(self, exterior=None, label=None): method __getitem__ (line 1391) | def __getitem__(self, indices): method __iter__ (line 1404) | def __iter__(self): method __repr__ (line 1417) | def __repr__(self): method __str__ (line 1420) | def __str__(self): class PolygonsOnImage (line 1430) | class PolygonsOnImage(IAugmentable): method __init__ (line 1456) | def __init__(self, polygons, shape): method items (line 1461) | def items(self): method items (line 1475) | def items(self, value): method empty (line 1489) | def empty(self): method on_ (line 1500) | def on_(self, image): method on (line 1529) | def on(self, image): method draw_on_image (line 1547) | def draw_on_image(self, method remove_out_of_image_ (line 1657) | def remove_out_of_image_(self, fully=True, partly=False): method remove_out_of_image (line 1686) | def remove_out_of_image(self, fully=True, partly=False): method remove_out_of_image_fraction_ (line 1706) | def remove_out_of_image_fraction_(self, fraction): method remove_out_of_image_fraction (line 1729) | def remove_out_of_image_fraction(self, fraction): method clip_out_of_image_ (line 1751) | def clip_out_of_image_(self): method clip_out_of_image (line 1785) | def clip_out_of_image(self): method shift_ (line 1810) | def shift_(self, x=0, y=0): method shift (line 1837) | def shift(self, x=0, y=0, top=None, right=None, bottom=None, left=None): method subdivide_ (line 1882) | def subdivide_(self, points_per_edge): method subdivide (line 1902) | def subdivide(self, points_per_edge): method to_xy_array (line 1920) | def to_xy_array(self): method fill_from_xy_array_ (line 1936) | def fill_from_xy_array_(self, xy): method to_keypoints_on_image (line 1992) | def to_keypoints_on_image(self): method invert_to_keypoints_on_image_ (line 2013) | def invert_to_keypoints_on_image_(self, kpsoi): method copy (line 2051) | def copy(self, polygons=None, shape=None): method deepcopy (line 2082) | def deepcopy(self, polygons=None, shape=None): method __getitem__ (line 2114) | def __getitem__(self, indices): method __iter__ (line 2127) | def __iter__(self): method __len__ (line 2142) | def __len__(self): method __repr__ (line 2155) | def __repr__(self): method __str__ (line 2158) | def __str__(self): function _convert_points_to_shapely_line_string (line 2163) | def _convert_points_to_shapely_line_string(points, closed=False, class _ConcavePolygonRecoverer (line 2187) | class _ConcavePolygonRecoverer(object): method __init__ (line 2188) | def __init__(self, threshold_duplicate_points=1e-4, noise_strength=1e-4, method recover_from (line 2234) | def recover_from(self, new_exterior, old_polygon, random_state=0): method _remove_consecutive_duplicate_points (line 2285) | def _remove_consecutive_duplicate_points(self, points): method _fix_polygon_is_line (line 2304) | def _fix_polygon_is_line(self, exterior, random_state): method _is_polygon_line (line 2322) | def _is_polygon_line(cls, exterior): method _jitter_duplicate_points (line 2332) | def _jitter_duplicate_points(self, exterior, random_state): method _calculate_circumference (line 2398) | def _calculate_circumference(cls, points): method _generate_intersection_points (line 2411) | def _generate_intersection_points(self, exterior, method _oversample_intersection_points (line 2530) | def _oversample_intersection_points(self, exterior, segment_add_points): method _insert_intersection_points (line 2578) | def _insert_intersection_points(cls, exterior, segment_add_points): method _fit_best_valid_polygon (line 2593) | def _fit_best_valid_polygon(self, points, random_state): class MultiPolygon (line 2767) | class MultiPolygon(object): method __init__ (line 2777) | def __init__(self, geoms): method from_shapely (line 2787) | def from_shapely(geometry, label=None): FILE: imgaug/augmentables/segmaps.py function SegmentationMapOnImage (line 18) | def SegmentationMapOnImage(*args, **kwargs): class SegmentationMapsOnImage (line 24) | class SegmentationMapsOnImage(IAugmentable): method __init__ (line 102) | def __init__(self, arr, shape, nb_classes=None): method get_arr (line 169) | def get_arr(self): method get_arr_int (line 205) | def get_arr_int(self, *args, **kwargs): method draw (line 210) | def draw(self, size=None, colors=None): method draw_on_image (line 260) | def draw_on_image(self, image, alpha=0.75, resize="segmentation_map", method pad (line 380) | def pad(self, top=0, right=0, bottom=0, left=0, mode="constant", cval=0): method pad_to_aspect_ratio (line 420) | def pad_to_aspect_ratio(self, aspect_ratio, mode="constant", cval=0, method scale (line 477) | def scale(self, *args, **kwargs): method resize (line 481) | def resize(self, sizes, interpolation="nearest"): method copy (line 507) | def copy(self, arr=None, shape=None): method deepcopy (line 539) | def deepcopy(self, arr=None, shape=None): FILE: imgaug/augmentables/utils.py function copy_augmentables (line 10) | def copy_augmentables(augmentables): function deepcopy_fast (line 24) | def deepcopy_fast(obj): function _handle_on_image_shape (line 41) | def _handle_on_image_shape(shape, obj): function normalize_shape (line 63) | def normalize_shape(shape): function normalize_imglike_shape (line 84) | def normalize_imglike_shape(shape): function project_coords_ (line 114) | def project_coords_(coords, from_shape, to_shape): function project_coords (line 166) | def project_coords(coords, from_shape, to_shape): function interpolate_point_pair (line 198) | def interpolate_point_pair(point_a, point_b, nb_steps): function interpolate_points (line 231) | def interpolate_points(points, nb_steps, closed=True): function interpolate_points_by_max_distance (line 273) | def interpolate_points_by_max_distance(points, max_distance, closed=True): function convert_cbaois_to_kpsois (line 325) | def convert_cbaois_to_kpsois(cbaois): function invert_convert_cbaois_to_kpsois_ (line 351) | def invert_convert_cbaois_to_kpsois_(cbaois, kpsois): function _remove_out_of_image_fraction_ (line 390) | def _remove_out_of_image_fraction_(cbaoi, fraction): function _normalize_shift_args (line 398) | def _normalize_shift_args(x, y, top=None, right=None, bottom=None, left=... FILE: imgaug/augmenters/arithmetic.py function add_scalar (line 62) | def add_scalar(image, value): function add_scalar_ (line 106) | def add_scalar_(image, value): function _add_scalar_to_uint8_ (line 163) | def _add_scalar_to_uint8_(image, value): function _add_scalar_to_non_uint8 (line 190) | def _add_scalar_to_non_uint8(image, value): function add_elementwise (line 233) | def add_elementwise(image, values): function _add_elementwise_cv2_to_uint8 (line 312) | def _add_elementwise_cv2_to_uint8(image, values): function _add_elementwise_np_to_uint8 (line 333) | def _add_elementwise_np_to_uint8(image, values): function _add_elementwise_np_to_non_uint8 (line 355) | def _add_elementwise_np_to_non_uint8(image, values): function multiply_scalar (line 400) | def multiply_scalar(image, multiplier): function multiply_scalar_ (line 458) | def multiply_scalar_(image, multiplier): function _multiply_scalar_to_uint8_lut_ (line 536) | def _multiply_scalar_to_uint8_lut_(image, multiplier): function _multiply_scalar_to_uint8_cv2_mul_ (line 570) | def _multiply_scalar_to_uint8_cv2_mul_(image, multiplier): function _multiply_scalar_to_non_uint8 (line 589) | def _multiply_scalar_to_non_uint8(image, multiplier): function multiply_elementwise (line 639) | def multiply_elementwise(image, multipliers): function multiply_elementwise_ (line 695) | def multiply_elementwise_(image, multipliers): function _multiply_elementwise_to_uint8_ (line 769) | def _multiply_elementwise_to_uint8_(image, multipliers): function _multiply_elementwise_to_non_uint8 (line 801) | def _multiply_elementwise_to_non_uint8(image, multipliers): function cutout (line 846) | def cutout(image, x1, y1, x2, y2, function cutout_ (line 906) | def cutout_(image, x1, y1, x2, y2, function _fill_rectangle_gaussian_ (line 999) | def _fill_rectangle_gaussian_(image, x1, y1, x2, y2, cval, per_channel, function _fill_rectangle_constant_ (line 1065) | def _fill_rectangle_constant_(image, x1, y1, x2, y2, cval, per_channel, function replace_elementwise_ (line 1111) | def replace_elementwise_(image, mask, replacements): function invert (line 1219) | def invert(image, min_value=None, max_value=None, threshold=None, function invert_ (line 1255) | def invert_(image, min_value=None, max_value=None, threshold=None, function _invert_bool (line 1404) | def _invert_bool(arr, min_value, max_value): function _invert_uint8_ (line 1412) | def _invert_uint8_(arr, min_value, max_value, threshold, function _invert_uint8_lut_pregenerated_ (line 1430) | def _invert_uint8_lut_pregenerated_(arr, min_value, max_value, threshold, function _invert_uint8_subtract_ (line 1443) | def _invert_uint8_subtract_(arr, max_value): function _invert_uint16_or_larger_ (line 1464) | def _invert_uint16_or_larger_(arr, min_value, max_value): function _invert_int_ (line 1476) | def _invert_int_(arr, min_value, max_value): function _invert_float (line 1516) | def _invert_float(arr, min_value, max_value): function _invert_by_distance (line 1525) | def _invert_by_distance(arr, min_value, max_value): function _generate_table_for_invert_uint8 (line 1543) | def _generate_table_for_invert_uint8(min_value, max_value, threshold, class _InvertTables (line 1571) | class _InvertTables(object): method __init__ (line 1573) | def __init__(self): method get_table (line 1577) | def get_table(self, min_value, max_value, threshold, class _InvertTablesSingleton (line 1594) | class _InvertTablesSingleton(object): method get_instance (line 1599) | def get_instance(cls): function solarize (line 1605) | def solarize(image, threshold=128): function solarize_ (line 1631) | def solarize_(image, threshold=128): function compress_jpeg (line 1665) | def compress_jpeg(image, compression): class Add (line 1764) | class Add(meta.Augmenter): method __init__ (line 1840) | def __init__(self, value=(-20, 20), per_channel=False, method _augment_batch_ (line 1854) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 1900) | def get_parameters(self): class AddElementwise (line 1906) | class AddElementwise(meta.Augmenter): method __init__ (line 1986) | def __init__(self, value=(-20, 20), per_channel=False, method _augment_batch_ (line 2000) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 2022) | def get_parameters(self): class AdditiveGaussianNoise (line 2032) | class AdditiveGaussianNoise(AddElementwise): method __init__ (line 2124) | def __init__(self, loc=0, scale=(0, 15), per_channel=False, class AdditiveLaplaceNoise (line 2144) | class AdditiveLaplaceNoise(AddElementwise): method __init__ (line 2247) | def __init__(self, loc=0, scale=(0, 15), per_channel=False, class AdditivePoissonNoise (line 2268) | class AdditivePoissonNoise(AddElementwise): method __init__ (line 2363) | def __init__(self, lam=(0.0, 15.0), per_channel=False, class Multiply (line 2379) | class Multiply(meta.Augmenter): method __init__ (line 2455) | def __init__(self, mul=(0.8, 1.2), per_channel=False, method _augment_batch_ (line 2469) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 2514) | def get_parameters(self): class MultiplyElementwise (line 2520) | class MultiplyElementwise(meta.Augmenter): method __init__ (line 2599) | def __init__(self, mul=(0.8, 1.2), per_channel=False, method _augment_batch_ (line 2613) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 2646) | def get_parameters(self): class _CutoutSamples (line 2652) | class _CutoutSamples(object): method __init__ (line 2654) | def __init__(self, nb_iterations, pos_x, pos_y, size_h, size_w, squared, class Cutout (line 2667) | class Cutout(meta.Augmenter): method __init__ (line 2835) | def __init__(self, method _handle_fill_mode_param (line 2866) | def _handle_fill_mode_param(cls, fill_mode): method _augment_batch_ (line 2881) | def _augment_batch_(self, batch, random_state, parents, hooks): method _draw_samples (line 2921) | def _draw_samples(self, images, random_state): method _augment_image_by_samples (line 2968) | def _augment_image_by_samples(cls, image, x1, y1, x2, y2, squared, method get_parameters (line 2992) | def get_parameters(self): class Dropout (line 3000) | class Dropout(MultiplyElementwise): method __init__ (line 3080) | def __init__(self, p=(0.0, 0.05), per_channel=False, function _handle_dropout_probability_param (line 3093) | def _handle_dropout_probability_param(p, name): class CoarseDropout (line 3130) | class CoarseDropout(MultiplyElementwise): method __init__ (line 3280) | def __init__(self, p=(0.02, 0.1), size_px=None, size_percent=None, class Dropout2d (line 3308) | class Dropout2d(meta.Augmenter): method __init__ (line 3401) | def __init__(self, p=0.1, nb_keep_channels=1, method _augment_batch_ (line 3422) | def _augment_batch_(self, batch, random_state, parents, hooks): method _draw_samples (line 3459) | def _draw_samples(self, batch, random_state): method get_parameters (line 3503) | def get_parameters(self): class TotalDropout (line 3508) | class TotalDropout(meta.Augmenter): method __init__ (line 3589) | def __init__(self, p=1, method _augment_batch_ (line 3609) | def _augment_batch_(self, batch, random_state, parents, hooks): method _draw_samples (line 3647) | def _draw_samples(self, batch, random_state): method _generate_drop_ids_once (line 3654) | def _generate_drop_ids_once(cls, drop_mask, drop_ids): method get_parameters (line 3660) | def get_parameters(self): class ReplaceElementwise (line 3665) | class ReplaceElementwise(meta.Augmenter): method __init__ (line 3771) | def __init__(self, mask, replacement, per_channel=False, method _augment_batch_ (line 3786) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 3830) | def get_parameters(self): class SaltAndPepper (line 3835) | class SaltAndPepper(ReplaceElementwise): method __init__ (line 3900) | def __init__(self, p=(0.0, 0.03), per_channel=False, class ImpulseNoise (line 3911) | class ImpulseNoise(SaltAndPepper): method __init__ (line 3963) | def __init__(self, p=(0.0, 0.03), class CoarseSaltAndPepper (line 3973) | class CoarseSaltAndPepper(ReplaceElementwise): method __init__ (line 4103) | def __init__(self, p=(0.02, 0.1), size_px=None, size_percent=None, class Salt (line 4130) | class Salt(ReplaceElementwise): method __init__ (line 4193) | def __init__(self, p=(0.0, 0.03), per_channel=False, class CoarseSalt (line 4212) | class CoarseSalt(ReplaceElementwise): method __init__ (line 4322) | def __init__(self, p=(0.02, 0.1), size_px=None, size_percent=None, class Pepper (line 4354) | class Pepper(ReplaceElementwise): method __init__ (line 4420) | def __init__(self, p=(0.0, 0.05), per_channel=False, class CoarsePepper (line 4438) | class CoarsePepper(ReplaceElementwise): method __init__ (line 4546) | def __init__(self, p=(0.02, 0.1), size_px=None, size_percent=None, class Invert (line 4578) | class Invert(meta.Augmenter): method __init__ (line 4701) | def __init__(self, p=1, per_channel=False, min_value=None, max_value=N... method _augment_batch_ (line 4726) | def _augment_batch_(self, batch, random_state, parents, hooks): method _draw_samples (line 4754) | def _draw_samples(self, batch, random_state): method get_parameters (line 4785) | def get_parameters(self): class _InvertSamples (line 4792) | class _InvertSamples(object): method __init__ (line 4794) | def __init__(self, p, per_channel, min_value, max_value, class Solarize (line 4804) | class Solarize(Invert): method __init__ (line 4866) | def __init__(self, p=1, per_channel=False, min_value=None, max_value=N... function ContrastNormalization (line 4880) | def ContrastNormalization(alpha=1.0, per_channel=False, class JpegCompression (line 4962) | class JpegCompression(meta.Augmenter): method __init__ (line 5030) | def __init__(self, compression=(0, 100), method _augment_batch_ (line 5044) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 5058) | def get_parameters(self): FILE: imgaug/augmenters/artistic.py function stylize_cartoon (line 24) | def stylize_cartoon(image, blur_ksize=3, segmentation_size=1.0, function _find_edges_canny (line 155) | def _find_edges_canny(image, edge_multiplier, from_colorspace): function _find_edges_laplacian (line 166) | def _find_edges_laplacian(image, edge_multiplier, from_colorspace): function _blur_median (line 185) | def _blur_median(image, ksize): function _threshold (line 194) | def _threshold(image, thresh): function _suppress_edge_blobs (line 202) | def _suppress_edge_blobs(edges, size, thresh, inverse): function _saturate (line 217) | def _saturate(image, factor, from_colorspace): function _blend_edges (line 235) | def _blend_edges(image, image_edges): class Cartoon (line 244) | class Cartoon(meta.Augmenter): method __init__ (line 352) | def __init__(self, blur_ksize=(1, 5), segmentation_size=(0.8, 1.2), method _augment_batch_ (line 376) | def _augment_batch_(self, batch, random_state, parents, hooks): method _draw_samples (line 391) | def _draw_samples(self, batch, random_state): method get_parameters (line 403) | def get_parameters(self): FILE: imgaug/augmenters/base.py class SuspiciousMultiImageShapeWarning (line 13) | class SuspiciousMultiImageShapeWarning(UserWarning): class SuspiciousSingleImageShapeWarning (line 17) | class SuspiciousSingleImageShapeWarning(UserWarning): function _warn_on_suspicious_multi_image_shapes (line 21) | def _warn_on_suspicious_multi_image_shapes(images): function _warn_on_suspicious_single_image_shape (line 42) | def _warn_on_suspicious_single_image_shape(image): FILE: imgaug/augmenters/blend.py function _split_1d_array_to_list (line 37) | def _split_1d_array_to_list(arr, sizes): function blend_alpha (line 46) | def blend_alpha(image_fg, image_bg, alpha, eps=1e-2): function blend_alpha_ (line 93) | def blend_alpha_(image_fg, image_bg, alpha, eps=1e-2): function _blend_alpha_uint8_single_alpha_ (line 265) | def _blend_alpha_uint8_single_alpha_(image_fg, image_bg, alpha, inplace): function _blend_alpha_uint8_channelwise_alphas_ (line 281) | def _blend_alpha_uint8_channelwise_alphas_(image_fg, image_bg, alphas): function _blend_alpha_uint8_elementwise_ (line 299) | def _blend_alpha_uint8_elementwise_(image_fg, image_bg, alphas): function _blend_alpha_non_uint8 (line 348) | def _blend_alpha_non_uint8(image_fg, image_bg, alpha): function _merge_channels (line 398) | def _merge_channels(channels, input_was_3d): function _generate_branch_outputs (line 409) | def _generate_branch_outputs(augmenter, batch, hooks, parents): function _to_deterministic (line 440) | def _to_deterministic(augmenter): class BlendAlpha (line 455) | class BlendAlpha(meta.Augmenter): method __init__ (line 593) | def __init__(self, factor=(0.0, 1.0), foreground=None, background=None, method _augment_batch_ (line 619) | def _augment_batch_(self, batch, random_state, parents, hooks): method _to_deterministic (line 669) | def _to_deterministic(self): method get_parameters (line 673) | def get_parameters(self): method get_children_lists (line 678) | def get_children_lists(self): method __str__ (line 684) | def __str__(self): class BlendAlphaMask (line 698) | class BlendAlphaMask(meta.Augmenter): method __init__ (line 806) | def __init__(self, mask_generator, method _augment_batch_ (line 845) | def _augment_batch_(self, batch, random_state, parents, hooks): method _binarize_mask (line 893) | def _binarize_mask(cls, mask, arr_height, arr_width): method _blend_coordinates (line 916) | def _blend_coordinates(cls, cbaoi, cbaoi_fg, cbaoi_bg, mask_image, method _to_deterministic (line 982) | def _to_deterministic(self): method get_parameters (line 986) | def get_parameters(self): method get_children_lists (line 991) | def get_children_lists(self): method __str__ (line 997) | def __str__(self): class BlendAlphaElementwise (line 1011) | class BlendAlphaElementwise(BlendAlphaMask): method __init__ (line 1148) | def __init__(self, factor=(0.0, 1.0), foreground=None, background=None, method factor (line 1163) | def factor(self): class BlendAlphaSimplexNoise (line 1167) | class BlendAlphaSimplexNoise(BlendAlphaElementwise): method __init__ (line 1348) | def __init__(self, foreground=None, background=None, per_channel=False, class BlendAlphaFrequencyNoise (line 1391) | class BlendAlphaFrequencyNoise(BlendAlphaElementwise): method __init__ (line 1598) | def __init__(self, exponent=(-4, 4), foreground=None, background=None, class BlendAlphaSomeColors (line 1643) | class BlendAlphaSomeColors(BlendAlphaMask): method __init__ (line 1768) | def __init__(self, foreground=None, background=None, class BlendAlphaHorizontalLinearGradient (line 1789) | class BlendAlphaHorizontalLinearGradient(BlendAlphaMask): method __init__ (line 1893) | def __init__(self, foreground=None, background=None, class BlendAlphaVerticalLinearGradient (line 1911) | class BlendAlphaVerticalLinearGradient(BlendAlphaMask): method __init__ (line 2022) | def __init__(self, foreground=None, background=None, class BlendAlphaRegularGrid (line 2040) | class BlendAlphaRegularGrid(BlendAlphaMask): method __init__ (line 2150) | def __init__(self, nb_rows, nb_cols, class BlendAlphaCheckerboard (line 2168) | class BlendAlphaCheckerboard(BlendAlphaMask): method __init__ (line 2254) | def __init__(self, nb_rows, nb_cols, class BlendAlphaSegMapClassIds (line 2269) | class BlendAlphaSegMapClassIds(BlendAlphaMask): method __init__ (line 2384) | def __init__(self, class BlendAlphaBoundingBoxes (line 2401) | class BlendAlphaBoundingBoxes(BlendAlphaMask): method __init__ (line 2513) | def __init__(self, class IBatchwiseMaskGenerator (line 2531) | class IBatchwiseMaskGenerator(object): method draw_masks (line 2543) | def draw_masks(self, batch, random_state=None): class StochasticParameterMaskGen (line 2569) | class StochasticParameterMaskGen(IBatchwiseMaskGenerator): method __init__ (line 2600) | def __init__(self, parameter, per_channel): method draw_masks (line 2607) | def draw_masks(self, batch, random_state=None): method _draw_mask (line 2622) | def _draw_mask(self, shape, random_state, per_channel): class SomeColorsMaskGen (line 2648) | class SomeColorsMaskGen(IBatchwiseMaskGenerator): method __init__ (line 2752) | def __init__(self, nb_bins=(5, 15), smoothness=(0.1, 0.3), method draw_masks (line 2775) | def draw_masks(self, batch, random_state=None): method _draw_mask (line 2791) | def _draw_mask(self, image, image_idx, samples): method _draw_samples (line 2800) | def _draw_samples(self, batch, random_state): method generate_mask (line 2823) | def generate_mask(cls, image, binwise_alphas, sigma, method _upscale_to_256_alpha_bins (line 2882) | def _upscale_to_256_alpha_bins(cls, alphas): method _rotate_alpha_bins (line 2892) | def _rotate_alpha_bins(cls, alphas, rotation_bins): method _smoothen_alphas (line 2901) | def _smoothen_alphas(cls, alphas, sigma): method _generate_pixelwise_alpha_mask (line 2933) | def _generate_pixelwise_alpha_mask(cls, image_hsv, hue_to_alpha): class _LinearGradientMaskGen (line 2942) | class _LinearGradientMaskGen(IBatchwiseMaskGenerator): method __init__ (line 2944) | def __init__(self, axis, min_value=0.0, max_value=1.0, method draw_masks (line 2960) | def draw_masks(self, batch, random_state=None): method _draw_mask (line 2976) | def _draw_mask(self, shape, image_idx, samples): method _draw_samples (line 2985) | def _draw_samples(self, nb_rows, random_state): method generate_mask (line 2999) | def generate_mask(cls, shape, min_value, max_value, start_at, end_at): method _generate_mask (line 3034) | def _generate_mask(cls, shape, axis, min_value, max_value, start_at, class HorizontalLinearGradientMaskGen (line 3078) | class HorizontalLinearGradientMaskGen(_LinearGradientMaskGen): method __init__ (line 3134) | def __init__(self, min_value=(0.0, 0.2), max_value=(0.8, 1.0), method generate_mask (line 3144) | def generate_mask(cls, shape, min_value, max_value, start_at, end_at): class VerticalLinearGradientMaskGen (line 3185) | class VerticalLinearGradientMaskGen(_LinearGradientMaskGen): method __init__ (line 3233) | def __init__(self, min_value=(0.0, 0.2), max_value=(0.8, 1.0), method generate_mask (line 3243) | def generate_mask(cls, shape, min_value, max_value, start_at, end_at): class RegularGridMaskGen (line 3284) | class RegularGridMaskGen(IBatchwiseMaskGenerator): method __init__ (line 3326) | def __init__(self, nb_rows, nb_cols, alpha=[0.0, 1.0]): method draw_masks (line 3340) | def draw_masks(self, batch, random_state=None): method _draw_samples (line 3357) | def _draw_samples(self, nb_images, random_state): method generate_mask (line 3372) | def generate_mask(cls, shape, nb_rows, nb_cols, alphas): class CheckerboardMaskGen (line 3439) | class CheckerboardMaskGen(IBatchwiseMaskGenerator): method __init__ (line 3468) | def __init__(self, nb_rows, nb_cols): method nb_rows (line 3474) | def nb_rows(self): method nb_cols (line 3488) | def nb_cols(self): method draw_masks (line 3501) | def draw_masks(self, batch, random_state=None): method generate_mask (line 3519) | def generate_mask(cls, shape, nb_rows, nb_cols): class SegMapClassIdsMaskGen (line 3556) | class SegMapClassIdsMaskGen(IBatchwiseMaskGenerator): method __init__ (line 3627) | def __init__(self, class_ids, nb_sample_classes=None): method draw_masks (line 3649) | def draw_masks(self, batch, random_state=None): method _draw_samples (line 3668) | def _draw_samples(self, nb_rows, random_state): method generate_mask (line 3689) | def generate_mask(cls, segmap, class_ids): class BoundingBoxesMaskGen (line 3725) | class BoundingBoxesMaskGen(IBatchwiseMaskGenerator): method __init__ (line 3791) | def __init__(self, labels=None, nb_sample_labels=None): method draw_masks (line 3813) | def draw_masks(self, batch, random_state=None): method _draw_samples (line 3836) | def _draw_samples(self, nb_rows, random_state): method generate_mask (line 3857) | def generate_mask(cls, bbsoi, labels): class InvertMaskGen (line 3896) | class InvertMaskGen(IBatchwiseMaskGenerator): method __init__ (line 3917) | def __init__(self, p, child): method draw_masks (line 3921) | def draw_masks(self, batch, random_state=None): function Alpha (line 3943) | def Alpha(factor=0, first=None, second=None, per_channel=False, function AlphaElementwise (line 3967) | def AlphaElementwise(factor=0, first=None, second=None, per_channel=False, function SimplexNoiseAlpha (line 3991) | def SimplexNoiseAlpha(first=None, second=None, per_channel=False, function FrequencyNoiseAlpha (line 4023) | def FrequencyNoiseAlpha(exponent=(-4, 4), first=None, second=None, FILE: imgaug/augmenters/blur.py function blur_gaussian_ (line 30) | def blur_gaussian_(image, sigma, ksize=None, backend="auto", eps=1e-3): function _blur_gaussian_scipy_ (line 198) | def _blur_gaussian_scipy_(image, sigma, ksize): function _blur_gaussian_cv2 (line 242) | def _blur_gaussian_cv2(image, sigma, ksize): function _compute_gaussian_blur_ksize (line 298) | def _compute_gaussian_blur_ksize(sigma): function blur_avg_ (line 315) | def blur_avg_(image, k): function blur_mean_shift_ (line 424) | def blur_mean_shift_(image, spatial_window_radius, color_window_radius): class GaussianBlur (line 525) | class GaussianBlur(meta.Augmenter): method __init__ (line 580) | def __init__(self, sigma=(0.0, 3.0), method _augment_batch_ (line 596) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 608) | def get_parameters(self): class AverageBlur (line 613) | class AverageBlur(meta.Augmenter): method __init__ (line 704) | def __init__(self, k=(1, 7), method _augment_batch_ (line 762) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 785) | def get_parameters(self): class MedianBlur (line 790) | class MedianBlur(meta.Augmenter): method __init__ (line 862) | def __init__(self, k=(1, 7), method _augment_batch_ (line 886) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 917) | def get_parameters(self): class BilateralBlur (line 923) | class BilateralBlur(meta.Augmenter): method __init__ (line 1028) | def __init__(self, d=(1, 9), sigma_color=(10, 250), sigma_space=(10, 2... method _augment_batch_ (line 1047) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 1077) | def get_parameters(self): class MotionBlur (line 1083) | class MotionBlur(iaa_convolutional.Convolve): method __init__ (line 1171) | def __init__(self, k=(3, 7), angle=(0, 360), direction=(-1.0, 1.0), or... class _MotionBlurMatrixGenerator (line 1195) | class _MotionBlurMatrixGenerator(object): method __init__ (line 1197) | def __init__(self, k, angle, direction, order): method __call__ (line 1204) | def __call__(self, _image, nb_channels, random_state): class MeanShiftBlur (line 1239) | class MeanShiftBlur(meta.Augmenter): method __init__ (line 1310) | def __init__(self, spatial_radius=(5.0, 40.0), color_radius=(5.0, 40.0), method _augment_batch_ (line 1326) | def _augment_batch_(self, batch, random_state, parents, hooks): method _draw_samples (line 1339) | def _draw_samples(self, batch, random_state): method get_parameters (line 1349) | def get_parameters(self): FILE: imgaug/augmenters/collections.py class RandAugment (line 23) | class RandAugment(meta.Sequential): method __init__ (line 188) | def __init__(self, n=2, m=(6, 12), cval=128, method _create_initial_augmenters_list (line 231) | def _create_initial_augmenters_list(cls, m): method _create_main_augmenters_list (line 252) | def _create_main_augmenters_list(cls, m, cval): method get_parameters (line 338) | def get_parameters(self): FILE: imgaug/augmenters/color.py function _get_opencv_attr (line 65) | def _get_opencv_attr(attr_names): function change_colorspace_ (line 177) | def change_colorspace_(image, to_colorspace, from_colorspace=CSPACE_RGB): function change_colorspaces_ (line 302) | def change_colorspaces_(images, to_colorspaces, from_colorspaces=CSPACE_... class _KelvinToRGBTableSingleton (line 388) | class _KelvinToRGBTableSingleton(object): method get_instance (line 393) | def get_instance(cls): class _KelvinToRGBTable (line 400) | class _KelvinToRGBTable(object): method __init__ (line 402) | def __init__(self): method transform_kelvins_to_rgb_multipliers (line 405) | def transform_kelvins_to_rgb_multipliers(self, kelvins): method create_table (line 447) | def create_table(cls): function change_color_temperatures_ (line 845) | def change_color_temperatures_(images, kelvins, from_colorspaces=CSPACE_... function change_color_temperature (line 940) | def change_color_temperature(image, kelvin, from_colorspace=CSPACE_RGB): function InColorspace (line 976) | def InColorspace(to_colorspace, from_colorspace="RGB", children=None, class WithColorspace (line 988) | class WithColorspace(meta.Augmenter): method __init__ (line 1047) | def __init__(self, to_colorspace, from_colorspace=CSPACE_RGB, children... method _augment_batch_ (line 1059) | def _augment_batch_(self, batch, random_state, parents, hooks): method _to_deterministic (line 1082) | def _to_deterministic(self): method get_parameters (line 1089) | def get_parameters(self): method get_children_lists (line 1093) | def get_children_lists(self): method __str__ (line 1097) | def __str__(self): class WithBrightnessChannels (line 1106) | class WithBrightnessChannels(meta.Augmenter): method __init__ (line 1201) | def __init__(self, children=None, method _augment_batch_ (line 1224) | def _augment_batch_(self, batch, random_state, parents, hooks): method _extract_brightness_channels (line 1256) | def _extract_brightness_channels(self, images, colorspaces): method _invert_extract_brightness_channels (line 1267) | def _invert_extract_brightness_channels(self, channels, images, method _to_deterministic (line 1275) | def _to_deterministic(self): method get_parameters (line 1283) | def get_parameters(self): method get_children_lists (line 1288) | def get_children_lists(self): method __str__ (line 1293) | def __str__(self): class MultiplyAndAddToBrightness (line 1309) | class MultiplyAndAddToBrightness(WithBrightnessChannels): method __init__ (line 1370) | def __init__(self, mul=(0.7, 1.3), add=(-30, 30), method __str__ (line 1400) | def __str__(self): class MultiplyBrightness (line 1420) | class MultiplyBrightness(MultiplyAndAddToBrightness): method __init__ (line 1472) | def __init__(self, mul=(0.7, 1.3), class AddToBrightness (line 1494) | class AddToBrightness(MultiplyAndAddToBrightness): method __init__ (line 1546) | def __init__(self, add=(-30, 30), class WithHueAndSaturation (line 1572) | class WithHueAndSaturation(meta.Augmenter): method __init__ (line 1650) | def __init__(self, children=None, from_colorspace="RGB", method _augment_batch_ (line 1665) | def _augment_batch_(self, batch, random_state, parents, hooks): method _images_to_hsv_ (line 1678) | def _images_to_hsv_(self, images): method _hs_to_images_ (line 1702) | def _hs_to_images_(self, images_hs, images_hsv): method _to_deterministic (line 1733) | def _to_deterministic(self): method get_parameters (line 1740) | def get_parameters(self): method get_children_lists (line 1744) | def get_children_lists(self): method __str__ (line 1748) | def __str__(self): class MultiplyHueAndSaturation (line 1757) | class MultiplyHueAndSaturation(WithHueAndSaturation): method __init__ (line 1874) | def __init__(self, mul=None, mul_hue=None, mul_saturation=None, class MultiplyHue (line 1970) | class MultiplyHue(MultiplyHueAndSaturation): method __init__ (line 2032) | def __init__(self, mul=(-3.0, 3.0), from_colorspace="RGB", class MultiplySaturation (line 2042) | class MultiplySaturation(MultiplyHueAndSaturation): method __init__ (line 2101) | def __init__(self, mul=(0.0, 3.0), from_colorspace="RGB", class RemoveSaturation (line 2111) | class RemoveSaturation(MultiplySaturation): method __init__ (line 2180) | def __init__(self, mul=1, from_colorspace=CSPACE_RGB, class AddToHueAndSaturation (line 2255) | class AddToHueAndSaturation(meta.Augmenter): method __init__ (line 2363) | def __init__(self, value=None, value_hue=None, value_saturation=None, method _draw_samples (line 2387) | def _draw_samples(self, augmentables, random_state): method _augment_batch_ (line 2428) | def _augment_batch_(self, batch, random_state, parents, hooks): method _transform_image_cv2 (line 2473) | def _transform_image_cv2(cls, image_hsv, hue, saturation): method _transform_image_numpy (line 2501) | def _transform_image_numpy(cls, image_hsv, hue, saturation): method get_parameters (line 2510) | def get_parameters(self): method _handle_value_arg (line 2516) | def _handle_value_arg(cls, value, value_hue, value_saturation): method _handle_value_hue_arg (line 2533) | def _handle_value_hue_arg(cls, value_hue): method _handle_value_saturation_arg (line 2544) | def _handle_value_saturation_arg(cls, value_saturation): method _generate_lut_table (line 2554) | def _generate_lut_table(cls): class AddToHue (line 2572) | class AddToHue(AddToHueAndSaturation): method __init__ (line 2637) | def __init__(self, value=(-255, 255), from_colorspace=CSPACE_RGB, class AddToSaturation (line 2647) | class AddToSaturation(AddToHueAndSaturation): method __init__ (line 2710) | def __init__(self, value=(-75, 75), from_colorspace="RGB", class ChangeColorspace (line 2723) | class ChangeColorspace(meta.Augmenter): method __init__ (line 2842) | def __init__(self, to_colorspace, from_colorspace=CSPACE_RGB, alpha=1.0, method _draw_samples (line 2897) | def _draw_samples(self, n_augmentables, random_state): method _augment_batch_ (line 2906) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 2931) | def get_parameters(self): class Grayscale (line 2940) | class Grayscale(ChangeColorspace): method __init__ (line 3008) | def __init__(self, alpha=1, from_colorspace=CSPACE_RGB, class ChangeColorTemperature (line 3019) | class ChangeColorTemperature(meta.Augmenter): method __init__ (line 3063) | def __init__(self, kelvin=(1000, 11000), from_colorspace=CSPACE_RGB, method _augment_batch_ (line 3076) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 3088) | def get_parameters(self): class _AbstractColorQuantization (line 3094) | class _AbstractColorQuantization(meta.Augmenter): method __init__ (line 3095) | def __init__(self, method _draw_samples (line 3118) | def _draw_samples(self, n_augmentables, random_state): method _augment_batch_ (line 3132) | def _augment_batch_(self, batch, random_state, parents, hooks): method _augment_single_image (line 3145) | def _augment_single_image(self, image, counts, random_state): method _quantize (line 3203) | def _quantize(self, image, counts): method get_parameters (line 3206) | def get_parameters(self): method _ensure_max_size (line 3217) | def _ensure_max_size(cls, image, max_size, interpolation): class KMeansColorQuantization (line 3231) | class KMeansColorQuantization(_AbstractColorQuantization): method __init__ (line 3364) | def __init__(self, n_colors=(2, 16), from_colorspace=CSPACE_RGB, method n_colors (line 3380) | def n_colors(self): method _quantize (line 3388) | def _quantize(self, image, counts): function quantize_colors_kmeans (line 3393) | def quantize_colors_kmeans(image, n_colors, n_max_iter=10, eps=1.0): function quantize_kmeans (line 3403) | def quantize_kmeans(arr, nb_clusters, nb_max_iter=10, eps=1.0): class UniformColorQuantization (line 3518) | class UniformColorQuantization(_AbstractColorQuantization): method __init__ (line 3643) | def __init__(self, method n_colors (line 3662) | def n_colors(self): method _quantize (line 3670) | def _quantize(self, image, counts): class UniformColorQuantizationToNBits (line 3674) | class UniformColorQuantizationToNBits(_AbstractColorQuantization): method __init__ (line 3801) | def __init__(self, method _quantize (line 3824) | def _quantize(self, image, counts): class Posterize (line 3828) | class Posterize(UniformColorQuantizationToNBits): function quantize_colors_uniform (line 3841) | def quantize_colors_uniform(image, n_colors): function quantize_uniform (line 3850) | def quantize_uniform(arr, nb_bins, to_bin_centers=True): function quantize_uniform_ (line 3883) | def quantize_uniform_(arr, nb_bins, to_bin_centers=True): class _QuantizeUniformCenterizedLUTTableSingleton (line 3966) | class _QuantizeUniformCenterizedLUTTableSingleton(object): method get_instance (line 3970) | def get_instance(cls): class _QuantizeUniformNotCenterizedLUTTableSingleton (line 3987) | class _QuantizeUniformNotCenterizedLUTTableSingleton(object): method get_instance (line 3992) | def get_instance(cls): class _QuantizeUniformLUTTable (line 4009) | class _QuantizeUniformLUTTable(object): method __init__ (line 4010) | def __init__(self, centerize): method get_for_nb_bins (line 4013) | def get_for_nb_bins(self, nb_bins): method _generate_quantize_uniform_table (line 4023) | def _generate_quantize_uniform_table(cls, centerize): function quantize_uniform_to_n_bits (line 4044) | def quantize_uniform_to_n_bits(arr, nb_bits): function quantize_uniform_to_n_bits_ (line 4072) | def quantize_uniform_to_n_bits_(arr, nb_bits): function posterize (line 4127) | def posterize(arr, nb_bits): FILE: imgaug/augmenters/contrast.py class _ContrastFuncWrapper (line 32) | class _ContrastFuncWrapper(meta.Augmenter): method __init__ (line 33) | def __init__(self, func, params1d, per_channel, dtypes_allowed=None, method _augment_batch_ (line 48) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 94) | def get_parameters(self): function adjust_contrast_gamma (line 100) | def adjust_contrast_gamma(arr, gamma): function adjust_contrast_sigmoid (line 178) | def adjust_contrast_sigmoid(arr, gain, cutoff): function adjust_contrast_log (line 265) | def adjust_contrast_log(arr, gain): function adjust_contrast_linear (line 346) | def adjust_contrast_linear(arr, alpha): class GammaContrast (line 426) | class GammaContrast(_ContrastFuncWrapper): method __init__ (line 488) | def __init__(self, gamma=(0.7, 1.7), per_channel=False, class SigmoidContrast (line 504) | class SigmoidContrast(_ContrastFuncWrapper): method __init__ (line 586) | def __init__(self, gain=(5, 6), cutoff=(0.3, 0.6), per_channel=False, class LogContrast (line 609) | class LogContrast(_ContrastFuncWrapper): method __init__ (line 672) | def __init__(self, gain=(0.4, 1.6), per_channel=False, class LinearContrast (line 690) | class LinearContrast(_ContrastFuncWrapper): method __init__ (line 750) | def __init__(self, alpha=(0.6, 1.4), per_channel=False, class _IntensityChannelBasedApplier (line 772) | class _IntensityChannelBasedApplier(object): method __init__ (line 784) | def __init__(self, from_colorspace, to_colorspace): method apply (line 802) | def apply(self, images, random_state, parents, hooks, func): method get_parameters (line 897) | def get_parameters(self): class AllChannelsCLAHE (line 903) | class AllChannelsCLAHE(meta.Augmenter): method __init__ (line 994) | def __init__(self, clip_limit=(0.1, 8), tile_grid_size_px=(3, 12), method _augment_batch_ (line 1013) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 1079) | def get_parameters(self): class CLAHE (line 1085) | class CLAHE(meta.Augmenter): method __init__ (line 1254) | def __init__(self, clip_limit=(0.1, 8), tile_grid_size_px=(3, 12), method _augment_batch_ (line 1274) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 1298) | def get_parameters(self): class AllChannelsHistogramEqualization (line 1309) | class AllChannelsHistogramEqualization(meta.Augmenter): method __init__ (line 1373) | def __init__(self, seed=None, name=None, method _augment_batch_ (line 1380) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 1401) | def get_parameters(self): class HistogramEqualization (line 1406) | class HistogramEqualization(meta.Augmenter): method __init__ (line 1516) | def __init__(self, from_colorspace=color_lib.CSPACE_RGB, method _augment_batch_ (line 1532) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 1556) | def get_parameters(self): FILE: imgaug/augmenters/convolutional.py function convolve (line 29) | def convolve(image, kernel): function convolve_ (line 58) | def convolve_(image, kernel): class Convolve (line 184) | class Convolve(meta.Augmenter): method __init__ (line 254) | def __init__(self, matrix=None, method _augment_batch_ (line 280) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 305) | def get_parameters(self): class Sharpen (line 310) | class Sharpen(Convolve): method __init__ (line 379) | def __init__(self, alpha=(0.0, 0.2), lightness=(0.8, 1.2), class _SharpeningMatrixGenerator (line 397) | class _SharpeningMatrixGenerator(object): method __init__ (line 398) | def __init__(self, alpha, lightness): method __call__ (line 402) | def __call__(self, _image, nb_channels, random_state): class Emboss (line 425) | class Emboss(Convolve): method __init__ (line 490) | def __init__(self, alpha=(0.0, 1.0), strength=(0.25, 1.0), class _EmbossMatrixGenerator (line 508) | class _EmbossMatrixGenerator(object): method __init__ (line 509) | def __init__(self, alpha, strength): method __call__ (line 513) | def __call__(self, _image, nb_channels, random_state): class EdgeDetect (line 538) | class EdgeDetect(Convolve): method __init__ (line 587) | def __init__(self, alpha=(0.0, 0.75), class _EdgeDetectMatrixGenerator (line 602) | class _EdgeDetectMatrixGenerator(object): method __init__ (line 603) | def __init__(self, alpha): method __call__ (line 606) | def __call__(self, _image, nb_channels, random_state): class DirectedEdgeDetect (line 634) | class DirectedEdgeDetect(Convolve): method __init__ (line 720) | def __init__(self, alpha=(0.0, 0.75), direction=(0.0, 1.0), class _DirectedEdgeDetectMatrixGenerator (line 739) | class _DirectedEdgeDetectMatrixGenerator(object): method __init__ (line 740) | def __init__(self, alpha, direction): method __call__ (line 744) | def __call__(self, _image, nb_channels, random_state): FILE: imgaug/augmenters/debug.py function _resizepad_to_size (line 31) | def _resizepad_to_size(image, size, cval): class _IDebugGridCell (line 82) | class _IDebugGridCell(object): method min_width (line 92) | def min_width(self): method min_height (line 100) | def min_height(self): method draw (line 108) | def draw(self, height, width): class _DebugGridBorderCell (line 129) | class _DebugGridBorderCell(_IDebugGridCell): method __init__ (line 137) | def __init__(self, size, color, child): method min_height (line 144) | def min_height(self): method min_width (line 149) | def min_width(self): method draw (line 153) | def draw(self, height, width): class _DebugGridTextCell (line 162) | class _DebugGridTextCell(_IDebugGridCell): method __init__ (line 170) | def __init__(self, text): method min_height (line 175) | def min_height(self): method min_width (line 180) | def min_width(self): method draw (line 187) | def draw(self, height, width): class _DebugGridImageCell (line 194) | class _DebugGridImageCell(_IDebugGridCell): method __init__ (line 202) | def __init__(self, image, overlay=None, overlay_alpha=0.75): method min_height (line 209) | def min_height(self): method min_width (line 214) | def min_width(self): method draw (line 218) | def draw(self, height, width): method _resize_overlay (line 254) | def _resize_overlay(cls, arr, size): class _DebugGridCBAsOICell (line 259) | class _DebugGridCBAsOICell(_IDebugGridCell): method __init__ (line 270) | def __init__(self, cbasoi, image): method min_height (line 276) | def min_height(self): method min_width (line 281) | def min_width(self): method draw (line 285) | def draw(self, height, width): class _DebugGridColumn (line 297) | class _DebugGridColumn(object): method __init__ (line 304) | def __init__(self, cells): method nb_rows (line 308) | def nb_rows(self): method max_cell_width (line 317) | def max_cell_width(self): method max_cell_height (line 326) | def max_cell_height(self): method draw (line 334) | def draw(self, heights): class _DebugGrid (line 346) | class _DebugGrid(object): method __init__ (line 357) | def __init__(self, columns): method draw (line 361) | def draw(self): function draw_debug_image (line 382) | def draw_debug_image(images, heatmaps=None, segmentation_maps=None, function _add_borders (line 500) | def _add_borders(cells): function _add_text_cell (line 507) | def _add_text_cell(title, cells): function _create_images_column (line 513) | def _create_images_column(images): function _create_heatmaps_columns (line 531) | def _create_heatmaps_columns(heatmaps, images): function _create_segmap_columns (line 562) | def _create_segmap_columns(segmentation_maps, images): function _create_cbasois_column (line 597) | def _create_cbasois_column(cbasois, images, column_name): function _generate_images_description (line 615) | def _generate_images_description(images): function _generate_segmaps_description (line 675) | def _generate_segmaps_description(segmaps, channel_idx, show_details): function _generate_heatmaps_description (line 694) | def _generate_heatmaps_description(heatmaps, channel_idx, show_details): function _generate_sm_hm_description (line 712) | def _generate_sm_hm_description(augmentables, channel_idx, show_details): function _generate_cbasois_description (line 760) | def _generate_cbasois_description(cbasois, images): function _generate_on_image_shapes_descr (line 830) | def _generate_on_image_shapes_descr(augmentables): function _join_description_strs (line 847) | def _join_description_strs(strs): class _ListOfArraysStats (line 853) | class _ListOfArraysStats(object): method __init__ (line 862) | def __init__(self, arrays): method empty (line 867) | def empty(self): method areas (line 872) | def areas(self): method arrays_by_area (line 877) | def arrays_by_area(self): method shapes (line 886) | def shapes(self): method all_same_shape (line 891) | def all_same_shape(self): method smallest_shape (line 898) | def smallest_shape(self): method largest_shape (line 905) | def largest_shape(self): method area_max (line 912) | def area_max(self): method heights (line 919) | def heights(self): method height_min (line 924) | def height_min(self): method height_max (line 930) | def height_max(self): method widths (line 936) | def widths(self): method width_min (line 941) | def width_min(self): method width_max (line 947) | def width_max(self): method get_channels_min (line 952) | def get_channels_min(self, default): method get_channels_max (line 960) | def get_channels_max(self, default): method dtypes (line 969) | def dtypes(self): method dtype_names (line 974) | def dtype_names(self): method all_same_dtype (line 979) | def all_same_dtype(self): method all_dtypes_intlike (line 984) | def all_dtypes_intlike(self): method unique_dtype_names (line 991) | def unique_dtype_names(self): method value_min (line 996) | def value_min(self): method value_max (line 1001) | def value_max(self): method nb_unique_values (line 1006) | def nb_unique_values(self): class _IImageDestination (line 1015) | class _IImageDestination(object): method on_batch (line 1018) | def on_batch(self, batch): method receive (line 1032) | def receive(self, image): class _MultiDestination (line 1046) | class _MultiDestination(_IImageDestination): method __init__ (line 1050) | def __init__(self, destinations): method on_batch (line 1054) | def on_batch(self, batch): method receive (line 1059) | def receive(self, image): class _FolderImageDestination (line 1065) | class _FolderImageDestination(_IImageDestination): method __init__ (line 1069) | def __init__(self, folder_path, method on_batch (line 1078) | def on_batch(self, batch): method receive (line 1085) | def receive(self, image): class _IBatchwiseSchedule (line 1091) | class _IBatchwiseSchedule(object): method on_batch (line 1094) | def on_batch(self, batch): class _EveryNBatchesSchedule (line 1113) | class _EveryNBatchesSchedule(_IBatchwiseSchedule): method __init__ (line 1122) | def __init__(self, interval): method on_batch (line 1127) | def on_batch(self, batch): class _SaveDebugImage (line 1133) | class _SaveDebugImage(meta.Augmenter): method __init__ (line 1167) | def __init__(self, destination, schedule, method _augment_batch_ (line 1177) | def _augment_batch_(self, batch, random_state, parents, hooks): class SaveDebugImageEveryNBatches (line 1196) | class SaveDebugImageEveryNBatches(_SaveDebugImage): method __init__ (line 1253) | def __init__(self, destination, interval, method get_parameters (line 1272) | def get_parameters(self): FILE: imgaug/augmenters/edges.py class IBinaryImageColorizer (line 32) | class IBinaryImageColorizer(object): method colorize (line 36) | def colorize(self, image_binary, image_original, nth_image, random_sta... class RandomColorsBinaryImageColorizer (line 63) | class RandomColorsBinaryImageColorizer(IBinaryImageColorizer): method __init__ (line 92) | def __init__(self, color_true=(0, 255), color_false=(0, 255)): method _draw_samples (line 109) | def _draw_samples(self, random_state): method colorize (line 116) | def colorize(self, image_binary, image_original, nth_image, random_sta... method __str__ (line 161) | def __str__(self): class Canny (line 167) | class Canny(meta.Augmenter): method __init__ (line 320) | def __init__(self, method _draw_samples (line 381) | def _draw_samples(self, augmentables, random_state): method _augment_batch_ (line 418) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 460) | def get_parameters(self): method __str__ (line 465) | def __str__(self): FILE: imgaug/augmenters/flip.py function fliplr (line 682) | def fliplr(arr): function _fliplr_sliced (line 730) | def _fliplr_sliced(arr): function _fliplr_cv2 (line 734) | def _fliplr_cv2(arr): function flipud (line 767) | def flipud(arr): function HorizontalFlip (line 811) | def HorizontalFlip(*args, **kwargs): function VerticalFlip (line 817) | def VerticalFlip(*args, **kwargs): class Fliplr (line 823) | class Fliplr(meta.Augmenter): method __init__ (line 872) | def __init__(self, p=1, method _augment_batch_ (line 881) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 930) | def get_parameters(self): class Flipud (line 936) | class Flipud(meta.Augmenter): method __init__ (line 984) | def __init__(self, p=1, method _augment_batch_ (line 993) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 1044) | def get_parameters(self): FILE: imgaug/augmenters/geometric.py function _handle_order_arg (line 86) | def _handle_order_arg(order, backend): function _handle_cval_arg (line 131) | def _handle_cval_arg(cval): function _handle_mode_arg (line 148) | def _handle_mode_arg(mode): function _warp_affine_arr (line 167) | def _warp_affine_arr(arr, matrix, order=1, mode="constant", cval=0, function _warp_affine_arr_skimage (line 224) | def _warp_affine_arr_skimage(arr, matrix, cval, mode, order, output_shape): function _warp_affine_arr_cv2 (line 259) | def _warp_affine_arr_cv2(arr, matrix, cval, mode, order, output_shape): function _warp_affine_coords (line 331) | def _warp_affine_coords(coords, matrix): function _compute_affine_warp_output_shape (line 352) | def _compute_affine_warp_output_shape(matrix, input_shape): function apply_jigsaw (line 386) | def apply_jigsaw(arr, destinations): function apply_jigsaw_to_coords (line 477) | def apply_jigsaw_to_coords(coords, destinations, image_shape): function generate_jigsaw_destinations (line 542) | def generate_jigsaw_destinations(nb_rows, nb_cols, max_steps, seed, class _AffineMatrixGenerator (line 617) | class _AffineMatrixGenerator(object): method __init__ (line 619) | def __init__(self, matrix=None): method centerize (line 625) | def centerize(self, image_shape): method invert_centerize (line 631) | def invert_centerize(self, image_shape): method translate (line 637) | def translate(self, x_px, y_px): method scale (line 648) | def scale(self, x_frac, y_frac): method rotate (line 660) | def rotate(self, rad): method shear (line 672) | def shear(self, x_rad, y_rad): method _mul (line 683) | def _mul(self, matrix): class _AffineSamplingResult (line 687) | class _AffineSamplingResult(object): method __init__ (line 688) | def __init__(self, scale=None, translate=None, translate_mode="px", method get_affine_parameters (line 700) | def get_affine_parameters(self, idx, arr_shape, image_shape): method to_matrix (line 742) | def to_matrix( method to_matrix_cba (line 777) | def to_matrix_cba(self, idx, arr_shape, fit_output, shift_add=(0.0, 0.... method copy (line 781) | def copy(self): function _is_identity_matrix (line 794) | def _is_identity_matrix(matrix, eps=1e-4): class Affine (line 800) | class Affine(meta.Augmenter): method __init__ (line 1265) | def __init__(self, scale=None, translate_percent=None, translate_px=None, method _handle_scale_arg (line 1320) | def _handle_scale_arg(cls, scale): method _handle_translate_arg (line 1340) | def _handle_translate_arg(cls, translate_px, translate_percent): method _handle_shear_arg (line 1404) | def _handle_shear_arg(cls, shear): method _augment_batch_ (line 1430) | def _augment_batch_(self, batch, random_state, parents, hooks): method _augment_images_by_samples (line 1480) | def _augment_images_by_samples(self, images, samples, method _augment_maps_by_samples (line 1529) | def _augment_maps_by_samples(self, augmentables, samples, method _draw_samples (line 1573) | def _draw_samples(self, nb_samples, random_state): method get_parameters (line 1633) | def get_parameters(self): class ScaleX (line 1641) | class ScaleX(Affine): method __init__ (line 1703) | def __init__(self, scale=(0.5, 1.5), order=1, cval=0, mode="constant", class ScaleY (line 1718) | class ScaleY(Affine): method __init__ (line 1780) | def __init__(self, scale=(0.5, 1.5), order=1, cval=0, mode="constant", class TranslateX (line 1796) | class TranslateX(Affine): method __init__ (line 1867) | def __init__(self, percent=None, px=None, order=1, class TranslateY (line 1887) | class TranslateY(Affine): method __init__ (line 1958) | def __init__(self, percent=None, px=None, order=1, class Rotate (line 1977) | class Rotate(Affine): method __init__ (line 2037) | def __init__(self, rotate=(-30, 30), order=1, cval=0, mode="constant", class ShearX (line 2052) | class ShearX(Affine): method __init__ (line 2112) | def __init__(self, shear=(-30, 30), order=1, cval=0, mode="constant", class ShearY (line 2127) | class ShearY(Affine): method __init__ (line 2187) | def __init__(self, shear=(-30, 30), order=1, cval=0, mode="constant", class AffineCv2 (line 2202) | class AffineCv2(meta.Augmenter): method __init__ (line 2500) | def __init__(self, scale=1.0, translate_percent=None, translate_px=None, method _augment_images (line 2675) | def _augment_images(self, images, random_state, parents, hooks): method _augment_images_by_samples (line 2686) | def _augment_images_by_samples(cls, images, scale_samples, method _augment_heatmaps (line 2778) | def _augment_heatmaps(self, heatmaps, random_state, parents, hooks): method _augment_segmentation_maps (line 2793) | def _augment_segmentation_maps(self, segmaps, random_state, parents, h... method _augment_keypoints (line 2809) | def _augment_keypoints(self, keypoints_on_images, random_state, parents, method _augment_polygons (line 2876) | def _augment_polygons(self, polygons_on_images, random_state, parents, method _augment_line_strings (line 2881) | def _augment_line_strings(self, line_strings_on_images, random_state, method _augment_bounding_boxes (line 2886) | def _augment_bounding_boxes(self, bounding_boxes_on_images, random_state, method get_parameters (line 2891) | def get_parameters(self): method _draw_samples (line 2896) | def _draw_samples(self, nb_samples, random_state): class _PiecewiseAffineSamplingResult (line 2949) | class _PiecewiseAffineSamplingResult(object): method __init__ (line 2950) | def __init__(self, nb_rows, nb_cols, jitter, order, cval, mode): method get_clipped_cval (line 2958) | def get_clipped_cval(self, idx, dtype): class PiecewiseAffine (line 2965) | class PiecewiseAffine(meta.Augmenter): method __init__ (line 3106) | def __init__(self, scale=(0.0, 0.04), nb_rows=(2, 4), nb_cols=(2, 4), method _augment_batch_ (line 3148) | def _augment_batch_(self, batch, random_state, parents, hooks): method _augment_images_by_samples (line 3186) | def _augment_images_by_samples(self, images, samples): method _augment_maps_by_samples (line 3230) | def _augment_maps_by_samples(self, augmentables, arr_attr_name, samples, method _augment_keypoints_by_samples (line 3271) | def _augment_keypoints_by_samples(self, kpsois, samples): method _draw_samples (line 3343) | def _draw_samples(self, nb_images, random_state): method _get_transformer (line 3375) | def _get_transformer(self, augmentable_shape, image_shape, nb_rows, method get_parameters (line 3455) | def get_parameters(self): class _PerspectiveTransformSamplingResult (line 3462) | class _PerspectiveTransformSamplingResult(object): method __init__ (line 3463) | def __init__(self, matrices, max_heights, max_widths, cvals, modes): class PerspectiveTransform (line 3472) | class PerspectiveTransform(meta.Augmenter): method __init__ (line 3646) | def __init__(self, scale=(0.0, 0.06), cval=0, mode="constant", method _handle_mode_arg (line 3691) | def _handle_mode_arg(cls, mode): method _augment_batch_ (line 3727) | def _augment_batch_(self, batch, random_state, parents, hooks): method _augment_images_by_samples (line 3784) | def _augment_images_by_samples(self, images, samples): method _augment_maps_by_samples (line 3853) | def _augment_maps_by_samples(self, augmentables, arr_attr_name, method _augment_keypoints_by_samples (line 3917) | def _augment_keypoints_by_samples(self, kpsois, samples_images): method _draw_samples (line 3947) | def _draw_samples(self, shapes, random_state): method _order_points (line 4064) | def _order_points(cls, pts): method _expand_transform (line 4089) | def _expand_transform(cls, matrix, shape): method get_parameters (line 4110) | def get_parameters(self): class ElasticTransformation (line 4119) | class ElasticTransformation(meta.Augmenter): method __init__ (line 4325) | def __init__(self, alpha=(1.0, 40.0), sigma=(4.0, 8.0), order=0, cval=0, method _handle_order_arg (line 4366) | def _handle_order_arg(cls, order): method _handle_mode_arg (line 4375) | def _handle_mode_arg(cls, mode): method _draw_samples (line 4392) | def _draw_samples(self, nb_images, random_state): method _augment_batch_ (line 4403) | def _augment_batch_(self, batch, random_state, parents, hooks): method _augment_image_by_samples (line 4450) | def _augment_image_by_samples(self, image, row_idx, samples, dx, dy): method _augment_hm_or_sm_by_samples (line 4471) | def _augment_hm_or_sm_by_samples(self, augmentable, row_idx, samples, method _augment_kpsoi_by_samples (line 4525) | def _augment_kpsoi_by_samples(self, kpsoi, row_idx, samples, dx, dy): method _augment_psoi_by_samples (line 4588) | def _augment_psoi_by_samples(self, psoi, row_idx, samples, dx, dy): method _augment_lsoi_by_samples (line 4596) | def _augment_lsoi_by_samples(self, lsoi, row_idx, samples, dx, dy): method _augment_bbsoi_by_samples (line 4603) | def _augment_bbsoi_by_samples(self, bbsoi, row_idx, samples, dx, dy): method get_parameters (line 4609) | def get_parameters(self): method _map_coordinates (line 4613) | def _map_coordinates(self, image, dx, dy, order=1, cval=0, mode="const... class _ElasticTransformationSamplingResult (line 4848) | class _ElasticTransformationSamplingResult(object): method __init__ (line 4849) | def __init__(self, random_state, alphas, sigmas, orders, cvals, modes): class _ElasticTfShiftMapGenerator (line 4858) | class _ElasticTfShiftMapGenerator(object): method __init__ (line 4871) | def __init__(self): method generate (line 4875) | def generate(self, shapes, alphas, sigmas, random_state): method _flip (line 4936) | def _flip(cls, dx, dy, flips): method _mul_alpha (line 4950) | def _mul_alpha(cls, dx, dy, alpha): method _smoothen_ (line 4958) | def _smoothen_(cls, dx, dy, sigma): method _split_chunks (line 4970) | def _split_chunks(cls, iterable, chunk_size): class Rot90 (line 4975) | class Rot90(meta.Augmenter): method __init__ (line 5077) | def __init__(self, k=1, keep_size=True, method _draw_samples (line 5092) | def _draw_samples(self, nb_images, random_state): method _augment_batch_ (line 5096) | def _augment_batch_(self, batch, random_state, parents, hooks): method _augment_arrays_by_samples (line 5125) | def _augment_arrays_by_samples(cls, arrs, ks, keep_size, resize_func): method _augment_maps_by_samples (line 5148) | def _augment_maps_by_samples(self, augmentables, arr_attr_name, ks): method _augment_keypoints_by_samples (line 5173) | def _augment_keypoints_by_samples(self, keypoints_on_images, ks): method get_parameters (line 5210) | def get_parameters(self): class WithPolarWarping (line 5216) | class WithPolarWarping(meta.Augmenter): method __init__ (line 5341) | def __init__(self, children, method _augment_batch_ (line 5350) | def _augment_batch_(self, batch, random_state, parents, hooks): method _convert_bbs_to_polygons_ (line 5384) | def _convert_bbs_to_polygons_(cls, batch): method _invert_convert_bbs_to_polygons_ (line 5418) | def _invert_convert_bbs_to_polygons_(cls, batch, inv_data): method _warp_images_ (line 5458) | def _warp_images_(cls, images): method _invert_warp_images_ (line 5463) | def _invert_warp_images_(cls, images_warped, inv_data): method _warp_heatmaps_ (line 5468) | def _warp_heatmaps_(cls, heatmaps): method _invert_warp_heatmaps_ (line 5473) | def _invert_warp_heatmaps_(cls, heatmaps_warped, inv_data): method _warp_segmentation_maps_ (line 5479) | def _warp_segmentation_maps_(cls, segmentation_maps): method _invert_warp_segmentation_maps_ (line 5484) | def _invert_warp_segmentation_maps_(cls, segmentation_maps_warped, method _warp_keypoints_ (line 5491) | def _warp_keypoints_(cls, kpsois): method _invert_warp_keypoints_ (line 5496) | def _invert_warp_keypoints_(cls, kpsois_warped, image_shapes_orig): method _warp_bounding_boxes_ (line 5501) | def _warp_bounding_boxes_(cls, bbsois): # pylint: disable=useless-return method _invert_warp_bounding_boxes_ (line 5508) | def _invert_warp_bounding_boxes_(cls, bbsois_warped, _image_shapes_ori... method _warp_polygons_ (line 5515) | def _warp_polygons_(cls, psois): method _invert_warp_polygons_ (line 5520) | def _invert_warp_polygons_(cls, psois_warped, image_shapes_orig): method _warp_line_strings_ (line 5525) | def _warp_line_strings_(cls, lsois): method _invert_warp_line_strings_ (line 5530) | def _invert_warp_line_strings_(cls, lsois_warped, image_shapes_orig): method _warp_arrays (line 5535) | def _warp_arrays(cls, arrays, interpolation_nearest): method _invert_warp_arrays (line 5593) | def _invert_warp_arrays(cls, arrays_warped, interpolation_nearest, method _warp_maps_ (line 5656) | def _warp_maps_(cls, maps, arr_attr_name, interpolation_nearest): method _invert_warp_maps_ (line 5685) | def _invert_warp_maps_(cls, maps_warped, arr_attr_name, method _warp_coords (line 5712) | def _warp_coords(cls, coords, image_shapes): method _invert_warp_coords (line 5740) | def _invert_warp_coords(cls, coords_warped, image_shapes_after_aug, method _warp_cbaois_ (line 5769) | def _warp_cbaois_(cls, cbaois): method _invert_warp_cbaois_ (line 5788) | def _invert_warp_cbaois_(cls, cbaois_warped, image_shapes_orig): method _warp_shape_tuples (line 5809) | def _warp_shape_tuples(cls, shapes): method warpPolarCoords (line 5834) | def warpPolarCoords(cls, src, dsize, center, maxRadius, flags): method get_parameters (line 5886) | def get_parameters(self): method get_children_lists (line 5891) | def get_children_lists(self): method _to_deterministic (line 5896) | def _to_deterministic(self): method __str__ (line 5904) | def __str__(self): class Jigsaw (line 5913) | class Jigsaw(meta.Augmenter): method __init__ (line 6021) | def __init__(self, nb_rows=(3, 10), nb_cols=(3, 10), max_steps=1, method _augment_batch_ (line 6041) | def _augment_batch_(self, batch, random_state, parents, hooks): method _draw_samples (line 6114) | def _draw_samples(self, batch, random_state): method _resize_maps (line 6135) | def _resize_maps(cls, batch): method _resize_maps_single_list (line 6150) | def _resize_maps_single_list(cls, augmentables, arr_attr_name, method _invert_resize_maps (line 6166) | def _invert_resize_maps(cls, batch, shapes_orig): method _invert_resize_maps_single_list (line 6176) | def _invert_resize_maps_single_list(cls, augmentables, shapes_orig): method get_parameters (line 6186) | def get_parameters(self): class _JigsawSamples (line 6191) | class _JigsawSamples(object): method __init__ (line 6193) | def __init__(self, nb_rows, nb_cols, max_steps, destinations): FILE: imgaug/augmenters/imgcorruptlike.py function _clipped_zoom_no_scipy_warning (line 98) | def _clipped_zoom_no_scipy_warning(img, zoom_factor): function _call_imgcorrupt_func (line 118) | def _call_imgcorrupt_func(fname, seed, convert_to_pil, *args, **kwargs): function get_corruption_names (line 210) | def get_corruption_names(subset="common"): function apply_gaussian_noise (line 263) | def apply_gaussian_noise(x, severity=1, seed=None): function apply_shot_noise (line 295) | def apply_shot_noise(x, severity=1, seed=None): function apply_impulse_noise (line 327) | def apply_impulse_noise(x, severity=1, seed=None): function apply_speckle_noise (line 359) | def apply_speckle_noise(x, severity=1, seed=None): function apply_gaussian_blur (line 391) | def apply_gaussian_blur(x, severity=1, seed=None): function apply_glass_blur (line 423) | def apply_glass_blur(x, severity=1, seed=None): function _apply_glass_blur_imgaug (line 457) | def _apply_glass_blur_imgaug(x, severity=1): function _apply_glass_blur_imgaug_loop (line 506) | def _apply_glass_blur_imgaug_loop( function apply_defocus_blur (line 527) | def apply_defocus_blur(x, severity=1, seed=None): function apply_motion_blur (line 559) | def apply_motion_blur(x, severity=1, seed=None): function apply_zoom_blur (line 591) | def apply_zoom_blur(x, severity=1, seed=None): function apply_fog (line 623) | def apply_fog(x, severity=1, seed=None): function apply_frost (line 655) | def apply_frost(x, severity=1, seed=None): function apply_snow (line 687) | def apply_snow(x, severity=1, seed=None): function apply_spatter (line 719) | def apply_spatter(x, severity=1, seed=None): function apply_contrast (line 751) | def apply_contrast(x, severity=1, seed=None): function apply_brightness (line 783) | def apply_brightness(x, severity=1, seed=None): function apply_saturate (line 815) | def apply_saturate(x, severity=1, seed=None): function apply_jpeg_compression (line 847) | def apply_jpeg_compression(x, severity=1, seed=None): function apply_pixelate (line 879) | def apply_pixelate(x, severity=1, seed=None): function apply_elastic_transform (line 911) | def apply_elastic_transform(image, severity=1, seed=None): class _ImgcorruptAugmenterBase (line 1011) | class _ImgcorruptAugmenterBase(meta.Augmenter): method __init__ (line 1012) | def __init__(self, func, severity=1, method _augment_batch_ (line 1025) | def _augment_batch_(self, batch, random_state, parents, hooks): method _draw_samples (line 1038) | def _draw_samples(self, nb_rows, random_state): method get_parameters (line 1046) | def get_parameters(self): class GaussianNoise (line 1051) | class GaussianNoise(_ImgcorruptAugmenterBase): method __init__ (line 1101) | def __init__(self, severity=(1, 5), class ShotNoise (line 1110) | class ShotNoise(_ImgcorruptAugmenterBase): method __init__ (line 1160) | def __init__(self, severity=(1, 5), class ImpulseNoise (line 1169) | class ImpulseNoise(_ImgcorruptAugmenterBase): method __init__ (line 1219) | def __init__(self, severity=(1, 5), class SpeckleNoise (line 1228) | class SpeckleNoise(_ImgcorruptAugmenterBase): method __init__ (line 1278) | def __init__(self, severity=(1, 5), class GaussianBlur (line 1287) | class GaussianBlur(_ImgcorruptAugmenterBase): method __init__ (line 1337) | def __init__(self, severity=(1, 5), class GlassBlur (line 1346) | class GlassBlur(_ImgcorruptAugmenterBase): method __init__ (line 1396) | def __init__(self, severity=(1, 5), class DefocusBlur (line 1405) | class DefocusBlur(_ImgcorruptAugmenterBase): method __init__ (line 1455) | def __init__(self, severity=(1, 5), class MotionBlur (line 1464) | class MotionBlur(_ImgcorruptAugmenterBase): method __init__ (line 1514) | def __init__(self, severity=(1, 5), class ZoomBlur (line 1523) | class ZoomBlur(_ImgcorruptAugmenterBase): method __init__ (line 1573) | def __init__(self, severity=(1, 5), class Fog (line 1582) | class Fog(_ImgcorruptAugmenterBase): method __init__ (line 1632) | def __init__(self, severity=(1, 5), class Frost (line 1641) | class Frost(_ImgcorruptAugmenterBase): method __init__ (line 1691) | def __init__(self, severity=(1, 5), class Snow (line 1700) | class Snow(_ImgcorruptAugmenterBase): method __init__ (line 1750) | def __init__(self, severity=(1, 5), class Spatter (line 1759) | class Spatter(_ImgcorruptAugmenterBase): method __init__ (line 1809) | def __init__(self, severity=(1, 5), class Contrast (line 1818) | class Contrast(_ImgcorruptAugmenterBase): method __init__ (line 1868) | def __init__(self, severity=(1, 5), class Brightness (line 1877) | class Brightness(_ImgcorruptAugmenterBase): method __init__ (line 1927) | def __init__(self, severity=(1, 5), class Saturate (line 1936) | class Saturate(_ImgcorruptAugmenterBase): method __init__ (line 1986) | def __init__(self, severity=(1, 5), class JpegCompression (line 1995) | class JpegCompression(_ImgcorruptAugmenterBase): method __init__ (line 2045) | def __init__(self, severity=(1, 5), class Pixelate (line 2054) | class Pixelate(_ImgcorruptAugmenterBase): method __init__ (line 2104) | def __init__(self, severity=(1, 5), class ElasticTransform (line 2113) | class ElasticTransform(_ImgcorruptAugmenterBase): method __init__ (line 2167) | def __init__(self, severity=(1, 5), method _augment_batch_ (line 2176) | def _augment_batch_(self, batch, random_state, parents, hooks): FILE: imgaug/augmenters/meta.py function clip_augmented_image_ (line 45) | def clip_augmented_image_(image, min_value, max_value): function clip_augmented_image (line 51) | def clip_augmented_image(image, min_value, max_value): function clip_augmented_images_ (line 57) | def clip_augmented_images_(images, min_value, max_value): function clip_augmented_images (line 66) | def clip_augmented_images(images, min_value, max_value): function handle_children_list (line 75) | def handle_children_list(lst, augmenter_name, lst_name, default="sequent... function reduce_to_nonempty (line 106) | def reduce_to_nonempty(objs): function invert_reduce_to_nonempty (line 120) | def invert_reduce_to_nonempty(objs, ids, objs_reduced): function estimate_max_number_of_channels (line 128) | def estimate_max_number_of_channels(images): function copy_arrays (line 145) | def copy_arrays(arrays): function _add_channel_axis (line 152) | def _add_channel_axis(arrs): function _remove_added_channel_axis (line 165) | def _remove_added_channel_axis(arrs_added, arrs_orig): class _maybe_deterministic_ctx (line 182) | class _maybe_deterministic_ctx(object): # pylint: disable=invalid-name method __init__ (line 201) | def __init__(self, random_state, deterministic=None): method __enter__ (line 213) | def __enter__(self): method __exit__ (line 217) | def __exit__(self, exception_type, exception_value, exception_traceback): class Augmenter (line 223) | class Augmenter(object): method __init__ (line 284) | def __init__(self, seed=None, name=None, method augment_batches (line 327) | def augment_batches(self, batches, hooks=None, background=False): method augment_batch (line 541) | def augment_batch(self, batch, hooks=None): method augment_batch_ (line 553) | def augment_batch_(self, batch, parents=None, hooks=None): method _augment_batch_ (line 675) | def _augment_batch_(self, batch, random_state, parents, hooks): method augment_image (line 743) | def augment_image(self, image, hooks=None): method augment_images (line 777) | def augment_images(self, images, parents=None, hooks=None): method _augment_images (line 832) | def _augment_images(self, images, random_state, parents, hooks): method augment_heatmaps (line 880) | def augment_heatmaps(self, heatmaps, parents=None, hooks=None): method _augment_heatmaps (line 909) | def _augment_heatmaps(self, heatmaps, random_state, parents, hooks): method augment_segmentation_maps (line 946) | def augment_segmentation_maps(self, segmaps, parents=None, hooks=None): method _augment_segmentation_maps (line 976) | def _augment_segmentation_maps(self, segmaps, random_state, parents, h... method augment_keypoints (line 1016) | def augment_keypoints(self, keypoints_on_images, parents=None, hooks=N... method _augment_keypoints (line 1081) | def _augment_keypoints(self, keypoints_on_images, random_state, parents, method augment_bounding_boxes (line 1122) | def augment_bounding_boxes(self, bounding_boxes_on_images, parents=None, method augment_polygons (line 1190) | def augment_polygons(self, polygons_on_images, parents=None, hooks=None): method augment_line_strings (line 1256) | def augment_line_strings(self, line_strings_on_images, parents=None, method _augment_bounding_boxes (line 1325) | def _augment_bounding_boxes(self, bounding_boxes_on_images, random_state, method _augment_polygons (line 1375) | def _augment_polygons(self, polygons_on_images, random_state, parents, method _augment_line_strings (line 1422) | def _augment_line_strings(self, line_strings_on_images, random_state, method _augment_bounding_boxes_as_keypoints (line 1470) | def _augment_bounding_boxes_as_keypoints(self, bounding_boxes_on_images, method _augment_polygons_as_keypoints (line 1503) | def _augment_polygons_as_keypoints(self, polygons_on_images, random_st... method _augment_line_strings_as_keypoints (line 1551) | def _augment_line_strings_as_keypoints(self, line_strings_on_images, method _augment_cbaois_as_keypoints (line 1582) | def _augment_cbaois_as_keypoints( method _apply_to_polygons_as_keypoints (line 1618) | def _apply_to_polygons_as_keypoints(cls, polygons_on_images, func, method _apply_to_cbaois_as_keypoints (line 1678) | def _apply_to_cbaois_as_keypoints(cls, cbaois, func): method augment (line 1708) | def augment(self, return_batch=False, hooks=None, **kwargs): method __call__ (line 2025) | def __call__(self, *args, **kwargs): method pool (line 2029) | def pool(self, processes=None, maxtasksperchild=None, seed=None): method draw_grid (line 2113) | def draw_grid(self, images, rows, cols): method show_grid (line 2209) | def show_grid(self, images, rows, cols): method to_deterministic (line 2235) | def to_deterministic(self, n=None): method _to_deterministic (line 2277) | def _to_deterministic(self): method reseed (line 2309) | def reseed(self, random_state=None, deterministic_too=False): method seed_ (line 2318) | def seed_(self, entropy=None, deterministic_too=False): method localize_random_state (line 2395) | def localize_random_state(self, recursive=True): method localize_random_state_ (line 2419) | def localize_random_state_(self, recursive=True): method copy_random_state (line 2471) | def copy_random_state(self, source, recursive=True, matching="position", method copy_random_state_ (line 2508) | def copy_random_state_(self, source, recursive=True, matching="position", method get_parameters (line 2635) | def get_parameters(self): method get_children_lists (line 2648) | def get_children_lists(self): method get_all_children (line 2689) | def get_all_children(self, flat=False): method find_augmenters (line 2717) | def find_augmenters(self, func, parents=None, flat=True): method find_augmenters_by_name (line 2778) | def find_augmenters_by_name(self, name, regex=False, flat=True): method find_augmenters_by_names (line 2801) | def find_augmenters_by_names(self, names, regex=False, flat=True): method remove_augmenters (line 2837) | def remove_augmenters(self, func, copy=True, identity_if_topmost=True, method remove_augmenters_inplace (line 2910) | def remove_augmenters_inplace(self, func, parents=None): method remove_augmenters_ (line 2920) | def remove_augmenters_(self, func, parents=None): method copy (line 2968) | def copy(self): method deepcopy (line 2979) | def deepcopy(self): method __repr__ (line 2996) | def __repr__(self): method __str__ (line 2999) | def __str__(self): class Sequential (line 3006) | class Sequential(Augmenter, list): method __init__ (line 3104) | def __init__(self, children=None, random_order=False, method _augment_batch_ (line 3135) | def _augment_batch_(self, batch, random_state, parents, hooks): method _to_deterministic (line 3150) | def _to_deterministic(self): method get_parameters (line 3158) | def get_parameters(self): method add (line 3162) | def add(self, augmenter): method get_children_lists (line 3173) | def get_children_lists(self): method __str__ (line 3177) | def __str__(self): class SomeOf (line 3188) | class SomeOf(Augmenter, list): method __init__ (line 3303) | def __init__(self, n=None, children=None, random_order=False, method _handle_arg_n (line 3337) | def _handle_arg_n(cls, n): method _get_n (line 3364) | def _get_n(self, nb_images, random_state): method _get_augmenter_order (line 3376) | def _get_augmenter_order(self, random_state): method _get_augmenter_active (line 3383) | def _get_augmenter_active(self, nb_rows, random_state): method _augment_batch_ (line 3396) | def _augment_batch_(self, batch, random_state, parents, hooks): method _to_deterministic (line 3432) | def _to_deterministic(self): method get_parameters (line 3440) | def get_parameters(self): method add (line 3444) | def add(self, augmenter): method get_children_lists (line 3455) | def get_children_lists(self): method __str__ (line 3459) | def __str__(self): class OneOf (line 3470) | class OneOf(SomeOf): method __init__ (line 3528) | def __init__(self, children, class Sometimes (line 3539) | class Sometimes(Augmenter): method __init__ (line 3615) | def __init__(self, p=0.5, then_list=None, else_list=None, method _augment_batch_ (line 3630) | def _augment_batch_(self, batch, random_state, parents, hooks): method _to_deterministic (line 3662) | def _to_deterministic(self): method get_parameters (line 3674) | def get_parameters(self): method get_children_lists (line 3678) | def get_children_lists(self): method __str__ (line 3687) | def __str__(self): class WithChannels (line 3697) | class WithChannels(Augmenter): method __init__ (line 3762) | def __init__(self, channels=None, children=None, method _augment_batch_ (line 3788) | def _augment_batch_(self, batch, random_state, parents, hooks): method _assert_lengths_not_changed (line 3834) | def _assert_lengths_not_changed(cls, images_aug, images): method _assert_shapes_not_changed (line 3842) | def _assert_shapes_not_changed(cls, images_aug, images): method _assert_dtypes_not_changed (line 3859) | def _assert_dtypes_not_changed(cls, images_aug, images): method _recover_images_array (line 3878) | def _recover_images_array(cls, images_aug, images): method _reduce_images_to_channels (line 3884) | def _reduce_images_to_channels(self, images): method _invert_reduce_images_to_channels (line 3892) | def _invert_reduce_images_to_channels(self, images_aug, images): method _replace_unaugmented_cells (line 3901) | def _replace_unaugmented_cells(self, augmentables_aug, augmentables): method _to_deterministic (line 3920) | def _to_deterministic(self): method get_parameters (line 3927) | def get_parameters(self): method get_children_lists (line 3931) | def get_children_lists(self): method __str__ (line 3935) | def __str__(self): class Identity (line 3944) | class Identity(Augmenter): method __init__ (line 3997) | def __init__(self, method _augment_batch_ (line 4005) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 4009) | def get_parameters(self): class Noop (line 4014) | class Noop(Identity): method __init__ (line 4052) | def __init__(self, class Lambda (line 4060) | class Lambda(Augmenter): method __init__ (line 4236) | def __init__(self, func_images=None, func_heatmaps=None, method _augment_images (line 4253) | def _augment_images(self, images, random_state, parents, hooks): method _augment_heatmaps (line 4258) | def _augment_heatmaps(self, heatmaps, random_state, parents, hooks): method _augment_segmentation_maps (line 4274) | def _augment_segmentation_maps(self, segmaps, random_state, parents, h... method _augment_keypoints (line 4291) | def _augment_keypoints(self, keypoints_on_images, random_state, parents, method _augment_polygons (line 4309) | def _augment_polygons(self, polygons_on_images, random_state, parents, method _augment_line_strings (line 4334) | def _augment_line_strings(self, line_strings_on_images, random_state, method _augment_bounding_boxes (line 4356) | def _augment_bounding_boxes(self, bounding_boxes_on_images, random_state, method get_parameters (line 4385) | def get_parameters(self): class AssertLambda (line 4390) | class AssertLambda(Lambda): method __init__ (line 4511) | def __init__(self, func_images=None, func_heatmaps=None, class _AssertLambdaCallback (line 4538) | class _AssertLambdaCallback(object): method __init__ (line 4540) | def __init__(self, func, augmentable_name): method __call__ (line 4545) | def __call__(self, augmentables, random_state, parents, hooks): class AssertShape (line 4555) | class AssertShape(Lambda): method __init__ (line 4683) | def __init__(self, shape, check_images=True, check_heatmaps=True, method _compare (line 4716) | def _compare(cls, observed, expected, dimension, image_index): method _check_shapes (line 4744) | def _check_shapes(cls, shapes, shape_target): class _AssertShapeImagesCheck (line 4759) | class _AssertShapeImagesCheck(object): method __init__ (line 4760) | def __init__(self, shape): method __call__ (line 4763) | def __call__(self, images, _random_state, _parents, _hooks): class _AssertShapeHeatmapsCheck (line 4772) | class _AssertShapeHeatmapsCheck(object): method __init__ (line 4773) | def __init__(self, shape): method __call__ (line 4776) | def __call__(self, heatmaps, _random_state, _parents, _hooks): class _AssertShapeSegmapCheck (line 4783) | class _AssertShapeSegmapCheck(object): method __init__ (line 4784) | def __init__(self, shape): method __call__ (line 4787) | def __call__(self, segmaps, _random_state, _parents, _hooks): class _AssertShapeKeypointsCheck (line 4794) | class _AssertShapeKeypointsCheck(object): method __init__ (line 4795) | def __init__(self, shape): method __call__ (line 4798) | def __call__(self, keypoints_on_images, _random_state, _parents, _hooks): class _AssertShapeBoundingBoxesCheck (line 4805) | class _AssertShapeBoundingBoxesCheck(object): method __init__ (line 4806) | def __init__(self, shape): method __call__ (line 4809) | def __call__(self, bounding_boxes_on_images, _random_state, _parents, class _AssertShapePolygonsCheck (line 4818) | class _AssertShapePolygonsCheck(object): method __init__ (line 4819) | def __init__(self, shape): method __call__ (line 4822) | def __call__(self, polygons_on_images, _random_state, _parents, _hooks): class _AssertShapeLineStringsCheck (line 4829) | class _AssertShapeLineStringsCheck(object): method __init__ (line 4830) | def __init__(self, shape): method __call__ (line 4833) | def __call__(self, line_strings_on_images, _random_state, _parents, class ChannelShuffle (line 4841) | class ChannelShuffle(Augmenter): method __init__ (line 4909) | def __init__(self, p=1.0, channels=None, method _augment_batch_ (line 4929) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 4944) | def get_parameters(self): function shuffle_channels (line 4949) | def shuffle_channels(image, random_state, channels=None): class RemoveCBAsByOutOfImageFraction (line 5015) | class RemoveCBAsByOutOfImageFraction(Augmenter): method __init__ (line 5105) | def __init__(self, fraction, method _augment_batch_ (line 5115) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 5126) | def get_parameters(self): class ClipCBAsToImagePlanes (line 5131) | class ClipCBAsToImagePlanes(Augmenter): method __init__ (line 5193) | def __init__(self, method _augment_batch_ (line 5201) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 5211) | def get_parameters(self): FILE: imgaug/augmenters/overlay.py function blend_alpha (line 21) | def blend_alpha(*args, **kwargs): function Alpha (line 29) | def Alpha(*args, **kwargs): function AlphaElementwise (line 37) | def AlphaElementwise(*args, **kwargs): function SimplexNoiseAlpha (line 45) | def SimplexNoiseAlpha(*args, **kwargs): function FrequencyNoiseAlpha (line 53) | def FrequencyNoiseAlpha(*args, **kwargs): FILE: imgaug/augmenters/pillike.py function _ensure_valid_shape (line 80) | def _ensure_valid_shape(image, func_name): function solarize_ (line 94) | def solarize_(image, threshold=128): function solarize (line 126) | def solarize(image, threshold=128): function posterize_ (line 155) | def posterize_(image, bits): function posterize (line 186) | def posterize(image, bits): function equalize (line 215) | def equalize(image, mask=None): function equalize_ (line 253) | def equalize_(image, mask=None): function _equalize_no_pil_ (line 320) | def _equalize_no_pil_(image, mask=None): function _equalize_pil_ (line 352) | def _equalize_pil_(image, mask=None): function autocontrast (line 366) | def autocontrast(image, cutoff=0, ignore=None): function _autocontrast_pil (line 429) | def _autocontrast_pil(image, cutoff, ignore): function _autocontrast_no_pil (line 443) | def _autocontrast_no_pil(image, cutoff, ignore): # noqa: C901 function _apply_enhance_func (line 534) | def _apply_enhance_func(image, cls, factor): function enhance_color (line 554) | def enhance_color(image, factor): function enhance_contrast (line 597) | def enhance_contrast(image, factor): function enhance_brightness (line 641) | def enhance_brightness(image, factor): function enhance_sharpness (line 684) | def enhance_sharpness(image, factor): function _filter_by_kernel (line 728) | def _filter_by_kernel(image, kernel): function filter_blur (line 748) | def filter_blur(image): function filter_smooth (line 785) | def filter_smooth(image): function filter_smooth_more (line 822) | def filter_smooth_more(image): function filter_edge_enhance (line 859) | def filter_edge_enhance(image): function filter_edge_enhance_more (line 896) | def filter_edge_enhance_more(image): function filter_find_edges (line 934) | def filter_find_edges(image): function filter_contour (line 971) | def filter_contour(image): function filter_emboss (line 1008) | def filter_emboss(image): function filter_sharpen (line 1045) | def filter_sharpen(image): function filter_detail (line 1082) | def filter_detail(image): function _create_affine_matrix (line 1122) | def _create_affine_matrix(scale_x=1.0, scale_y=1.0, function warp_affine (line 1150) | def warp_affine(image, class Solarize (line 1277) | class Solarize(arithmetic.Invert): method __init__ (line 1326) | def __init__(self, p=1.0, threshold=128, class Posterize (line 1337) | class Posterize(colorlib.Posterize): class Equalize (line 1357) | class Equalize(meta.Augmenter): method __init__ (line 1397) | def __init__(self, method _augment_batch_ (line 1405) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 1413) | def get_parameters(self): class Autocontrast (line 1418) | class Autocontrast(contrastlib._ContrastFuncWrapper): method __init__ (line 1486) | def __init__(self, cutoff=(0, 20), per_channel=False, class _EnhanceBase (line 1508) | class _EnhanceBase(meta.Augmenter): method __init__ (line 1510) | def __init__(self, func, factor, factor_value_range, method _augment_batch_ (line 1522) | def _augment_batch_(self, batch, random_state, parents, hooks): method _draw_samples (line 1532) | def _draw_samples(self, nb_rows, random_state): method get_parameters (line 1536) | def get_parameters(self): class EnhanceColor (line 1541) | class EnhanceColor(_EnhanceBase): method __init__ (line 1595) | def __init__(self, factor=(0.0, 3.0), class EnhanceContrast (line 1606) | class EnhanceContrast(_EnhanceBase): method __init__ (line 1661) | def __init__(self, factor=(0.5, 1.5), class EnhanceBrightness (line 1672) | class EnhanceBrightness(_EnhanceBase): method __init__ (line 1727) | def __init__(self, factor=(0.5, 1.5), class EnhanceSharpness (line 1738) | class EnhanceSharpness(_EnhanceBase): method __init__ (line 1793) | def __init__(self, factor=(0.0, 2.0), class _FilterBase (line 1805) | class _FilterBase(meta.Augmenter): method __init__ (line 1807) | def __init__(self, func, method _augment_batch_ (line 1816) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 1823) | def get_parameters(self): class FilterBlur (line 1828) | class FilterBlur(_FilterBase): method __init__ (line 1869) | def __init__(self, class FilterSmooth (line 1878) | class FilterSmooth(_FilterBase): method __init__ (line 1919) | def __init__(self, class FilterSmoothMore (line 1928) | class FilterSmoothMore(_FilterBase): method __init__ (line 1970) | def __init__(self, class FilterEdgeEnhance (line 1979) | class FilterEdgeEnhance(_FilterBase): method __init__ (line 2022) | def __init__(self, class FilterEdgeEnhanceMore (line 2031) | class FilterEdgeEnhanceMore(_FilterBase): method __init__ (line 2074) | def __init__(self, class FilterFindEdges (line 2083) | class FilterFindEdges(_FilterBase): method __init__ (line 2125) | def __init__(self, class FilterContour (line 2134) | class FilterContour(_FilterBase): method __init__ (line 2176) | def __init__(self, class FilterEmboss (line 2185) | class FilterEmboss(_FilterBase): method __init__ (line 2226) | def __init__(self, class FilterSharpen (line 2235) | class FilterSharpen(_FilterBase): method __init__ (line 2276) | def __init__(self, class FilterDetail (line 2285) | class FilterDetail(_FilterBase): method __init__ (line 2327) | def __init__(self, class Affine (line 2336) | class Affine(geometric.Affine): method __init__ (line 2440) | def __init__(self, scale=1.0, translate_percent=None, translate_px=None, method _augment_batch_ (line 2461) | def _augment_batch_(self, batch, random_state, parents, hooks): method _augment_images_by_samples (line 2472) | def _augment_images_by_samples(self, images, samples, method _draw_samples (line 2502) | def _draw_samples(self, nb_samples, random_state): method get_parameters (line 2525) | def get_parameters(self): FILE: imgaug/augmenters/pooling.py function _compute_shape_after_pooling (line 25) | def _compute_shape_after_pooling(image_shape, ksize_h, ksize_w): class _AbstractPoolingBase (line 43) | class _AbstractPoolingBase(meta.Augmenter): method __init__ (line 46) | def __init__(self, kernel_size, keep_size=True, method _pool_image (line 62) | def _pool_image(self, image, kernel_size_h, kernel_size_w): method _draw_samples (line 65) | def _draw_samples(self, nb_rows, random_state): method _augment_batch_ (line 82) | def _augment_batch_(self, batch, random_state, parents, hooks): method _augment_images_by_samples (line 95) | def _augment_images_by_samples(self, images, samples): method _augment_heatmaps_by_samples (line 114) | def _augment_heatmaps_by_samples(self, heatmaps, samples): method _augment_segmentation_maps_by_samples (line 119) | def _augment_segmentation_maps_by_samples(self, segmaps, samples): method _augment_hms_and_segmaps_by_samples (line 124) | def _augment_hms_and_segmaps_by_samples(self, augmentables, samples, method _augment_keypoints_by_samples (line 153) | def _augment_keypoints_by_samples(self, keypoints_on_images, samples): method _augment_polygons_by_samples (line 171) | def _augment_polygons_by_samples(self, polygons_on_images, samples): method _augment_line_strings_by_samples (line 178) | def _augment_line_strings_by_samples(self, line_strings_on_images, sam... method _augment_bounding_boxes_by_samples (line 184) | def _augment_bounding_boxes_by_samples(self, bounding_boxes_on_images, method get_parameters (line 191) | def get_parameters(self): class AveragePooling (line 199) | class AveragePooling(_AbstractPoolingBase): method __init__ (line 309) | def __init__(self, kernel_size=(1, 5), keep_size=True, method _pool_image (line 317) | def _pool_image(self, image, kernel_size_h, kernel_size_w): class MaxPooling (line 324) | class MaxPooling(_AbstractPoolingBase): method __init__ (line 430) | def __init__(self, kernel_size=(1, 5), keep_size=True, method _pool_image (line 438) | def _pool_image(self, image, kernel_size_h, kernel_size_w): class MinPooling (line 445) | class MinPooling(_AbstractPoolingBase): method __init__ (line 551) | def __init__(self, kernel_size=(1, 5), keep_size=True, method _pool_image (line 559) | def _pool_image(self, image, kernel_size_h, kernel_size_w): class MedianPooling (line 566) | class MedianPooling(_AbstractPoolingBase): method __init__ (line 672) | def __init__(self, kernel_size=(1, 5), keep_size=True, method _pool_image (line 680) | def _pool_image(self, image, kernel_size_h, kernel_size_w): FILE: imgaug/augmenters/segmentation.py function _ensure_image_max_size (line 41) | def _ensure_image_max_size(image, max_size, interpolation): class Superpixels (line 77) | class Superpixels(meta.Augmenter): method __init__ (line 215) | def __init__(self, p_replace=(0.5, 1.0), n_segments=(50, 120), method _augment_batch_ (line 232) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 307) | def get_parameters(self): function replace_segments_ (line 317) | def replace_segments_(image, segments, replace_flags): function _replace_segments_np_ (line 397) | def _replace_segments_np_(image, segments, replace_flags, _nb_segments): function _replace_segments_numba_dispatcher_ (line 410) | def _replace_segments_numba_dispatcher_( function _replace_segments_numba_collect_avg_colors (line 433) | def _replace_segments_numba_collect_avg_colors( function _replace_segments_numba_apply_avg_cols_ (line 466) | def _replace_segments_numba_apply_avg_cols_( function segment_voronoi (line 482) | def segment_voronoi(image, cell_coordinates, replace_mask=None): function _match_pixels_with_voronoi_cells (line 559) | def _match_pixels_with_voronoi_cells(height, width, cell_coordinates): function _generate_pixel_coords (line 569) | def _generate_pixel_coords(height, width): class Voronoi (line 578) | class Voronoi(meta.Augmenter): method __init__ (line 703) | def __init__(self, points_sampler, p_replace=1.0, max_size=128, method _augment_batch_ (line 723) | def _augment_batch_(self, batch, random_state, parents, hooks): method _augment_single_image (line 736) | def _augment_single_image(self, image, random_state): method get_parameters (line 756) | def get_parameters(self): class UniformVoronoi (line 762) | class UniformVoronoi(Voronoi): method __init__ (line 872) | def __init__(self, n_points=(50, 500), p_replace=(0.5, 1.0), max_size=... class RegularGridVoronoi (line 885) | class RegularGridVoronoi(Voronoi): method __init__ (line 1035) | def __init__(self, n_rows=(10, 30), n_cols=(10, 30), class RelativeRegularGridVoronoi (line 1052) | class RelativeRegularGridVoronoi(Voronoi): method __init__ (line 1217) | def __init__(self, n_rows_frac=(0.05, 0.15), n_cols_frac=(0.05, 0.15), class IPointsSampler (line 1235) | class IPointsSampler(object): method sample_points (line 1245) | def sample_points(self, images, random_state): function _verify_sample_points_images (line 1273) | def _verify_sample_points_images(images): class RegularGridPointsSampler (line 1293) | class RegularGridPointsSampler(IPointsSampler): method __init__ (line 1344) | def __init__(self, n_rows, n_cols): method sample_points (line 1352) | def sample_points(self, images, random_state): method _draw_samples (line 1359) | def _draw_samples(self, images, random_state): method _clip_rows_and_cols (line 1366) | def _clip_rows_and_cols(cls, n_rows_lst, n_cols_lst, images): method _generate_point_grids (line 1382) | def _generate_point_grids(cls, images, n_rows_lst, n_cols_lst): method _generate_point_grid (line 1389) | def _generate_point_grid(cls, image, n_rows, n_cols): method __repr__ (line 1415) | def __repr__(self): method __str__ (line 1418) | def __str__(self): class RelativeRegularGridPointsSampler (line 1422) | class RelativeRegularGridPointsSampler(IPointsSampler): method __init__ (line 1476) | def __init__(self, n_rows_frac, n_cols_frac): method sample_points (line 1485) | def sample_points(self, images, random_state): method _draw_samples (line 1494) | def _draw_samples(self, images, random_state): method __repr__ (line 1512) | def __repr__(self): method __str__ (line 1516) | def __str__(self): class DropoutPointsSampler (line 1520) | class DropoutPointsSampler(IPointsSampler): method __init__ (line 1562) | def __init__(self, other_points_sampler, p_drop): method _convert_p_drop_to_inverted_mask_param (line 1571) | def _convert_p_drop_to_inverted_mask_param(cls, p_drop): method sample_points (line 1597) | def sample_points(self, images, random_state): method _draw_samples (line 1607) | def _draw_samples(self, points_on_images, random_state): method _draw_samples_for_image (line 1614) | def _draw_samples_for_image(self, points_on_image, random_state): method _apply_dropout_masks (line 1621) | def _apply_dropout_masks(cls, points_on_images, keep_masks): method __repr__ (line 1640) | def __repr__(self): method __str__ (line 1644) | def __str__(self): class UniformPointsSampler (line 1648) | class UniformPointsSampler(IPointsSampler): method __init__ (line 1679) | def __init__(self, n_points): method sample_points (line 1684) | def sample_points(self, images, random_state): method _draw_samples (line 1699) | def _draw_samples(self, n_augmentables, random_state): method _convert_relative_coords_to_absolute (line 1706) | def _convert_relative_coords_to_absolute(cls, coords_rel_xy, method __repr__ (line 1722) | def __repr__(self): method __str__ (line 1725) | def __str__(self): class SubsamplingPointsSampler (line 1729) | class SubsamplingPointsSampler(IPointsSampler): method __init__ (line 1763) | def __init__(self, other_points_sampler, n_points_max): method sample_points (line 1775) | def sample_points(self, images, random_state): method _subsample (line 1787) | def _subsample(cls, points_on_image, n_points_max, random_state): method __repr__ (line 1794) | def __repr__(self): method __str__ (line 1798) | def __str__(self): FILE: imgaug/augmenters/size.py function _crop_trbl_to_xyxy (line 48) | def _crop_trbl_to_xyxy(shape, top, right, bottom, left, prevent_zero_siz... function _crop_arr_ (line 70) | def _crop_arr_(arr, top, right, bottom, left, prevent_zero_size=True): function _crop_and_pad_arr (line 76) | def _crop_and_pad_arr(arr, croppings, paddings, pad_mode="constant", function _crop_and_pad_heatmap_ (line 94) | def _crop_and_pad_heatmap_(heatmap, croppings_img, paddings_img, function _crop_and_pad_segmap_ (line 101) | def _crop_and_pad_segmap_(segmap, croppings_img, paddings_img, function _crop_and_pad_hms_or_segmaps_ (line 108) | def _crop_and_pad_hms_or_segmaps_(augmentable, croppings_img, function _crop_and_pad_kpsoi_ (line 152) | def _crop_and_pad_kpsoi_(kpsoi, croppings_img, paddings_img, keep_size): function _compute_shape_after_crop_and_pad (line 171) | def _compute_shape_after_crop_and_pad(old_shape, croppings, paddings): function _prevent_zero_size_after_crop_trbl_ (line 179) | def _prevent_zero_size_after_crop_trbl_(height, width, crop_trbl): function _prevent_zero_size_after_crop_ (line 194) | def _prevent_zero_size_after_crop_(axis_size, crop_start, crop_end): function _prevent_zero_sizes_after_crops_ (line 205) | def _prevent_zero_sizes_after_crops_(axis_sizes, crops_start, crops_end): function _project_size_changes (line 230) | def _project_size_changes(trbl, from_shape, to_shape): function _int_r (line 262) | def _int_r(value): function _handle_pad_mode_param (line 268) | def _handle_pad_mode_param(pad_mode): function _handle_position_parameter (line 292) | def _handle_position_parameter(position): function _assert_two_or_three_dims (line 355) | def _assert_two_or_three_dims(shape): function pad (line 363) | def pad(arr, top=0, right=0, bottom=0, left=0, mode="constant", cval=0): function pad_to_aspect_ratio (line 571) | def pad_to_aspect_ratio(arr, aspect_ratio, mode="constant", cval=0, function pad_to_multiples_of (line 639) | def pad_to_multiples_of(arr, height_multiple, width_multiple, mode="cons... function compute_paddings_to_reach_aspect_ratio (line 713) | def compute_paddings_to_reach_aspect_ratio(arr, aspect_ratio): function compute_croppings_to_reach_aspect_ratio (line 784) | def compute_croppings_to_reach_aspect_ratio(arr, aspect_ratio): function compute_paddings_to_reach_multiples_of (line 856) | def compute_paddings_to_reach_multiples_of(arr, height_multiple, function compute_croppings_to_reach_multiples_of (line 920) | def compute_croppings_to_reach_multiples_of(arr, height_multiple, function compute_paddings_to_reach_powers_of (line 983) | def compute_paddings_to_reach_powers_of(arr, height_base, width_base, function compute_croppings_to_reach_powers_of (line 1055) | def compute_croppings_to_reach_powers_of(arr, height_base, width_base, function Scale (line 1135) | def Scale(*args, **kwargs): class Resize (line 1141) | class Resize(meta.Augmenter): method __init__ (line 1279) | def __init__(self, size, interpolation="cubic", method _handle_size_arg (line 1291) | def _handle_size_arg(cls, size, subcall): method _handle_interpolation_arg (line 1378) | def _handle_interpolation_arg(cls, interpolation): method _augment_batch_ (line 1397) | def _augment_batch_(self, batch, random_state, parents, hooks): method _augment_images_by_samples (line 1429) | def _augment_images_by_samples(self, images, samples): method _augment_maps_by_samples (line 1453) | def _augment_maps_by_samples(self, augmentables, arr_attr_name, samples): method _augment_keypoints_by_samples (line 1480) | def _augment_keypoints_by_samples(self, kpsois, samples): method _draw_samples (line 1493) | def _draw_samples(self, nb_images, random_state): method _compute_height_width (line 1509) | def _compute_height_width(cls, image_shape, sample_a, sample_b, size_o... method get_parameters (line 1547) | def get_parameters(self): class _CropAndPadSamplingResult (line 1552) | class _CropAndPadSamplingResult(object): method __init__ (line 1553) | def __init__(self, crop_top, crop_right, crop_bottom, crop_left, method croppings (line 1566) | def croppings(self, i): method paddings (line 1575) | def paddings(self, i): class CropAndPad (line 1585) | class CropAndPad(meta.Augmenter): method __init__ (line 1823) | def __init__(self, px=None, percent=None, pad_mode="constant", pad_cva... method _handle_px_and_percent_args (line 1856) | def _handle_px_and_percent_args(cls, px, percent): method _handle_px_arg (line 1875) | def _handle_px_arg(cls, px): method _handle_percent_arg (line 1930) | def _handle_percent_arg(cls, percent): method _augment_batch_ (line 1992) | def _augment_batch_(self, batch, random_state, parents, hooks): method _augment_images_by_samples (line 2025) | def _augment_images_by_samples(self, images, samples): method _augment_maps_by_samples (line 2045) | def _augment_maps_by_samples(self, augmentables, pad_mode, pad_cval, method _augment_keypoints_by_samples (line 2067) | def _augment_keypoints_by_samples(self, keypoints_on_images, samples): method _draw_samples (line 2077) | def _draw_samples(self, random_state, shapes): method get_parameters (line 2162) | def get_parameters(self): class Pad (line 2168) | class Pad(CropAndPad): method __init__ (line 2364) | def __init__(self, px=None, percent=None, pad_mode="constant", pad_cva... class Crop (line 2401) | class Crop(CropAndPad): method __init__ (line 2550) | def __init__(self, px=None, percent=None, keep_size=True, class PadToFixedSize (line 2590) | class PadToFixedSize(meta.Augmenter): method __init__ (line 2718) | def __init__(self, width, height, pad_mode="constant", pad_cval=0, method _augment_batch_ (line 2750) | def _augment_batch_(self, batch, random_state, parents, hooks): method _augment_images_by_samples (line 2784) | def _augment_images_by_samples(self, images, samples): method _augment_keypoints_by_samples (line 2806) | def _augment_keypoints_by_samples(self, keypoints_on_images, samples): method _augment_maps_by_samples (line 2825) | def _augment_maps_by_samples(self, augmentables, samples, pad_mode, method _draw_samples (line 2853) | def _draw_samples(self, batch, random_state): method _calculate_paddings (line 2878) | def _calculate_paddings(cls, height_image, width_image, method get_parameters (line 2897) | def get_parameters(self): class CenterPadToFixedSize (line 2903) | class CenterPadToFixedSize(PadToFixedSize): method __init__ (line 2960) | def __init__(self, width, height, pad_mode="constant", pad_cval=0, class CropToFixedSize (line 2974) | class CropToFixedSize(meta.Augmenter): method __init__ (line 3097) | def __init__(self, width, height, position="uniform", method _augment_batch_ (line 3115) | def _augment_batch_(self, batch, random_state, parents, hooks): method _augment_images_by_samples (line 3147) | def _augment_images_by_samples(self, images, samples): method _augment_keypoints_by_samples (line 3165) | def _augment_keypoints_by_samples(self, kpsois, samples): method _augment_maps_by_samples (line 3183) | def _augment_maps_by_samples(self, augmentables, samples): method _calculate_crop_amounts (line 3198) | def _calculate_crop_amounts(cls, height_image, width_image, method _draw_samples (line 3216) | def _draw_samples(self, batch, random_state): method get_parameters (line 3238) | def get_parameters(self): class CenterCropToFixedSize (line 3243) | class CenterCropToFixedSize(CropToFixedSize): method __init__ (line 3298) | def __init__(self, width, height, class CropToMultiplesOf (line 3307) | class CropToMultiplesOf(CropToFixedSize): method __init__ (line 3369) | def __init__(self, width_multiple, height_multiple, position="uniform", method _draw_samples (line 3380) | def _draw_samples(self, batch, random_state): method get_parameters (line 3406) | def get_parameters(self): class CenterCropToMultiplesOf (line 3411) | class CenterCropToMultiplesOf(CropToMultiplesOf): method __init__ (line 3465) | def __init__(self, width_multiple, height_multiple, class PadToMultiplesOf (line 3476) | class PadToMultiplesOf(PadToFixedSize): method __init__ (line 3537) | def __init__(self, width_multiple, height_multiple, method _draw_samples (line 3551) | def _draw_samples(self, batch, random_state): method get_parameters (line 3577) | def get_parameters(self): class CenterPadToMultiplesOf (line 3584) | class CenterPadToMultiplesOf(PadToMultiplesOf): method __init__ (line 3644) | def __init__(self, width_multiple, height_multiple, class CropToPowersOf (line 3658) | class CropToPowersOf(CropToFixedSize): method __init__ (line 3727) | def __init__(self, width_base, height_base, position="uniform", method _draw_samples (line 3738) | def _draw_samples(self, batch, random_state): method get_parameters (line 3764) | def get_parameters(self): class CenterCropToPowersOf (line 3769) | class CenterCropToPowersOf(CropToPowersOf): method __init__ (line 3823) | def __init__(self, width_base, height_base, class PadToPowersOf (line 3832) | class PadToPowersOf(PadToFixedSize): method __init__ (line 3900) | def __init__(self, width_base, height_base, method _draw_samples (line 3914) | def _draw_samples(self, batch, random_state): method get_parameters (line 3940) | def get_parameters(self): class CenterPadToPowersOf (line 3947) | class CenterPadToPowersOf(PadToPowersOf): method __init__ (line 4006) | def __init__(self, width_base, height_base, class CropToAspectRatio (line 4018) | class CropToAspectRatio(CropToFixedSize): method __init__ (line 4073) | def __init__(self, aspect_ratio, position="uniform", method _draw_samples (line 4083) | def _draw_samples(self, batch, random_state): method get_parameters (line 4112) | def get_parameters(self): class CenterCropToAspectRatio (line 4117) | class CenterCropToAspectRatio(CropToAspectRatio): method __init__ (line 4168) | def __init__(self, aspect_ratio, class PadToAspectRatio (line 4177) | class PadToAspectRatio(PadToFixedSize): method __init__ (line 4235) | def __init__(self, aspect_ratio, pad_mode="constant", pad_cval=0, method _draw_samples (line 4247) | def _draw_samples(self, batch, random_state): method get_parameters (line 4273) | def get_parameters(self): class CenterPadToAspectRatio (line 4279) | class CenterPadToAspectRatio(PadToAspectRatio): method __init__ (line 4328) | def __init__(self, aspect_ratio, pad_mode="constant", pad_cval=0, class CropToSquare (line 4338) | class CropToSquare(CropToAspectRatio): method __init__ (line 4387) | def __init__(self, position="uniform", class CenterCropToSquare (line 4396) | class CenterCropToSquare(CropToSquare): method __init__ (line 4450) | def __init__(self, seed=None, name=None, class PadToSquare (line 4458) | class PadToSquare(PadToAspectRatio): method __init__ (line 4511) | def __init__(self, pad_mode="constant", pad_cval=0, position="uniform", class CenterPadToSquare (line 4521) | class CenterPadToSquare(PadToSquare): method __init__ (line 4567) | def __init__(self, pad_mode="constant", pad_cval=0, class KeepSizeByResize (line 4576) | class KeepSizeByResize(meta.Augmenter): method __init__ (line 4686) | def __init__(self, children, method _augment_batch_ (line 4733) | def _augment_batch_(self, batch, random_state, parents, hooks): method _keep_size_images (line 4777) | def _keep_size_images(cls, images, shapes_orig, images_were_array, method _keep_size_maps (line 4803) | def _keep_size_maps(cls, augmentables, shapes_orig_images, method _keep_size_keypoints (line 4821) | def _keep_size_keypoints(cls, kpsois_aug, shapes_orig, interpolations): method _get_shapes (line 4834) | def _get_shapes(cls, batch): method _draw_samples (line 4849) | def _draw_samples(self, nb_images, random_state): method _to_deterministic (line 4895) | def _to_deterministic(self): method get_parameters (line 4902) | def get_parameters(self): method get_children_lists (line 4906) | def get_children_lists(self): method __str__ (line 4910) | def __str__(self): FILE: imgaug/augmenters/weather.py class FastSnowyLandscape (line 26) | class FastSnowyLandscape(meta.Augmenter): method __init__ (line 135) | def __init__(self, lightness_threshold=(100, 255), method _draw_samples (line 152) | def _draw_samples(self, augmentables, random_state): method _augment_batch_ (line 162) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 188) | def get_parameters(self): class CloudLayer (line 197) | class CloudLayer(meta.Augmenter): method __init__ (line 347) | def __init__(self, intensity_mean, intensity_freq_exponent, method _augment_batch_ (line 370) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 381) | def get_parameters(self): method draw_on_image (line 393) | def draw_on_image(self, image, random_state): method generate_maps (line 418) | def generate_maps(self, image, random_state): method _generate_intensity_map_coarse (line 451) | def _generate_intensity_map_coarse(cls, height, width, intensity_mean, method _generate_intensity_map_fine (line 466) | def _generate_intensity_map_fine(cls, height, width, intensity_mean, method _generate_alpha_mask (line 478) | def _generate_alpha_mask(cls, height, width, alpha_min, alpha_multiplier, class Clouds (line 497) | class Clouds(meta.SomeOf): method __init__ (line 557) | def __init__(self, class Fog (line 601) | class Fog(CloudLayer): method __init__ (line 660) | def __init__(self, class SnowflakesLayer (line 680) | class SnowflakesLayer(meta.Augmenter): method __init__ (line 847) | def __init__(self, density, density_uniformity, flake_size, method _augment_batch_ (line 876) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 887) | def get_parameters(self): method draw_on_image (line 899) | def draw_on_image(self, image, random_state): method _generate_noise (line 953) | def _generate_noise(cls, height, width, density, random_state): method _gate (line 958) | def _gate(cls, noise, gate_noise, gate_size, random_state): method _blur (line 971) | def _blur(cls, noise, sigma): method _motion_blur (line 975) | def _motion_blur(cls, noise, angle, speed, random_state): method _postprocess_noise (line 989) | def _postprocess_noise(cls, noise_small_blur, method _blend (line 1005) | def _blend(cls, image, speed_sample, noise_small_blur_rgb): method _blend_by_sum (line 1018) | def _blend_by_sum(cls, image_f32, noise_small_blur_rgb): method _blend_by_max (line 1024) | def _blend_by_max(cls, image_f32, noise_small_blur_rgb): class Snowflakes (line 1029) | class Snowflakes(meta.SomeOf): method __init__ (line 1196) | def __init__(self, density=(0.005, 0.075), density_uniformity=(0.3, 0.9), class RainLayer (line 1222) | class RainLayer(SnowflakesLayer): method __init__ (line 1293) | def __init__(self, density, density_uniformity, drop_size, method _blur (line 1307) | def _blur(cls, noise, sigma): method _postprocess_noise (line 1312) | def _postprocess_noise(cls, noise_small_blur, method _blend (line 1320) | def _blend(cls, image, speed_sample, noise_small_blur_rgb): class Rain (line 1339) | class Rain(meta.SomeOf): method __init__ (line 1420) | def __init__(self, nb_iterations=(1, 3), FILE: imgaug/data.py function _quokka_normalize_extract (line 26) | def _quokka_normalize_extract(extract): function _compute_resized_shape (line 84) | def _compute_resized_shape(from_shape, to_shape): function quokka (line 163) | def quokka(size=None, extract=None): function quokka_square (line 211) | def quokka_square(size=None): function quokka_heatmap (line 233) | def quokka_heatmap(size=None, extract=None): function quokka_segmentation_map (line 276) | def quokka_segmentation_map(size=None, extract=None): function quokka_keypoints (line 330) | def quokka_keypoints(size=None, extract=None): function quokka_bounding_boxes (line 378) | def quokka_bounding_boxes(size=None, extract=None): function quokka_polygons (line 433) | def quokka_polygons(size=None, extract=None): FILE: imgaug/dtypes.py function normalize_dtypes (line 56) | def normalize_dtypes(dtypes): function normalize_dtype (line 62) | def normalize_dtype(dtype): function change_dtype_ (line 72) | def change_dtype_(arr, dtype, clip=True, round=True): function change_dtypes_ (line 91) | def change_dtypes_(images, dtypes, clip=True, round=True): function restore_dtypes_ (line 141) | def restore_dtypes_(images, dtypes, clip=True, round=True): function copy_dtypes_for_restore (line 146) | def copy_dtypes_for_restore(images, force_list=False): function increase_itemsize_of_dtype (line 154) | def increase_itemsize_of_dtype(dtype, factor): function get_minimal_dtype (line 188) | def get_minimal_dtype(arrays, increase_itemsize_factor=1): function promote_array_dtypes_ (line 215) | def promote_array_dtypes_(arrays, dtypes=None, increase_itemsize_factor=1): function increase_array_resolutions_ (line 225) | def increase_array_resolutions_(arrays, factor): function get_value_range_of_dtype (line 231) | def get_value_range_of_dtype(dtype): function clip_ (line 251) | def clip_(array, min_value, max_value): function clip_to_dtype_value_range_ (line 294) | def clip_to_dtype_value_range_(array, dtype, validate=True, function gate_dtypes_strs (line 323) | def gate_dtypes_strs(dtypes, allowed, disallowed, augmenter=None): function _convert_gate_dtype_strs_to_types (line 353) | def _convert_gate_dtype_strs_to_types(allowed, disallowed): function _convert_dtype_strs_to_types_cached (line 374) | def _convert_dtype_strs_to_types_cached(dtypes): function _convert_dtype_strs_to_types (line 383) | def _convert_dtype_strs_to_types(dtypes): function gate_dtypes (line 399) | def gate_dtypes(dtypes, allowed, disallowed, augmenter=None): function _gate_dtypes (line 422) | def _gate_dtypes(dtypes, allowed, disallowed, augmenter=None): function _dtype_names_to_string (line 513) | def _dtype_names_to_string(dtypes): function allow_only_uint8 (line 519) | def allow_only_uint8(dtypes, augmenter=None): FILE: imgaug/external/opensimplex.py function floor (line 14) | def floor(num): function overflow (line 82) | def overflow(x): class OpenSimplex (line 88) | class OpenSimplex(object): method __init__ (line 93) | def __init__(self, seed=DEFAULT_SEED): method _extrapolate2d (line 115) | def _extrapolate2d(self, xsb, ysb, dx, dy): method _extrapolate3d (line 122) | def _extrapolate3d(self, xsb, ysb, zsb, dx, dy, dz): method _extrapolate4d (line 131) | def _extrapolate4d(self, xsb, ysb, zsb, wsb, dx, dy, dz, dw): method noise2d (line 143) | def noise2d(self, x, y): method noise3d (line 247) | def noise3d(self, x, y, z): method noise4d (line 743) | def noise4d(self, x, y, z, w): FILE: imgaug/external/poly_point_isect_py2py3.py class Event (line 88) | class Event: class Type (line 104) | class Type: method __init__ (line 111) | def __init__(self, type, point, segment, slope): method __hash__ (line 128) | def __hash__(self): method is_vertical (line 131) | def is_vertical(self): method y_intercept_x (line 135) | def y_intercept_x(self, x): method Compare (line 160) | def Compare(sweep_line, this, that): method __repr__ (line 203) | def __repr__(self): class SweepLine (line 222) | class SweepLine: method __init__ (line 243) | def __init__(self): method get_intersections (line 250) | def get_intersections(self): method get_intersections_with_segments (line 260) | def get_intersections_with_segments(self): method _check_intersection (line 282) | def _check_intersection(self, a, b): method _sweep_to (line 328) | def _sweep_to(self, p): method insert (line 336) | def insert(self, event): method remove (line 349) | def remove(self, event): method above (line 364) | def above(self, event): method below (line 367) | def below(self, event): method above_all (line 379) | def above_all(self, event): method handle (line 383) | def handle(self, p, events_current): method handle_event (line 400) | def handle_event(self, event): class EventQueue (line 488) | class EventQueue: method __init__ (line 496) | def __init__(self, segments, line): method offer (line 527) | def offer(self, p, e): method poll (line 545) | def poll(self): function isect_segments_impl (line 557) | def isect_segments_impl(segments, include_segments=False): function isect_polygon_impl (line 598) | def isect_polygon_impl(points, include_segments=False): function isect_segments (line 606) | def isect_segments(segments): function isect_polygon (line 610) | def isect_polygon(segments): function isect_segments_include_segments (line 614) | def isect_segments_include_segments(segments): function isect_polygon_include_segments (line 618) | def isect_polygon_include_segments(segments): function slope_v2v2 (line 626) | def slope_v2v2(p1, p2): function sub_v2v2 (line 636) | def sub_v2v2(a, b): function dot_v2v2 (line 642) | def dot_v2v2(a, b): function len_squared_v2v2 (line 648) | def len_squared_v2v2(a, b): function line_point_factor_v2 (line 653) | def line_point_factor_v2(p, l1, l2, default=NUM_ZERO): function isect_seg_seg_v2_point (line 660) | def isect_seg_seg_v2_point(v1, v2, v3, v4, bias=NUM_ZERO): function isect_segments__naive (line 698) | def isect_segments__naive(segments): function isect_polygon__naive (line 737) | def isect_polygon__naive(points): class _ABCTree (line 791) | class _ABCTree(object): method __init__ (line 792) | def __init__(self, items=None, cmp=None, cmp_data=None): method clear (line 809) | def clear(self): method count (line 821) | def count(self): method get_value (line 825) | def get_value(self, key): method pop_item (line 837) | def pop_item(self): method min_item (line 857) | def min_item(self): method max_item (line 866) | def max_item(self): method succ_item (line 875) | def succ_item(self, key, default=_sentinel): method prev_item (line 915) | def prev_item(self, key, default=_sentinel): method __repr__ (line 956) | def __repr__(self): method __contains__ (line 961) | def __contains__(self, key): method __len__ (line 969) | def __len__(self): method is_empty (line 973) | def is_empty(self): method set_default (line 977) | def set_default(self, key, default=None): method get (line 986) | def get(self, key, default=None): method pop (line 993) | def pop(self, key, *args): method prev_key (line 1009) | def prev_key(self, key, default=_sentinel): method succ_key (line 1016) | def succ_key(self, key, default=_sentinel): method pop_min (line 1023) | def pop_min(self): method pop_max (line 1031) | def pop_max(self): method min_key (line 1039) | def min_key(self): method max_key (line 1043) | def max_key(self): method key_slice (line 1047) | def key_slice(self, start_key, end_key, reverse=False): method iter_items (line 1055) | def iter_items(self, start_key=None, end_key=None, reverse=False): method _iter_items_forward (line 1068) | def _iter_items_forward(self, start_key=None, end_key=None): method _iter_items_backward (line 1073) | def _iter_items_backward(self, start_key=None, end_key=None): method _iter_items (line 1078) | def _iter_items(self, left=attrgetter("left"), right=attrgetter("right... method _get_in_range_func (line 1100) | def _get_in_range_func(self, start_key, end_key): class Node (line 1116) | class Node(object): method __init__ (line 1120) | def __init__(self, key=None, value=None): method free (line 1127) | def free(self): method __getitem__ (line 1133) | def __getitem__(self, key): method __setitem__ (line 1137) | def __setitem__(self, key, value): class RBTree (line 1145) | class RBTree(_ABCTree): method is_red (line 1152) | def is_red(node): method jsw_single (line 1159) | def jsw_single(root, direction): method jsw_double (line 1169) | def jsw_double(root, direction): method _new_node (line 1174) | def _new_node(self, key, value): method insert (line 1179) | def insert(self, key, value): method remove (line 1231) | def remove(self, key): FILE: imgaug/imgaug.py class DeprecationWarning (line 64) | class DeprecationWarning(Warning): # pylint: disable=redefined-builtin function warn (line 73) | def warn(msg, category=UserWarning, stacklevel=2): function warn_deprecated (line 94) | def warn_deprecated(msg, stacklevel=2): class deprecated (line 113) | class deprecated(object): # pylint: disable=invalid-name method __init__ (line 137) | def __init__(self, alt_func=None, behavior="warn", removed_version=None, method __call__ (line 144) | def __call__(self, func): function is_np_array (line 205) | def is_np_array(val): function is_np_scalar (line 225) | def is_np_scalar(val): function is_single_integer (line 246) | def is_single_integer(val): function is_single_float (line 263) | def is_single_float(val): function is_single_number (line 284) | def is_single_number(val): function is_iterable (line 301) | def is_iterable(val): function is_string (line 320) | def is_string(val): function is_single_bool (line 337) | def is_single_bool(val): function is_integer_array (line 355) | def is_integer_array(val): function is_float_array (line 372) | def is_float_array(val): function is_callable (line 389) | def is_callable(val): function is_generator (line 409) | def is_generator(val): function flatten (line 426) | def flatten(nested_iterable): function caller_name (line 456) | def caller_name(): function seed (line 469) | def seed(entropy=None, seedval=None): function normalize_random_state (line 514) | def normalize_random_state(random_state): function current_random_state (line 534) | def current_random_state(): function new_random_state (line 550) | def new_random_state(seed=None, fully_random=False): function dummy_random_state (line 581) | def dummy_random_state(): function copy_random_state (line 595) | def copy_random_state(random_state, force_copy=False): function derive_random_state (line 621) | def derive_random_state(random_state): function derive_random_states (line 641) | def derive_random_states(random_state, n=1): function forward_random_state (line 665) | def forward_random_state(random_state): function angle_between_vectors (line 679) | def angle_between_vectors(v1, v2): function compute_line_intersection_point (line 721) | def compute_line_intersection_point(x1, y1, x2, y2, x3, y3, x4, y4): function draw_text (line 789) | def draw_text(img, y, x, text, color=(0, 255, 0), size=25): function imresize_many_images (line 879) | def imresize_many_images(images, sizes=None, interpolation=None): function _assert_two_or_three_dims (line 1137) | def _assert_two_or_three_dims(shape): function imresize_single_image (line 1145) | def imresize_single_image(image, sizes, interpolation=None): function pool (line 1184) | def pool(arr, block_size, func, pad_mode="constant", pad_cval=0, function _pool_dispatcher_ (line 1309) | def _pool_dispatcher_(arr, block_size, func_uint8, blockfunc, pad_mode="... function avg_pool (line 1334) | def avg_pool(arr, block_size, pad_mode="reflect", pad_cval=128, function _avg_pool_uint8 (line 1396) | def _avg_pool_uint8(arr, block_size, pad_mode="reflect", pad_cval=128): function max_pool (line 1422) | def max_pool(arr, block_size, pad_mode="edge", pad_cval=0, function max_pool_ (line 1470) | def max_pool_(arr, block_size, pad_mode="edge", pad_cval=0, function min_pool (line 1529) | def min_pool(arr, block_size, pad_mode="edge", pad_cval=255, function min_pool_ (line 1573) | def min_pool_(arr, block_size, pad_mode="edge", pad_cval=255, function _min_pool_uint8_ (line 1629) | def _min_pool_uint8_(arr, block_size, pad_mode="edge", pad_cval=255): function _max_pool_uint8_ (line 1635) | def _max_pool_uint8_(arr, block_size, pad_mode="edge", pad_cval=0): function _minmax_pool_uint8_ (line 1641) | def _minmax_pool_uint8_(arr, block_size, func, pad_mode, pad_cval): function median_pool (line 1675) | def median_pool(arr, block_size, pad_mode="reflect", pad_cval=128, function _median_pool_cv2 (line 1754) | def _median_pool_cv2(arr, block_size, pad_mode, pad_cval): function draw_grid (line 1779) | def draw_grid(images, rows=None, cols=None): function show_grid (line 1886) | def show_grid(images, rows=None, cols=None): function imshow (line 1914) | def imshow(image, backend=IMSHOW_BACKEND_DEFAULT): function do_assert (line 1975) | def do_assert(condition, message="Assertion failed."): function _normalize_cv2_input_arr_ (line 1996) | def _normalize_cv2_input_arr_(arr): function apply_lut (line 2006) | def apply_lut(image, table): function apply_lut_ (line 2034) | def apply_lut_(image, table): function _identity_decorator (line 2124) | def _identity_decorator(*_dec_args, **_dec_kwargs): class HooksImages (line 2140) | class HooksImages(object): method __init__ (line 2214) | def __init__(self, activator=None, propagator=None, preprocessor=None, method is_activated (line 2221) | def is_activated(self, images, augmenter, parents, default): method is_propagating (line 2237) | def is_propagating(self, images, augmenter, parents, default): method preprocess (line 2257) | def preprocess(self, images, augmenter, parents): method postprocess (line 2270) | def postprocess(self, images, augmenter, parents): class HooksHeatmaps (line 2284) | class HooksHeatmaps(HooksImages): class HooksKeypoints (line 2295) | class HooksKeypoints(HooksImages): function _mark_moved_class_or_function (line 2311) | def _mark_moved_class_or_function(class_name_old, module_name_new, FILE: imgaug/multicore.py function _get_context_method (line 33) | def _get_context_method(): function _set_context (line 79) | def _set_context(method): function _reset_context (line 88) | def _reset_context(): function _autoset_context (line 93) | def _autoset_context(): function _get_context (line 98) | def _get_context(): class Pool (line 104) | class Pool(object): method __init__ (line 147) | def __init__(self, augseq, processes=None, maxtasksperchild=None, method pool (line 187) | def pool(self): method map_batches (line 233) | def map_batches(self, batches, chunksize=None): method map_batches_async (line 258) | def map_batches_async(self, batches, chunksize=None, callback=None, method _assert_batches_is_list (line 293) | def _assert_batches_is_list(cls, batches): method imap_batches (line 298) | def imap_batches(self, batches, chunksize=1, output_buffer_size=None): method imap_batches_unordered (line 352) | def imap_batches_unordered(self, batches, chunksize=1, method _assert_batches_is_generator (line 407) | def _assert_batches_is_generator(cls, batches): method __enter__ (line 412) | def __enter__(self): method __exit__ (line 418) | def __exit__(self, exc_type, exc_val, exc_tb): method close (line 421) | def close(self): method terminate (line 428) | def terminate(self): method join (line 437) | def join(self): method _handle_batch_ids (line 449) | def _handle_batch_ids(self, batches): method _handle_batch_ids_gen (line 455) | def _handle_batch_ids_gen(self, batches): method _ibuffer_batch_loading (line 462) | def _ibuffer_batch_loading(cls, batches, output_buffer_left): function _create_output_buffer_left (line 469) | def _create_output_buffer_left(output_buffer_size): function _Pool_initialize_worker (line 481) | def _Pool_initialize_worker(augseq, seed_start): function _Pool_worker (line 513) | def _Pool_worker(batch_idx, batch): function _Pool_starworker (line 541) | def _Pool_starworker(inputs): function _reseed_global_local (line 546) | def _reseed_global_local(base_seed, augseq): function _derive_seed (line 553) | def _derive_seed(base_seed, offset=0): class BatchLoader (line 561) | class BatchLoader(object): method __init__ (line 590) | def __init__(self, load_batch_func, queue_size=50, nb_workers=1, method count_workers_alive (line 628) | def count_workers_alive(self): method all_finished (line 631) | def all_finished(self): method _main_worker (line 643) | def _main_worker(self): method _load_batches (line 677) | def _load_batches(cls, load_batch_func, queue_internal, join_signal, method terminate (line 711) | def terminate(self): method __del__ (line 759) | def __del__(self): class BackgroundAugmenter (line 764) | class BackgroundAugmenter(object): method __init__ (line 800) | def __init__(self, batch_loader, augseq, queue_size=50, nb_workers="au... method all_finished (line 837) | def all_finished(self): method get_batch (line 840) | def get_batch(self): method _augment_images_worker (line 872) | def _augment_images_worker(cls, augseq, queue_source, queue_result, method terminate (line 911) | def terminate(self): method __del__ (line 928) | def __del__(self): FILE: imgaug/parameters.py function _prefetchable (line 39) | def _prefetchable(func): function _prefetchable_str (line 48) | def _prefetchable_str(func): function _wrap_param_in_prefetchers (line 57) | def _wrap_param_in_prefetchers(param, nb_prefetch): function _wrap_leafs_of_param_in_prefetchers (line 68) | def _wrap_leafs_of_param_in_prefetchers(param, nb_prefetch): function _wrap_leafs_of_param_in_prefetchers_recursive (line 77) | def _wrap_leafs_of_param_in_prefetchers_recursive(param, nb_prefetch): function toggle_prefetching (line 122) | def toggle_prefetching(enabled): class toggled_prefetching (line 138) | class toggled_prefetching(object): # pylint: disable=invalid-name method __init__ (line 151) | def __init__(self, enabled): method __enter__ (line 156) | def __enter__(self): method __exit__ (line 163) | def __exit__(self, exception_type, exception_value, exception_traceback): class no_prefetching (line 169) | class no_prefetching(toggled_prefetching): # pylint: disable=invalid-name method __init__ (line 177) | def __init__(self): function _check_value_range (line 181) | def _check_value_range(value, name, value_range): function handle_continuous_param (line 222) | def handle_continuous_param(param, name, value_range=None, function handle_discrete_param (line 264) | def handle_discrete_param(param, name, value_range=None, tuple_to_unifor... function handle_categorical_string_param (line 324) | def handle_categorical_string_param(param, name, valid_values=None, function handle_discrete_kernel_size_param (line 366) | def handle_discrete_kernel_size_param(param, name, value_range=(1, None), function handle_probability_param (line 431) | def handle_probability_param(param, name, tuple_to_uniform=False, function force_np_float_dtype (line 480) | def force_np_float_dtype(val): function both_np_float_if_one_is_float (line 486) | def both_np_float_if_one_is_float(a, b): function draw_distributions_grid (line 499) | def draw_distributions_grid(params, rows=None, cols=None, function show_distributions_grid (line 521) | def show_distributions_grid(params, rows=None, cols=None, class StochasticParameter (line 537) | class StochasticParameter(object): method __init__ (line 548) | def __init__(self): method prefetchable (line 552) | def prefetchable(self): method draw_sample (line 567) | def draw_sample(self, random_state=None): method draw_samples (line 587) | def draw_samples(self, size, random_state=None): method _draw_samples (line 618) | def _draw_samples(self, size, random_state): method __add__ (line 621) | def __add__(self, other): method __sub__ (line 629) | def __sub__(self, other): method __mul__ (line 637) | def __mul__(self, other): method __pow__ (line 645) | def __pow__(self, other, z=None): method __div__ (line 657) | def __div__(self, other): method __truediv__ (line 665) | def __truediv__(self, other): method __floordiv__ (line 673) | def __floordiv__(self, other): method __radd__ (line 681) | def __radd__(self, other): method __rsub__ (line 689) | def __rsub__(self, other): method __rmul__ (line 697) | def __rmul__(self, other): method __rpow__ (line 705) | def __rpow__(self, other, z=None): method __rdiv__ (line 717) | def __rdiv__(self, other): method __rtruediv__ (line 725) | def __rtruediv__(self, other): method __rfloordiv__ (line 733) | def __rfloordiv__(self, other): method copy (line 741) | def copy(self): method deepcopy (line 752) | def deepcopy(self): method draw_distribution_graph (line 763) | def draw_distribution_graph(self, title=None, size=(1000, 1000), bins=... class AutoPrefetcher (line 838) | class AutoPrefetcher(StochasticParameter): method __init__ (line 870) | def __init__(self, other_param, nb_prefetch): method _draw_samples (line 880) | def _draw_samples(self, size, random_state): method _prefetch (line 910) | def _prefetch(self, random_state): method __getattr__ (line 922) | def __getattr__(self, attr): method __repr__ (line 929) | def __repr__(self): method __str__ (line 933) | def __str__(self): class Deterministic (line 953) | class Deterministic(StochasticParameter): method __init__ (line 977) | def __init__(self, value): method _draw_samples (line 988) | def _draw_samples(self, size, random_state): method __repr__ (line 996) | def __repr__(self): method __str__ (line 999) | def __str__(self): class DeterministicList (line 1008) | class DeterministicList(StochasticParameter): method __init__ (line 1027) | def __init__(self, values): method _draw_samples (line 1052) | def _draw_samples(self, size, random_state): method __repr__ (line 1064) | def __repr__(self): method __str__ (line 1068) | def __str__(self): class Choice (line 1075) | class Choice(StochasticParameter): method __init__ (line 1107) | def __init__(self, a, replace=True, p=None): method prefetchable (line 1125) | def prefetchable(self): method _draw_samples (line 1129) | def _draw_samples(self, size, random_state): method __repr__ (line 1186) | def __repr__(self): method __str__ (line 1189) | def __str__(self): class Binomial (line 1194) | class Binomial(StochasticParameter): method __init__ (line 1226) | def __init__(self, p): method prefetchable (line 1232) | def prefetchable(self): method _draw_samples (line 1236) | def _draw_samples(self, size, random_state): method __repr__ (line 1243) | def __repr__(self): method __str__ (line 1246) | def __str__(self): class DiscreteUniform (line 1250) | class DiscreteUniform(StochasticParameter): method __init__ (line 1287) | def __init__(self, a, b): method prefetchable (line 1296) | def prefetchable(self): method _draw_samples (line 1300) | def _draw_samples(self, size, random_state): method __repr__ (line 1310) | def __repr__(self): method __str__ (line 1313) | def __str__(self): class Poisson (line 1317) | class Poisson(StochasticParameter): method __init__ (line 1353) | def __init__(self, lam): method prefetchable (line 1360) | def prefetchable(self): method _draw_samples (line 1364) | def _draw_samples(self, size, random_state): method __repr__ (line 1370) | def __repr__(self): method __str__ (line 1373) | def __str__(self): class Normal (line 1377) | class Normal(StochasticParameter): method __init__ (line 1413) | def __init__(self, loc, scale): method prefetchable (line 1422) | def prefetchable(self): method _draw_samples (line 1426) | def _draw_samples(self, size, random_state): method __repr__ (line 1434) | def __repr__(self): method __str__ (line 1437) | def __str__(self): class TruncatedNormal (line 1442) | class TruncatedNormal(StochasticParameter): method __init__ (line 1494) | def __init__(self, loc, scale, low=-np.inf, high=np.inf): method prefetchable (line 1505) | def prefetchable(self): method _draw_samples (line 1509) | def _draw_samples(self, size, random_state): method __repr__ (line 1530) | def __repr__(self): method __str__ (line 1533) | def __str__(self): class Laplace (line 1538) | class Laplace(StochasticParameter): method __init__ (line 1577) | def __init__(self, loc, scale): method prefetchable (line 1586) | def prefetchable(self): method _draw_samples (line 1590) | def _draw_samples(self, size, random_state): method __repr__ (line 1598) | def __repr__(self): method __str__ (line 1601) | def __str__(self): class ChiSquare (line 1605) | class ChiSquare(StochasticParameter): method __init__ (line 1635) | def __init__(self, df): method prefetchable (line 1643) | def prefetchable(self): method _draw_samples (line 1647) | def _draw_samples(self, size, random_state): method __repr__ (line 1653) | def __repr__(self): method __str__ (line 1656) | def __str__(self): class Weibull (line 1660) | class Weibull(StochasticParameter): method __init__ (line 1691) | def __init__(self, a): method prefetchable (line 1699) | def prefetchable(self): method _draw_samples (line 1703) | def _draw_samples(self, size, random_state): method __repr__ (line 1709) | def __repr__(self): method __str__ (line 1712) | def __str__(self): class Uniform (line 1717) | class Uniform(StochasticParameter): method __init__ (line 1753) | def __init__(self, a, b): method prefetchable (line 1762) | def prefetchable(self): method _draw_samples (line 1766) | def _draw_samples(self, size, random_state): method __repr__ (line 1776) | def __repr__(self): method __str__ (line 1779) | def __str__(self): class Beta (line 1783) | class Beta(StochasticParameter): method __init__ (line 1819) | def __init__(self, alpha, beta, epsilon=0.0001): method prefetchable (line 1831) | def prefetchable(self): method _draw_samples (line 1835) | def _draw_samples(self, size, random_state): method __repr__ (line 1842) | def __repr__(self): method __str__ (line 1845) | def __str__(self): class FromLowerResolution (line 1849) | class FromLowerResolution(StochasticParameter): method __init__ (line 1924) | def __init__(self, other_param, size_percent=None, size_px=None, method _draw_samples (line 1979) | def _draw_samples(self, size, random_state): method __repr__ (line 2043) | def __repr__(self): method __str__ (line 2046) | def __str__(self): class Clip (line 2061) | class Clip(StochasticParameter): method __init__ (line 2090) | def __init__(self, other_param, minval=None, maxval=None): method _draw_samples (line 2105) | def _draw_samples(self, size, random_state): method __repr__ (line 2113) | def __repr__(self): method __str__ (line 2116) | def __str__(self): class Discretize (line 2128) | class Discretize(StochasticParameter): method __init__ (line 2152) | def __init__(self, other_param, round=True): method _draw_samples (line 2159) | def _draw_samples(self, size, random_state): method __repr__ (line 2181) | def __repr__(self): method __str__ (line 2184) | def __str__(self): class Multiply (line 2189) | class Multiply(StochasticParameter): method __init__ (line 2233) | def __init__(self, other_param, val, elementwise=False): method _draw_samples (line 2241) | def _draw_samples(self, size, random_state): method __repr__ (line 2258) | def __repr__(self): method __str__ (line 2261) | def __str__(self): class Divide (line 2266) | class Divide(StochasticParameter): method __init__ (line 2314) | def __init__(self, other_param, val, elementwise=False): method _draw_samples (line 2322) | def _draw_samples(self, size, random_state): method __repr__ (line 2350) | def __repr__(self): method __str__ (line 2353) | def __str__(self): class Add (line 2362) | class Add(StochasticParameter): method __init__ (line 2407) | def __init__(self, other_param, val, elementwise=False): method _draw_samples (line 2415) | def _draw_samples(self, size, random_state): method __repr__ (line 2431) | def __repr__(self): method __str__ (line 2434) | def __str__(self): class Subtract (line 2439) | class Subtract(StochasticParameter): method __init__ (line 2483) | def __init__(self, other_param, val, elementwise=False): method _draw_samples (line 2491) | def _draw_samples(self, size, random_state): method __repr__ (line 2507) | def __repr__(self): method __str__ (line 2510) | def __str__(self): class Power (line 2515) | class Power(StochasticParameter): method __init__ (line 2560) | def __init__(self, other_param, val, elementwise=False): method _draw_samples (line 2568) | def _draw_samples(self, size, random_state): method __repr__ (line 2597) | def __repr__(self): method __str__ (line 2600) | def __str__(self): class Absolute (line 2605) | class Absolute(StochasticParameter): method __init__ (line 2621) | def __init__(self, other_param): method _draw_samples (line 2628) | def _draw_samples(self, size, random_state): method __repr__ (line 2632) | def __repr__(self): method __str__ (line 2635) | def __str__(self): class RandomSign (line 2640) | class RandomSign(StochasticParameter): method __init__ (line 2661) | def __init__(self, other_param, p_positive=0.5): method _draw_samples (line 2675) | def _draw_samples(self, size, random_state): method __repr__ (line 2695) | def __repr__(self): method __str__ (line 2698) | def __str__(self): class ForceSign (line 2703) | class ForceSign(StochasticParameter): method __init__ (line 2738) | def __init__(self, other_param, positive, mode="invert", method _draw_samples (line 2759) | def _draw_samples(self, size, random_state): method __repr__ (line 2799) | def __repr__(self): method __str__ (line 2802) | def __str__(self): function Positive (line 2808) | def Positive(other_param, mode="invert", reroll_count_max=2): function Negative (line 2850) | def Negative(other_param, mode="invert", reroll_count_max=2): class IterativeNoiseAggregator (line 2895) | class IterativeNoiseAggregator(StochasticParameter): method __init__ (line 2960) | def __init__(self, other_param, iterations=(1, 3), method _draw_samples (line 3020) | def _draw_samples(self, size, random_state): method __repr__ (line 3054) | def __repr__(self): method __str__ (line 3057) | def __str__(self): class Sigmoid (line 3063) | class Sigmoid(StochasticParameter): method __init__ (line 3122) | def __init__(self, other_param, threshold=(-10, 10), activated=True, method create_for_noise (line 3144) | def create_for_noise(other_param, threshold=(-10, 10), activated=True): method _draw_samples (line 3168) | def _draw_samples(self, size, random_state): method __repr__ (line 3186) | def __repr__(self): method __str__ (line 3189) | def __str__(self): class SimplexNoise (line 3196) | class SimplexNoise(StochasticParameter): method __init__ (line 3262) | def __init__(self, size_px_max=(2, 16), method _draw_samples (line 3289) | def _draw_samples(self, size, random_state): method _draw_samples_hw (line 3303) | def _draw_samples_hw(self, height, width, random_state): method _draw_samples_iteration (line 3331) | def _draw_samples_iteration(self, height, width, rng, upscale_method): method __repr__ (line 3374) | def __repr__(self): method __str__ (line 3377) | def __str__(self): class FrequencyNoise (line 3384) | class FrequencyNoise(StochasticParameter): method __init__ (line 3464) | def __init__(self, exponent=(-4, 4), size_px_max=(4, 32), method _draw_samples (line 3495) | def _draw_samples(self, size, random_state): method _draw_samples_hw (line 3513) | def _draw_samples_hw(self, height, width, random_state): method _get_distance_matrix_cached (line 3595) | def _get_distance_matrix_cached(self, size): method _extract_distance_matrix (line 3606) | def _extract_distance_matrix(cls, matrix, size): method _create_distance_matrix (line 3617) | def _create_distance_matrix(cls, size): method __repr__ (line 3632) | def __repr__(self): method __str__ (line 3635) | def __str__(self): function _assert_arg_is_stoch_param (line 3642) | def _assert_arg_is_stoch_param(arg_name, arg_value): FILE: imgaug/random.py class RNG (line 89) | class RNG(object): method __init__ (line 153) | def __init__(self, generator): method state (line 173) | def state(self): method state (line 189) | def state(self, value): method set_state_ (line 201) | def set_state_(self, value): method use_state_of_ (line 219) | def use_state_of_(self, other): method is_global_rng (line 240) | def is_global_rng(self): method equals_global_rng (line 257) | def equals_global_rng(self): method generate_seed_ (line 272) | def generate_seed_(self): method generate_seeds_ (line 288) | def generate_seeds_(self, n): method reset_cache_ (line 309) | def reset_cache_(self): method derive_rng_ (line 321) | def derive_rng_(self): method derive_rngs_ (line 334) | def derive_rngs_(self, n): method equals (line 352) | def equals(self, other): method advance_ (line 368) | def advance_(self): method copy (line 389) | def copy(self): method copy_unless_global_rng (line 400) | def copy_unless_global_rng(self): method duplicate (line 414) | def duplicate(self, n): method create_fully_random (line 442) | def create_fully_random(cls): method create_pseudo_random_ (line 455) | def create_pseudo_random_(cls): method create_if_not_rng_ (line 472) | def create_if_not_rng_(cls, generator): method integers (line 505) | def integers(self, low, high=None, size=None, dtype="int32", method random (line 519) | def random(self, size, dtype="float32", out=None): method choice (line 532) | def choice(self, a, size=None, replace=True, p=None): method bytes (line 537) | def bytes(self, length): method shuffle (line 542) | def shuffle(self, x): method permutation (line 548) | def permutation(self, x): method beta (line 553) | def beta(self, a, b, size=None): method binomial (line 558) | def binomial(self, n, p, size=None): method chisquare (line 562) | def chisquare(self, df, size=None): method dirichlet (line 567) | def dirichlet(self, alpha, size=None): method exponential (line 571) | def exponential(self, scale=1.0, size=None): method f (line 575) | def f(self, dfnum, dfden, size=None): method gamma (line 579) | def gamma(self, shape, scale=1.0, size=None): method geometric (line 583) | def geometric(self, p, size=None): method gumbel (line 587) | def gumbel(self, loc=0.0, scale=1.0, size=None): method hypergeometric (line 591) | def hypergeometric(self, ngood, nbad, nsample, size=None): method laplace (line 596) | def laplace(self, loc=0.0, scale=1.0, size=None): method logistic (line 600) | def logistic(self, loc=0.0, scale=1.0, size=None): method lognormal (line 604) | def lognormal(self, mean=0.0, sigma=1.0, size=None): method logseries (line 608) | def logseries(self, p, size=None): method multinomial (line 612) | def multinomial(self, n, pvals, size=None): method multivariate_normal (line 616) | def multivariate_normal(self, mean, cov, size=None, check_valid="warn", method negative_binomial (line 622) | def negative_binomial(self, n, p, size=None): method noncentral_chisquare (line 626) | def noncentral_chisquare(self, df, nonc, size=None): method noncentral_f (line 631) | def noncentral_f(self, dfnum, dfden, nonc, size=None): method normal (line 636) | def normal(self, loc=0.0, scale=1.0, size=None): method pareto (line 640) | def pareto(self, a, size=None): method poisson (line 645) | def poisson(self, lam=1.0, size=None): method power (line 649) | def power(self, a, size=None): method rayleigh (line 654) | def rayleigh(self, scale=1.0, size=None): method standard_cauchy (line 658) | def standard_cauchy(self, size=None): method standard_exponential (line 662) | def standard_exponential(self, size=None, dtype="float32", method="zig", method standard_gamma (line 684) | def standard_gamma(self, shape, size=None, dtype="float32", out=None): method standard_normal (line 706) | def standard_normal(self, size=None, dtype="float32", out=None): method standard_t (line 727) | def standard_t(self, df, size=None): method triangular (line 732) | def triangular(self, left, mode, right, size=None): method uniform (line 737) | def uniform(self, low=0.0, high=1.0, size=None): method vonmises (line 741) | def vonmises(self, mu, kappa, size=None): method wald (line 746) | def wald(self, mean, scale, size=None): method weibull (line 750) | def weibull(self, a, size=None): method zipf (line 755) | def zipf(self, a, size=None): method rand (line 767) | def rand(self, *args): method randint (line 779) | def randint(self, low, high=None, size=None, dtype="int32"): method randn (line 798) | def randn(self, *args): method random_integers (line 811) | def random_integers(self, low, high=None, size=None): method random_sample (line 826) | def random_sample(self, size): method tomaxint (line 839) | def tomaxint(self, size=None): function supports_new_numpy_rng_style (line 857) | def supports_new_numpy_rng_style(): function get_global_rng (line 873) | def get_global_rng(): function seed (line 902) | def seed(entropy): function _seed_np117_ (line 925) | def _seed_np117_(entropy): function _seed_np116_ (line 933) | def _seed_np116_(entropy): function normalize_generator (line 937) | def normalize_generator(generator): function normalize_generator_ (line 982) | def normalize_generator_(generator): function _normalize_generator_np117_ (line 1004) | def _normalize_generator_np117_(generator): function _normalize_generator_np116_ (line 1034) | def _normalize_generator_np116_(random_state): function convert_seed_to_generator (line 1045) | def convert_seed_to_generator(entropy): function _convert_seed_to_generator_np117 (line 1065) | def _convert_seed_to_generator_np117(entropy): function _convert_seed_to_generator_np116 (line 1070) | def _convert_seed_to_generator_np116(entropy): function convert_seed_sequence_to_generator (line 1074) | def convert_seed_sequence_to_generator(seed_sequence): function create_pseudo_random_generator_ (line 1091) | def create_pseudo_random_generator_(): function create_fully_random_generator (line 1108) | def create_fully_random_generator(): function _create_fully_random_generator_np117 (line 1124) | def _create_fully_random_generator_np117(): function _create_fully_random_generator_np116 (line 1129) | def _create_fully_random_generator_np116(): function generate_seed_ (line 1133) | def generate_seed_(generator): function generate_seeds_ (line 1155) | def generate_seeds_(generator, n): function copy_generator (line 1178) | def copy_generator(generator): function _copy_generator_np117 (line 1198) | def _copy_generator_np117(generator): function _copy_generator_np116 (line 1208) | def _copy_generator_np116(random_state): function copy_generator_unless_global_generator (line 1215) | def copy_generator_unless_global_generator(generator): function reset_generator_cache_ (line 1240) | def reset_generator_cache_(generator): function _reset_generator_cache_np117_ (line 1262) | def _reset_generator_cache_np117_(generator): function _reset_generator_cache_np116_ (line 1272) | def _reset_generator_cache_np116_(random_state): function derive_generator_ (line 1282) | def derive_generator_(generator): function derive_generators_ (line 1304) | def derive_generators_(generator, n): function _derive_generators_np117_ (line 1328) | def _derive_generators_np117_(generator, n): function _derive_generators_np116_ (line 1362) | def _derive_generators_np116_(random_state, n): function get_generator_state (line 1367) | def get_generator_state(generator): function _get_generator_state_np117 (line 1390) | def _get_generator_state_np117(generator): function _get_generator_state_np116 (line 1394) | def _get_generator_state_np116(random_state): function set_generator_state_ (line 1398) | def set_generator_state_(generator, state): function _set_generator_state_np117_ (line 1418) | def _set_generator_state_np117_(generator, state): function _set_generator_state_np116_ (line 1422) | def _set_generator_state_np116_(random_state, state): function is_generator_equal_to (line 1426) | def is_generator_equal_to(generator, other_generator): function _is_generator_equal_to_np117 (line 1449) | def _is_generator_equal_to_np117(generator, other_generator): function _is_generator_equal_to_np116 (line 1473) | def _is_generator_equal_to_np116(random_state, other_random_state): function advance_generator_ (line 1486) | def advance_generator_(generator): function _advance_generator_np117_ (line 1510) | def _advance_generator_np117_(generator): function _advance_generator_np116_ (line 1515) | def _advance_generator_np116_(generator): function polyfill_integers (line 1520) | def polyfill_integers(generator, low, high=None, size=None, dtype="int32", function polyfill_random (line 1564) | def polyfill_random(generator, size, dtype="float32", out=None): class temporary_numpy_seed (line 1604) | class temporary_numpy_seed(object): method __init__ (line 1624) | def __init__(self, entropy=None): method __enter__ (line 1628) | def __enter__(self): method __exit__ (line 1633) | def __exit__(self, exc_type, exc_val, exc_tb): FILE: imgaug/testutils.py class ArgCopyingMagicMock (line 36) | class ArgCopyingMagicMock(mock.MagicMock): method _mock_call (line 46) | def _mock_call(self, *args, **kwargs): function assert_cbaois_equal (line 54) | def assert_cbaois_equal(observed, expected, max_distance=1e-4): function create_random_images (line 76) | def create_random_images(size): function create_random_keypoints (line 80) | def create_random_keypoints(size_images, nb_keypoints_per_img): function array_equal_lists (line 93) | def array_equal_lists(list1, list2): function keypoints_equal (line 109) | def keypoints_equal(kpsois1, kpsois2, eps=0.001): function reseed (line 137) | def reseed(seed=0): function runtest_pickleable_uint8_img (line 144) | def runtest_pickleable_uint8_img(augmenter, shape=(15, 15, 3), iteration... function wrap_shift_deprecation (line 155) | def wrap_shift_deprecation(func, *args, **kwargs): class TemporaryDirectory (line 181) | class TemporaryDirectory(object): method __init__ (line 192) | def __init__(self, suffix="", prefix="tmp", dir=None): method __enter__ (line 196) | def __enter__(self): method __exit__ (line 199) | def __exit__(self, exc_type, exc_val, exc_tb): function _is_subtype (line 208) | def _is_subtype(expected, basetype): class _BaseTestCaseContext (line 219) | class _BaseTestCaseContext: method __init__ (line 221) | def __init__(self, test_case): method _raiseFailure (line 225) | def _raiseFailure(self, standardMsg): class _AssertRaisesBaseContext (line 236) | class _AssertRaisesBaseContext(_BaseTestCaseContext): method __init__ (line 238) | def __init__(self, expected, test_case, expected_regex=None): method handle (line 250) | def handle(self, name, args, kwargs): class _AssertWarnsContext (line 289) | class _AssertWarnsContext(_AssertRaisesBaseContext): method __enter__ (line 296) | def __enter__(self): method __exit__ (line 309) | def __exit__(self, exc_type, exc_value, tb): function assertWarns (line 349) | def assertWarns(testcase, expected_warning, *args, **kwargs): class temporary_constants (line 368) | class temporary_constants(object): method __init__ (line 379) | def __init__(self, paths, values): method __enter__ (line 389) | def __enter__(self): method __exit__ (line 398) | def __exit__(self, exc_type, exc_val, exc_tb): function is_parameter_instance (line 405) | def is_parameter_instance(param, param_type): function remove_prefetching (line 433) | def remove_prefetching(param): function ensure_deprecation_warning (line 456) | def ensure_deprecation_warning(expected_text): FILE: imgaug/validation.py function convert_iterable_to_string_of_types (line 7) | def convert_iterable_to_string_of_types(iterable_var): function is_iterable_of (line 26) | def is_iterable_of(iterable_var, classes): function assert_is_iterable_of (line 55) | def assert_is_iterable_of(iterable_var, classes): FILE: setup.py function check_alternative_installation (line 29) | def check_alternative_installation(install_require, alternative_install_... function get_install_requirements (line 44) | def get_install_requirements(main_requires, alternative_requires): FILE: test/augmentables/test_batches.py class TestUnnormalizedBatch (line 29) | class TestUnnormalizedBatch(unittest.TestCase): method setUp (line 30) | def setUp(self): method test_get_column_names__only_images (line 33) | def test_get_column_names__only_images(self): method test_get_column_names__all_columns (line 42) | def test_get_column_names__all_columns(self): method test_to_normalized_batch__only_images (line 59) | def test_to_normalized_batch__only_images(self): method test_to_normalized_batch__all_columns (line 71) | def test_to_normalized_batch__all_columns(self): method test_fill_from_augmented_normalized_batch (line 100) | def test_fill_from_augmented_normalized_batch(self): class TestBatch (line 168) | class TestBatch(unittest.TestCase): method setUp (line 169) | def setUp(self): method test___init___no_arguments (line 172) | def test___init___no_arguments(self): method test___init___all_arguments_provided (line 179) | def test___init___all_arguments_provided(self): method test_warnings_for_deprecated_properties (line 196) | def test_warnings_for_deprecated_properties(self): method test_get_column_names__only_images (line 210) | def test_get_column_names__only_images(self): method test_get_column_names__all_columns (line 219) | def test_get_column_names__all_columns(self): method test_to_normalized_batch (line 256) | def test_to_normalized_batch(self): method test_to_batch_in_augmentation__only_images (line 265) | def test_to_batch_in_augmentation__only_images(self): method test_to_batch_in_augmentation__all_columns (line 277) | def test_to_batch_in_augmentation__all_columns(self): method test_fill_from_batch_in_augmentation (line 335) | def test_fill_from_batch_in_augmentation(self): method test_deepcopy_no_arguments (line 357) | def test_deepcopy_no_arguments(self): method test_deepcopy_only_images_provided (line 365) | def test_deepcopy_only_images_provided(self): method test_deepcopy_every_argument_provided (line 374) | def test_deepcopy_every_argument_provided(self): class Test_BatchInAugmentation (line 481) | class Test_BatchInAugmentation(unittest.TestCase): method test_empty__all_columns_none (line 482) | def test_empty__all_columns_none(self): method test_empty__with_columns_set (line 486) | def test_empty__with_columns_set(self): method test_nb_rows__when_empty (line 500) | def test_nb_rows__when_empty(self): method test_nb_rows__with_empty_column (line 504) | def test_nb_rows__with_empty_column(self): method test_nb_rows__with_columns_set (line 508) | def test_nb_rows__with_columns_set(self): method test_nb_rows__with_two_columns (line 522) | def test_nb_rows__with_two_columns(self): method test_columns__when_empty (line 526) | def test_columns__when_empty(self): method test_columns__with_empty_column (line 530) | def test_columns__with_empty_column(self): method test_columns__with_columns_set (line 537) | def test_columns__with_columns_set(self): method test_columns__with_two_columns (line 553) | def test_columns__with_two_columns(self): method test_get_column_names__with_two_columns (line 564) | def test_get_column_names__with_two_columns(self): method test_get_rowwise_shapes__images_is_single_array (line 568) | def test_get_rowwise_shapes__images_is_single_array(self): method test_get_rowwise_shapes__images_is_multiple_arrays (line 573) | def test_get_rowwise_shapes__images_is_multiple_arrays(self): method test_get_rowwise_shapes__nonimages (line 580) | def test_get_rowwise_shapes__nonimages(self): method test_subselect_rows_by_indices__none_selected (line 628) | def test_subselect_rows_by_indices__none_selected(self): method test_subselect_rows_by_indices__two_of_three_selected (line 652) | def test_subselect_rows_by_indices__two_of_three_selected(self): method test_invert_subselect_rows_by_indices__none_selected (line 679) | def test_invert_subselect_rows_by_indices__none_selected(self): method test_invert_subselect_rows_by_indices__two_of_three_selected (line 716) | def test_invert_subselect_rows_by_indices__two_of_three_selected(self): method test_propagation_hooks_ctx (line 756) | def test_propagation_hooks_ctx(self): method test_to_batch_in_augmentation (line 795) | def test_to_batch_in_augmentation(self): method test_fill_from_batch_in_augmentation (line 800) | def test_fill_from_batch_in_augmentation(self): method test_to_batch (line 822) | def test_to_batch(self): method test_deepcopy (line 860) | def test_deepcopy(self): FILE: test/augmentables/test_bbs.py class TestBoundingBox_project_ (line 24) | class TestBoundingBox_project_(unittest.TestCase): method _is_inplace (line 26) | def _is_inplace(self): method _func (line 29) | def _func(self, cba, *args, **kwargs): method test_project_same_shape (line 32) | def test_project_same_shape(self): method test_project_upscale_by_2 (line 42) | def test_project_upscale_by_2(self): method test_project_downscale_by_2 (line 52) | def test_project_downscale_by_2(self): method test_project_onto_wider_image (line 62) | def test_project_onto_wider_image(self): method test_project_onto_higher_image (line 72) | def test_project_onto_higher_image(self): method test_inplaceness (line 82) | def test_inplaceness(self): class TestBoundingBox_project (line 93) | class TestBoundingBox_project(TestBoundingBox_project_): method _is_inplace (line 95) | def _is_inplace(self): method _func (line 98) | def _func(self, cba, *args, **kwargs): class TestBoundingBox_extend_ (line 102) | class TestBoundingBox_extend_(unittest.TestCase): method _is_inplace (line 104) | def _is_inplace(self): method _func (line 107) | def _func(self, cba, *args, **kwargs): method test_extend_all_sides_by_1 (line 110) | def test_extend_all_sides_by_1(self): method test_extend_all_sides_by_minus_1 (line 120) | def test_extend_all_sides_by_minus_1(self): method test_extend_top_by_1 (line 130) | def test_extend_top_by_1(self): method test_extend_right_by_1 (line 140) | def test_extend_right_by_1(self): method test_extend_bottom_by_1 (line 150) | def test_extend_bottom_by_1(self): method test_extend_left_by_1 (line 160) | def test_extend_left_by_1(self): method test_inplaceness (line 170) | def test_inplaceness(self): class TestBoundingBox_extend (line 181) | class TestBoundingBox_extend(TestBoundingBox_extend_): method _is_inplace (line 183) | def _is_inplace(self): method _func (line 186) | def _func(self, cba, *args, **kwargs): class TestBoundingBox_clip_out_of_image_ (line 190) | class TestBoundingBox_clip_out_of_image_(unittest.TestCase): method _is_inplace (line 192) | def _is_inplace(self): method _func (line 195) | def _func(self, cba, *args, **kwargs): method test_clip_out_of_image_with_bb_fully_inside_image (line 198) | def test_clip_out_of_image_with_bb_fully_inside_image(self): method test_clip_out_of_image_with_array_as_shape (line 208) | def test_clip_out_of_image_with_array_as_shape(self): method test_clip_out_of_image_with_bb_too_high (line 219) | def test_clip_out_of_image_with_bb_too_high(self): method test_clip_out_of_image_with_bb_too_wide (line 229) | def test_clip_out_of_image_with_bb_too_wide(self): method test_inplaceness (line 239) | def test_inplaceness(self): class TestBoundingBox_clip_out_of_image (line 250) | class TestBoundingBox_clip_out_of_image(TestBoundingBox_clip_out_of_imag... method _is_inplace (line 252) | def _is_inplace(self): method _func (line 255) | def _func(self, cba, *args, **kwargs): class TestBoundingBox_shift_ (line 259) | class TestBoundingBox_shift_(unittest.TestCase): method _is_inplace (line 261) | def _is_inplace(self): method _func (line 264) | def _func(self, cba, *args, **kwargs): method test_shift_by_x (line 270) | def test_shift_by_x(self): method test_shift_by_y (line 278) | def test_shift_by_y(self): method test_inplaceness (line 286) | def test_inplaceness(self): class TestBoundingBox_shift (line 296) | class TestBoundingBox_shift(TestBoundingBox_shift_): method _is_inplace (line 298) | def _is_inplace(self): method _func (line 301) | def _func(self, cba, *args, **kwargs): method test_shift_top_by_zero (line 307) | def test_shift_top_by_zero(self): method test_shift_right_by_zero (line 315) | def test_shift_right_by_zero(self): method test_shift_bottom_by_zero (line 323) | def test_shift_bottom_by_zero(self): method test_shift_left_by_zero (line 331) | def test_shift_left_by_zero(self): method test_shift_top_by_one (line 339) | def test_shift_top_by_one(self): method test_shift_right_by_one (line 347) | def test_shift_right_by_one(self): method test_shift_bottom_by_one (line 355) | def test_shift_bottom_by_one(self): method test_shift_left_by_one (line 363) | def test_shift_left_by_one(self): method test_shift_top_by_minus_one (line 371) | def test_shift_top_by_minus_one(self): method test_shift_right_by_minus_one (line 379) | def test_shift_right_by_minus_one(self): method test_shift_bottom_by_minus_one (line 387) | def test_shift_bottom_by_minus_one(self): method test_shift_left_by_minus_one (line 395) | def test_shift_left_by_minus_one(self): method test_shift_all_sides_by_individual_amounts (line 403) | def test_shift_all_sides_by_individual_amounts(self): class TestBoundingBox (line 412) | class TestBoundingBox(unittest.TestCase): method test___init__ (line 413) | def test___init__(self): method test___init___floats (line 421) | def test___init___floats(self): method test___init___label (line 429) | def test___init___label(self): method test___init___wrong_x1_x2_order (line 437) | def test___init___wrong_x1_x2_order(self): method test___init___wrong_y1_y2_order (line 444) | def test___init___wrong_y1_y2_order(self): method test_coords_property_ints (line 451) | def test_coords_property_ints(self): method test_coords_property_floats (line 457) | def test_coords_property_floats(self): method test_xy_int_properties (line 463) | def test_xy_int_properties(self): method test_xy_int_properties_floats (line 470) | def test_xy_int_properties_floats(self): method test_width (line 477) | def test_width(self): method test_width_floats (line 481) | def test_width_floats(self): method test_height (line 485) | def test_height(self): method test_height_floats (line 489) | def test_height_floats(self): method test_center_x (line 493) | def test_center_x(self): method test_center_x_floats (line 498) | def test_center_x_floats(self): method test_center_y (line 503) | def test_center_y(self): method test_center_y_floats (line 508) | def test_center_y_floats(self): method test_area (line 513) | def test_area(self): method test_area_floats (line 517) | def test_area_floats(self): method test_contains (line 521) | def test_contains(self): method test_intersection (line 527) | def test_intersection(self): method test_intersection_of_non_overlapping_bbs (line 538) | def test_intersection_of_non_overlapping_bbs(self): method test_union (line 546) | def test_union(self): method test_iou_of_identical_bbs (line 557) | def test_iou_of_identical_bbs(self): method test_iou_of_non_overlapping_bbs (line 565) | def test_iou_of_non_overlapping_bbs(self): method test_iou_of_partially_overlapping_bbs (line 573) | def test_iou_of_partially_overlapping_bbs(self): method test_compute_out_of_image_area__fully_inside (line 584) | def test_compute_out_of_image_area__fully_inside(self): method test_compute_out_of_image_area__partially_ooi (line 590) | def test_compute_out_of_image_area__partially_ooi(self): method test_compute_out_of_image_area__fully_ooi (line 596) | def test_compute_out_of_image_area__fully_ooi(self): method test_compute_out_of_image_area__zero_sized_image (line 602) | def test_compute_out_of_image_area__zero_sized_image(self): method test_compute_out_of_image_area__bb_has_zero_sized_area (line 608) | def test_compute_out_of_image_area__bb_has_zero_sized_area(self): method test_compute_out_of_image_fraction__inside_image (line 614) | def test_compute_out_of_image_fraction__inside_image(self): method test_compute_out_of_image_fraction__partially_ooi (line 622) | def test_compute_out_of_image_fraction__partially_ooi(self): method test_compute_out_of_image_fraction__fully_ooi (line 631) | def test_compute_out_of_image_fraction__fully_ooi(self): method test_compute_out_of_image_fraction__zero_area_inside_image (line 639) | def test_compute_out_of_image_fraction__zero_area_inside_image(self): method test_compute_out_of_image_fraction__zero_area_ooi (line 647) | def test_compute_out_of_image_fraction__zero_area_ooi(self): method test_is_fully_within_image (line 655) | def test_is_fully_within_image(self): method test_is_partly_within_image (line 662) | def test_is_partly_within_image(self): method test_is_out_of_image (line 669) | def test_is_out_of_image(self): method test_draw_label_on_image_mocked (line 694) | def test_draw_label_on_image_mocked(self, mock_drawer): method test_draw_label_on_image_mocked_inplace (line 714) | def test_draw_label_on_image_mocked_inplace(self, mock_drawer): method test_draw_label_on_image (line 733) | def test_draw_label_on_image(self): method _get_standard_draw_box_on_image_vars (line 749) | def _get_standard_draw_box_on_image_vars(cls): method test_draw_box_on_image (line 759) | def test_draw_box_on_image(self): method test_draw_box_on_image_red_color (line 770) | def test_draw_box_on_image_red_color(self): method test_draw_box_on_image_single_int_as_color (line 780) | def test_draw_box_on_image_single_int_as_color(self): method test_draw_box_on_image_alpha_at_50_percent (line 790) | def test_draw_box_on_image_alpha_at_50_percent(self): method test_draw_box_on_image_alpha_at_50_percent_and_float32_image (line 800) | def test_draw_box_on_image_alpha_at_50_percent_and_float32_image(self): method test_draw_box_on_image_no_copy (line 811) | def test_draw_box_on_image_no_copy(self): method test_draw_box_on_image_bb_outside_of_image (line 823) | def test_draw_box_on_image_bb_outside_of_image(self): method test_draw_box_on_image_bb_outside_of_image_and_very_small (line 837) | def test_draw_box_on_image_bb_outside_of_image_and_very_small(self): method test_draw_box_on_image_size_2 (line 851) | def test_draw_box_on_image_size_2(self): method test_draw_box_on_image_raise_true_but_bb_partially_inside_image (line 864) | def test_draw_box_on_image_raise_true_but_bb_partially_inside_image(se... method test_draw_box_on_image_raise_true_and_bb_fully_outside_image (line 872) | def test_draw_box_on_image_raise_true_and_bb_fully_outside_image(self): method test_draw_on_image_label_is_none (line 883) | def test_draw_on_image_label_is_none(self): method test_draw_on_image_label_is_str (line 894) | def test_draw_on_image_label_is_str(self): method test_extract_from_image (line 906) | def test_extract_from_image(self): method test_extract_from_image_no_channels (line 912) | def test_extract_from_image_no_channels(self): method test_extract_from_image_bb_partially_out_of_image (line 918) | def test_extract_from_image_bb_partially_out_of_image(self): method test_extract_from_image_bb_partially_out_of_image_no_channels (line 931) | def test_extract_from_image_bb_partially_out_of_image_no_channels(self): method test_extract_from_image_bb_partially_out_of_image_top_left (line 944) | def test_extract_from_image_bb_partially_out_of_image_top_left(self): method test_extract_from_image_float_coords (line 957) | def test_extract_from_image_float_coords(self): method test_extract_from_image_bb_height_is_zero (line 965) | def test_extract_from_image_bb_height_is_zero(self): method test_extract_from_image_bb_width_is_zero (line 973) | def test_extract_from_image_bb_width_is_zero(self): method test_to_keypoints (line 981) | def test_to_keypoints(self): method test_to_polygon (line 996) | def test_to_polygon(self): method test_coords_almost_equals (line 1008) | def test_coords_almost_equals(self): method test_coords_almost_equals__unequal (line 1016) | def test_coords_almost_equals__unequal(self): method test_coords_almost_equals__dist_below_max_distance (line 1024) | def test_coords_almost_equals__dist_below_max_distance(self): method test_coords_almost_equals__dist_above_max_distance (line 1032) | def test_coords_almost_equals__dist_above_max_distance(self): method test_coords_almost_equals__input_is_array (line 1040) | def test_coords_almost_equals__input_is_array(self): method test_coords_almost_equals__input_is_array_not_equal (line 1048) | def test_coords_almost_equals__input_is_array_not_equal(self): method test_coords_almost_equals__input_is_list (line 1056) | def test_coords_almost_equals__input_is_list(self): method test_coords_almost_equals__input_is_list_not_equal (line 1064) | def test_coords_almost_equals__input_is_list_not_equal(self): method test_coords_almost_equals__bad_datatype (line 1072) | def test_coords_almost_equals__bad_datatype(self): method test_almost_equals (line 1081) | def test_almost_equals(self, mock_cae): method test_almost_equals__labels_none_vs_string (line 1090) | def test_almost_equals__labels_none_vs_string(self): method test_almost_equals__labels_different_strings (line 1098) | def test_almost_equals__labels_different_strings(self): method test_almost_equals__same_string (line 1106) | def test_almost_equals__same_string(self): method test_almost_equals__distance_above_threshold (line 1114) | def test_almost_equals__distance_above_threshold(self): method test_from_point_soup__empty_list (line 1122) | def test_from_point_soup__empty_list(self): method test_from_point_soup__empty_array (line 1127) | def test_from_point_soup__empty_array(self): method test_from_point_soup__list_with_single_point (line 1132) | def test_from_point_soup__list_with_single_point(self): method test_from_point_soup__list_with_single_point__single_level (line 1140) | def test_from_point_soup__list_with_single_point__single_level(self): method test_from_point_soup__list_with_two_points (line 1148) | def test_from_point_soup__list_with_two_points(self): method test_from_point_soup__list_with_three_points (line 1156) | def test_from_point_soup__list_with_three_points(self): method test_from_point_soup__array_with_single_point (line 1164) | def test_from_point_soup__array_with_single_point(self): method test_from_point_soup__array_with_single_point__single_level (line 1172) | def test_from_point_soup__array_with_single_point__single_level(self): method test_from_point_soup__array_with_two_points__single_level (line 1180) | def test_from_point_soup__array_with_two_points__single_level(self): method test_from_point_soup__array_with_two_points (line 1188) | def test_from_point_soup__array_with_two_points(self): method test_from_point_soup__array_with_three_points (line 1196) | def test_from_point_soup__array_with_three_points(self): method test_copy (line 1204) | def test_copy(self): method test_copy_and_replace_attributes (line 1215) | def test_copy_and_replace_attributes(self): method test_deepcopy (line 1226) | def test_deepcopy(self): method test_deepcopy_and_replace_attributes (line 1239) | def test_deepcopy_and_replace_attributes(self): method test___getitem__ (line 1251) | def test___getitem__(self): method test___iter__ (line 1256) | def test___iter__(self): method test_string_conversion (line 1266) | def test_string_conversion(self): method test_string_conversion_with_label (line 1276) | def test_string_conversion_with_label(self): class TestBoundingBoxesOnImage_items_setter (line 1287) | class TestBoundingBoxesOnImage_items_setter(unittest.TestCase): method test_with_list_of_bounding_boxes (line 1288) | def test_with_list_of_bounding_boxes(self): class TestBoundingBoxesOnImage_on_ (line 1303) | class TestBoundingBoxesOnImage_on_(unittest.TestCase): method _is_inplace (line 1305) | def _is_inplace(self): method _func (line 1308) | def _func(self, cbaoi, *args, **kwargs): method test_on_same_height_width (line 1311) | def test_on_same_height_width(self): method test_on_upscaled_by_2 (line 1328) | def test_on_upscaled_by_2(self): method test_on_upscaled_by_2_with_shape_given_as_array (line 1345) | def test_on_upscaled_by_2_with_shape_given_as_array(self): method test_inplaceness (line 1362) | def test_inplaceness(self): class TestBoundingBoxesOnImage_on (line 1375) | class TestBoundingBoxesOnImage_on(TestBoundingBoxesOnImage_on_): method _is_inplace (line 1377) | def _is_inplace(self): method _func (line 1380) | def _func(self, cbaoi, *args, **kwargs): class TestBoundingBoxesOnImage_clip_out_of_image_ (line 1384) | class TestBoundingBoxesOnImage_clip_out_of_image_(unittest.TestCase): method _is_inplace (line 1386) | def _is_inplace(self): method _func (line 1389) | def _func(self, cbaoi, *args, **kwargs): method test_clip_out_of_image (line 1392) | def test_clip_out_of_image(self): method test_inplaceness (line 1409) | def test_inplaceness(self): class TestBoundingBoxesOnImage_clip_out_of_image (line 1422) | class TestBoundingBoxesOnImage_clip_out_of_image(TestBoundingBoxesOnImag... method _is_inplace (line 1424) | def _is_inplace(self): method _func (line 1427) | def _func(self, cbaoi, *args, **kwargs): class TestBoundingBoxesOnImage (line 1431) | class TestBoundingBoxesOnImage(unittest.TestCase): method test___init__ (line 1432) | def test___init__(self): method test___init___array_as_shape (line 1439) | def test___init___array_as_shape(self): method test_items (line 1448) | def test_items(self): method test_items_empty (line 1457) | def test_items_empty(self): method test_height (line 1464) | def test_height(self): method test_width (line 1470) | def test_width(self): method test_empty_when_bbs_not_empty (line 1476) | def test_empty_when_bbs_not_empty(self): method test_empty_when_bbs_actually_empty (line 1481) | def test_empty_when_bbs_actually_empty(self): method test_from_xyxy_array_float (line 1485) | def test_from_xyxy_array_float(self): method test_from_xyxy_array_float_3d (line 1504) | def test_from_xyxy_array_float_3d(self): method test_from_xyxy_array_int32 (line 1529) | def test_from_xyxy_array_int32(self): method test_from_xyxy_array_empty_array (line 1548) | def test_from_xyxy_array_empty_array(self): method test_from_point_soups__2d_array (line 1556) | def test_from_point_soups__2d_array(self): method test_from_point_soups__3d_array (line 1574) | def test_from_point_soups__3d_array(self): method test_from_point_soups__2d_list (line 1594) | def test_from_point_soups__2d_list(self): method test_from_point_soups__empty_array (line 1612) | def test_from_point_soups__empty_array(self): method test_from_point_soups__empty_list (line 1621) | def test_from_point_soups__empty_list(self): method test_to_xyxy_array (line 1630) | def test_to_xyxy_array(self): method test_to_xyxy_array_convert_to_int32 (line 1642) | def test_to_xyxy_array_convert_to_int32(self): method test_to_xyxy_array_no_bbs_to_convert (line 1654) | def test_to_xyxy_array_no_bbs_to_convert(self): method test_to_xy_array (line 1661) | def test_to_xy_array(self): method test_to_xy_array__empty_instance (line 1680) | def test_to_xy_array__empty_instance(self): method test_fill_from_xyxy_array___empty_array (line 1688) | def test_fill_from_xyxy_array___empty_array(self): method test_fill_from_xyxy_array___empty_list (line 1696) | def test_fill_from_xyxy_array___empty_list(self): method test_fill_from_xyxy_array___array_with_two_coords (line 1704) | def test_fill_from_xyxy_array___array_with_two_coords(self): method test_fill_from_xyxy_array___list_with_two_coords (line 1725) | def test_fill_from_xyxy_array___list_with_two_coords(self): method test_fill_from_xy_array___empty_array (line 1745) | def test_fill_from_xy_array___empty_array(self): method test_fill_from_xy_array___empty_list (line 1753) | def test_fill_from_xy_array___empty_list(self): method test_fill_from_xy_array___array_with_two_coords (line 1761) | def test_fill_from_xy_array___array_with_two_coords(self): method test_fill_from_xy_array___list_with_two_coords (line 1784) | def test_fill_from_xy_array___list_with_two_coords(self): method test_draw_on_image (line 1806) | def test_draw_on_image(self): method test_remove_out_of_image_ (line 1841) | def test_remove_out_of_image_(self): method test_remove_out_of_image (line 1852) | def test_remove_out_of_image(self): method test_remove_out_of_image_fraction_ (line 1863) | def test_remove_out_of_image_fraction_(self): method test_remove_out_of_image_fraction (line 1876) | def test_remove_out_of_image_fraction(self): method test_shift_ (line 1889) | def test_shift_(self): method test_shift (line 1907) | def test_shift(self): method test_shift__deprecated_args (line 1925) | def test_shift__deprecated_args(self): method test_to_keypoints_on_image (line 1951) | def test_to_keypoints_on_image(self): method test_to_keypoints_on_image__empty_instance (line 1979) | def test_to_keypoints_on_image__empty_instance(self): method test_invert_to_keypoints_on_image_ (line 1986) | def test_invert_to_keypoints_on_image_(self): method test_invert_to_keypoints_on_image___empty_instance (line 2011) | def test_invert_to_keypoints_on_image___empty_instance(self): method test_to_polygons_on_image (line 2020) | def test_to_polygons_on_image(self): method test_to_polygons_on_image__empty_instance (line 2042) | def test_to_polygons_on_image__empty_instance(self): method test_copy (line 2050) | def test_copy(self): method test_copy_bounding_boxes_set (line 2071) | def test_copy_bounding_boxes_set(self): method test_copy_shape_set (line 2083) | def test_copy_shape_set(self): method test_deepcopy (line 2094) | def test_deepcopy(self): method test_deepcopy_bounding_boxes_set (line 2115) | def test_deepcopy_bounding_boxes_set(self): method test_deepcopy_shape_set (line 2127) | def test_deepcopy_shape_set(self): method test___getitem__ (line 2140) | def test___getitem__(self): method test___iter__ (line 2151) | def test___iter__(self): method test___iter___empty (line 2159) | def test___iter___empty(self): method test___len__ (line 2166) | def test___len__(self): method test_string_conversion (line 2172) | def test_string_conversion(self): method test_string_conversion_labels_are_not_none (line 2189) | def test_string_conversion_labels_are_not_none(self): class Test_LabelOnImageDrawer (line 2207) | class Test_LabelOnImageDrawer(unittest.TestCase): method test_draw_on_image_ (line 2208) | def test_draw_on_image_(self): method test_draw_on_image (line 2228) | def test_draw_on_image(self): method test__do_raise_if_out_of_image__bb_is_fully_inside (line 2239) | def test__do_raise_if_out_of_image__bb_is_fully_inside(self): method test__do_raise_if_out_of_image__bb_is_partially_outside (line 2247) | def test__do_raise_if_out_of_image__bb_is_partially_outside(self): method test__do_raise_if_out_of_image__bb_is_fully_outside (line 2255) | def test__do_raise_if_out_of_image__bb_is_fully_outside(self): method test__preprocess_colors__only_main_color_set (line 2263) | def test__preprocess_colors__only_main_color_set(self): method test__preprocess_colors__subcolors_set (line 2269) | def test__preprocess_colors__subcolors_set(self): method test__preprocess_colors__text_not_set_must_be_black (line 2276) | def test__preprocess_colors__text_not_set_must_be_black(self): method test__compute_bg_corner_coords__standard_bb (line 2283) | def test__compute_bg_corner_coords__standard_bb(self): method test__compute_bg_corner_coords__zero_sized_bb (line 2296) | def test__compute_bg_corner_coords__zero_sized_bb(self): method test__draw_label_arr__label_is_none (line 2308) | def test__draw_label_arr__label_is_none(self): method test__draw_label_arr__label_is_str (line 2335) | def test__draw_label_arr__label_is_str(self): method test__blend_label_arr__alpha_is_1 (line 2362) | def test__blend_label_arr__alpha_is_1(self): method test__blend_label_arr__alpha_is_075 (line 2380) | def test__blend_label_arr__alpha_is_075(self): FILE: test/augmentables/test_heatmaps.py class TestHeatmapsOnImage_draw (line 34) | class TestHeatmapsOnImage_draw(unittest.TestCase): method test_basic_functionality (line 35) | def test_basic_functionality(self): method test_use_size_arg_with_different_shape_than_heatmap_arr_shape (line 64) | def test_use_size_arg_with_different_shape_than_heatmap_arr_shape(self): class TestHeatmapsOnImage_draw_on_image (line 87) | class TestHeatmapsOnImage_draw_on_image(unittest.TestCase): method heatmaps (line 89) | def heatmaps(self): method test_cmap_is_none (line 96) | def test_cmap_is_none(self): method test_cmap_is_none_and_resize_is_image (line 117) | def test_cmap_is_none_and_resize_is_image(self): class TestHeatmapsOnImage_invert (line 137) | class TestHeatmapsOnImage_invert(unittest.TestCase): method heatmaps_arr (line 139) | def heatmaps_arr(self): method expected_arr (line 146) | def expected_arr(self): method test_with_2d_input_array (line 152) | def test_with_2d_input_array(self): method test_with_3d_input_array (line 163) | def test_with_3d_input_array(self): class TestHeatmapsOnImage_pad (line 177) | class TestHeatmapsOnImage_pad(unittest.TestCase): method heatmaps (line 179) | def heatmaps(self): method test_defaults (line 186) | def test_defaults(self): method test_mode_constant_with_cval_050 (line 202) | def test_mode_constant_with_cval_050(self): method test_mode_edge (line 219) | def test_mode_edge(self): class TestHeatmapsOnImage_pad_to_aspect_ratio (line 237) | class TestHeatmapsOnImage_pad_to_aspect_ratio(unittest.TestCase): method heatmaps (line 239) | def heatmaps(self): method test_square_ratio_with_default_mode_and_cval (line 246) | def test_square_ratio_with_default_mode_and_cval(self): method test_square_ratio_with_cval_050 (line 259) | def test_square_ratio_with_cval_050(self): method test_square_ratio_with_edge_mode (line 272) | def test_square_ratio_with_edge_mode(self): method test_wider_than_high_ratio_with_cval_010 (line 285) | def test_wider_than_high_ratio_with_cval_010(self): method test_higher_than_wide_ratio_with_cval_010 (line 297) | def test_higher_than_wide_ratio_with_cval_010(self): class TestHeatmapsOnImage_avg_pool (line 320) | class TestHeatmapsOnImage_avg_pool(unittest.TestCase): method test_with_kernel_size_2 (line 321) | def test_with_kernel_size_2(self): class TestHeatmapsOnImage_max_pool (line 338) | class TestHeatmapsOnImage_max_pool(unittest.TestCase): method test_with_kernel_size_2 (line 339) | def test_with_kernel_size_2(self): class TestHeatmapsOnImage_resize (line 357) | class TestHeatmapsOnImage_resize(unittest.TestCase): method test_resize_to_exact_shape (line 358) | def test_resize_to_exact_shape(self): method test_resize_to_twice_the_size (line 377) | def test_resize_to_twice_the_size(self): class TestHeatmapsOnImage_from_uint8 (line 395) | class TestHeatmapsOnImage_from_uint8(unittest.TestCase): method test_3d_uint8_array (line 396) | def test_3d_uint8_array(self): method test_2d_uint8_array (line 411) | def test_2d_uint8_array(self): method test_min_value_and_max_value (line 426) | def test_min_value_and_max_value(self): class TestHeatmapsOnImage_change_normalization (line 447) | class TestHeatmapsOnImage_change_normalization(unittest.TestCase): method test_increase_max_value (line 448) | def test_increase_max_value(self): method test_decrease_min_and_max_value (line 464) | def test_decrease_min_and_max_value(self): method test_increase_min_and_max_value__non_standard_source (line 480) | def test_increase_min_and_max_value__non_standard_source(self): method test_value_ranges_given_as_heatmaps_on_image (line 496) | def test_value_ranges_given_as_heatmaps_on_image(self): FILE: test/augmentables/test_kps.py class TestKeypoint_project_ (line 20) | class TestKeypoint_project_(unittest.TestCase): method _is_inplace (line 22) | def _is_inplace(self): method _func (line 25) | def _func(self, kp, from_shape, to_shape): method test_project_same_image_size (line 28) | def test_project_same_image_size(self): method test_project_onto_higher_image (line 34) | def test_project_onto_higher_image(self): method test_project_onto_wider_image (line 40) | def test_project_onto_wider_image(self): method test_project_onto_higher_and_wider_image (line 46) | def test_project_onto_higher_and_wider_image(self): method test_inplaceness (line 52) | def test_inplaceness(self): class TestKeypoint_project (line 61) | class TestKeypoint_project(TestKeypoint_project_): method _is_inplace (line 63) | def _is_inplace(self): method _func (line 66) | def _func(self, kp, from_shape, to_shape): class TestKeypoint_shift_ (line 70) | class TestKeypoint_shift_(unittest.TestCase): method _is_inplace (line 72) | def _is_inplace(self): method _func (line 75) | def _func(self, kp, *args, **kwargs): method test_shift_on_y_axis (line 78) | def test_shift_on_y_axis(self): method test_shift_on_y_axis_by_negative_amount (line 84) | def test_shift_on_y_axis_by_negative_amount(self): method test_shift_on_x_axis (line 90) | def test_shift_on_x_axis(self): method test_shift_on_x_axis_by_negative_amount (line 96) | def test_shift_on_x_axis_by_negative_amount(self): method test_shift_on_both_axis (line 102) | def test_shift_on_both_axis(self): method test_inplaceness (line 108) | def test_inplaceness(self): class TestKeypoint_shift (line 117) | class TestKeypoint_shift(TestKeypoint_shift_): method _is_inplace (line 119) | def _is_inplace(self): method _func (line 122) | def _func(self, kp, *args, **kwargs): class TestKeypoint (line 126) | class TestKeypoint(unittest.TestCase): method test___init__ (line 127) | def test___init__(self): method test___init___negative_values (line 132) | def test___init___negative_values(self): method test___init___floats (line 137) | def test___init___floats(self): method test_coords (line 142) | def test_coords(self): method test_x_int (line 147) | def test_x_int(self): method test_x_int_for_float_inputs (line 152) | def test_x_int_for_float_inputs(self): method test_y_int (line 157) | def test_y_int(self): method test_y_int_for_float_inputs (line 162) | def test_y_int_for_float_inputs(self): method test_xy (line 167) | def test_xy(self): method test_xy_int (line 171) | def test_xy_int(self): method test_is_out_of_image (line 177) | def test_is_out_of_image(self): method test_is_out_of_image__ooi_y (line 183) | def test_is_out_of_image__ooi_y(self): method test_is_out_of_image__ooi_x (line 189) | def test_is_out_of_image__ooi_x(self): method test_compute_out_of_image_fraction (line 195) | def test_compute_out_of_image_fraction(self): method test_compute_out_of_image_fraction_ooi_y (line 201) | def test_compute_out_of_image_fraction_ooi_y(self): method test_compute_out_of_image_fraction_ooi_x (line 207) | def test_compute_out_of_image_fraction_ooi_x(self): method test_draw_on_image (line 213) | def test_draw_on_image(self): method test_draw_on_image_kp_at_top_left_corner_size_1 (line 223) | def test_draw_on_image_kp_at_top_left_corner_size_1(self): method test_draw_on_image_kp_at_top_left_corner_size_5 (line 233) | def test_draw_on_image_kp_at_top_left_corner_size_5(self): method test_draw_on_image_kp_at_top_left_corner_custom_color_and_alpha (line 243) | def test_draw_on_image_kp_at_top_left_corner_custom_color_and_alpha(se... method test_draw_on_image_kp_somewhere_inside_image_size_5 (line 253) | def test_draw_on_image_kp_somewhere_inside_image_size_5(self): method test_draw_on_image_kp_at_bottom_right_corner_size_5 (line 263) | def test_draw_on_image_kp_at_bottom_right_corner_size_5(self): method test_draw_on_image_kp_outside_image (line 273) | def test_draw_on_image_kp_outside_image(self): method test_generate_similar_points_manhattan_0_steps_list (line 283) | def test_generate_similar_points_manhattan_0_steps_list(self): method test_generate_similar_points_manhattan_1_step_list (line 291) | def test_generate_similar_points_manhattan_1_step_list(self): method test_generate_similar_points_manhattan_1_step_array (line 307) | def test_generate_similar_points_manhattan_1_step_array(self): method test_coords_almost_equals (line 323) | def test_coords_almost_equals(self): method test_coords_almost_equals__unequal (line 331) | def test_coords_almost_equals__unequal(self): method test_coords_almost_equals__distance_below_threshold (line 339) | def test_coords_almost_equals__distance_below_threshold(self): method test_coords_almost_equals__distance_exceeds_threshold (line 347) | def test_coords_almost_equals__distance_exceeds_threshold(self): method test_coords_almost_equals__array (line 355) | def test_coords_almost_equals__array(self): method test_coords_almost_equals__array_unequal (line 363) | def test_coords_almost_equals__array_unequal(self): method test_coords_almost_equals__tuple (line 371) | def test_coords_almost_equals__tuple(self): method test_coords_almost_equals__tuple_unequal (line 379) | def test_coords_almost_equals__tuple_unequal(self): method test_almost_equals (line 388) | def test_almost_equals(self, mock_cae): method test_string_conversion_ints (line 398) | def test_string_conversion_ints(self): method test_string_conversion_floats (line 406) | def test_string_conversion_floats(self): class TestKeypointsOnImage_items_setter (line 415) | class TestKeypointsOnImage_items_setter(unittest.TestCase): method test_with_list_of_keypoints (line 416) | def test_with_list_of_keypoints(self): class TestKeypointsOnImage_on_ (line 427) | class TestKeypointsOnImage_on_(unittest.TestCase): method _is_inplace (line 429) | def _is_inplace(self): method _func (line 432) | def _func(self, kpsoi, *args, **kwargs): method test_same_image_size (line 435) | def test_same_image_size(self): method test_wider_image (line 448) | def test_wider_image(self): method test_wider_image_shape_given_as_array (line 460) | def test_wider_image_shape_given_as_array(self): method test_inplaceness (line 473) | def test_inplaceness(self): class TestKeypointsOnImage_on (line 485) | class TestKeypointsOnImage_on(TestKeypointsOnImage_on_): method _is_inplace (line 487) | def _is_inplace(self): method _func (line 490) | def _func(self, kpsoi, *args, **kwargs): class TestKeypointsOnImage_shift_ (line 494) | class TestKeypointsOnImage_shift_(unittest.TestCase): method _is_inplace (line 496) | def _is_inplace(self): method _func (line 499) | def _func(self, kpsoi, *args, **kwargs): method test_shift_by_zero_on_both_axis (line 502) | def test_shift_by_zero_on_both_axis(self): method test_shift_by_1_on_x_axis (line 511) | def test_shift_by_1_on_x_axis(self): method test_shift_by_negative_1_on_x_axis (line 522) | def test_shift_by_negative_1_on_x_axis(self): method test_shift_by_1_on_y_axis (line 533) | def test_shift_by_1_on_y_axis(self): method test_shift_by_negative_1_on_y_axis (line 544) | def test_shift_by_negative_1_on_y_axis(self): method test_shift_on_both_axis (line 555) | def test_shift_on_both_axis(self): method test_inplaceness (line 566) | def test_inplaceness(self): class TestKeypointsOnImage_shift (line 577) | class TestKeypointsOnImage_shift(TestKeypointsOnImage_shift_): method _is_inplace (line 579) | def _is_inplace(self): method _func (line 582) | def _func(self, kpsoi, *args, **kwargs): class TestKeypointsOnImage (line 586) | class TestKeypointsOnImage(unittest.TestCase): method test_items (line 587) | def test_items(self): method test_items_empty (line 595) | def test_items_empty(self): method test_height (line 602) | def test_height(self): method test_width (line 607) | def test_width(self): method test_shape_is_array (line 612) | def test_shape_is_array(self): method test_draw_on_image (line 622) | def test_draw_on_image(self): method test_draw_on_image_alpha_is_50_percent (line 638) | def test_draw_on_image_alpha_is_50_percent(self): method test_draw_on_image_size_3 (line 657) | def test_draw_on_image_size_3(self): method test_draw_on_image_blue_color (line 676) | def test_draw_on_image_blue_color(self): method test_draw_on_image_single_int_as_color (line 692) | def test_draw_on_image_single_int_as_color(self): method test_draw_on_image_copy_is_false (line 708) | def test_draw_on_image_copy_is_false(self): method test_draw_on_image_keypoint_is_outside_of_image (line 728) | def test_draw_on_image_keypoint_is_outside_of_image(self): method test_draw_on_image_keypoint_is_outside_of_image_and_raise_true (line 747) | def test_draw_on_image_keypoint_is_outside_of_image_and_raise_true(self): method test_draw_on_image_one_kp_at_bottom_right_corner (line 762) | def test_draw_on_image_one_kp_at_bottom_right_corner(self): method test_draw_on_image_one_kp_at_bottom_right_corner_and_raise_true (line 780) | def test_draw_on_image_one_kp_at_bottom_right_corner_and_raise_true(se... method _test_clip_remove_frac (line 799) | def _test_clip_remove_frac(cls, func, inplace): method test_remove_out_of_image_fraction_ (line 814) | def test_remove_out_of_image_fraction_(self): method test_remove_out_of_image_fraction (line 820) | def test_remove_out_of_image_fraction(self): method test_clip_out_of_image_fraction_ (line 826) | def test_clip_out_of_image_fraction_(self): method test_clip_out_of_image_fraction (line 832) | def test_clip_out_of_image_fraction(self): method test_to_xy_array (line 838) | def test_to_xy_array(self): method test_from_xy_array (line 850) | def test_from_xy_array(self): method test_fill_from_xy_array___empty_array (line 863) | def test_fill_from_xy_array___empty_array(self): method test_fill_from_xy_array___empty_list (line 871) | def test_fill_from_xy_array___empty_list(self): method test_fill_from_xy_array___array_with_two_coords (line 879) | def test_fill_from_xy_array___array_with_two_coords(self): method test_fill_from_xy_array___list_with_two_coords (line 892) | def test_fill_from_xy_array___list_with_two_coords(self): method test_to_keypoint_image_size_1 (line 905) | def test_to_keypoint_image_size_1(self): method test_to_keypoint_image_size_3 (line 917) | def test_to_keypoint_image_size_3(self): method test_from_keypoint_image (line 929) | def test_from_keypoint_image(self): method test_from_keypoint_image_dict_as_if_not_found_thresh_20 (line 944) | def test_from_keypoint_image_dict_as_if_not_found_thresh_20(self): method test_from_keypoint_image_tuple_as_if_not_found_thresh_20 (line 962) | def test_from_keypoint_image_tuple_as_if_not_found_thresh_20(self): method test_from_keypoint_image_none_as_if_not_found_thresh_20 (line 980) | def test_from_keypoint_image_none_as_if_not_found_thresh_20(self): method test_from_keypoint_image_bad_datatype_as_if_not_found (line 996) | def test_from_keypoint_image_bad_datatype_as_if_not_found(self): method _get_single_keypoint_distance_map (line 1011) | def _get_single_keypoint_distance_map(cls): method test_to_distance_maps (line 1032) | def test_to_distance_maps(self): method test_to_distance_maps_inverted (line 1043) | def test_to_distance_maps_inverted(self): method _get_two_points_keypoint_distance_map (line 1056) | def _get_two_points_keypoint_distance_map(cls): method test_to_distance_maps_two_keypoints (line 1085) | def test_to_distance_maps_two_keypoints(self): method test_to_distance_maps_two_keypoints_inverted (line 1098) | def test_to_distance_maps_two_keypoints_inverted(self): method _get_distance_maps_for_from_dmap_tests (line 1110) | def _get_distance_maps_for_from_dmap_tests(cls): method test_from_distance_maps (line 1129) | def test_from_distance_maps(self): method test_from_distance_maps_nb_channels_4 (line 1141) | def test_from_distance_maps_nb_channels_4(self): method test_from_distance_maps_inverted (line 1154) | def test_from_distance_maps_inverted(self): method test_from_distance_maps_if_not_found_is_tuple_thresh_009 (line 1170) | def test_from_distance_maps_if_not_found_is_tuple_thresh_009(self): method test_from_distance_maps_if_not_found_is_dict_thresh_009 (line 1183) | def test_from_distance_maps_if_not_found_is_dict_thresh_009(self): method test_from_distance_maps_if_not_found_is_none_thresh_009 (line 1198) | def test_from_distance_maps_if_not_found_is_none_thresh_009(self): method test_from_distance_maps_bad_datatype_for_if_not_found (line 1211) | def test_from_distance_maps_bad_datatype_for_if_not_found(self): method test_to_keypoints_on_image (line 1222) | def test_to_keypoints_on_image(self): method test_invert_to_keypoints_on_image_ (line 1233) | def test_invert_to_keypoints_on_image_(self): method test_copy (line 1248) | def test_copy(self): method test_copy_keypoints_set (line 1266) | def test_copy_keypoints_set(self): method test_copy_shape_set (line 1278) | def test_copy_shape_set(self): method test_deepcopy (line 1289) | def test_deepcopy(self): method test_deepcopy_keypoints_set (line 1307) | def test_deepcopy_keypoints_set(self): method test_deepcopy_shape_set (line 1319) | def test_deepcopy_shape_set(self): method test___getitem__ (line 1332) | def test___getitem__(self): method test___iter__ (line 1343) | def test___iter__(self): method test___iter___empty (line 1351) | def test___iter___empty(self): method test___len__ (line 1358) | def test___len__(self): method test_string_conversion (line 1364) | def test_string_conversion(self): FILE: test/augmentables/test_lines.py class TestLineString_project_ (line 24) | class TestLineString_project_(unittest.TestCase): method _is_inplace (line 26) | def _is_inplace(self): method _func (line 29) | def _func(self, ls, from_shape, to_shape): method test_project_to_2x_image_size (line 32) | def test_project_to_2x_image_size(self): method test_project_to_2x_image_width (line 37) | def test_project_to_2x_image_width(self): method test_project_to_2x_image_height (line 42) | def test_project_to_2x_image_height(self): method test_inplaceness (line 47) | def test_inplaceness(self): class TestLineString_project (line 56) | class TestLineString_project(TestLineString_project_): method _is_inplace (line 58) | def _is_inplace(self): method _func (line 61) | def _func(self, ls, from_shape, to_shape): class TestLineString_shift_ (line 65) | class TestLineString_shift_(unittest.TestCase): method _is_inplace (line 67) | def _is_inplace(self): method _func (line 70) | def _func(self, ls, *args, **kwargs): method test_shift_along_xy (line 76) | def test_shift_along_xy(self): method test_inplaceness (line 82) | def test_inplaceness(self): class TestLineString_shift (line 91) | class TestLineString_shift(TestLineString_shift_): method _is_inplace (line 93) | def _is_inplace(self): method _func (line 96) | def _func(self, ls, *args, **kwargs): method test_shift_by_positive_args (line 102) | def test_shift_by_positive_args(self): method test_shift_by_negative_values (line 113) | def test_shift_by_negative_values(self): method test_shift_by_positive_values_all_arguments_provided (line 124) | def test_shift_by_positive_values_all_arguments_provided(self): method test_shift_of_empty_line_string (line 131) | def test_shift_of_empty_line_string(self): class TestLineString (line 138) | class TestLineString(unittest.TestCase): method setUp (line 139) | def setUp(self): method test___init___float32_array_as_coords (line 142) | def test___init___float32_array_as_coords(self): method test___init___list_of_tuples_as_coords (line 147) | def test___init___list_of_tuples_as_coords(self): method test___init___empty_list_as_coords (line 152) | def test___init___empty_list_as_coords(self): method test___init___label_set (line 157) | def test___init___label_set(self): method test_length_with_triangle (line 162) | def test_length_with_triangle(self): method test_length_with_realworld_line_string (line 166) | def test_length_with_realworld_line_string(self): method test_length_with_single_point (line 171) | def test_length_with_single_point(self): method test_length_with_zero_points (line 175) | def test_length_with_zero_points(self): method test_xx_three_points (line 179) | def test_xx_three_points(self): method test_xx_no_points (line 183) | def test_xx_no_points(self): method test_yy_three_points (line 187) | def test_yy_three_points(self): method test_yy_no_points (line 191) | def test_yy_no_points(self): method test_xx_int_three_points (line 195) | def test_xx_int_three_points(self): method test_xx_int_no_points (line 200) | def test_xx_int_no_points(self): method test_yy_int_three_points (line 205) | def test_yy_int_three_points(self): method test_yy_int_no_points (line 210) | def test_yy_int_no_points(self): method test_height_three_points (line 215) | def test_height_three_points(self): method test_height_no_points (line 219) | def test_height_no_points(self): method test_width_three_points (line 223) | def test_width_three_points(self): method test_width_no_points (line 227) | def test_width_no_points(self): method test_get_pointwise_inside_image_mask_with_single_point_tuple (line 231) | def test_get_pointwise_inside_image_mask_with_single_point_tuple(self): method test_get_pointwise_inside_image_mask_with_array (line 236) | def test_get_pointwise_inside_image_mask_with_array(self): method test_get_pointwise_inside_image_mask_with_single_point_ls (line 242) | def test_get_pointwise_inside_image_mask_with_single_point_ls(self): method test_get_pointwise_inside_image_mask_with_zero_points_ls (line 247) | def test_get_pointwise_inside_image_mask_with_zero_points_ls(self): method test_compute_neighbour_distances_three_points (line 252) | def test_compute_neighbour_distances_three_points(self): method test_compute_neighbour_distances_two_points (line 257) | def test_compute_neighbour_distances_two_points(self): method test_compute_neighbour_distances_single_point (line 262) | def test_compute_neighbour_distances_single_point(self): method test_compute_neighbour_distances_zero_points (line 267) | def test_compute_neighbour_distances_zero_points(self): method test_compute_pointwise_distances_to_point_at_origin (line 272) | def test_compute_pointwise_distances_to_point_at_origin(self): method test_compute_pointwise_distances_to_point_at_x1_y1 (line 279) | def test_compute_pointwise_distances_to_point_at_x1_y1(self): method test_compute_pointwise_distances_from_empty_line_string (line 286) | def test_compute_pointwise_distances_from_empty_line_string(self): method test_compute_pointwise_distances_to_keypoint_at_origin (line 291) | def test_compute_pointwise_distances_to_keypoint_at_origin(self): method test_compute_pointwise_distances_to_keypoint_at_x1_y1 (line 296) | def test_compute_pointwise_distances_to_keypoint_at_x1_y1(self): method test_compute_pointwise_distances_to_other_line_string_at_origin (line 303) | def test_compute_pointwise_distances_to_other_line_string_at_origin(se... method test_compute_pointwise_distances_to_other_line_string_at_x1_y1 (line 312) | def test_compute_pointwise_distances_to_other_line_string_at_x1_y1(self): method test_compute_pointwise_distances_to_other_line_string_two_points (line 320) | def test_compute_pointwise_distances_to_other_line_string_two_points(s... method test_compute_pointwise_distances_to_other_empty_line_string (line 328) | def test_compute_pointwise_distances_to_other_empty_line_string(self): method test_compute_distance_from_three_point_line_string (line 334) | def test_compute_distance_from_three_point_line_string(self): method test_compute_distance_from_single_point_line_string (line 343) | def test_compute_distance_from_single_point_line_string(self): method test_compute_distance_from_empty_line_string_no_default (line 352) | def test_compute_distance_from_empty_line_string_no_default(self): method test_compute_distance_from_empty_line_string_with_default (line 356) | def test_compute_distance_from_empty_line_string_with_default(self): method test_compute_distance_to_keypoint (line 360) | def test_compute_distance_to_keypoint(self): method test_compute_distance_to_line_string (line 364) | def test_compute_distance_to_line_string(self): method test_compute_distance_to_invalid_datatype (line 379) | def test_compute_distance_to_invalid_datatype(self): method test_contains_tuple (line 384) | def test_contains_tuple(self): method test_contains_tuple_max_distance (line 393) | def test_contains_tuple_max_distance(self): method test_contains_keypoint (line 407) | def test_contains_keypoint(self): method test_contains_with_single_point_line_string (line 419) | def test_contains_with_single_point_line_string(self): method test_contains_with_empty_line_string (line 424) | def test_contains_with_empty_line_string(self): method test_project_empty_line_string_to_2x_image_size (line 429) | def test_project_empty_line_string_to_2x_image_size(self): method test_compute_out_of_image_fraction__no_points (line 434) | def test_compute_out_of_image_fraction__no_points(self): method test_compute_out_of_image_fraction__one_point (line 440) | def test_compute_out_of_image_fraction__one_point(self): method test_compute_out_of_image_fraction__one_point__ooi (line 446) | def test_compute_out_of_image_fraction__one_point__ooi(self): method test_compute_out_of_image_fraction__two_points (line 452) | def test_compute_out_of_image_fraction__two_points(self): method test_compute_out_of_image_fraction__three_points_at_same_pos (line 458) | def test_compute_out_of_image_fraction__three_points_at_same_pos(self): method test_compute_out_of_image_fraction__partially_ooi (line 465) | def test_compute_out_of_image_fraction__partially_ooi(self): method test_compute_out_of_image_fraction__leaves_image_multiple_times (line 471) | def test_compute_out_of_image_fraction__leaves_image_multiple_times(se... method test_compute_out_of_image_fraction__fully_ooi (line 478) | def test_compute_out_of_image_fraction__fully_ooi(self): method test_is_fully_within_image_with_simple_line_string (line 484) | def test_is_fully_within_image_with_simple_line_string(self): method test_is_fully_within_image_with_negative_coords_line_string (line 491) | def test_is_fully_within_image_with_negative_coords_line_string(self): method test_is_fully_within_image_with_single_point_line_string (line 498) | def test_is_fully_within_image_with_single_point_line_string(self): method test_is_fully_within_image_with_empty_line_string (line 505) | def test_is_fully_within_image_with_empty_line_string(self): method test_is_fully_within_image_with_empty_line_string_default_set (line 512) | def test_is_fully_within_image_with_empty_line_string_default_set(self): method test_is_partly_within_image_with_simple_line_string (line 520) | def test_is_partly_within_image_with_simple_line_string(self): method test_is_partly_within_image_with_simple_line_string2 (line 527) | def test_is_partly_within_image_with_simple_line_string2(self): method test_is_partly_within_image_with_ls_cutting_through_image (line 534) | def test_is_partly_within_image_with_ls_cutting_through_image(self): method test_is_partly_within_image_with_line_string_around_rectangle (line 544) | def test_is_partly_within_image_with_line_string_around_rectangle(self): method test_is_partly_within_image_with_single_point_line_string (line 551) | def test_is_partly_within_image_with_single_point_line_string(self): method test_is_partly_within_image_with_empty_line_string (line 557) | def test_is_partly_within_image_with_empty_line_string(self): method test_is_out_of_image_with_simple_line_string (line 566) | def test_is_out_of_image_with_simple_line_string(self): method test_is_out_of_image_with_empty_line_string (line 574) | def test_is_out_of_image_with_empty_line_string(self): method test_clip_out_of_image_with_simple_line_string (line 580) | def test_clip_out_of_image_with_simple_line_string(self): method test_clip_out_of_image_with_shifted_simple_line_string (line 595) | def test_clip_out_of_image_with_shifted_simple_line_string(self): method test_clip_out_of_image_with_ls_partially_outside_image (line 606) | def test_clip_out_of_image_with_ls_partially_outside_image(self): method test_clip_out_of_image_with_ls_partially_ooi_less_points (line 625) | def test_clip_out_of_image_with_ls_partially_ooi_less_points(self): method test_clip_out_of_image_when_only_one_point_remains (line 643) | def test_clip_out_of_image_when_only_one_point_remains(self): method test_clip_out_of_image_with_ls_leaving_image_multiple_times (line 660) | def test_clip_out_of_image_with_ls_leaving_image_multiple_times(self): method test_clip_out_of_image_with_ls_that_enters_image_from_outside (line 678) | def test_clip_out_of_image_with_ls_that_enters_image_from_outside(self): method test_clip_out_of_image_with_ls_that_leaves_image_from_inside (line 722) | def test_clip_out_of_image_with_ls_that_leaves_image_from_inside(self): method test_clip_out_of_image_with_ls_that_cuts_through_image (line 764) | def test_clip_out_of_image_with_ls_that_cuts_through_image(self): method test_clip_out_of_image_with_ls_that_runs_through_diagonal_corners (line 777) | def test_clip_out_of_image_with_ls_that_runs_through_diagonal_corners(... method test_clip_out_of_image_with_ls_that_overlaps_with_image_edge (line 790) | def test_clip_out_of_image_with_ls_that_overlaps_with_image_edge(self): method test_clip_out_of_image_with_ls_that_overlaps_with_image_edge2 (line 802) | def test_clip_out_of_image_with_ls_that_overlaps_with_image_edge2(self): method test_clip_out_of_image_with_ls_that_overlaps_with_image_edge3 (line 822) | def test_clip_out_of_image_with_ls_that_overlaps_with_image_edge3(self): method test_clip_out_of_image_with_ls_that_contains_a_single_point (line 839) | def test_clip_out_of_image_with_ls_that_contains_a_single_point(self): method test_clip_out_of_image_with_ls_that_is_empty (line 850) | def test_clip_out_of_image_with_ls_that_is_empty(self): method test_clip_out_of_image_and_is_fully_within_image (line 856) | def test_clip_out_of_image_and_is_fully_within_image(self): method test_draw_mask (line 880) | def test_draw_mask(self): method test_draw_mask_of_empty_line_string (line 891) | def test_draw_mask_of_empty_line_string(self): method test_draw_line_heatmap_array (line 899) | def test_draw_line_heatmap_array(self): method test_draw_line_heatmap_array_with_empty_line_string (line 910) | def test_draw_line_heatmap_array_with_empty_line_string(self): method test_draw_points_heatmap_array (line 918) | def test_draw_points_heatmap_array(self): method test_draw_points_heatmap_array_with_empty_line_string (line 930) | def test_draw_points_heatmap_array_with_empty_line_string(self): method test_draw_heatmap_array_calls_other_drawing_functions (line 938) | def test_draw_heatmap_array_calls_other_drawing_functions(self): method test_draw_heatmap_array_without_mocking (line 969) | def test_draw_heatmap_array_without_mocking(self): method test_draw_heatmap_array_with_empty_line_string (line 999) | def test_draw_heatmap_array_with_empty_line_string(self): method test_draw_line_on_image_with_image_of_zeros (line 1007) | def test_draw_line_on_image_with_image_of_zeros(self): method test_draw_line_on_image_with_2d_image_of_zeros (line 1026) | def test_draw_line_on_image_with_2d_image_of_zeros(self): method test_draw_line_on_image_of_ones (line 1043) | def test_draw_line_on_image_of_ones(self): method test_draw_line_on_image_alpha_at_50_percent (line 1062) | def test_draw_line_on_image_alpha_at_50_percent(self): method test_draw_line_on_image_alpha_at_50_percent_with_background (line 1081) | def test_draw_line_on_image_alpha_at_50_percent_with_background(self): method test_draw_line_on_image_with_size_3 (line 1100) | def test_draw_line_on_image_with_size_3(self): method test_draw_line_on_image_with_2d_image_and_size_3 (line 1119) | def test_draw_line_on_image_with_2d_image_and_size_3(self): method test_draw_line_on_image_with_size_3_and_antialiasing (line 1136) | def test_draw_line_on_image_with_size_3_and_antialiasing(self): method test_draw_line_on_image_with_line_partially_outside_image (line 1165) | def test_draw_line_on_image_with_line_partially_outside_image(self): method test_draw_line_on_image_with_line_fully_outside_image (line 1184) | def test_draw_line_on_image_with_line_fully_outside_image(self): method test_draw_line_on_image_with_line_fully_ooi_and_raise_true (line 1199) | def test_draw_line_on_image_with_line_fully_ooi_and_raise_true(self): method test_draw_line_on_image_with_line_part_inside_img_and_raise_true (line 1214) | def test_draw_line_on_image_with_line_part_inside_img_and_raise_true(s... method test_draw_points_on_image_with_image_of_zeros (line 1227) | def test_draw_points_on_image_with_image_of_zeros(self): method test_draw_points_on_image_with_image_of_ones (line 1247) | def test_draw_points_on_image_with_image_of_ones(self): method test_draw_points_on_image_with_alpha_50_percent (line 1267) | def test_draw_points_on_image_with_alpha_50_percent(self): method test_draw_points_on_image_with_size_one (line 1286) | def test_draw_points_on_image_with_size_one(self): method test_draw_points_on_image_with_ls_ooi_and_raise_true (line 1308) | def test_draw_points_on_image_with_ls_ooi_and_raise_true(self): method test_draw_on_image_with_mocking (line 1320) | def test_draw_on_image_with_mocking(self): method test_draw_on_image_without_mocking (line 1358) | def test_draw_on_image_without_mocking(self): method test_draw_on_image_with_empty_line_string (line 1382) | def test_draw_on_image_with_empty_line_string(self): method test_extract_from_image_size_1_single_channel (line 1390) | def test_extract_from_image_size_1_single_channel(self): method test_extract_from_image_size_3_single_channel (line 1399) | def test_extract_from_image_size_3_single_channel(self): method test_extract_from_image_size_3_rgb (line 1408) | def test_extract_from_image_size_3_rgb(self): method test_extract_from_image_antialiased_true (line 1421) | def test_extract_from_image_antialiased_true(self): method test_extract_from_image_pad_false (line 1432) | def test_extract_from_image_pad_false(self): method test_extract_from_image_pad_false_and_prevent_zero_size_false (line 1443) | def test_extract_from_image_pad_false_and_prevent_zero_size_false(self): method test_extract_from_image_pad_max (line 1453) | def test_extract_from_image_pad_max(self): method test_extract_from_image_with_single_point_line_string (line 1465) | def test_extract_from_image_with_single_point_line_string(self): method test_extract_from_image_with_single_point_ls_negative_coords (line 1475) | def test_extract_from_image_with_single_point_ls_negative_coords(self): method test_extract_from_image_with_1_point_neg_coords_prevent_zero_size (line 1484) | def test_extract_from_image_with_1_point_neg_coords_prevent_zero_size(... method test_extract_from_image_with_empty_line_string (line 1493) | def test_extract_from_image_with_empty_line_string(self): method test_extract_from_image_with_empty_line_string_prevent_zero_size (line 1503) | def test_extract_from_image_with_empty_line_string_prevent_zero_size(s... method test_concatenate_line_string_with_itself (line 1512) | def test_concatenate_line_string_with_itself(self): method test_concatenate_empty_line_string_with_itself (line 1519) | def test_concatenate_empty_line_string_with_itself(self): method test_concatenate_empty_line_string_with_single_point_line_string (line 1524) | def test_concatenate_empty_line_string_with_single_point_line_string(s... method test_concatenate_single_point_line_string_with_empty_line_string (line 1529) | def test_concatenate_single_point_line_string_with_empty_line_string(s... method test_concatenate_empty_line_string_with_list_of_tuples (line 1534) | def test_concatenate_empty_line_string_with_list_of_tuples(self): method test_to_keypoints (line 1539) | def test_to_keypoints(self): method test_to_keypoints_with_empty_line_string (line 1550) | def test_to_keypoints_with_empty_line_string(self): method test_to_bounding_box (line 1554) | def test_to_bounding_box(self): method test_to_bounding_box_with_single_point_line_string (line 1563) | def test_to_bounding_box_with_single_point_line_string(self): method test_to_bounding_box_with_empty_line_string (line 1572) | def test_to_bounding_box_with_empty_line_string(self): method test_to_polygon (line 1577) | def test_to_polygon(self): method test_to_polygon_with_single_point_line_string (line 1583) | def test_to_polygon_with_single_point_line_string(self): method test_to_polygon_with_empty_line_string (line 1589) | def test_to_polygon_with_empty_line_string(self): method test_to_heatmap (line 1596) | def test_to_heatmap(self): method test_to_heatmap_with_empty_line_string (line 1606) | def test_to_heatmap_with_empty_line_string(self): method test_segmentation_map (line 1615) | def test_segmentation_map(self): method test_coords_almost_equals_with_3_point_ls_90deg_angle (line 1632) | def test_coords_almost_equals_with_3_point_ls_90deg_angle(self): method test_coords_almost_equals_with_4_point_ls_90deg_angle (line 1640) | def test_coords_almost_equals_with_4_point_ls_90deg_angle(self): method test_coords_almost_equals_with_1_point_ls (line 1644) | def test_coords_almost_equals_with_1_point_ls(self): method test_coords_almost_equals_with_empty_line_string (line 1651) | def test_coords_almost_equals_with_empty_line_string(self): method test_coords_almost_equals_with_two_rectangular_line_strings (line 1656) | def test_coords_almost_equals_with_two_rectangular_line_strings(self): method test_coords_almost_equals_different_ls_but_overlapping_points (line 1664) | def test_coords_almost_equals_different_ls_but_overlapping_points(self): method test_almost_equals_three_point_ls_without_label (line 1678) | def test_almost_equals_three_point_ls_without_label(self): method test_almost_equals_three_point_ls_with_label (line 1688) | def test_almost_equals_three_point_ls_with_label(self): method test_almost_equals_empty_line_string (line 1695) | def test_almost_equals_empty_line_string(self): method test_almost_equals_empty_line_string_with_label (line 1700) | def test_almost_equals_empty_line_string_with_label(self): method test_copy_with_various_line_strings (line 1705) | def test_copy_with_various_line_strings(self): method test_copy_with_coords_arg_set (line 1723) | def test_copy_with_coords_arg_set(self): method test_copy_with_label_arg_set (line 1729) | def test_copy_with_label_arg_set(self): method test_deepcopy_with_various_line_strings (line 1735) | def test_deepcopy_with_various_line_strings(self): method test_deepcopy_with_coords_arg_set (line 1753) | def test_deepcopy_with_coords_arg_set(self): method test_deepcopy_with_label_arg_set (line 1759) | def test_deepcopy_with_label_arg_set(self): method test_string_conversion (line 1765) | def test_string_conversion(self): method test___getitem__ (line 1781) | def test___getitem__(self): method test___getitem___slice (line 1786) | def test___getitem___slice(self): method test___iter___two_points (line 1790) | def test___iter___two_points(self): method test___iter___zero_points (line 1800) | def test___iter___zero_points(self): method test___str__ (line 1807) | def test___str__(self): class TestLineStringsOnImage_items_setter (line 1834) | class TestLineStringsOnImage_items_setter(unittest.TestCase): method test_with_list_of_line_strings (line 1835) | def test_with_list_of_line_strings(self): class TestLineStringsOnImage_on_ (line 1847) | class TestLineStringsOnImage_on_(unittest.TestCase): method _is_inplace (line 1849) | def _is_inplace(self): method _func (line 1852) | def _func(self, lsoi, to_shape): method test_on_image_with_same_shape (line 1855) | def test_on_image_with_same_shape(self): method test_on_image_with_2x_size (line 1867) | def test_on_image_with_2x_size(self): method test_on_image_with_2x_size_and_empty_list_of_line_strings (line 1882) | def test_on_image_with_2x_size_and_empty_list_of_line_strings(self): method test_inplaceness (line 1890) | def test_inplaceness(self): class TestLineStringsOnImage_on (line 1900) | class TestLineStringsOnImage_on(TestLineStringsOnImage_on_): method _is_inplace (line 1902) | def _is_inplace(self): method _func (line 1905) | def _func(self, lsoi, to_shape): class TestLineStringsOnImage_remove_out_of_image_ (line 1909) | class TestLineStringsOnImage_remove_out_of_image_(unittest.TestCase): method _is_inplace (line 1911) | def _is_inplace(self): method _func (line 1914) | def _func(self, lsoi, fully=True, partly=False): method test_remove_out_of_image_with_two_line_strings (line 1917) | def test_remove_out_of_image_with_two_line_strings(self): method test_remove_out_of_image_with_empty_list_of_line_strings (line 1928) | def test_remove_out_of_image_with_empty_list_of_line_strings(self): method test_remove_out_of_image_with_one_empty_line_string (line 1936) | def test_remove_out_of_image_with_one_empty_line_string(self): method test_remove_out_of_image_with_one_line_string (line 1945) | def test_remove_out_of_image_with_one_line_string(self): method test_remove_out_of_image_remove_even_partial_oois (line 1955) | def test_remove_out_of_image_remove_even_partial_oois(self): method test_remove_out_of_image_with_one_single_point_line_strings (line 1964) | def test_remove_out_of_image_with_one_single_point_line_strings(self): method test_remove_out_of_image_partly_false_and_fully_false (line 1973) | def test_remove_out_of_image_partly_false_and_fully_false(self): method test_inplaceness (line 1983) | def test_inplaceness(self): class TestLineStringsOnImage_remove_out_of_image (line 1996) | class TestLineStringsOnImage_remove_out_of_image( method _is_inplace (line 1999) | def _is_inplace(self): method _func (line 2002) | def _func(self, lsoi, fully=True, partly=False): class TestLineStringsOnImage_clip_out_of_image_ (line 2006) | class TestLineStringsOnImage_clip_out_of_image_(unittest.TestCase): method _is_inplace (line 2008) | def _is_inplace(self): method _func (line 2011) | def _func(self, lsoi): method test_clip_out_of_image_with_two_simple_line_strings (line 2014) | def test_clip_out_of_image_with_two_simple_line_strings(self): method test_clip_out_of_image_with_empty_list_of_line_strings (line 2029) | def test_clip_out_of_image_with_empty_list_of_line_strings(self): method test_clip_out_of_image_with_one_empty_line_string (line 2037) | def test_clip_out_of_image_with_one_empty_line_string(self): method test_clip_out_of_image_with_single_point_ls_and_negative_coords (line 2046) | def test_clip_out_of_image_with_single_point_ls_and_negative_coords(se... method test_inplaceness (line 2055) | def test_inplaceness(self): class TestLineStringsOnImage_clip_out_of_image (line 2068) | class TestLineStringsOnImage_clip_out_of_image( method _is_inplace (line 2071) | def _is_inplace(self): method _func (line 2074) | def _func(self, lsoi): class TestLineStringsOnImage_shift_ (line 2078) | class TestLineStringsOnImage_shift_(unittest.TestCase): method _is_inplace (line 2080) | def _is_inplace(self): method _func (line 2083) | def _func(self, lsoi, *args, **kwargs): method test_shift_two_simple_line_strings_along_xy (line 2091) | def test_shift_two_simple_line_strings_along_xy(self): method test_inplaceness (line 2106) | def test_inplaceness(self): class TestLineStringsOnImage_shift (line 2119) | class TestLineStringsOnImage_shift(TestLineStringsOnImage_shift_): method _is_inplace (line 2121) | def _is_inplace(self): method _func (line 2124) | def _func(self, lsoi, *args, **kwargs): method test_shift_with_two_simple_line_strings (line 2130) | def test_shift_with_two_simple_line_strings(self): method test_shift_with_empty_list_of_line_strings (line 2147) | def test_shift_with_empty_list_of_line_strings(self): class TestLineStringsOnImage (line 2160) | class TestLineStringsOnImage(unittest.TestCase): method setUp (line 2161) | def setUp(self): method test___init__ (line 2164) | def test___init__(self): method test___init___shape_is_array (line 2172) | def test___init___shape_is_array(self): method test___init___with_empty_list (line 2182) | def test___init___with_empty_list(self): method test_items (line 2187) | def test_items(self): method test_items_empty (line 2196) | def test_items_empty(self): method test_empty_with_empty_list (line 2203) | def test_empty_with_empty_list(self): method test_empty_with_list_of_empty_line_string (line 2207) | def test_empty_with_list_of_empty_line_string(self): method test_empty_with_list_of_single_point_line_string (line 2211) | def test_empty_with_list_of_single_point_line_string(self): method test_from_xy_arrays_single_input_array_with_two_line_strings (line 2215) | def test_from_xy_arrays_single_input_array_with_two_line_strings(self): method test_from_xy_arrays_with_list_of_two_line_string_arrays (line 2227) | def test_from_xy_arrays_with_list_of_two_line_string_arrays(self): method test_from_xy_arrays_with_empty_3d_array_and_0_points_per_ls (line 2239) | def test_from_xy_arrays_with_empty_3d_array_and_0_points_per_ls(self): method test_from_xy_arrays_with_empty_3d_array_and_5_points_per_ls (line 2246) | def test_from_xy_arrays_with_empty_3d_array_and_5_points_per_ls(self): method test_to_xy_arrays_with_two_line_strings_of_same_length (line 2253) | def test_to_xy_arrays_with_two_line_strings_of_same_length(self): method test_to_xy_arrays_with_two_line_strings_of_different_lengths (line 2269) | def test_to_xy_arrays_with_two_line_strings_of_different_lengths(self): method test_to_xy_arrays_with_two_line_strings_one_of_them_empty (line 2283) | def test_to_xy_arrays_with_two_line_strings_one_of_them_empty(self): method test_to_xy_arrays_with_two_empty_list_of_line_strings (line 2297) | def test_to_xy_arrays_with_two_empty_list_of_line_strings(self): method test_draw_on_image_with_default_settings (line 2305) | def test_draw_on_image_with_default_settings(self): method test_draw_on_image_with_custom_settings (line 2318) | def test_draw_on_image_with_custom_settings(self): method test_draw_on_image_with_default_settings_one_ls_empty (line 2341) | def test_draw_on_image_with_default_settings_one_ls_empty(self): method test_draw_on_image_with_default_settings_and_empty_list_of_ls (line 2354) | def test_draw_on_image_with_default_settings_and_empty_list_of_ls(self): method test_remove_out_of_image_fraction_ (line 2363) | def test_remove_out_of_image_fraction_(self): method test_remove_out_of_image_fraction (line 2376) | def test_remove_out_of_image_fraction(self): method test_to_xy_array (line 2389) | def test_to_xy_array(self): method test_to_xy_array__empty_object (line 2407) | def test_to_xy_array__empty_object(self): method test_fill_from_xy_array___empty_array (line 2417) | def test_fill_from_xy_array___empty_array(self): method test_fill_from_xy_array___empty_list (line 2425) | def test_fill_from_xy_array___empty_list(self): method test_fill_from_xy_array___array_with_two_coords (line 2433) | def test_fill_from_xy_array___array_with_two_coords(self): method test_fill_from_xy_array___list_with_two_coords (line 2454) | def test_fill_from_xy_array___list_with_two_coords(self): method test_to_keypoints_on_image (line 2474) | def test_to_keypoints_on_image(self): method test_to_keypoints_on_image__empty_instance (line 2492) | def test_to_keypoints_on_image__empty_instance(self): method test_invert_to_keypoints_on_image_ (line 2499) | def test_invert_to_keypoints_on_image_(self): method test_invert_to_keypoints_on_image___empty_instance (line 2520) | def test_invert_to_keypoints_on_image___empty_instance(self): method test_copy_with_two_line_strings (line 2529) | def test_copy_with_two_line_strings(self): method test_copy_with_two_line_strings_and_labels (line 2541) | def test_copy_with_two_line_strings_and_labels(self): method test_copy_with_empty_list_of_line_strings (line 2555) | def test_copy_with_empty_list_of_line_strings(self): method test_copy_and_replace_line_strings_attribute (line 2564) | def test_copy_and_replace_line_strings_attribute(self): method test_copy_and_replace_line_strings_attribute_with_labeled_ls (line 2576) | def test_copy_and_replace_line_strings_attribute_with_labeled_ls(self): method test_copy_and_replace_line_strings_attribute_with_empty_list (line 2590) | def test_copy_and_replace_line_strings_attribute_with_empty_list(self): method test_deepcopy_with_two_line_strings (line 2599) | def test_deepcopy_with_two_line_strings(self): method test_deepcopy_with_two_line_strings_and_labels (line 2613) | def test_deepcopy_with_two_line_strings_and_labels(self): method test_deepcopy_with_empty_list_of_line_strings (line 2629) | def test_deepcopy_with_empty_list_of_line_strings(self): method test_deepcopy_and_replace_line_strings_attribute (line 2638) | def test_deepcopy_and_replace_line_strings_attribute(self): method test_deepcopy_and_replace_line_strings_attribute_with_labeled_ls (line 2651) | def test_deepcopy_and_replace_line_strings_attribute_with_labeled_ls(s... method test_deepcopy_and_replace_line_strings_attribute_with_empty_list (line 2666) | def test_deepcopy_and_replace_line_strings_attribute_with_empty_list(s... method test___getitem__ (line 2675) | def test___getitem__(self): method test___iter__ (line 2686) | def test___iter__(self): method test___iter___empty (line 2694) | def test___iter___empty(self): method test___len__ (line 2701) | def test___len__(self): method test___repr__ (line 2707) | def test___repr__(self): method test___str__ (line 2713) | def test___str__(self): method test___repr___empty_list_of_line_strings (line 2719) | def test___repr___empty_list_of_line_strings(self): method test___str___empty_list_of_line_strings (line 2725) | def test___str___empty_list_of_line_strings(self): method _test_str_repr (line 2732) | def _test_str_repr(cls, func): method _test_str_repr_empty_list_of_line_strings (line 2745) | def _test_str_repr_empty_list_of_line_strings(cls, func): function _coords_eq (line 2754) | def _coords_eq(ls, other): function _drawing_allclose (line 2758) | def _drawing_allclose(arr, v): FILE: test/augmentables/test_normalization.py class TestNormalization (line 25) | class TestNormalization(unittest.TestCase): method setUp (line 26) | def setUp(self): method test_invert_normalize_images (line 29) | def test_invert_normalize_images(self): method test_invert_normalize_heatmaps (line 144) | def test_invert_normalize_heatmaps(self): method test_invert_normalize_segmentation_maps (line 213) | def test_invert_normalize_segmentation_maps(self): method test_invert_normalize_keypoints (line 285) | def test_invert_normalize_keypoints(self): method test_invert_normalize_bounding_boxes (line 456) | def test_invert_normalize_bounding_boxes(self): method test_invert_normalize_polygons (line 659) | def test_invert_normalize_polygons(self): method test_invert_normalize_line_strings (line 946) | def test_invert_normalize_line_strings(self): method test_normalize_images (line 1067) | def test_normalize_images(self): method test_normalize_heatmaps (line 1107) | def test_normalize_heatmaps(self): method test_normalize_segmentation_maps (line 1246) | def test_normalize_segmentation_maps(self): method test_normalize_keypoints (line 1382) | def test_normalize_keypoints(self): method test_normalize_bounding_boxes (line 1730) | def test_normalize_bounding_boxes(self): method test_normalize_polygons (line 2124) | def test_normalize_polygons(self): method test_normalize_line_strings (line 2645) | def test_normalize_line_strings(self): method test__find_first_nonempty (line 2768) | def test__find_first_nonempty(self): method test__nonempty_info_to_type_str (line 2857) | def test__nonempty_info_to_type_str(self): method test_estimate_heatmaps_norm_type (line 2956) | def test_estimate_heatmaps_norm_type(self): method test_estimate_segmaps_norm_type (line 3016) | def test_estimate_segmaps_norm_type(self): method test_estimate_keypoints_norm_type (line 3075) | def test_estimate_keypoints_norm_type(self): method test_estimate_bounding_boxes_norm_type (line 3153) | def test_estimate_bounding_boxes_norm_type(self): method test_estimate_polygons_norm_type (line 3236) | def test_estimate_polygons_norm_type(self): method test_estimate_line_strings_norm_type (line 3351) | def test_estimate_line_strings_norm_type(self): FILE: test/augmentables/test_polys.py class TestPolygon___init__ (line 27) | class TestPolygon___init__(unittest.TestCase): method test_exterior_is_list_of_keypoints (line 28) | def test_exterior_is_list_of_keypoints(self): method test_exterior_is_list_of_tuples_of_floats (line 44) | def test_exterior_is_list_of_tuples_of_floats(self): method test_exterior_is_list_of_tuples_of_ints (line 57) | def test_exterior_is_list_of_tuples_of_ints(self): method test_exterior_is_float32_array (line 70) | def test_exterior_is_float32_array(self): method test_exterior_is_float64_array (line 89) | def test_exterior_is_float64_array(self): method test_exterior_is_empty_list (line 108) | def test_exterior_is_empty_list(self): method test_exterior_is_empty_array (line 114) | def test_exterior_is_empty_array(self): method test_fails_if_exterior_is_array_with_wrong_shape (line 120) | def test_fails_if_exterior_is_array_with_wrong_shape(self): method test_label_is_none (line 124) | def test_label_is_none(self): method test_label_is_string (line 129) | def test_label_is_string(self): class TestPolygon_coords (line 135) | class TestPolygon_coords(unittest.TestCase): method test_with_three_points (line 136) | def test_with_three_points(self): class TestPolygon_xx (line 141) | class TestPolygon_xx(unittest.TestCase): method test_filled_polygon (line 142) | def test_filled_polygon(self): method test_empty_polygon (line 148) | def test_empty_polygon(self): class TestPolygon_yy (line 155) | class TestPolygon_yy(unittest.TestCase): method test_filled_polygon (line 156) | def test_filled_polygon(self): method test_empty_polygon (line 162) | def test_empty_polygon(self): class TestPolygon_xx_int (line 169) | class TestPolygon_xx_int(unittest.TestCase): method test_filled_polygon (line 170) | def test_filled_polygon(self): method test_empty_polygon (line 176) | def test_empty_polygon(self): class TestPolygon_yy_int (line 183) | class TestPolygon_yy_int(unittest.TestCase): method test_filled_polygon (line 184) | def test_filled_polygon(self): method test_empty_polygon (line 190) | def test_empty_polygon(self): class TestPolygon_is_valid (line 197) | class TestPolygon_is_valid(unittest.TestCase): method test_filled_polygon (line 198) | def test_filled_polygon(self): method test_empty_polygon (line 202) | def test_empty_polygon(self): method test_polygon_with_one_point (line 206) | def test_polygon_with_one_point(self): method test_polygon_with_two_points (line 210) | def test_polygon_with_two_points(self): method test_polygon_with_self_intersection (line 214) | def test_polygon_with_self_intersection(self): method test_polygon_with_consecutive_identical_points (line 219) | def test_polygon_with_consecutive_identical_points(self): class TestPolygon_area (line 224) | class TestPolygon_area(unittest.TestCase): method test_square_polygon (line 225) | def test_square_polygon(self): method test_rectangular_polygon (line 229) | def test_rectangular_polygon(self): method test_triangular_polygon (line 233) | def test_triangular_polygon(self): method test_polygon_with_two_points (line 237) | def test_polygon_with_two_points(self): method test_polygon_with_one_point (line 241) | def test_polygon_with_one_point(self): method test_polygon_with_zero_points (line 245) | def test_polygon_with_zero_points(self): class TestPolygon_height (line 250) | class TestPolygon_height(unittest.TestCase): method test_square_polygon (line 251) | def test_square_polygon(self): method test_rectangular_polygon (line 255) | def test_rectangular_polygon(self): method test_triangular_polygon (line 259) | def test_triangular_polygon(self): method test_polygon_with_two_points (line 263) | def test_polygon_with_two_points(self): method test_polygon_with_one_point (line 267) | def test_polygon_with_one_point(self): class TestPolygon_width (line 272) | class TestPolygon_width(unittest.TestCase): method test_square_polygon (line 273) | def test_square_polygon(self): method test_rectangular_polygon (line 277) | def test_rectangular_polygon(self): method test_triangular_polygon (line 281) | def test_triangular_polygon(self): method test_polygon_with_two_points (line 285) | def test_polygon_with_two_points(self): method test_polygon_with_one_point (line 289) | def test_polygon_with_one_point(self): class TestPolygon_project_ (line 294) | class TestPolygon_project_(unittest.TestCase): method _is_inplace (line 296) | def _is_inplace(self): method _func (line 299) | def _func(self, poly, from_shape, to_shape): method test_project_square_to_image_of_identical_shape (line 302) | def test_project_square_to_image_of_identical_shape(self): method test_project_square_to_image_with_twice_the_height_and_width (line 319) | def test_project_square_to_image_with_twice_the_height_and_width(self): method test_project_square_to_image_with_twice_the_height_but_same_width (line 336) | def test_project_square_to_image_with_twice_the_height_but_same_width(... method test_project_empty_exterior (line 353) | def test_project_empty_exterior(self): method test_inplaceness (line 359) | def test_inplaceness(self): class TestPolygon_project (line 370) | class TestPolygon_project(TestPolygon_project_): method _is_inplace (line 372) | def _is_inplace(self): method _func (line 375) | def _func(self, poly, from_shape, to_shape): class TestPolygon_find_closest_point_idx (line 379) | class TestPolygon_find_closest_point_idx(unittest.TestCase): method test_without_return_distance (line 380) | def test_without_return_distance(self): method test_with_return_distance (line 390) | def test_with_return_distance(self): method test_fails_for_empty_exterior (line 408) | def test_fails_for_empty_exterior(self): class TestPolygon_compute_out_of_image_area (line 414) | class TestPolygon_compute_out_of_image_area(unittest.TestCase): method test_fully_inside_image_plane (line 415) | def test_fully_inside_image_plane(self): method test_partially_outside_of_image_plane (line 421) | def test_partially_outside_of_image_plane(self): method test_fully_outside_of_image_plane (line 427) | def test_fully_outside_of_image_plane(self): method test_multiple_polygons_after_clip (line 433) | def test_multiple_polygons_after_clip(self): class TestPolygon_compute_out_of_image_fraction (line 449) | class TestPolygon_compute_out_of_image_fraction(unittest.TestCase): method test_polygon_with_zero_points (line 450) | def test_polygon_with_zero_points(self): method test_polygon_with_one_point (line 456) | def test_polygon_with_one_point(self): method test_polygon_with_one_point_ooi (line 462) | def test_polygon_with_one_point_ooi(self): method test_polygon_with_two_points (line 468) | def test_polygon_with_two_points(self): method test_polygon_with_two_points_one_ooi (line 474) | def test_polygon_with_two_points_one_ooi(self): method test_polygon_with_three_points_as_line (line 480) | def test_polygon_with_three_points_as_line(self): method test_standard_polygon_not_ooi (line 486) | def test_standard_polygon_not_ooi(self): method test_standard_polygon_partially_ooi (line 492) | def test_standard_polygon_partially_ooi(self): method test_standard_polygon_fully_ooi (line 498) | def test_standard_polygon_fully_ooi(self): method test_zero_sized_image_axes (line 504) | def test_zero_sized_image_axes(self): class TestPolygon_is_fully_within_image (line 511) | class TestPolygon_is_fully_within_image(unittest.TestCase): method test_barely_within_image__shape_as_3d_tuple (line 512) | def test_barely_within_image__shape_as_3d_tuple(self): method test_barely_within_image__shape_as_2d_tuple (line 516) | def test_barely_within_image__shape_as_2d_tuple(self): method test_barely_within_image__shape_as_ndarray (line 520) | def test_barely_within_image__shape_as_ndarray(self): method test_right_and_bottom_sides_overlap__shape_as_3d_tuple (line 526) | def test_right_and_bottom_sides_overlap__shape_as_3d_tuple(self): method test_right_and_bottom_sides_overlap__shape_as_2d_tuple (line 530) | def test_right_and_bottom_sides_overlap__shape_as_2d_tuple(self): method test_right_and_bottom_sides_overlap__shape_as_ndarray (line 534) | def test_right_and_bottom_sides_overlap__shape_as_ndarray(self): method test_far_outside_of_image__shape_as_3d_tuple (line 540) | def test_far_outside_of_image__shape_as_3d_tuple(self): method test_exterior_empty_fails (line 544) | def test_exterior_empty_fails(self): class TestPolygon_is_partly_within_image (line 550) | class TestPolygon_is_partly_within_image(unittest.TestCase): method test_barely_within_image__shape_as_3d_tuple (line 551) | def test_barely_within_image__shape_as_3d_tuple(self): method test_barely_within_image__shape_as_2d_tuple (line 555) | def test_barely_within_image__shape_as_2d_tuple(self): method test_barely_within_image__shape_as_ndarray (line 559) | def test_barely_within_image__shape_as_ndarray(self): method test_right_and_bottom_sides_overlap__shape_as_3d_tuple (line 565) | def test_right_and_bottom_sides_overlap__shape_as_3d_tuple(self): method test_right_and_bottom_sides_overlap__shape_as_2d_tuple (line 569) | def test_right_and_bottom_sides_overlap__shape_as_2d_tuple(self): method test_right_and_bottom_sides_overlap__shape_as_ndarray (line 573) | def test_right_and_bottom_sides_overlap__shape_as_ndarray(self): method test_far_outside_of_image__shape_as_3d_tuple (line 577) | def test_far_outside_of_image__shape_as_3d_tuple(self): method test_far_outside_of_image__shape_as_2d_tuple (line 581) | def test_far_outside_of_image__shape_as_2d_tuple(self): method test_far_outside_of_image__shape_as_ndarray (line 585) | def test_far_outside_of_image__shape_as_ndarray(self): method test_exterior_empty_fails (line 591) | def test_exterior_empty_fails(self): class TestPolygon_is_out_of_image (line 597) | class TestPolygon_is_out_of_image(unittest.TestCase): method test_barely_within_image (line 598) | def test_barely_within_image(self): method test_right_and_bottom_sides_overlap__shape_as_ndarray (line 612) | def test_right_and_bottom_sides_overlap__shape_as_ndarray(self): method test_far_outside_of_image__shape_as_3d_tuple (line 621) | def test_far_outside_of_image__shape_as_3d_tuple(self): method test_triangle_partially_outside_of_image (line 630) | def test_triangle_partially_outside_of_image(self): method test_rectangle_with_all_corners_outside_of_the_image (line 636) | def test_rectangle_with_all_corners_outside_of_the_image(self): method test_polygon_with_two_points (line 644) | def test_polygon_with_two_points(self): method test_polygon_with_one_point (line 653) | def test_polygon_with_one_point(self): method test_polygon_with_zero_points_fails (line 660) | def test_polygon_with_zero_points_fails(self): class TestPolygon_cut_out_of_image (line 673) | class TestPolygon_cut_out_of_image(unittest.TestCase): method test_warns_of_deprecation (line 675) | def test_warns_of_deprecation(self, mock_clip): class TestPolygon_clip_out_of_image (line 686) | class TestPolygon_clip_out_of_image(unittest.TestCase): method test_polygon_inside_of_image (line 687) | def test_polygon_inside_of_image(self): method test_polygon_half_outside_of_image (line 697) | def test_polygon_half_outside_of_image(self): method test_single_edge_intersecting_with_image_edge (line 713) | def test_single_edge_intersecting_with_image_edge(self): method test_tiny_area_around_image_edge_intersecting (line 721) | def test_tiny_area_around_image_edge_intersecting(self): method test_single_point_intersecting_with_image (line 738) | def test_single_point_intersecting_with_image(self): method test_tiny_area_around_image_corner_point_intersecting_with_image (line 746) | def test_tiny_area_around_image_corner_point_intersecting_with_image(s... method test_polygon_clipped_to_two_separate_polygons (line 763) | def test_polygon_clipped_to_two_separate_polygons(self): method test_polygon_fully_outside_of_the_image (line 789) | def test_polygon_fully_outside_of_the_image(self): method test_small_intersection_with_image_one_poly_point_inside_image (line 796) | def test_small_intersection_with_image_one_poly_point_inside_image(self): method test_small_intersection_with_image_no_poly_point_inside_image (line 810) | def test_small_intersection_with_image_no_poly_point_inside_image(self): method test_polygon_with_two_points_that_is_not_clipped (line 825) | def test_polygon_with_two_points_that_is_not_clipped(self): method test_polygon_with_two_points_that_is_clipped (line 836) | def test_polygon_with_two_points_that_is_clipped(self): method test_polygon_with_one_point_that_is_not_clipped (line 846) | def test_polygon_with_one_point_that_is_not_clipped(self): method test_polygon_with_one_point_that_is_clipped (line 856) | def test_polygon_with_one_point_that_is_clipped(self): class TestPolygon_shift_ (line 863) | class TestPolygon_shift_(unittest.TestCase): method _is_inplace (line 865) | def _is_inplace(self): method _func (line 868) | def _func(self, poly, *args, **kwargs): method poly (line 875) | def poly(self): method test_shift_along_xy (line 878) | def test_shift_along_xy(self): method test_inplaceness (line 888) | def test_inplaceness(self): class TestPolygon_shift (line 898) | class TestPolygon_shift(TestPolygon_shift_): method _is_inplace (line 900) | def _is_inplace(self): method _func (line 903) | def _func(self, poly, *args, **kwargs): method test_shift_does_not_work_inplace (line 909) | def test_shift_does_not_work_inplace(self): method test_shift_from_top (line 925) | def test_shift_from_top(self): method test_shift_from_bottom (line 937) | def test_shift_from_bottom(self): method test_shift_from_top_and_bottom (line 949) | def test_shift_from_top_and_bottom(self): method test_shift_from_left (line 961) | def test_shift_from_left(self): method test_shift_from_right (line 973) | def test_shift_from_right(self): method test_shift_from_left_and_right (line 985) | def test_shift_from_left_and_right(self): class TestPolygon_draw_on_image (line 998) | class TestPolygon_draw_on_image(unittest.TestCase): method image (line 1000) | def image(self): method test_square_polygon (line 1006) | def test_square_polygon(self): method test_square_polygon_use_no_color_subargs (line 1044) | def test_square_polygon_use_no_color_subargs(self): method test_square_polygon_on_float32_image (line 1080) | def test_square_polygon_on_float32_image(self): method test_square_polygon_half_outside_of_image (line 1115) | def test_square_polygon_half_outside_of_image(self): method test_square_polygon_half_outside_of_image_with_raise_if_ooi (line 1150) | def test_square_polygon_half_outside_of_image_with_raise_if_ooi(self): method test_polygon_fully_outside_of_image (line 1173) | def test_polygon_fully_outside_of_image(self): method test_polygon_fully_outside_of_image_with_raise_if_ooi (line 1190) | def test_polygon_fully_outside_of_image_with_raise_if_ooi(self): method test_only_lines_visible (line 1213) | def test_only_lines_visible(self): method test_only_face_visible (line 1237) | def test_only_face_visible(self): method test_alpha_is_080 (line 1260) | def test_alpha_is_080(self): method test_face_and_lines_at_half_visibility (line 1288) | def test_face_and_lines_at_half_visibility(self): class TestPolygon_extract_from_image (line 1351) | class TestPolygon_extract_from_image(unittest.TestCase): method image (line 1353) | def image(self): method test_polygon_is_identical_with_image_shape (line 1356) | def test_polygon_is_identical_with_image_shape(self): method test_polygon_is_subpart_of_image (line 1362) | def test_polygon_is_subpart_of_image(self): method test_polygon_fully_inside_image__no_rectangular_shape (line 1369) | def test_polygon_fully_inside_image__no_rectangular_shape(self): method test_polygon_is_partially_outside_of_image (line 1380) | def test_polygon_is_partially_outside_of_image(self): method test_polygon_is_fully_outside_of_image (line 1388) | def test_polygon_is_fully_outside_of_image(self): method test_polygon_coords_after_rounding_are_identical_with_img_shape (line 1395) | def test_polygon_coords_after_rounding_are_identical_with_img_shape(se... method test_polygon_coords_after_rounding_are_subpart_of_image (line 1402) | def test_polygon_coords_after_rounding_are_subpart_of_image(self): method test_polygon_coords_after_rounding_are_subpart_of_image2 (line 1410) | def test_polygon_coords_after_rounding_are_subpart_of_image2(self): method test_polygon_without_area_fails (line 1418) | def test_polygon_without_area_fails(self): class TestPolygon_change_first_point_by_coords (line 1430) | class TestPolygon_change_first_point_by_coords(unittest.TestCase): method test_change_to_first_point_in_exterior (line 1431) | def test_change_to_first_point_in_exterior(self): method test_change_to_first_second_in_exterior (line 1436) | def test_change_to_first_second_in_exterior(self): method test_change_to_third_point_in_exterior (line 1444) | def test_change_to_third_point_in_exterior(self): method test_coords_slightly_off_from_target_point_limited_max_distance (line 1450) | def test_coords_slightly_off_from_target_point_limited_max_distance(se... method test_coords_slightly_off_from_target_point_infinite_max_distance (line 1458) | def test_coords_slightly_off_from_target_point_infinite_max_distance(s... method test_closest_point_to_coords_exceeds_max_distance (line 1466) | def test_closest_point_to_coords_exceeds_max_distance(self): method test_polygon_with_two_points (line 1477) | def test_polygon_with_two_points(self): method test_polygon_with_one_point (line 1484) | def test_polygon_with_one_point(self): method test_polygon_with_zero_points_fails (line 1490) | def test_polygon_with_zero_points_fails(self): class TestPolygon_change_first_point_by_index (line 1502) | class TestPolygon_change_first_point_by_index(unittest.TestCase): method test_change_to_point_with_index_0 (line 1503) | def test_change_to_point_with_index_0(self): method test_change_to_point_with_index_1 (line 1508) | def test_change_to_point_with_index_1(self): method test_change_to_point_with_index_2 (line 1517) | def test_change_to_point_with_index_2(self): method test_polygon_with_two_points (line 1523) | def test_polygon_with_two_points(self): method test_polygon_with_one_point (line 1530) | def test_polygon_with_one_point(self): method test_polygon_with_zero_points_fails (line 1536) | def test_polygon_with_zero_points_fails(self): method test_index_beyond_max_index_fails (line 1545) | def test_index_beyond_max_index_fails(self): method test_index_beyond_max_index_fails__single_point_polygon (line 1555) | def test_index_beyond_max_index_fails__single_point_polygon(self): method test_index_below_zero_fails (line 1564) | def test_index_below_zero_fails(self): class TestPolygon_subdivide_ (line 1574) | class TestPolygon_subdivide_(unittest.TestCase): method _is_inplace (line 1576) | def _is_inplace(self): method _func (line 1579) | def _func(self, poly, points_per_edge): method test_zero_points (line 1582) | def test_zero_points(self): method test_one_point (line 1587) | def test_one_point(self): method test_two_points (line 1592) | def test_two_points(self): method test_three_points (line 1603) | def test_three_points(self): method test_three_points__n_points_0 (line 1616) | def test_three_points__n_points_0(self): method test_three_points__n_points_2 (line 1626) | def test_three_points__n_points_2(self): method test_label_none_is_preserved (line 1642) | def test_label_none_is_preserved(self): method test_label_str_is_preserved (line 1647) | def test_label_str_is_preserved(self): method test_inplaceness (line 1652) | def test_inplaceness(self): class TestPolygon_subdivide (line 1662) | class TestPolygon_subdivide(TestPolygon_subdivide_): method _is_inplace (line 1664) | def _is_inplace(self): method _func (line 1667) | def _func(self, poly, points_per_edge): class TestPolygon_to_shapely_line_string (line 1671) | class TestPolygon_to_shapely_line_string(unittest.TestCase): method test_three_point_polygon (line 1672) | def test_three_point_polygon(self): method test_two_point_polygon (line 1677) | def test_two_point_polygon(self): method test_one_point_polygon_fails (line 1683) | def test_one_point_polygon_fails(self): method test_zero_point_polygon_fails (line 1696) | def test_zero_point_polygon_fails(self): method test_closed_is_true (line 1709) | def test_closed_is_true(self): method test_interpolate_is_1 (line 1716) | def test_interpolate_is_1(self): method test_interpolate_is_2 (line 1725) | def test_interpolate_is_2(self): method test_closed_is_true_and_interpolate_is_1 (line 1735) | def test_closed_is_true_and_interpolate_is_1(self): class TestPolygon_to_shapely_polygon (line 1745) | class TestPolygon_to_shapely_polygon(unittest.TestCase): method test_square_polygon (line 1746) | def test_square_polygon(self): class TestPolygon_to_bounding_box (line 1756) | class TestPolygon_to_bounding_box(unittest.TestCase): method test_square_polygon (line 1757) | def test_square_polygon(self): method test_triangular_polygon (line 1765) | def test_triangular_polygon(self): method test_triangular_polygon2 (line 1773) | def test_triangular_polygon2(self): class TestPolygon_to_line_string (line 1782) | class TestPolygon_to_line_string(unittest.TestCase): method test_polygon_with_zero_points (line 1783) | def test_polygon_with_zero_points(self): method test_polygon_with_zero_points__closed_is_true (line 1789) | def test_polygon_with_zero_points__closed_is_true(self): method test_polygon_with_zero_points__label_set (line 1795) | def test_polygon_with_zero_points__label_set(self): method test_polygon_with_one_point (line 1801) | def test_polygon_with_one_point(self): method test_polygon_with_one_point__closed_is_true (line 1807) | def test_polygon_with_one_point__closed_is_true(self): method test_polygon_with_two_points (line 1814) | def test_polygon_with_two_points(self): method test_polygon_with_two_point__closed_is_true (line 1821) | def test_polygon_with_two_point__closed_is_true(self): method test_polygon_with_two_points__label_is_set (line 1828) | def test_polygon_with_two_points__label_is_set(self): method test_polygon_with_two_point__closed_is_true_label_is_set (line 1835) | def test_polygon_with_two_point__closed_is_true_label_is_set(self): class TestPolygon_from_shapely (line 1843) | class TestPolygon_from_shapely(unittest.TestCase): method test_square_polygon (line 1844) | def test_square_polygon(self): method test_polygon_with_zero_points (line 1863) | def test_polygon_with_zero_points(self): class TestPolygon_copy (line 1869) | class TestPolygon_copy(unittest.TestCase): method test_square_polygon_with_label (line 1870) | def test_square_polygon_with_label(self): class TestPolygon_deepcopy (line 1879) | class TestPolygon_deepcopy(unittest.TestCase): method test_square_polygon_with_label (line 1880) | def test_square_polygon_with_label(self): method test_copy_is_not_shallow (line 1888) | def test_copy_is_not_shallow(self): class TestPolygon___repr___and___str__ (line 1899) | class TestPolygon___repr___and___str__(unittest.TestCase): method test_with_int_coordinates_provided_to_init (line 1900) | def test_with_int_coordinates_provided_to_init(self): method test_with_float_coordinates_provided_to_init (line 1913) | def test_with_float_coordinates_provided_to_init(self): method test_label_is_none (line 1926) | def test_label_is_none(self): method test_polygon_has_zero_points (line 1939) | def test_polygon_has_zero_points(self): class TestPolygon_coords_almost_equals (line 1946) | class TestPolygon_coords_almost_equals(unittest.TestCase): method test_calls_exterior_almost_equals (line 1948) | def test_calls_exterior_almost_equals(self, mock_eae): method test_calls_exterior_almost_equals__no_defaults (line 1960) | def test_calls_exterior_almost_equals__no_defaults(self, mock_eae): class TestPolygon_exterior_almost_equals (line 1973) | class TestPolygon_exterior_almost_equals(unittest.TestCase): method test_exactly_same_exterior (line 1974) | def test_exactly_same_exterior(self): method test_one_point_duplicated (line 1980) | def test_one_point_duplicated(self): method test_several_points_added_without_changing_basic_shape (line 1986) | def test_several_points_added_without_changing_basic_shape(self): method test_different_order (line 1992) | def test_different_order(self): method test_tiny_shift_below_max_distance (line 1998) | def test_tiny_shift_below_max_distance(self): method test_tiny_shift_above_max_distance (line 2005) | def test_tiny_shift_above_max_distance(self): method test_polygons_with_half_intersection (line 2012) | def test_polygons_with_half_intersection(self): method test_polygons_without_any_intersection (line 2018) | def test_polygons_without_any_intersection(self): method test_both_polygons_with_zero_points (line 2024) | def test_both_polygons_with_zero_points(self): method test_both_polygons_with_one_point__both_identical (line 2030) | def test_both_polygons_with_one_point__both_identical(self): method test_both_polygons_with_zero_points__both_different (line 2036) | def test_both_polygons_with_zero_points__both_different(self): method test_both_polygons_with_zero_points__difference_below_max_dist (line 2041) | def test_both_polygons_with_zero_points__difference_below_max_dist(self): method test_both_polygons_with_zero_points_difference_above_max_dist (line 2046) | def test_both_polygons_with_zero_points_difference_above_max_dist(self): method test_both_polygons_with_two_points__identical (line 2051) | def test_both_polygons_with_two_points__identical(self): method test_both_polygons_with_two_points__identical_and_zero_area (line 2057) | def test_both_polygons_with_two_points__identical_and_zero_area(self): method test_both_polygons_with_two_points__second_point_different (line 2062) | def test_both_polygons_with_two_points__second_point_different(self): method test_both_polygons_with_two_points__difference_below_max_dist (line 2067) | def test_both_polygons_with_two_points__difference_below_max_dist(self): method test_both_polygons_with_three_points__identical (line 2072) | def test_both_polygons_with_three_points__identical(self): method test_both_polygons_with_three_points__one_point_differs (line 2078) | def test_both_polygons_with_three_points__one_point_differs(self): method test_both_polygons_with_three_points__difference_below_max_dist (line 2083) | def test_both_polygons_with_three_points__difference_below_max_dist(se... method test_one_polygon_zero_points_other_one_point (line 2088) | def test_one_polygon_zero_points_other_one_point(self): method test_one_polygon_one_point_other_zero_points (line 2094) | def test_one_polygon_one_point_other_zero_points(self): method test_one_polygon_one_point_other_two_points (line 2099) | def test_one_polygon_one_point_other_two_points(self): method test_one_polygon_one_point_other_two_points_2 (line 2105) | def test_one_polygon_one_point_other_two_points_2(self): method test_one_polygon_two_points_other_one_point (line 2110) | def test_one_polygon_two_points_other_one_point(self): method test_one_polygon_two_points_other_one_point__all_identical (line 2115) | def test_one_polygon_two_points_other_one_point__all_identical(self): method test_one_polygon_one_point_other_two_points__all_identical (line 2120) | def test_one_polygon_one_point_other_two_points__all_identical(self): method test_one_polygon_two_points_other_one_point__diff_below_max_dist (line 2125) | def test_one_polygon_two_points_other_one_point__diff_below_max_dist(s... method test_one_polygon_two_points_other_one_point__diff_above_max_dist (line 2130) | def test_one_polygon_two_points_other_one_point__diff_above_max_dist(s... method test_one_polygon_one_point_other_three_points (line 2135) | def test_one_polygon_one_point_other_three_points(self): method test_one_polygon_three_points_other_one_point (line 2141) | def test_one_polygon_three_points_other_one_point(self): method test_one_polygon_one_point_other_three_points__all_identical (line 2146) | def test_one_polygon_one_point_other_three_points__all_identical(self): method test_one_polygon_one_point_other_three_points__one_point_differs (line 2151) | def test_one_polygon_one_point_other_three_points__one_point_differs(s... method test_one_polygon_one_point_other_three_points__one_point_differs2 (line 2156) | def test_one_polygon_one_point_other_three_points__one_point_differs2(... method test_one_polygon_one_point_other_three_points__dist_below_max (line 2161) | def test_one_polygon_one_point_other_three_points__dist_below_max(self): method test_one_polygon_one_point_other_three_points__dist_above_max (line 2166) | def test_one_polygon_one_point_other_three_points__dist_above_max(self): class TestPolygon_almost_equals (line 2172) | class TestPolygon_almost_equals(unittest.TestCase): method test_both_polygons_empty (line 2173) | def test_both_polygons_empty(self): method test_both_polygons_one_point (line 2178) | def test_both_polygons_one_point(self): method test_one_polygon_one_point_other_two_points__all_identical (line 2183) | def test_one_polygon_one_point_other_two_points__all_identical(self): method test_one_polygon_one_point_other_three_points__all_identical (line 2188) | def test_one_polygon_one_point_other_three_points__all_identical(self): method test_one_polygon_one_point_other_two_points__diff_below_max_dist (line 2193) | def test_one_polygon_one_point_other_two_points__diff_below_max_dist(s... method test_both_polygons_one_point__first_with_label (line 2198) | def test_both_polygons_one_point__first_with_label(self): method test_both_polygons_one_point__second_with_label (line 2203) | def test_both_polygons_one_point__second_with_label(self): method test_both_polygons_one_point__both_with_label (line 2208) | def test_both_polygons_one_point__both_with_label(self): method test_both_polygons_one_point__both_with_label_but_point_differs (line 2213) | def test_both_polygons_one_point__both_with_label_but_point_differs(se... method test_both_polygons_one_point__same_point_but_labels_differ (line 2218) | def test_both_polygons_one_point__same_point_but_labels_differ(self): method test_both_polygons_three_points (line 2223) | def test_both_polygons_three_points(self): method test_one_polygon_one_point_other_three_points (line 2228) | def test_one_polygon_one_point_other_three_points(self): class TestPolygon___getitem__ (line 2234) | class TestPolygon___getitem__(unittest.TestCase): method test_with_three_points (line 2235) | def test_with_three_points(self): method test_with_three_points_slice (line 2241) | def test_with_three_points_slice(self): class TestPolygon___iter__ (line 2246) | class TestPolygon___iter__(unittest.TestCase): method test_with_three_points (line 2247) | def test_with_three_points(self): method test_with_zero_points (line 2259) | def test_with_zero_points(self): class TestPolygonsOnImage___init__ (line 2270) | class TestPolygonsOnImage___init__(unittest.TestCase): method test_with_one_polygon (line 2271) | def test_with_one_polygon(self): method test_with_multiple_polygons (line 2284) | def test_with_multiple_polygons(self): method test_with_zero_polygons (line 2307) | def test_with_zero_polygons(self): method test_with_invalid_polygon (line 2315) | def test_with_invalid_polygon(self): method test_with_zero_polygons_and_shape_given_as_array (line 2327) | def test_with_zero_polygons_and_shape_given_as_array(self): method test_with_zero_polygons_and_shape_given_as_2d_tuple (line 2336) | def test_with_zero_polygons_and_shape_given_as_2d_tuple(self): class TestPolygonsOnImage_items (line 2345) | class TestPolygonsOnImage_items(unittest.TestCase): method test_with_two_polygons (line 2346) | def test_with_two_polygons(self): method test_items_empty (line 2358) | def test_items_empty(self): class TestPolygonsOnImage_items_setter (line 2366) | class TestPolygonsOnImage_items_setter(unittest.TestCase): method test_with_list_of_polygons (line 2367) | def test_with_list_of_polygons(self): class TestPolygonsOnImage_empty (line 2379) | class TestPolygonsOnImage_empty(unittest.TestCase): method test_with_multiple_polygons (line 2380) | def test_with_multiple_polygons(self): method test_with_zero_polygons (line 2389) | def test_with_zero_polygons(self): class TestPolygonsOnImage_on_ (line 2395) | class TestPolygonsOnImage_on_(unittest.TestCase): method _is_inplace (line 2397) | def _is_inplace(self): method _func (line 2400) | def _func(self, psoi, image): method test_new_shape_is_identical_to_old_shape (line 2403) | def test_new_shape_is_identical_to_old_shape(self): method test_new_shape_is_10x_smaller_than_old_shape (line 2426) | def test_new_shape_is_10x_smaller_than_old_shape(self): method test_new_shape_is_2x_width_and_10x_height_of_old_shape (line 2449) | def test_new_shape_is_2x_width_and_10x_height_of_old_shape(self): class TestPolygonsOnImage_on (line 2463) | class TestPolygonsOnImage_on(TestPolygonsOnImage_on_): method _is_inplace (line 2465) | def _is_inplace(self): method _func (line 2468) | def _func(self, psoi, image): class TestPolygonsOnImage_draw_on_image (line 2472) | class TestPolygonsOnImage_draw_on_image(unittest.TestCase): method test_with_zero_polygons (line 2473) | def test_with_zero_polygons(self): method test_with_two_polygons (line 2482) | def test_with_two_polygons(self): class TestPolygonsOnImage_remove_out_of_image_ (line 2501) | class TestPolygonsOnImage_remove_out_of_image_(unittest.TestCase): method _is_inplace (line 2503) | def _is_inplace(self): method _func (line 2506) | def _func(self, psoi, fully=True, partly=False): method test_with_zero_polygons (line 2509) | def test_with_zero_polygons(self): method test_one_polygon_fully_inside_image (line 2519) | def test_one_polygon_fully_inside_image(self): method test_one_poly_partially_ooi_one_fully_ooi (line 2534) | def test_one_poly_partially_ooi_one_fully_ooi(self): method test_inplaceness (line 2573) | def test_inplaceness(self): class TestPolygonsOnImage_remove_out_if_image (line 2587) | class TestPolygonsOnImage_remove_out_if_image( method _is_inplace (line 2590) | def _is_inplace(self): method _func (line 2593) | def _func(self, psoi, fully=True, partly=False): class TestPolygonsOnImage_remove_out_of_image_fraction_ (line 2597) | class TestPolygonsOnImage_remove_out_of_image_fraction_(unittest.TestCase): method test_three_polygons (line 2598) | def test_three_polygons(self): class TestPolygonsOnImage_remove_out_of_image_fraction (line 2612) | class TestPolygonsOnImage_remove_out_of_image_fraction(unittest.TestCase): method test_three_polygons (line 2613) | def test_three_polygons(self): class TestPolygonsOnImage_clip_out_of_image_ (line 2627) | class TestPolygonsOnImage_clip_out_of_image_(unittest.TestCase): method _is_inplace (line 2633) | def _is_inplace(self): method _func (line 2636) | def _func(self, psoi): method _any_point_close (line 2640) | def _any_point_close(cls, points, point_search): method test_with_zero_polygons (line 2647) | def test_with_zero_polygons(self): method test_with_one_polygon_fully_inside (line 2654) | def test_with_one_polygon_fully_inside(self): method test_with_one_polygon_partially_ooi (line 2666) | def test_with_one_polygon_partially_ooi(self): method test_with_one_polygon_fully_ooi (line 2678) | def test_with_one_polygon_fully_ooi(self): method test_with_three_pols_one_not_ooi_one_partially_ooi_one_fully_ooi (line 2687) | def test_with_three_pols_one_not_ooi_one_partially_ooi_one_fully_ooi(s... method test_inplaceness (line 2705) | def test_inplaceness(self): class TestPolygonsOnImage_clip_out_of_image (line 2718) | class TestPolygonsOnImage_clip_out_of_image( method _is_inplace (line 2721) | def _is_inplace(self): method _func (line 2724) | def _func(self, psoi): class TestPolygonsOnImage_shift_ (line 2728) | class TestPolygonsOnImage_shift_(unittest.TestCase): method _is_inplace (line 2730) | def _is_inplace(self): method _func (line 2733) | def _func(self, psoi, *args, **kwargs): method test_with_three_polygons_along_xy (line 2741) | def test_with_three_polygons_along_xy(self): method test_inplaceness (line 2762) | def test_inplaceness(self): class TestPolygonsOnImage_shift (line 2777) | class TestPolygonsOnImage_shift(TestPolygonsOnImage_shift_): method _is_inplace (line 2779) | def _is_inplace(self): method _func (line 2782) | def _func(self, psoi, *args, **kwargs): method test_with_zero_polygons (line 2788) | def test_with_zero_polygons(self): method test_with_three_polygons (line 2796) | def test_with_three_polygons(self): class TestPolygonsOnImage_subdivide_ (line 2819) | class TestPolygonsOnImage_subdivide_(unittest.TestCase): method _is_inplace (line 2821) | def _is_inplace(self): method _func (line 2824) | def _func(self, psoi, points_per_edge): method test_mocked (line 2827) | def test_mocked(self): method test_with_zero_polygons (line 2844) | def test_with_zero_polygons(self): method test_with_one_polygon (line 2850) | def test_with_one_polygon(self): method test_inplaceness (line 2863) | def test_inplaceness(self): class TestPolygonsOnImage_subdivide (line 2875) | class TestPolygonsOnImage_subdivide(TestPolygonsOnImage_subdivide_): method _is_inplace (line 2877) | def _is_inplace(self): method _func (line 2880) | def _func(self, psoi, points_per_edge): method test_mocked (line 2883) | def test_mocked(self): class TestPolygonsOnImage_to_xy_array (line 2903) | class TestPolygonsOnImage_to_xy_array(unittest.TestCase): method test_filled_object (line 2904) | def test_filled_object(self): method test_empty_object (line 2924) | def test_empty_object(self): class TestPolygonsOnImage_fill_from_xy_array_ (line 2935) | class TestPolygonsOnImage_fill_from_xy_array_(unittest.TestCase): method test_empty_array (line 2936) | def test_empty_array(self): method test_empty_list (line 2944) | def test_empty_list(self): method test_array_with_two_coords (line 2952) | def test_array_with_two_coords(self): method test_list_with_two_coords (line 2975) | def test_list_with_two_coords(self): class TestPolygonsOnImage_to_keypoints_on_image (line 2998) | class TestPolygonsOnImage_to_keypoints_on_image(unittest.TestCase): method test_filled_instance (line 2999) | def test_filled_instance(self): method test_empty_instance (line 3021) | def test_empty_instance(self): class TestPolygonsOnImage_invert_to_keypoints_on_image (line 3029) | class TestPolygonsOnImage_invert_to_keypoints_on_image(unittest.TestCase): method test_filled_instance (line 3030) | def test_filled_instance(self): method test_empty_instance (line 3053) | def test_empty_instance(self): class TestPolygonsOnImage_copy (line 3063) | class TestPolygonsOnImage_copy(unittest.TestCase): method test_with_two_polygons (line 3064) | def test_with_two_polygons(self): method test_polygons_parameter_set (line 3091) | def test_polygons_parameter_set(self): method test_shape_parameter_set (line 3103) | def test_shape_parameter_set(self): class TestPolygonsOnImage_deepcopy (line 3115) | class TestPolygonsOnImage_deepcopy(unittest.TestCase): method test_with_two_polygons (line 3116) | def test_with_two_polygons(self): method test_polygons_parameter_set (line 3152) | def test_polygons_parameter_set(self): method test_shape_parameter_set (line 3165) | def test_shape_parameter_set(self): class TestPolygonsOnImage___getitem__ (line 3179) | class TestPolygonsOnImage___getitem__(unittest.TestCase): method test_with_two_polygons (line 3180) | def test_with_two_polygons(self): class TestPolygonsOnImage___iter__ (line 3192) | class TestPolygonsOnImage___iter__(unittest.TestCase): method test_with_two_polygons (line 3193) | def test_with_two_polygons(self): method test_with_zero_polygons (line 3201) | def test_with_zero_polygons(self): class TestPolygonsOnImage___len__ (line 3209) | class TestPolygonsOnImage___len__(unittest.TestCase): method test_with_two_polygons (line 3210) | def test_with_two_polygons(self): class TestPolygonsOnImage___repr___and___str__ (line 3217) | class TestPolygonsOnImage___repr___and___str__(unittest.TestCase): method test_with_zero_polygons (line 3218) | def test_with_zero_polygons(self): method test_with_two_polygons (line 3224) | def test_with_two_polygons(self): class Test_ConcavePolygonRecoverer (line 3243) | class Test_ConcavePolygonRecoverer(unittest.TestCase): method setUp (line 3244) | def setUp(self): method _assert_points_are_identical (line 3248) | def _assert_points_are_identical(cls, observed, expected, atol=1e-8, method test_recover_from_fails_for_less_than_three_points (line 3260) | def test_recover_from_fails_for_less_than_three_points(self): method test_recover_from_concave_polygons (line 3274) | def test_recover_from_concave_polygons(self): method test_recover_from_line (line 3297) | def test_recover_from_line(self): method test_recover_from_polygon_with_duplicate_points (line 3313) | def test_recover_from_polygon_with_duplicate_points(self): method test_recover_from_invalid_polygon (line 3329) | def test_recover_from_invalid_polygon(self): method test_recover_from_random_polygons (line 3346) | def test_recover_from_random_polygons(self): method test__remove_consecutive_duplicate_points (line 3373) | def test__remove_consecutive_duplicate_points(self): method test__jitter_duplicate_points (line 3402) | def test__jitter_duplicate_points(self): method test__calculate_circumference (line 3499) | def test__calculate_circumference(self): method test__fit_best_valid_polygon (line 3517) | def test__fit_best_valid_polygon(self): method test__fix_polygon_is_line (line 3587) | def test__fix_polygon_is_line(self): method test__is_polygon_line (line 3614) | def test__is_polygon_line(self): method test__generate_intersection_points (line 3646) | def test__generate_intersection_points(self): method test__oversample_intersection_points (line 3721) | def test__oversample_intersection_points(self): method test__insert_intersection_points (line 3771) | def test__insert_intersection_points(self): FILE: test/augmentables/test_segmaps.py class TestSegmentationMapOnImage (line 25) | class TestSegmentationMapOnImage(unittest.TestCase): method test_warns_that_it_is_deprecated (line 26) | def test_warns_that_it_is_deprecated(self): class TestSegmentationMapsOnImage___init__ (line 40) | class TestSegmentationMapsOnImage___init__(unittest.TestCase): method test_uint_int_arrs (line 41) | def test_uint_int_arrs(self): method test_bool_arr_2d (line 76) | def test_bool_arr_2d(self): method test_bool_arr_3d (line 91) | def test_bool_arr_3d(self): method test_boolean_masks (line 107) | def test_boolean_masks(self): method test_uint32_fails (line 129) | def test_uint32_fails(self): method test_uint64_fails (line 143) | def test_uint64_fails(self): method test_legacy_support_for_float32_2d (line 157) | def test_legacy_support_for_float32_2d(self): method test_legacy_support_for_float32_3d (line 173) | def test_legacy_support_for_float32_3d(self): class TestSegmentationMapsOnImage_get_arr (line 197) | class TestSegmentationMapsOnImage_get_arr(unittest.TestCase): method test_uint_int (line 198) | def test_uint_int(self): method test_bool (line 222) | def test_bool(self): class TestSegmentationMapsOnImage_draw (line 244) | class TestSegmentationMapsOnImage_draw(unittest.TestCase): method segmap (line 246) | def segmap(self): method col (line 255) | def col(cls, idx): method test_with_two_classes (line 258) | def test_with_two_classes(self): method test_use_size_arg_to_resize_to_2x (line 274) | def test_use_size_arg_to_resize_to_2x(self): method test_use_size_arg_to_keep_at_same_size (line 302) | def test_use_size_arg_to_keep_at_same_size(self): method test_colors (line 332) | def test_colors(self): method test_segmap_with_more_than_one_channel (line 348) | def test_segmap_with_more_than_one_channel(self): class TestSegmentationMapsOnImage_draw_on_image (line 397) | class TestSegmentationMapsOnImage_draw_on_image(unittest.TestCase): method segmap (line 399) | def segmap(self): method image (line 408) | def image(self): method col (line 417) | def col(cls, idx): method test_alpha_only_image_is_visible (line 420) | def test_alpha_only_image_is_visible(self): method test_alpha_only_segmap_is_visible (line 428) | def test_alpha_only_segmap_is_visible(self): method test_alpha_with_draw_background (line 443) | def test_alpha_with_draw_background(self): method test_alpha_with_draw_background_and_more_than_one_channel (line 460) | def test_alpha_with_draw_background_and_more_than_one_channel(self): method test_non_binary_alpha_with_draw_background (line 511) | def test_non_binary_alpha_with_draw_background(self): method test_non_binary_alpha_with_draw_background_and_bg_class_id (line 533) | def test_non_binary_alpha_with_draw_background_and_bg_class_id(self): method test_non_binary_alpha_with_draw_background_true (line 557) | def test_non_binary_alpha_with_draw_background_true(self): method test_resize_segmentation_map_to_image (line 586) | def test_resize_segmentation_map_to_image(self): method test_resize_image_to_segmentation_map (line 625) | def test_resize_image_to_segmentation_map(self): method test_background_threshold_leads_to_deprecation_warning (line 664) | def test_background_threshold_leads_to_deprecation_warning(self): class TestSegmentationMapsOnImage_pad (line 680) | class TestSegmentationMapsOnImage_pad(unittest.TestCase): method segmap (line 682) | def segmap(self): method test_default_pad_mode_and_cval (line 690) | def test_default_pad_mode_and_cval(self): method test_default_pad_mode (line 701) | def test_default_pad_mode(self): method test_default_cval (line 713) | def test_default_cval(self): class TestSegmentationMapsOnImage_pad_to_aspect_ratio (line 725) | class TestSegmentationMapsOnImage_pad_to_aspect_ratio(unittest.TestCase): method segmap (line 727) | def segmap(self): method test_square_ratio_with_default_pad_mode_and_cval (line 734) | def test_square_ratio_with_default_pad_mode_and_cval(self): method test_square_ratio_with_cval_set (line 745) | def test_square_ratio_with_cval_set(self): method test_square_ratio_with_pad_mode_edge (line 756) | def test_square_ratio_with_pad_mode_edge(self): method test_higher_than_wide_ratio_with_default_pad_mode_and_cval (line 766) | def test_higher_than_wide_ratio_with_default_pad_mode_and_cval(self): method test_return_pad_amounts (line 777) | def test_return_pad_amounts(self): class TestSegmentationMapsOnImage_resize (line 791) | class TestSegmentationMapsOnImage_resize(unittest.TestCase): method segmap (line 793) | def segmap(self): method test_resize_to_twice_the_size (line 800) | def test_resize_to_twice_the_size(self): class TestSegmentationMapsOnImage_copy (line 816) | class TestSegmentationMapsOnImage_copy(unittest.TestCase): method segmap (line 818) | def segmap(self): method test_copy (line 825) | def test_copy(self): method test_set_new_arr (line 838) | def test_set_new_arr(self): method test_set_new_shape (line 847) | def test_set_new_shape(self): class TestSegmentationMapsOnImage_deepcopy (line 857) | class TestSegmentationMapsOnImage_deepcopy(unittest.TestCase): method segmap (line 859) | def segmap(self): method test_deepcopy (line 866) | def test_deepcopy(self): method test_set_new_arr (line 878) | def test_set_new_arr(self): method test_set_new_shape (line 888) | def test_set_new_shape(self): FILE: test/augmentables/test_utils.py class Test_interpolate_point_pair (line 26) | class Test_interpolate_point_pair(unittest.TestCase): method test_1_step (line 27) | def test_1_step(self): method test_2_steps (line 38) | def test_2_steps(self): method test_0_steps (line 50) | def test_0_steps(self): class Test_interpolate_points (line 57) | class Test_interpolate_points(unittest.TestCase): method test_2_points_0_steps (line 58) | def test_2_points_0_steps(self): method test_2_points_1_step (line 74) | def test_2_points_1_step(self): method test_2_points_1_step_not_closed (line 92) | def test_2_points_1_step_not_closed(self): method test_3_points_0_steps (line 109) | def test_3_points_0_steps(self): method test_3_points_1_step (line 127) | def test_3_points_1_step(self): method test_3_points_1_step_not_closed (line 148) | def test_3_points_1_step_not_closed(self): method test_0_points_1_step (line 168) | def test_0_points_1_step(self): method test_1_point_0_steps (line 175) | def test_1_point_0_steps(self): method test_1_point_1_step (line 187) | def test_1_point_1_step(self): class Test_interpolate_points_by_max_distance (line 200) | class Test_interpolate_points_by_max_distance(unittest.TestCase): method test_2_points_dist_10000 (line 201) | def test_2_points_dist_10000(self): method test_2_points_dist_1 (line 214) | def test_2_points_dist_1(self): method test_2_points_dist_1_not_closed (line 232) | def test_2_points_dist_1_not_closed(self): method test_3_points_dist_1 (line 249) | def test_3_points_dist_1(self): method test_3_points_dist_1_not_closed (line 269) | def test_3_points_dist_1_not_closed(self): method test_0_points_dist_1 (line 289) | def test_0_points_dist_1(self): method test_1_point_dist_1 (line 296) | def test_1_point_dist_1(self): class Test_normalize_shape (line 309) | class Test_normalize_shape(unittest.TestCase): method test_shape_tuple (line 310) | def test_shape_tuple(self): method test_shape_tuple_3d (line 314) | def test_shape_tuple_3d(self): method test_array_1d (line 318) | def test_array_1d(self): method test_array_2d (line 323) | def test_array_2d(self): method test_array_3d (line 328) | def test_array_3d(self): class Test_normalize_imglike_shape (line 334) | class Test_normalize_imglike_shape(unittest.TestCase): method test_shape_tuple (line 335) | def test_shape_tuple(self): method test_shape_tuple_3d (line 339) | def test_shape_tuple_3d(self): method test_array_1d_fails (line 343) | def test_array_1d_fails(self): method test_array_2d (line 348) | def test_array_2d(self): method test_array_3d (line 353) | def test_array_3d(self): method test_array_4d_fails (line 358) | def test_array_4d_fails(self): FILE: test/augmenters/test_arithmetic.py class Test__add_elementwise_cv2_to_uint8 (line 44) | class Test__add_elementwise_cv2_to_uint8(unittest.TestCase): method test_image_is_hw (line 45) | def test_image_is_hw(self): method test_image_is_hwn (line 59) | def test_image_is_hwn(self): method test_image_is_view (line 79) | def test_image_is_view(self): method test_image_is_non_contiguous (line 96) | def test_image_is_non_contiguous(self): method test_floats_with_decimal_points (line 112) | def test_floats_with_decimal_points(self): method test_is_saturating (line 126) | def test_is_saturating(self): method test_values_is_int_uint (line 144) | def test_values_is_int_uint(self): method test_values_is_float (line 173) | def test_values_is_float(self): class Test__multiply_scalar_to_uint8_cv2_mul_ (line 208) | class Test__multiply_scalar_to_uint8_cv2_mul_(unittest.TestCase): method test_single_multiplier_image_hw (line 209) | def test_single_multiplier_image_hw(self): method test_single_multiplier_image_hwc (line 222) | def test_single_multiplier_image_hwc(self): method test_single_multiplier_saturating (line 238) | def test_single_multiplier_saturating(self): method test_channelwise_multiplier_image_hw (line 257) | def test_channelwise_multiplier_image_hw(self): method test_channelwise_multiplier_image_hwc (line 270) | def test_channelwise_multiplier_image_hwc(self): method test_image_is_view (line 300) | def test_image_is_view(self): method test_image_is_non_contiguous (line 312) | def test_image_is_non_contiguous(self): class Test_multiply_elementwise_to_non_uint8 (line 325) | class Test_multiply_elementwise_to_non_uint8(unittest.TestCase): method test_image_is_hw (line 326) | def test_image_is_hw(self): method test_image_is_hwn (line 339) | def test_image_is_hwn(self): method test_multipliers_hw (line 369) | def test_multipliers_hw(self): method test_multipliers_hw1 (line 384) | def test_multipliers_hw1(self): method test_multipliers_is_float (line 399) | def test_multipliers_is_float(self): method test_multipliers_is_uint_int (line 421) | def test_multipliers_is_uint_int(self): method test_image_is_view (line 445) | def test_image_is_view(self): method test_image_is_noncontiguous (line 461) | def test_image_is_noncontiguous(self): class Test_cutout (line 477) | class Test_cutout(unittest.TestCase): method test_mocked (line 479) | def test_mocked(self, mock_inplace): class Test_cutout_ (line 511) | class Test_cutout_(unittest.TestCase): method test_with_simple_image (line 512) | def test_with_simple_image(self): method test_fill_mode_constant_mocked (line 536) | def test_fill_mode_constant_mocked(self, mock_fill): method test_fill_mode_gaussian_mocked (line 540) | def test_fill_mode_gaussian_mocked(self, mock_fill): method _test_with_fill_mode_mocked (line 544) | def _test_with_fill_mode_mocked(cls, fill_mode, mock_fill): method test_zero_height (line 574) | def test_zero_height(self): method test_zero_height_width (line 592) | def test_zero_height_width(self): method test_position_outside_of_image_rect_fully_outside (line 610) | def test_position_outside_of_image_rect_fully_outside(self): method test_position_outside_of_image_rect_partially_inside (line 628) | def test_position_outside_of_image_rect_partially_inside(self): method test_zero_sized_axes (line 647) | def test_zero_sized_axes(self): class Test_fill_rectangle_gaussian_ (line 673) | class Test_fill_rectangle_gaussian_(unittest.TestCase): method test_simple_image (line 674) | def test_simple_image(self): method test_per_channel (line 699) | def test_per_channel(self): method test_deterministic_with_same_seed (line 727) | def test_deterministic_with_same_seed(self): method test_no_channels (line 755) | def test_no_channels(self): method test_unusual_channel_numbers (line 770) | def test_unusual_channel_numbers(self): method test_other_dtypes_bool (line 788) | def test_other_dtypes_bool(self): method test_other_dtypes_int_uint (line 817) | def test_other_dtypes_int_uint(self): method test_other_dtypes_float (line 873) | def test_other_dtypes_float(self): class Test_fill_rectangle_constant_ (line 935) | class Test_fill_rectangle_constant_(unittest.TestCase): method test_simple_image (line 936) | def test_simple_image(self): method test_iterable_cval_but_per_channel_is_false (line 949) | def test_iterable_cval_but_per_channel_is_false(self): method test_iterable_cval_with_per_channel_is_true (line 962) | def test_iterable_cval_with_per_channel_is_true(self): method test_iterable_cval_with_per_channel_is_true_channel_mismatch (line 977) | def test_iterable_cval_with_per_channel_is_true_channel_mismatch(self): method test_single_cval_with_per_channel_is_true (line 994) | def test_single_cval_with_per_channel_is_true(self): method test_no_channels_single_cval (line 1009) | def test_no_channels_single_cval(self): method test_no_channels_iterable_cval (line 1025) | def test_no_channels_iterable_cval(self): method test_unusual_channel_numbers (line 1042) | def test_unusual_channel_numbers(self): method test_other_dtypes_bool (line 1065) | def test_other_dtypes_bool(self): method test_other_dtypes_uint_int (line 1088) | def test_other_dtypes_uint_int(self): method test_other_dtypes_float (line 1124) | def test_other_dtypes_float(self): class TestAdd (line 1177) | class TestAdd(unittest.TestCase): method setUp (line 1178) | def setUp(self): method test___init___bad_datatypes (line 1181) | def test___init___bad_datatypes(self): method test_add_zero (line 1197) | def test_add_zero(self): method test_add_one (line 1223) | def test_add_one(self): method test_minus_one (line 1249) | def test_minus_one(self): method test_uint8_every_possible_value (line 1274) | def test_uint8_every_possible_value(self): method test_add_floats (line 1290) | def test_add_floats(self): method test_stochastic_parameters_as_value (line 1310) | def test_stochastic_parameters_as_value(self): method test_keypoints_dont_change (line 1331) | def test_keypoints_dont_change(self): method test_tuple_as_value (line 1347) | def test_tuple_as_value(self): method test_per_channel (line 1376) | def test_per_channel(self): method test_per_channel_with_probability (line 1386) | def test_per_channel_with_probability(self): method test_zero_sized_axes (line 1403) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 1425) | def test_unusual_channel_numbers(self): method test_get_parameters (line 1444) | def test_get_parameters(self): method test_heatmaps (line 1453) | def test_heatmaps(self): method test_other_dtypes_bool (line 1460) | def test_other_dtypes_bool(self): method test_other_dtypes_uint_int (line 1485) | def test_other_dtypes_uint_int(self): method test_other_dtypes_float (line 1566) | def test_other_dtypes_float(self): method test_pickleable (line 1656) | def test_pickleable(self): class TestAddElementwise (line 1661) | class TestAddElementwise(unittest.TestCase): method setUp (line 1662) | def setUp(self): method test___init___bad_datatypes (line 1665) | def test___init___bad_datatypes(self): method test_add_zero (line 1681) | def test_add_zero(self): method test_add_one (line 1707) | def test_add_one(self): method test_add_minus_one (line 1733) | def test_add_minus_one(self): method test_uint8_every_possible_value (line 1758) | def test_uint8_every_possible_value(self): method test_stochastic_parameters_as_value (line 1774) | def test_stochastic_parameters_as_value(self): method test_keypoints_dont_change (line 1799) | def test_keypoints_dont_change(self): method test_tuple_as_value (line 1815) | def test_tuple_as_value(self): method test_samples_change_by_spatial_location (line 1844) | def test_samples_change_by_spatial_location(self): method test_per_channel (line 1868) | def test_per_channel(self): method test_per_channel_with_probability (line 1876) | def test_per_channel_with_probability(self): method test_zero_sized_axes (line 1892) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 1914) | def test_unusual_channel_numbers(self): method test_get_parameters (line 1933) | def test_get_parameters(self): method test_heatmaps_dont_change (line 1942) | def test_heatmaps_dont_change(self): method test_other_dtypes_bool (line 1949) | def test_other_dtypes_bool(self): method test_other_dtypes_uint_int (line 1975) | def test_other_dtypes_uint_int(self): method test_other_dtypes_float (line 2059) | def test_other_dtypes_float(self): method test_pickleable (line 2149) | def test_pickleable(self): class AdditiveGaussianNoise (line 2154) | class AdditiveGaussianNoise(unittest.TestCase): method setUp (line 2155) | def setUp(self): method test_loc_zero_scale_zero (line 2158) | def test_loc_zero_scale_zero(self): method test_loc_zero_scale_nonzero (line 2169) | def test_loc_zero_scale_nonzero(self): method test_std_dev_of_added_noise_matches_scale (line 2198) | def test_std_dev_of_added_noise_matches_scale(self): method test_nonzero_loc (line 2213) | def test_nonzero_loc(self): method test_tuple_as_loc (line 2227) | def test_tuple_as_loc(self): method test_stochastic_parameter_as_loc (line 2255) | def test_stochastic_parameter_as_loc(self): method test_tuple_as_scale (line 2276) | def test_tuple_as_scale(self): method test_stochastic_parameter_as_scale (line 2304) | def test_stochastic_parameter_as_scale(self): method test___init___bad_datatypes (line 2326) | def test___init___bad_datatypes(self): method test_heatmaps_dont_change (line 2342) | def test_heatmaps_dont_change(self): method test_pickleable (line 2351) | def test_pickleable(self): class TestCutout (line 2357) | class TestCutout(unittest.TestCase): method setUp (line 2358) | def setUp(self): method test___init___defaults (line 2361) | def test___init___defaults(self): method test___init___custom (line 2372) | def test___init___custom(self): method test___init___fill_mode_is_stochastic_param (line 2392) | def test___init___fill_mode_is_stochastic_param(self): method test_mocked__squared_false (line 2398) | def test_mocked__squared_false(self, mock_apply): method test_mocked__squared_true (line 2432) | def test_mocked__squared_true(self, mock_apply): method test_simple_image (line 2465) | def test_simple_image(self): method test_batch_contains_only_non_image_data (line 2485) | def test_batch_contains_only_non_image_data(self): method test_sampling_when_position_is_stochastic_parameter (line 2492) | def test_sampling_when_position_is_stochastic_parameter(self): method test_by_comparison_to_official_implementation (line 2505) | def test_by_comparison_to_official_implementation(self): method test_determinism (line 2578) | def test_determinism(self): method test_get_parameters (line 2596) | def test_get_parameters(self): method test_pickleable (line 2615) | def test_pickleable(self): class _CutoutOfficial (line 2632) | class _CutoutOfficial(object): method __init__ (line 2638) | def __init__(self, n_holes, length): method __call__ (line 2642) | def __call__(self, img): class TestDropout (line 2679) | class TestDropout(unittest.TestCase): method setUp (line 2680) | def setUp(self): method test_p_is_zero (line 2683) | def test_p_is_zero(self): method test_p_is_50_percent (line 2708) | def test_p_is_50_percent(self): method test_tuple_as_p (line 2749) | def test_tuple_as_p(self): method test_list_as_p (line 2775) | def test_list_as_p(self): method test_stochastic_parameter_as_p (line 2796) | def test_stochastic_parameter_as_p(self): method test___init___bad_datatypes (line 2814) | def test___init___bad_datatypes(self): method test_heatmaps_dont_change (line 2823) | def test_heatmaps_dont_change(self): method test_pickleable (line 2830) | def test_pickleable(self): class TestCoarseDropout (line 2835) | class TestCoarseDropout(unittest.TestCase): method setUp (line 2836) | def setUp(self): method test_p_is_zero (line 2839) | def test_p_is_zero(self): method test_p_is_one (line 2846) | def test_p_is_one(self): method test_p_is_50_percent (line 2853) | def test_p_is_50_percent(self): method test_size_percent (line 2863) | def test_size_percent(self): method test_per_channel (line 2873) | def test_per_channel(self): method test_stochastic_parameter_as_p (line 2885) | def test_stochastic_parameter_as_p(self): method test___init___bad_datatypes (line 2903) | def test___init___bad_datatypes(self): method test___init___size_px_and_size_percent_both_none (line 2912) | def test___init___size_px_and_size_percent_both_none(self): method test_heatmaps_dont_change (line 2917) | def test_heatmaps_dont_change(self): method test_pickleable (line 2924) | def test_pickleable(self): class TestDropout2d (line 2930) | class TestDropout2d(unittest.TestCase): method setUp (line 2931) | def setUp(self): method test___init___defaults (line 2934) | def test___init___defaults(self): method test___init___p_is_float (line 2940) | def test___init___p_is_float(self): method test___init___nb_keep_channels_is_int (line 2946) | def test___init___nb_keep_channels_is_int(self): method test_no_images_in_batch (line 2952) | def test_no_images_in_batch(self): method test_p_is_1 (line 2964) | def test_p_is_1(self): method test_p_is_1_heatmaps (line 2974) | def test_p_is_1_heatmaps(self): method test_p_is_1_segmentation_maps (line 2986) | def test_p_is_1_segmentation_maps(self): method test_p_is_1_cbaois (line 2998) | def test_p_is_1_cbaois(self): method test_p_is_1_heatmaps__keep_one_channel (line 3020) | def test_p_is_1_heatmaps__keep_one_channel(self): method test_p_is_1_segmentation_maps__keep_one_channel (line 3032) | def test_p_is_1_segmentation_maps__keep_one_channel(self): method test_p_is_1_cbaois__keep_one_channel (line 3044) | def test_p_is_1_cbaois__keep_one_channel(self): method test_p_is_0 (line 3069) | def test_p_is_0(self): method test_p_is_0_heatmaps (line 3079) | def test_p_is_0_heatmaps(self): method test_p_is_0_segmentation_maps (line 3091) | def test_p_is_0_segmentation_maps(self): method test_p_is_0_cbaois (line 3103) | def test_p_is_0_cbaois(self): method test_p_is_075 (line 3128) | def test_p_is_075(self): method test_force_nb_keep_channels (line 3140) | def test_force_nb_keep_channels(self): method test_some_images_below_nb_keep_channels (line 3163) | def test_some_images_below_nb_keep_channels(self): method test_all_images_below_nb_keep_channels (line 3179) | def test_all_images_below_nb_keep_channels(self): method test_get_parameters (line 3190) | def test_get_parameters(self): method test_zero_sized_axes (line 3197) | def test_zero_sized_axes(self): method test_other_dtypes_bool (line 3218) | def test_other_dtypes_bool(self): method test_other_dtypes_uint_int (line 3229) | def test_other_dtypes_uint_int(self): method test_other_dtypes_float (line 3253) | def test_other_dtypes_float(self): method test_pickleable (line 3286) | def test_pickleable(self): class TestTotalDropout (line 3291) | class TestTotalDropout(unittest.TestCase): method setUp (line 3292) | def setUp(self): method test___init___p (line 3295) | def test___init___p(self): method test_p_is_1 (line 3300) | def test_p_is_1(self): method test_p_is_1_multiple_images_list (line 3310) | def test_p_is_1_multiple_images_list(self): method test_p_is_1_multiple_images_array (line 3322) | def test_p_is_1_multiple_images_array(self): method test_p_is_1_heatmaps (line 3333) | def test_p_is_1_heatmaps(self): method test_p_is_1_segmentation_maps (line 3345) | def test_p_is_1_segmentation_maps(self): method test_p_is_1_cbaois (line 3357) | def test_p_is_1_cbaois(self): method test_p_is_0 (line 3379) | def test_p_is_0(self): method test_p_is_0_multiple_images_list (line 3389) | def test_p_is_0_multiple_images_list(self): method test_p_is_0_multiple_images_array (line 3401) | def test_p_is_0_multiple_images_array(self): method test_p_is_0_heatmaps (line 3413) | def test_p_is_0_heatmaps(self): method test_p_is_0_segmentation_maps (line 3425) | def test_p_is_0_segmentation_maps(self): method test_p_is_0_cbaois (line 3437) | def test_p_is_0_cbaois(self): method test_p_is_075_multiple_images_list (line 3462) | def test_p_is_075_multiple_images_list(self): method test_p_is_075_multiple_images_array (line 3475) | def test_p_is_075_multiple_images_array(self): method test_get_parameters (line 3487) | def test_get_parameters(self): method test_unusual_channel_numbers (line 3492) | def test_unusual_channel_numbers(self): method test_zero_sized_axes (line 3511) | def test_zero_sized_axes(self): method test_other_dtypes_bool (line 3533) | def test_other_dtypes_bool(self): method test_other_dtypes_uint_int (line 3543) | def test_other_dtypes_uint_int(self): method test_other_dtypes_float (line 3567) | def test_other_dtypes_float(self): method test_pickleable (line 3600) | def test_pickleable(self): class TestMultiply (line 3605) | class TestMultiply(unittest.TestCase): method setUp (line 3606) | def setUp(self): method test_mul_is_one (line 3609) | def test_mul_is_one(self): method test_mul_is_above_one (line 3635) | def test_mul_is_above_one(self): method test_mul_is_below_one (line 3661) | def test_mul_is_below_one(self): method test_keypoints_dont_change (line 3687) | def test_keypoints_dont_change(self): method test_tuple_as_mul (line 3703) | def test_tuple_as_mul(self): method test_per_channel (line 3732) | def test_per_channel(self): method test_per_channel_with_probability (line 3741) | def test_per_channel_with_probability(self): method test___init___bad_datatypes (line 3758) | def test___init___bad_datatypes(self): method test_zero_sized_axes (line 3774) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 3796) | def test_unusual_channel_numbers(self): method test_get_parameters (line 3815) | def test_get_parameters(self): method test_heatmaps_dont_change (line 3824) | def test_heatmaps_dont_change(self): method test_other_dtypes_bool (line 3831) | def test_other_dtypes_bool(self): method test_other_dtypes_uint_int (line 3863) | def test_other_dtypes_uint_int(self): method test_other_dtypes_float (line 3984) | def test_other_dtypes_float(self): method test_pickleable (line 4074) | def test_pickleable(self): class TestMultiplyElementwise (line 4079) | class TestMultiplyElementwise(unittest.TestCase): method setUp (line 4080) | def setUp(self): method test_mul_is_one (line 4083) | def test_mul_is_one(self): method test_mul_is_above_one (line 4109) | def test_mul_is_above_one(self): method test_mul_is_below_one (line 4135) | def test_mul_is_below_one(self): method test_keypoints_dont_change (line 4161) | def test_keypoints_dont_change(self): method test_tuple_as_mul (line 4177) | def test_tuple_as_mul(self): method test_samples_change_by_spatial_location (line 4206) | def test_samples_change_by_spatial_location(self): method test_per_channel (line 4230) | def test_per_channel(self): method test_per_channel_with_probability (line 4239) | def test_per_channel_with_probability(self): method test___init___bad_datatypes (line 4257) | def test___init___bad_datatypes(self): method test_zero_sized_axes (line 4273) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 4295) | def test_unusual_channel_numbers(self): method test_get_parameters (line 4314) | def test_get_parameters(self): method test_heatmaps_dont_change (line 4323) | def test_heatmaps_dont_change(self): method test_other_dtypes_bool (line 4330) | def test_other_dtypes_bool(self): method test_other_dtypes_uint_int (line 4362) | def test_other_dtypes_uint_int(self): method test_other_dtypes_float (line 4489) | def test_other_dtypes_float(self): method test_pickleable (line 4581) | def test_pickleable(self): class TestReplaceElementwise (line 4587) | class TestReplaceElementwise(unittest.TestCase): method setUp (line 4588) | def setUp(self): method test_mask_is_always_zero (line 4591) | def test_mask_is_always_zero(self): method test_mask_is_always_one (line 4617) | def test_mask_is_always_one(self): method test_mask_is_stochastic_parameter (line 4643) | def test_mask_is_stochastic_parameter(self): method test_mask_is_list (line 4657) | def test_mask_is_list(self): method test_keypoints_dont_change (line 4676) | def test_keypoints_dont_change(self): method test_replacement_is_stochastic_parameter (line 4692) | def test_replacement_is_stochastic_parameter(self): method test_per_channel_with_probability (line 4712) | def test_per_channel_with_probability(self): method test___init___bad_datatypes (line 4730) | def test___init___bad_datatypes(self): method test_zero_sized_axes (line 4746) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 4768) | def test_unusual_channel_numbers(self): method test_get_parameters (line 4787) | def test_get_parameters(self): method test_heatmaps_dont_change (line 4799) | def test_heatmaps_dont_change(self): method test_other_dtypes_bool (line 4806) | def test_other_dtypes_bool(self): method test_other_dtypes_uint_int (line 4844) | def test_other_dtypes_uint_int(self): method test_other_dtypes_float (line 4899) | def test_other_dtypes_float(self): method test_pickleable (line 4957) | def test_pickleable(self): class TestSaltAndPepper (line 4965) | class TestSaltAndPepper(unittest.TestCase): method setUp (line 4966) | def setUp(self): method test_p_is_fifty_percent (line 4969) | def test_p_is_fifty_percent(self): method test_p_is_one (line 4976) | def test_p_is_one(self): method test_pickleable (line 4985) | def test_pickleable(self): class TestCoarseSaltAndPepper (line 4990) | class TestCoarseSaltAndPepper(unittest.TestCase): method setUp (line 4991) | def setUp(self): method test_p_is_fifty_percent (line 4994) | def test_p_is_fifty_percent(self): method test_size_px (line 5001) | def test_size_px(self): method test_p_is_list (line 5017) | def test_p_is_list(self): method test_p_is_tuple (line 5036) | def test_p_is_tuple(self): method test___init___bad_datatypes (line 5052) | def test___init___bad_datatypes(self): method test___init___size_px_and_size_percent_both_none (line 5061) | def test___init___size_px_and_size_percent_both_none(self): method test_heatmaps_dont_change (line 5066) | def test_heatmaps_dont_change(self): method test_pickleable (line 5073) | def test_pickleable(self): class TestSalt (line 5081) | class TestSalt(unittest.TestCase): method setUp (line 5082) | def setUp(self): method test_p_is_fifty_percent (line 5085) | def test_p_is_fifty_percent(self): method test_p_is_one (line 5094) | def test_p_is_one(self): method test_pickleable (line 5103) | def test_pickleable(self): class TestCoarseSalt (line 5108) | class TestCoarseSalt(unittest.TestCase): method setUp (line 5109) | def setUp(self): method test_p_is_fifty_percent (line 5112) | def test_p_is_fifty_percent(self): method test_size_px (line 5119) | def test_size_px(self): method test_p_is_list (line 5135) | def test_p_is_list(self): method test_p_is_tuple (line 5154) | def test_p_is_tuple(self): method test___init___bad_datatypes (line 5170) | def test___init___bad_datatypes(self): method test___init___size_px_and_size_percent_both_none (line 5179) | def test___init___size_px_and_size_percent_both_none(self): method test_heatmaps_dont_change (line 5184) | def test_heatmaps_dont_change(self): method test_pickleable (line 5191) | def test_pickleable(self): class TestPepper (line 5199) | class TestPepper(unittest.TestCase): method setUp (line 5200) | def setUp(self): method test_probability_is_fifty_percent (line 5203) | def test_probability_is_fifty_percent(self): method test_probability_is_one (line 5211) | def test_probability_is_one(self): method test_pickleable (line 5220) | def test_pickleable(self): class TestCoarsePepper (line 5225) | class TestCoarsePepper(unittest.TestCase): method setUp (line 5226) | def setUp(self): method test_p_is_fifty_percent (line 5229) | def test_p_is_fifty_percent(self): method test_size_px (line 5236) | def test_size_px(self): method test_p_is_list (line 5252) | def test_p_is_list(self): method test_p_is_tuple (line 5271) | def test_p_is_tuple(self): method test___init___bad_datatypes (line 5287) | def test___init___bad_datatypes(self): method test___init___size_px_and_size_percent_both_none (line 5296) | def test___init___size_px_and_size_percent_both_none(self): method test_heatmaps_dont_change (line 5301) | def test_heatmaps_dont_change(self): method test_pickleable (line 5308) | def test_pickleable(self): class Test_invert (line 5314) | class Test_invert(unittest.TestCase): method test_mocked_defaults (line 5316) | def test_mocked_defaults(self, mock_invert): method test_mocked (line 5330) | def test_mocked(self, mock_invert): method test_uint8 (line 5344) | def test_uint8(self): class Test_invert_ (line 5362) | class Test_invert_(unittest.TestCase): method test_arr_is_noncontiguous_uint8 (line 5363) | def test_arr_is_noncontiguous_uint8(self): method test_arr_is_view_uint8 (line 5372) | def test_arr_is_view_uint8(self): method test_uint (line 5381) | def test_uint(self): method test_uint_with_threshold_50_inv_above (line 5404) | def test_uint_with_threshold_50_inv_above(self): method test_uint_with_threshold_0_inv_above (line 5430) | def test_uint_with_threshold_0_inv_above(self): method test_uint8_with_threshold_255_inv_above (line 5456) | def test_uint8_with_threshold_255_inv_above(self): method test_uint8_with_threshold_256_inv_above (line 5482) | def test_uint8_with_threshold_256_inv_above(self): method test_uint_with_threshold_50_inv_below (line 5508) | def test_uint_with_threshold_50_inv_below(self): method test_uint_with_threshold_50_inv_above_with_min_max (line 5534) | def test_uint_with_threshold_50_inv_above_with_min_max(self): method test_int_with_threshold_50_inv_above (line 5563) | def test_int_with_threshold_50_inv_above(self): method test_int_with_threshold_50_inv_below (line 5589) | def test_int_with_threshold_50_inv_below(self): method test_float_with_threshold_50_inv_above (line 5615) | def test_float_with_threshold_50_inv_above(self): method test_float_with_threshold_50_inv_below (line 5649) | def test_float_with_threshold_50_inv_below(self): class Test__invert_uint8_subtract_ (line 5684) | class Test__invert_uint8_subtract_(unittest.TestCase): method test_fails_with_size_4 (line 5685) | def test_fails_with_size_4(self): method test_0_inverted_to_255_all_small_shapes (line 5699) | def test_0_inverted_to_255_all_small_shapes(self): method test_0_inverted_to_255 (line 5722) | def test_0_inverted_to_255(self): method test_nonzero_values (line 5742) | def test_nonzero_values(self): method test_noncontiguous (line 5754) | def test_noncontiguous(self): method test_unusual_base_shapes (line 5771) | def test_unusual_base_shapes(self): method test_view (line 5795) | def test_view(self): class Test_solarize (line 5818) | class Test_solarize(unittest.TestCase): method test_mocked_defaults (line 5820) | def test_mocked_defaults(self, mock_sol): method test_mocked (line 5834) | def test_mocked(self, mock_sol): method test_uint8 (line 5847) | def test_uint8(self): class Test_solarize_ (line 5859) | class Test_solarize_(unittest.TestCase): method test_mocked_defaults (line 5861) | def test_mocked_defaults(self, mock_sol): method test_mocked (line 5874) | def test_mocked(self, mock_sol): class TestInvert (line 5887) | class TestInvert(unittest.TestCase): method setUp (line 5888) | def setUp(self): method test_p_is_one (line 5891) | def test_p_is_one(self): method test_p_is_zero (line 5899) | def test_p_is_zero(self): method test_max_value_set (line 5907) | def test_max_value_set(self): method test_min_value_and_max_value_set (line 5915) | def test_min_value_and_max_value_set(self): method test_min_value_and_max_value_set_with_float_image (line 5928) | def test_min_value_and_max_value_set_with_float_image(self): method test_p_is_80_percent (line 5943) | def test_p_is_80_percent(self): method test_per_channel (line 5968) | def test_per_channel(self): method test_p_is_stochastic_parameter_per_channel_is_probability (line 5975) | def test_p_is_stochastic_parameter_per_channel_is_probability(self): method test_threshold (line 5992) | def test_threshold(self): method test_threshold_inv_below (line 6004) | def test_threshold_inv_below(self): method test_keypoints_dont_change (line 6016) | def test_keypoints_dont_change(self): method test___init___bad_datatypes (line 6033) | def test___init___bad_datatypes(self): method test_zero_sized_axes (line 6049) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 6071) | def test_unusual_channel_numbers(self): method test_get_parameters (line 6090) | def test_get_parameters(self): method test_heatmaps_dont_change (line 6101) | def test_heatmaps_dont_change(self): method test_other_dtypes_p_is_zero (line 6108) | def test_other_dtypes_p_is_zero(self): method test_other_dtypes_p_is_one (line 6162) | def test_other_dtypes_p_is_one(self): method test_other_dtypes_p_is_one_with_min_value (line 6216) | def test_other_dtypes_p_is_one_with_min_value(self): method test_other_dtypes_p_is_one_with_max_value (line 6254) | def test_other_dtypes_p_is_one_with_max_value(self): method test_pickleable (line 6296) | def test_pickleable(self): class TestSolarize (line 6301) | class TestSolarize(unittest.TestCase): method test_p_is_one (line 6302) | def test_p_is_one(self): method test_p_is_one_some_values_above_threshold (line 6311) | def test_p_is_one_some_values_above_threshold(self): method test_pickleable (line 6321) | def test_pickleable(self): class TestContrastNormalization (line 6326) | class TestContrastNormalization(unittest.TestCase): method test_deprecation_warning (line 6330) | def test_deprecation_warning(self): class TestJpegCompression (line 6463) | class TestJpegCompression(unittest.TestCase): method setUp (line 6464) | def setUp(self): method test_compression_is_zero (line 6467) | def test_compression_is_zero(self): method test_compression_is_90 (line 6475) | def test_compression_is_90(self): method test___init__ (line 6483) | def test___init__(self): method test_get_parameters (line 6490) | def test_get_parameters(self): method test_compression_is_stochastic_parameter (line 6495) | def test_compression_is_stochastic_parameter(self): method test_keypoints_dont_change (line 6520) | def test_keypoints_dont_change(self): method test_heatmaps_dont_change (line 6528) | def test_heatmaps_dont_change(self): method test_zero_sized_axes (line 6535) | def test_zero_sized_axes(self): method test_pickleable (line 6552) | def test_pickleable(self): FILE: test/augmenters/test_artistic.py class Test_stylize_cartoon (line 26) | class Test_stylize_cartoon(unittest.TestCase): method _test_integrationtest (line 28) | def _test_integrationtest(cls, size, validate_grads): method test_integrationtest (line 72) | def test_integrationtest(self): method test_integrationtest_large_image (line 75) | def test_integrationtest_large_image(self): method test_blur_ksize_is_1 (line 81) | def test_blur_ksize_is_1(self, mock_blur): method test_blur_ksize_gt_1 (line 95) | def test_blur_ksize_gt_1(self, mock_blur): method test_segmentation_size_is_0 (line 108) | def test_segmentation_size_is_0(self, mock_msf): method test_segmentation_size_gt_0 (line 120) | def test_segmentation_size_gt_0(self, mock_msf): method test_suppress_edges_true (line 134) | def test_suppress_edges_true(self, mock_seb): method test_suppress_edges_false (line 143) | def test_suppress_edges_false(self, mock_seb): method test_large_image (line 151) | def test_large_image(self, mock_fel): class Test__saturate (line 163) | class Test__saturate(unittest.TestCase): method _get_avg_saturation (line 164) | def _get_avg_saturation(self, image): method test_saturation_is_1 (line 168) | def test_saturation_is_1(self): class TestCartoon (line 190) | class TestCartoon(unittest.TestCase): method setUp (line 191) | def setUp(self): method test___init___defaults (line 194) | def test___init___defaults(self): method test_draw_samples (line 206) | def test_draw_samples(self): method test_call_of_stylize_cartoon (line 220) | def test_call_of_stylize_cartoon(self, mock_sc): method test_get_parameters (line 230) | def test_get_parameters(self): method test_pickleable (line 239) | def test_pickleable(self): FILE: test/augmenters/test_blend.py class Test_blend_alpha (line 36) | class Test_blend_alpha(unittest.TestCase): method setUp (line 37) | def setUp(self): method test_alpha_is_1 (line 40) | def test_alpha_is_1(self): method test_alpha_is_1_2d_arrays (line 50) | def test_alpha_is_1_2d_arrays(self): method test_alpha_is_0 (line 60) | def test_alpha_is_0(self): method test_alpha_is_0_2d_arrays (line 70) | def test_alpha_is_0_2d_arrays(self): method test_alpha_is_030 (line 80) | def test_alpha_is_030(self): method test_alpha_is_030_2d_arrays (line 90) | def test_alpha_is_030_2d_arrays(self): method test_alpha_is_030_with_11c_arrays (line 100) | def test_alpha_is_030_with_11c_arrays(self): method test_channelwise_alpha (line 115) | def test_channelwise_alpha(self): method test_larger_images (line 127) | def test_larger_images(self): method test_zero_sized_axes (line 144) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 167) | def test_unusual_channel_numbers(self): method test_other_dtypes_bool (line 187) | def test_other_dtypes_bool(self): method test_other_dtypes_bool_2d_arrays (line 195) | def test_other_dtypes_bool_2d_arrays(self): method test_other_dtypes_uint_int (line 204) | def test_other_dtypes_uint_int(self): method test_other_dtypes_float (line 356) | def test_other_dtypes_float(self): class TestAlpha (line 484) | class TestAlpha(unittest.TestCase): method test_deprecation_warning (line 485) | def test_deprecation_warning(self): class TestBlendAlpha (line 505) | class TestBlendAlpha(unittest.TestCase): method setUp (line 506) | def setUp(self): method image (line 510) | def image(self): method heatmaps (line 515) | def heatmaps(self): method heatmaps_r1 (line 522) | def heatmaps_r1(self): method heatmaps_l1 (line 529) | def heatmaps_l1(self): method segmaps (line 536) | def segmaps(self): method segmaps_r1 (line 543) | def segmaps_r1(self): method segmaps_l1 (line 550) | def segmaps_l1(self): method kpsoi (line 557) | def kpsoi(self): method psoi (line 562) | def psoi(self): method lsoi (line 567) | def lsoi(self): method bbsoi (line 572) | def bbsoi(self): method test_images_factor_is_1 (line 576) | def test_images_factor_is_1(self): method test_heatmaps_factor_is_1_with_affines_and_per_channel (line 582) | def test_heatmaps_factor_is_1_with_affines_and_per_channel(self): method test_segmaps_factor_is_1_with_affines_and_per_channel (line 597) | def test_segmaps_factor_is_1_with_affines_and_per_channel(self): method test_images_factor_is_0 (line 610) | def test_images_factor_is_0(self): method test_heatmaps_factor_is_0_with_affines_and_per_channel (line 616) | def test_heatmaps_factor_is_0_with_affines_and_per_channel(self): method test_segmaps_factor_is_0_with_affines_and_per_channel (line 631) | def test_segmaps_factor_is_0_with_affines_and_per_channel(self): method test_images_factor_is_075 (line 644) | def test_images_factor_is_075(self): method test_images_factor_is_075_fg_branch_is_none (line 654) | def test_images_factor_is_075_fg_branch_is_none(self): method test_images_factor_is_075_bg_branch_is_none (line 664) | def test_images_factor_is_075_bg_branch_is_none(self): method test_images_factor_is_tuple (line 674) | def test_images_factor_is_tuple(self): method test_bad_datatype_for_factor_fails (line 694) | def test_bad_datatype_for_factor_fails(self): method test_images_with_per_channel_in_both_alpha_and_child (line 703) | def test_images_with_per_channel_in_both_alpha_and_child(self): method test_images_with_per_channel_in_alpha_and_tuple_as_factor (line 716) | def test_images_with_per_channel_in_alpha_and_tuple_as_factor(self): method test_images_float_as_per_channel_tuple_as_factor_two_branches (line 729) | def test_images_float_as_per_channel_tuple_as_factor_two_branches(self): method test_bad_datatype_for_per_channel_fails (line 748) | def test_bad_datatype_for_per_channel_fails(self): method test_hooks_limiting_propagation (line 758) | def test_hooks_limiting_propagation(self): method test_keypoints_factor_is_1 (line 772) | def test_keypoints_factor_is_1(self): method test_keypoints_factor_is_0501 (line 775) | def test_keypoints_factor_is_0501(self): method test_keypoints_factor_is_0 (line 778) | def test_keypoints_factor_is_0(self): method test_keypoints_factor_is_0499 (line 781) | def test_keypoints_factor_is_0499(self): method test_keypoints_factor_is_1_with_per_channel (line 784) | def test_keypoints_factor_is_1_with_per_channel(self): method test_keypoints_factor_is_0_with_per_channel (line 788) | def test_keypoints_factor_is_0_with_per_channel(self): method test_keypoints_factor_is_choice_of_vals_close_to_050_per_channel (line 792) | def test_keypoints_factor_is_choice_of_vals_close_to_050_per_channel(s... method test_keypoints_are_empty (line 796) | def test_keypoints_are_empty(self): method test_keypoints_hooks_limit_propagation (line 800) | def test_keypoints_hooks_limit_propagation(self): method test_polygons_factor_is_1 (line 804) | def test_polygons_factor_is_1(self): method test_polygons_factor_is_0501 (line 807) | def test_polygons_factor_is_0501(self): method test_polygons_factor_is_0 (line 810) | def test_polygons_factor_is_0(self): method test_polygons_factor_is_0499 (line 813) | def test_polygons_factor_is_0499(self): method test_polygons_factor_is_1_and_per_channel (line 816) | def test_polygons_factor_is_1_and_per_channel(self): method test_polygons_factor_is_0_and_per_channel (line 820) | def test_polygons_factor_is_0_and_per_channel(self): method test_polygons_factor_is_choice_around_050_and_per_channel (line 824) | def test_polygons_factor_is_choice_around_050_and_per_channel(self): method test_empty_polygons (line 829) | def test_empty_polygons(self): method test_polygons_hooks_limit_propagation (line 833) | def test_polygons_hooks_limit_propagation(self): method test_line_strings_factor_is_1 (line 837) | def test_line_strings_factor_is_1(self): method test_line_strings_factor_is_0501 (line 840) | def test_line_strings_factor_is_0501(self): method test_line_strings_factor_is_0 (line 843) | def test_line_strings_factor_is_0(self): method test_line_strings_factor_is_0499 (line 846) | def test_line_strings_factor_is_0499(self): method test_line_strings_factor_is_1_and_per_channel (line 849) | def test_line_strings_factor_is_1_and_per_channel(self): method test_line_strings_factor_is_0_and_per_channel (line 853) | def test_line_strings_factor_is_0_and_per_channel(self): method test_line_strings_factor_is_choice_around_050_and_per_channel (line 857) | def test_line_strings_factor_is_choice_around_050_and_per_channel(self): method test_empty_line_strings (line 862) | def test_empty_line_strings(self): method test_line_strings_hooks_limit_propagation (line 867) | def test_line_strings_hooks_limit_propagation(self): method test_bounding_boxes_factor_is_1 (line 871) | def test_bounding_boxes_factor_is_1(self): method test_bounding_boxes_factor_is_0501 (line 874) | def test_bounding_boxes_factor_is_0501(self): method test_bounding_boxes_factor_is_0 (line 877) | def test_bounding_boxes_factor_is_0(self): method test_bounding_boxes_factor_is_0499 (line 880) | def test_bounding_boxes_factor_is_0499(self): method test_bounding_boxes_factor_is_1_and_per_channel (line 883) | def test_bounding_boxes_factor_is_1_and_per_channel(self): method test_bounding_boxes_factor_is_0_and_per_channel (line 887) | def test_bounding_boxes_factor_is_0_and_per_channel(self): method test_bounding_boxes_factor_is_choice_around_050_and_per_channel (line 891) | def test_bounding_boxes_factor_is_choice_around_050_and_per_channel(se... method test_empty_bounding_boxes (line 896) | def test_empty_bounding_boxes(self): method test_bounding_boxes_hooks_limit_propagation (line 901) | def test_bounding_boxes_hooks_limit_propagation(self): method _test_cba_factor_is_1 (line 909) | def _test_cba_factor_is_1(cls, augf_name, cbaoi): method _test_cba_factor_is_0501 (line 918) | def _test_cba_factor_is_0501(cls, augf_name, cbaoi): method _test_cba_factor_is_0 (line 928) | def _test_cba_factor_is_0(cls, augf_name, cbaoi): method _test_cba_factor_is_0499 (line 938) | def _test_cba_factor_is_0499(cls, augf_name, cbaoi): method _test_cba_factor_is_1_and_per_channel (line 949) | def _test_cba_factor_is_1_and_per_channel(cls, augf_name, cbaoi): method _test_cba_factor_is_0_and_per_channel (line 961) | def _test_cba_factor_is_0_and_per_channel(cls, augf_name, cbaoi): method _test_cba_factor_is_choice_around_050_and_per_channel (line 974) | def _test_cba_factor_is_choice_around_050_and_per_channel( method _test_empty_cba (line 1008) | def _test_empty_cba(cls, augf_name, cbaoi): method _test_cba_hooks_limit_propagation (line 1020) | def _test_cba_hooks_limit_propagation(cls, augf_name, cbaoi): method test_zero_sized_axes (line 1038) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 1060) | def test_unusual_channel_numbers(self): method test_get_parameters (line 1079) | def test_get_parameters(self): method test_get_children_lists (line 1089) | def test_get_children_lists(self): method test_to_deterministic (line 1099) | def test_to_deterministic(self): method test_pickleable (line 1122) | def test_pickleable(self): class _DummyMaskParameter (line 1132) | class _DummyMaskParameter(iap.StochasticParameter): method __init__ (line 1133) | def __init__(self, inverted=False): method _draw_samples (line 1137) | def _draw_samples(self, size, random_state): class TestAlphaElementwise (line 1155) | class TestAlphaElementwise(unittest.TestCase): method test_deprecation_warning (line 1156) | def test_deprecation_warning(self): class TestBlendAlphaElementwise (line 1177) | class TestBlendAlphaElementwise(unittest.TestCase): method setUp (line 1178) | def setUp(self): method image (line 1182) | def image(self): method heatmaps (line 1187) | def heatmaps(self): method heatmaps_r1 (line 1194) | def heatmaps_r1(self): method heatmaps_l1 (line 1201) | def heatmaps_l1(self): method segmaps (line 1209) | def segmaps(self): method segmaps_r1 (line 1216) | def segmaps_r1(self): method segmaps_l1 (line 1223) | def segmaps_l1(self): method kpsoi (line 1230) | def kpsoi(self): method psoi (line 1235) | def psoi(self): method lsoi (line 1240) | def lsoi(self): method bbsoi (line 1245) | def bbsoi(self): method test_images_factor_is_1 (line 1249) | def test_images_factor_is_1(self): method test_heatmaps_factor_is_1_with_affines (line 1255) | def test_heatmaps_factor_is_1_with_affines(self): method test_segmaps_factor_is_1_with_affines (line 1266) | def test_segmaps_factor_is_1_with_affines(self): method test_images_factor_is_0 (line 1275) | def test_images_factor_is_0(self): method test_heatmaps_factor_is_0_with_affines (line 1281) | def test_heatmaps_factor_is_0_with_affines(self): method test_segmaps_factor_is_0_with_affines (line 1292) | def test_segmaps_factor_is_0_with_affines(self): method test_images_factor_is_075 (line 1301) | def test_images_factor_is_075(self): method test_images_factor_is_075_fg_branch_is_none (line 1309) | def test_images_factor_is_075_fg_branch_is_none(self): method test_images_factor_is_075_bg_branch_is_none (line 1317) | def test_images_factor_is_075_bg_branch_is_none(self): method test_images_factor_is_tuple (line 1325) | def test_images_factor_is_tuple(self): method test_bad_datatype_for_factor_fails (line 1339) | def test_bad_datatype_for_factor_fails(self): method test_images_with_per_channel_in_alpha_and_tuple_as_factor (line 1348) | def test_images_with_per_channel_in_alpha_and_tuple_as_factor(self): method test_bad_datatype_for_per_channel_fails (line 1358) | def test_bad_datatype_for_per_channel_fails(self): method test_hooks_limiting_propagation (line 1371) | def test_hooks_limiting_propagation(self): method test_heatmaps_and_per_channel_factor_is_zeros (line 1389) | def test_heatmaps_and_per_channel_factor_is_zeros(self): method test_heatmaps_and_per_channel_factor_is_ones (line 1401) | def test_heatmaps_and_per_channel_factor_is_ones(self): method test_segmaps_and_per_channel_factor_is_zeros (line 1413) | def test_segmaps_and_per_channel_factor_is_zeros(self): method test_segmaps_and_per_channel_factor_is_ones (line 1423) | def test_segmaps_and_per_channel_factor_is_ones(self): method test_keypoints_factor_is_1 (line 1433) | def test_keypoints_factor_is_1(self): method test_keypoints_factor_is_0501 (line 1436) | def test_keypoints_factor_is_0501(self): method test_keypoints_factor_is_0 (line 1439) | def test_keypoints_factor_is_0(self): method test_keypoints_factor_is_0499 (line 1442) | def test_keypoints_factor_is_0499(self): method test_keypoints_factor_is_1_with_per_channel (line 1445) | def test_keypoints_factor_is_1_with_per_channel(self): method test_keypoints_factor_is_0_with_per_channel (line 1449) | def test_keypoints_factor_is_0_with_per_channel(self): method test_keypoints_factor_is_choice_of_vals_close_050_per_channel (line 1453) | def test_keypoints_factor_is_choice_of_vals_close_050_per_channel(self): method test_keypoints_are_empty (line 1487) | def test_keypoints_are_empty(self): method test_keypoints_hooks_limit_propagation (line 1491) | def test_keypoints_hooks_limit_propagation(self): method test_polygons_factor_is_1 (line 1494) | def test_polygons_factor_is_1(self): method test_polygons_factor_is_0501 (line 1497) | def test_polygons_factor_is_0501(self): method test_polygons_factor_is_0 (line 1500) | def test_polygons_factor_is_0(self): method test_polygons_factor_is_0499 (line 1503) | def test_polygons_factor_is_0499(self): method test_polygons_factor_is_1_and_per_channel (line 1506) | def test_polygons_factor_is_1_and_per_channel(self): method test_polygons_factor_is_0_and_per_channel (line 1510) | def test_polygons_factor_is_0_and_per_channel(self): method test_polygons_factor_is_choice_around_050_and_per_channel (line 1514) | def test_polygons_factor_is_choice_around_050_and_per_channel(self): method test_empty_polygons (line 1525) | def test_empty_polygons(self): method test_polygons_hooks_limit_propagation (line 1529) | def test_polygons_hooks_limit_propagation(self): method test_line_strings_factor_is_1 (line 1532) | def test_line_strings_factor_is_1(self): method test_line_strings_factor_is_0501 (line 1535) | def test_line_strings_factor_is_0501(self): method test_line_strings_factor_is_0 (line 1538) | def test_line_strings_factor_is_0(self): method test_line_strings_factor_is_0499 (line 1541) | def test_line_strings_factor_is_0499(self): method test_line_strings_factor_is_1_and_per_channel (line 1544) | def test_line_strings_factor_is_1_and_per_channel(self): method test_line_strings_factor_is_0_and_per_channel (line 1548) | def test_line_strings_factor_is_0_and_per_channel(self): method test_line_strings_factor_is_choice_around_050_and_per_channel (line 1552) | def test_line_strings_factor_is_choice_around_050_and_per_channel(self): method test_empty_line_strings (line 1561) | def test_empty_line_strings(self): method test_line_strings_hooks_limit_propagation (line 1565) | def test_line_strings_hooks_limit_propagation(self): method test_bounding_boxes_factor_is_1 (line 1569) | def test_bounding_boxes_factor_is_1(self): method test_bounding_boxes_factor_is_0501 (line 1572) | def test_bounding_boxes_factor_is_0501(self): method test_bounding_boxes_factor_is_0 (line 1575) | def test_bounding_boxes_factor_is_0(self): method test_bounding_boxes_factor_is_0499 (line 1578) | def test_bounding_boxes_factor_is_0499(self): method test_bounding_boxes_factor_is_1_and_per_channel (line 1581) | def test_bounding_boxes_factor_is_1_and_per_channel(self): method test_bounding_boxes_factor_is_0_and_per_channel (line 1585) | def test_bounding_boxes_factor_is_0_and_per_channel(self): method test_bounding_boxes_factor_is_choice_around_050_and_per_channel (line 1589) | def test_bounding_boxes_factor_is_choice_around_050_and_per_channel(se... method test_empty_bounding_boxes (line 1596) | def test_empty_bounding_boxes(self): method test_bounding_boxes_hooks_limit_propagation (line 1600) | def test_bounding_boxes_hooks_limit_propagation(self): method _test_cba_factor_is_1 (line 1605) | def _test_cba_factor_is_1(cls, augf_name, cbaoi): method _test_cba_factor_is_0501 (line 1616) | def _test_cba_factor_is_0501(cls, augf_name, cbaoi): method _test_cba_factor_is_0 (line 1627) | def _test_cba_factor_is_0(cls, augf_name, cbaoi): method _test_cba_factor_is_0499 (line 1639) | def _test_cba_factor_is_0499(cls, augf_name, cbaoi): method _test_cba_factor_is_1_and_per_channel (line 1651) | def _test_cba_factor_is_1_and_per_channel(cls, augf_name, cbaoi): method _test_cba_factor_is_0_and_per_channel (line 1663) | def _test_cba_factor_is_0_and_per_channel(cls, augf_name, cbaoi): method _test_cba_factor_is_choice_around_050_and_per_channel (line 1676) | def _test_cba_factor_is_choice_around_050_and_per_channel( method _test_empty_cba (line 1725) | def _test_empty_cba(cls, augf_name, cbaoi): method _test_cba_hooks_limit_propagation (line 1737) | def _test_cba_hooks_limit_propagation(cls, augf_name, cbaoi): method test_zero_sized_axes (line 1755) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 1777) | def test_unusual_channel_numbers(self): method test_pickleable (line 1796) | def test_pickleable(self): class TestBlendAlphaSomeColors (line 1806) | class TestBlendAlphaSomeColors(unittest.TestCase): method setUp (line 1807) | def setUp(self): method test___init__ (line 1810) | def test___init__(self): method test_grayscale_drops_different_colors (line 1818) | def test_grayscale_drops_different_colors(self): method test_zero_sized_axes (line 1844) | def test_zero_sized_axes(self): method test_pickleable (line 1862) | def test_pickleable(self): class TestBlendAlphaHorizontalLinearGradient (line 1870) | class TestBlendAlphaHorizontalLinearGradient(unittest.TestCase): method setUp (line 1871) | def setUp(self): method test___init__ (line 1874) | def test___init__(self): method test_single_image (line 1883) | def test_single_image(self): method test_zero_sized_axes (line 1901) | def test_zero_sized_axes(self): method test_pickleable (line 1923) | def test_pickleable(self): class TestBlendAlphaVerticalLinearGradient (line 1931) | class TestBlendAlphaVerticalLinearGradient(unittest.TestCase): method setUp (line 1932) | def setUp(self): method test___init__ (line 1935) | def test___init__(self): method test_single_image (line 1944) | def test_single_image(self): method test_zero_sized_axes (line 1962) | def test_zero_sized_axes(self): method test_pickleable (line 1984) | def test_pickleable(self): class TestBlendAlphaRegularGrid (line 1992) | class TestBlendAlphaRegularGrid(unittest.TestCase): method setUp (line 1993) | def setUp(self): method test___init__ (line 1996) | def test___init__(self): method test_single_image (line 2007) | def test_single_image(self): method test_zero_sized_axes (line 2021) | def test_zero_sized_axes(self): method test_pickleable (line 2043) | def test_pickleable(self): class TestBlendAlphaCheckerboard (line 2052) | class TestBlendAlphaCheckerboard(unittest.TestCase): method setUp (line 2053) | def setUp(self): method test___init__ (line 2056) | def test___init__(self): method test_single_image (line 2066) | def test_single_image(self): method test_zero_sized_axes (line 2078) | def test_zero_sized_axes(self): method test_pickleable (line 2100) | def test_pickleable(self): class TestBlendAlphaSegMapClassIds (line 2109) | class TestBlendAlphaSegMapClassIds(unittest.TestCase): method setUp (line 2110) | def setUp(self): method test___init__ (line 2113) | def test___init__(self): method test_single_image (line 2129) | def test_single_image(self): method test_zero_sized_axes (line 2145) | def test_zero_sized_axes(self): method test_pickleable (line 2171) | def test_pickleable(self): class TestBlendAlphaBoundingBoxes (line 2197) | class TestBlendAlphaBoundingBoxes(unittest.TestCase): method setUp (line 2198) | def setUp(self): method test___init__ (line 2201) | def test___init__(self): method test_single_image (line 2217) | def test_single_image(self): method test_zero_sized_axes (line 2235) | def test_zero_sized_axes(self): method test_pickleable (line 2261) | def test_pickleable(self): class TestStochasticParameterMaskGen (line 2285) | class TestStochasticParameterMaskGen(unittest.TestCase): method _test_draw_masks_nhwc (line 2287) | def _test_draw_masks_nhwc(cls, shape): method test_draw_masks_hw3_images (line 2304) | def test_draw_masks_hw3_images(self): method test_draw_masks_hw1_images (line 2307) | def test_draw_masks_hw1_images(self): method test_draw_masks_hw_images (line 2310) | def test_draw_masks_hw_images(self): method test_draw_masks_batch_without_images (line 2313) | def test_draw_masks_batch_without_images(self): method test_per_channel (line 2340) | def test_per_channel(self): method test_zero_sized_axes (line 2360) | def test_zero_sized_axes(self): class TestSomeColorsMaskGen (line 2390) | class TestSomeColorsMaskGen(unittest.TestCase): method test___init___defaults (line 2391) | def test___init___defaults(self): method test___init___custom_settings (line 2403) | def test___init___custom_settings(self): method test_draw_masks_marks_different_colors (line 2417) | def test_draw_masks_marks_different_colors(self): method test_draw_masks_marks_alpha_is_0 (line 2455) | def test_draw_masks_marks_alpha_is_0(self): method test_draw_masks_alpha_is_1 (line 2474) | def test_draw_masks_alpha_is_1(self): method test_from_colorspace (line 2494) | def test_from_colorspace(self, mock_cc): method test__upscale_to_256_alpha_bins__1_to_256 (line 2519) | def test__upscale_to_256_alpha_bins__1_to_256(self): method test__upscale_to_256_alpha_bins__2_to_256 (line 2527) | def test__upscale_to_256_alpha_bins__2_to_256(self): method test__upscale_to_256_alpha_bins__255_to_256 (line 2536) | def test__upscale_to_256_alpha_bins__255_to_256(self): method test__upscale_to_256_alpha_bins__256_to_256 (line 2548) | def test__upscale_to_256_alpha_bins__256_to_256(self): method test__rotate_alpha_bins__by_0 (line 2556) | def test__rotate_alpha_bins__by_0(self): method test__rotate_alpha_bins__by_1 (line 2563) | def test__rotate_alpha_bins__by_1(self): method test__rotate_alpha_bins__by_255 (line 2571) | def test__rotate_alpha_bins__by_255(self): method test__rotate_alpha_bins__by_256 (line 2579) | def test__rotate_alpha_bins__by_256(self): method test__smoothen_alphas__0 (line 2586) | def test__smoothen_alphas__0(self): method test__smoothen_alphas__002 (line 2594) | def test__smoothen_alphas__002(self): method test__smoothen_alphas__1 (line 2602) | def test__smoothen_alphas__1(self): method test__generate_pixelwise_alpha_map (line 2612) | def test__generate_pixelwise_alpha_map(self): method test_zero_sized_axes (line 2641) | def test_zero_sized_axes(self): method test_batch_contains_no_images (line 2659) | def test_batch_contains_no_images(self): class TestHorizontalLinearGradientMaskGen (line 2669) | class TestHorizontalLinearGradientMaskGen(unittest.TestCase): method setUp (line 2670) | def setUp(self): method test___init__ (line 2673) | def test___init__(self): method test_draw_masks (line 2684) | def test_draw_masks(self): method test_generate_mask__min_value_below_max_value (line 2709) | def test_generate_mask__min_value_below_max_value(self): method test_generate_mask__end_at_is_before_start_at (line 2720) | def test_generate_mask__end_at_is_before_start_at(self): method test_generate_mask__start_at_is_end_at (line 2734) | def test_generate_mask__start_at_is_end_at(self): method test_generate_mask__min_value_is_max_value (line 2743) | def test_generate_mask__min_value_is_max_value(self): method test_generate_mask__start_at_and_end_at_are_outside_of_image (line 2751) | def test_generate_mask__start_at_and_end_at_are_outside_of_image(self): method test_zero_sized_axes (line 2759) | def test_zero_sized_axes(self): method test_batch_contains_no_images (line 2783) | def test_batch_contains_no_images(self): class TestVerticalLinearGradientMaskGen (line 2797) | class TestVerticalLinearGradientMaskGen(unittest.TestCase): method setUp (line 2798) | def setUp(self): method test___init__ (line 2801) | def test___init__(self): method test_draw_masks (line 2812) | def test_draw_masks(self): class TestRegularGridMaskGen (line 2846) | class TestRegularGridMaskGen(unittest.TestCase): method test___init__ (line 2847) | def test___init__(self): method test_draw_masks (line 2853) | def test_draw_masks(self): method test_draw_masks__random_alphas (line 2880) | def test_draw_masks__random_alphas(self): method test_generate_mask_rows_1_cols_1 (line 2914) | def test_generate_mask_rows_1_cols_1(self): method test_generate_mask_rows_1_cols_n (line 2921) | def test_generate_mask_rows_1_cols_n(self): method test_generate_mask_rows_n_cols_1 (line 2931) | def test_generate_mask_rows_n_cols_1(self): method test_generate_mask_rows_n_cols_n (line 2944) | def test_generate_mask_rows_n_cols_n(self): method test_generate_mask_with_leftover_pixels (line 2960) | def test_generate_mask_with_leftover_pixels(self): method test_generate_mask_with_more_columns_than_pixels (line 2994) | def test_generate_mask_with_more_columns_than_pixels(self): method test_generate_mask_with_more_rows_than_pixels (line 3004) | def test_generate_mask_with_more_rows_than_pixels(self): method test_generate_mask__alphas_is_1d_array (line 3019) | def test_generate_mask__alphas_is_1d_array(self): method test_zero_sized_axes (line 3029) | def test_zero_sized_axes(self): method test_batch_contains_no_images (line 3053) | def test_batch_contains_no_images(self): class TestCheckerboardMaskGen (line 3070) | class TestCheckerboardMaskGen(unittest.TestCase): method test___init__ (line 3071) | def test___init__(self): method test_draw_masks (line 3076) | def test_draw_masks(self): method test_generate_mask_rows_1_cols_1 (line 3095) | def test_generate_mask_rows_1_cols_1(self): method test_generate_mask_rows_1_cols_n (line 3100) | def test_generate_mask_rows_1_cols_n(self): method test_generate_mask_rows_n_cols_1 (line 3108) | def test_generate_mask_rows_n_cols_1(self): method test_generate_mask_rows_n_cols_n (line 3116) | def test_generate_mask_rows_n_cols_n(self): method test_generate_mask_with_leftover_pixels (line 3128) | def test_generate_mask_with_leftover_pixels(self): method test_generate_mask_with_more_columns_than_pixels (line 3157) | def test_generate_mask_with_more_columns_than_pixels(self): method test_generate_mask_with_more_rows_than_pixels (line 3165) | def test_generate_mask_with_more_rows_than_pixels(self): method test_zero_sized_axes (line 3173) | def test_zero_sized_axes(self): method test_batch_contains_no_images (line 3197) | def test_batch_contains_no_images(self): class TestSegMapClassIdsMaskGen (line 3214) | class TestSegMapClassIdsMaskGen(unittest.TestCase): method setUp (line 3215) | def setUp(self): method test___init___fixed_class_ids_int (line 3218) | def test___init___fixed_class_ids_int(self): method test___init___fixed_class_ids_list (line 3223) | def test___init___fixed_class_ids_list(self): method test___init___class_ids_stochastic (line 3228) | def test___init___class_ids_stochastic(self): method test_draw_masks__fixed_class_ids (line 3233) | def test_draw_masks__fixed_class_ids(self): method test_draw_masks__stochastic_class_ids (line 3254) | def test_draw_masks__stochastic_class_ids(self): method test_generate_mask (line 3290) | def test_generate_mask(self): method test_generate_mask__smaller_than_image (line 3308) | def test_generate_mask__smaller_than_image(self): method test_zero_sized_axes (line 3326) | def test_zero_sized_axes(self): method test_batch_contains_no_segmaps (line 3359) | def test_batch_contains_no_segmaps(self): class TestBoundingBoxesMaskGen (line 3369) | class TestBoundingBoxesMaskGen(unittest.TestCase): method setUp (line 3370) | def setUp(self): method test___init___no_labels (line 3373) | def test___init___no_labels(self): method test___init___fixed_labels_single_str (line 3378) | def test___init___fixed_labels_single_str(self): method test___init___fixed_labels_list (line 3383) | def test___init___fixed_labels_list(self): method test___init___labels_stochastic (line 3388) | def test___init___labels_stochastic(self): method test_draw_masks__labels_is_none (line 3393) | def test_draw_masks__labels_is_none(self): method test_draw_masks__fixed_labels (line 3412) | def test_draw_masks__fixed_labels(self): method test_draw_masks__stochastic_labels (line 3430) | def test_draw_masks__stochastic_labels(self): method test_generate_mask (line 3450) | def test_generate_mask(self): method test_zero_sized_axes (line 3465) | def test_zero_sized_axes(self): method test_batch_contains_no_bounding_boxes (line 3491) | def test_batch_contains_no_bounding_boxes(self): class InvertMaskGen (line 3501) | class InvertMaskGen(unittest.TestCase): method setUp (line 3502) | def setUp(self): method test___init__ (line 3505) | def test___init__(self): method test_draw_masks (line 3511) | def test_draw_masks(self): method test_zero_sized_axes (line 3537) | def test_zero_sized_axes(self): class TestSimplexNoiseAlpha (line 3563) | class TestSimplexNoiseAlpha(unittest.TestCase): method test_deprecation_warning (line 3564) | def test_deprecation_warning(self): class TestFrequencyNoiseAlpha (line 3583) | class TestFrequencyNoiseAlpha(unittest.TestCase): method test_deprecation_warning (line 3584) | def test_deprecation_warning(self): FILE: test/augmenters/test_blur.py class Test_blur_gaussian_ (line 29) | class Test_blur_gaussian_(unittest.TestCase): method setUp (line 30) | def setUp(self): method test_integration (line 33) | def test_integration(self): method test_sigma_zero (line 57) | def test_sigma_zero(self): method test_eps (line 70) | def test_eps(self): method test_ksize (line 77) | def test_ksize(self): method test_more_than_four_channels (line 109) | def test_more_than_four_channels(self): method test_zero_sized_axes (line 124) | def test_zero_sized_axes(self): method test_backends_called (line 143) | def test_backends_called(self): method test_backends_similar (line 163) | def test_backends_similar(self): method test_view (line 195) | def test_view(self): method test_non_contiguous (line 214) | def test_non_contiguous(self): method test_warnings (line 232) | def test_warnings(self): method test_other_dtypes_sigma_0 (line 248) | def test_other_dtypes_sigma_0(self): method test_other_dtypes_sigma_075 (line 308) | def test_other_dtypes_sigma_075(self): method test_other_dtypes_bool_at_sigma_06 (line 397) | def test_other_dtypes_bool_at_sigma_06(self): class Test_blur_avg_ (line 436) | class Test_blur_avg_(unittest.TestCase): method _avg (line 438) | def _avg(cls, values): method test_kernel_size_is_int (line 441) | def test_kernel_size_is_int(self): method test_kernel_size_is_tuple (line 463) | def test_kernel_size_is_tuple(self): method test_view (line 484) | def test_view(self): method test_noncontiguous (line 507) | def test_noncontiguous(self): class Test_blur_mean_shift_ (line 530) | class Test_blur_mean_shift_(unittest.TestCase): method image (line 532) | def image(self): method test_simple_image (line 543) | def test_simple_image(self): method test_hw_image (line 554) | def test_hw_image(self): method test_hw1_image (line 563) | def test_hw1_image(self): method test_non_contiguous_image (line 573) | def test_non_contiguous_image(self): method test_both_parameters_are_zero (line 585) | def test_both_parameters_are_zero(self): method test_zero_sized_axes (line 594) | def test_zero_sized_axes(self): class TestGaussianBlur (line 612) | class TestGaussianBlur(unittest.TestCase): method setUp (line 613) | def setUp(self): method test_sigma_is_zero (line 616) | def test_sigma_is_zero(self): method test_low_sigma (line 630) | def test_low_sigma(self): method test_keypoints_dont_change (line 671) | def test_keypoints_dont_change(self): method test_sigma_is_tuple (line 687) | def test_sigma_is_tuple(self): method test_other_dtypes_bool_at_sigma_0 (line 719) | def test_other_dtypes_bool_at_sigma_0(self): method test_other_dtypes_uint_int_at_sigma_0 (line 729) | def test_other_dtypes_uint_int_at_sigma_0(self): method test_other_dtypes_float_at_sigma_0 (line 743) | def test_other_dtypes_float_at_sigma_0(self): method test_other_dtypes_bool_at_sigma_060 (line 756) | def test_other_dtypes_bool_at_sigma_060(self): method test_other_dtypes_at_sigma_1 (line 793) | def test_other_dtypes_at_sigma_1(self): method test_other_dtypes_at_sigma_040 (line 842) | def test_other_dtypes_at_sigma_040(self): method test_other_dtypes_at_sigma_075 (line 889) | def test_other_dtypes_at_sigma_075(self): method test_failure_on_invalid_dtypes (line 956) | def test_failure_on_invalid_dtypes(self): method test_pickleable (line 968) | def test_pickleable(self): class TestAverageBlur (line 973) | class TestAverageBlur(unittest.TestCase): method __init__ (line 974) | def __init__(self, *args, **kwargs): method setUp (line 1034) | def setUp(self): method test_kernel_size_0 (line 1037) | def test_kernel_size_0(self): method test_kernel_size_3 (line 1043) | def test_kernel_size_3(self): method test_kernel_size_5 (line 1049) | def test_kernel_size_5(self): method test_kernel_size_is_tuple (line 1055) | def test_kernel_size_is_tuple(self): method test_kernel_size_is_tuple_with_wider_range (line 1072) | def test_kernel_size_is_tuple_with_wider_range(self): method test_kernel_size_is_stochastic_parameter (line 1092) | def test_kernel_size_is_stochastic_parameter(self): method test_kernel_size_is_tuple_of_tuples (line 1109) | def test_kernel_size_is_tuple_of_tuples(self): method test_more_than_four_channels (line 1134) | def test_more_than_four_channels(self): method test_zero_sized_axes (line 1149) | def test_zero_sized_axes(self): method test_keypoints_dont_change (line 1168) | def test_keypoints_dont_change(self): method test_other_dtypes_k0 (line 1183) | def test_other_dtypes_k0(self): method test_other_dtypes_k3_value_100 (line 1220) | def test_other_dtypes_k3_value_100(self): method test_other_dtypes_k3_dynamic_value (line 1285) | def test_other_dtypes_k3_dynamic_value(self): method test_failure_on_invalid_dtypes (line 1339) | def test_failure_on_invalid_dtypes(self): method test_pickleable (line 1351) | def test_pickleable(self): class TestMedianBlur (line 1356) | class TestMedianBlur(unittest.TestCase): method __init__ (line 1357) | def __init__(self, *args, **kwargs): method setUp (line 1392) | def setUp(self): method test_k_is_1 (line 1395) | def test_k_is_1(self): method test_k_is_3 (line 1401) | def test_k_is_3(self): method test_k_is_5 (line 1407) | def test_k_is_5(self): method test_k_is_tuple (line 1413) | def test_k_is_tuple(self): method test_k_is_stochastic_parameter (line 1429) | def test_k_is_stochastic_parameter(self): method test_more_than_four_channels (line 1445) | def test_more_than_four_channels(self): method test_zero_sized_axes (line 1460) | def test_zero_sized_axes(self): method test_keypoints_not_changed (line 1479) | def test_keypoints_not_changed(self): method test_pickleable (line 1494) | def test_pickleable(self): class TestBilateralBlur (line 1500) | class TestBilateralBlur(unittest.TestCase): method setUp (line 1501) | def setUp(self): method test_zero_sized_axes (line 1504) | def test_zero_sized_axes(self): method test_pickleable (line 1519) | def test_pickleable(self): class TestMotionBlur (line 1524) | class TestMotionBlur(unittest.TestCase): method setUp (line 1525) | def setUp(self): method test_simple_parameters (line 1528) | def test_simple_parameters(self): method test_simple_parameters_angle_is_90 (line 1548) | def test_simple_parameters_angle_is_90(self): method test_simple_parameters_angle_is_45 (line 1568) | def test_simple_parameters_angle_is_45(self): method test_simple_parameters_angle_is_list (line 1588) | def test_simple_parameters_angle_is_list(self): method test_k_is_5_angle_90 (line 1621) | def test_k_is_5_angle_90(self): method test_k_is_list_angle_90 (line 1643) | def test_k_is_list_angle_90(self): method test_failure_on_continuous_kernel_sizes (line 1680) | def test_failure_on_continuous_kernel_sizes(self): method test_k_is_tuple (line 1692) | def test_k_is_tuple(self): method test_direction_is_1 (line 1698) | def test_direction_is_1(self): method test_direction_is_minus_1 (line 1718) | def test_direction_is_minus_1(self): method test_direction_is_list (line 1738) | def test_direction_is_list(self): method test_k_is_3_angle_is_90_verify_results (line 1771) | def test_k_is_3_angle_is_90_verify_results(self): method test_pickleable (line 1792) | def test_pickleable(self): class TestMeanShiftBlur (line 1797) | class TestMeanShiftBlur(unittest.TestCase): method setUp (line 1798) | def setUp(self): method test___init___defaults (line 1801) | def test___init___defaults(self): method test___init___custom (line 1808) | def test___init___custom(self): method test_draw_samples (line 1816) | def test_draw_samples(self): method test_mocked (line 1834) | def test_mocked(self, mock_ms): method test_batch_without_images (line 1849) | def test_batch_without_images(self): method test_get_parameters (line 1858) | def test_get_parameters(self): method test_pickleable (line 1864) | def test_pickleable(self): FILE: test/augmenters/test_collections.py class TestRandAugment (line 21) | class TestRandAugment(unittest.TestCase): method setUp (line 22) | def setUp(self): method test_n (line 29) | def test_n(self, mock_main, mock_initial): method test_m (line 50) | def test_m(self, mock_main, mock_initial): method test_cval (line 65) | def test_cval(self): method test_get_parameters (line 88) | def test_get_parameters(self): method test_pickleable (line 95) | def test_pickleable(self): FILE: test/augmenters/test_color.py class Test_change_colorspace_ (line 31) | class Test_change_colorspace_(unittest.TestCase): method test_non_uint8_fails (line 32) | def test_non_uint8_fails(self): method test_unknown_to_colorspace_fails (line 40) | def test_unknown_to_colorspace_fails(self): method test_unknown_from_colorspace_fails (line 50) | def test_unknown_from_colorspace_fails(self): method test_change_to_same_colorspace_does_nothing (line 60) | def test_change_to_same_colorspace_does_nothing(self): method test_function_works_inplace (line 70) | def test_function_works_inplace(self): method test_image_is_view (line 83) | def test_image_is_view(self): method test_image_is_noncontiguous (line 101) | def test_image_is_noncontiguous(self): method test_cannot_transform_from_grayscale_to_another_cspace (line 118) | def test_cannot_transform_from_grayscale_to_another_cspace(self): method test_image_without_channels_fails (line 131) | def test_image_without_channels_fails(self): method test_image_with_four_channels_fails (line 144) | def test_image_with_four_channels_fails(self): method test_colorspace_combinations (line 157) | def test_colorspace_combinations(self): method test_zero_sized_axes (line 183) | def test_zero_sized_axes(self): method _generate_expected_image (line 200) | def _generate_expected_image(cls, image, from_colorspace, to_colorspace): class Test_change_color_temperatures_ (line 223) | class Test_change_color_temperatures_(unittest.TestCase): method test_single_image (line 224) | def test_single_image(self): method test_three_images_as_list (line 260) | def test_three_images_as_list(self): method test_four_images_as_list (line 280) | def test_four_images_as_list(self): method test_three_images_as_array (line 301) | def test_three_images_as_array(self): method test_four_images_as_array (line 319) | def test_four_images_as_array(self): method test_interpolation_of_kelvins (line 339) | def test_interpolation_of_kelvins(self): method test_from_colorspace (line 354) | def test_from_colorspace(self): class Test_change_color_temperature_ (line 374) | class Test_change_color_temperature_(unittest.TestCase): method test_calls_batch_function (line 376) | def test_calls_batch_function(self, mock_ccts): method test_single_image (line 389) | def test_single_image(self): class _BatchCapturingDummyAugmenter (line 398) | class _BatchCapturingDummyAugmenter(iaa.Augmenter): method __init__ (line 399) | def __init__(self): method _augment_batch_ (line 403) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 407) | def get_parameters(self): class TestWithBrightnessChannels (line 411) | class TestWithBrightnessChannels(unittest.TestCase): method setUp (line 412) | def setUp(self): method valid_colorspaces (line 416) | def valid_colorspaces(self): method test___init___defaults (line 419) | def test___init___defaults(self): method test___init___to_colorspace_is_all (line 427) | def test___init___to_colorspace_is_all(self): method test___init___to_colorspace_is_cspace (line 435) | def test___init___to_colorspace_is_cspace(self): method test___init___to_colorspace_is_stochastic_parameter (line 441) | def test___init___to_colorspace_is_stochastic_parameter(self): method test_every_colorspace (line 448) | def test_every_colorspace(self): method test_random_colorspace (line 507) | def test_random_colorspace(self): method test_from_colorspace_is_not_rgb (line 542) | def test_from_colorspace_is_not_rgb(self): method test_changes_from_child_propagate (line 557) | def test_changes_from_child_propagate(self): method test_using_hooks_to_deactivate_propagation (line 567) | def test_using_hooks_to_deactivate_propagation(self): method test_batch_without_images (line 582) | def test_batch_without_images(self): method test_to_deterministic (line 593) | def test_to_deterministic(self): method test_get_parameters (line 606) | def test_get_parameters(self): method test___str__ (line 614) | def test___str__(self): method test_get_children_lists (line 638) | def test_get_children_lists(self): method test_to_deterministic2 (line 647) | def test_to_deterministic2(self): method test_pickleable (line 658) | def test_pickleable(self): class TestMultiplyBrightness (line 665) | class TestMultiplyBrightness(unittest.TestCase): method setUp (line 666) | def setUp(self): method valid_colorspaces (line 670) | def valid_colorspaces(self): method test___init___defaults (line 673) | def test___init___defaults(self): method test_single_image (line 682) | def test_single_image(self): method test_pickleable (line 690) | def test_pickleable(self): class TestAddToBrightness (line 697) | class TestAddToBrightness(unittest.TestCase): method setUp (line 698) | def setUp(self): method valid_colorspaces (line 702) | def valid_colorspaces(self): method test___init___defaults (line 705) | def test___init___defaults(self): method test_single_image (line 714) | def test_single_image(self): method test_pickleable (line 722) | def test_pickleable(self): class TestMultiplyAndAddToBrightness (line 727) | class TestMultiplyAndAddToBrightness(unittest.TestCase): method setUp (line 728) | def setUp(self): method test___init___defaults (line 731) | def test___init___defaults(self): method test___init___add_is_zero (line 739) | def test___init___add_is_zero(self): method test___init___mul_is_1 (line 747) | def test___init___mul_is_1(self): method test_add_to_example_image (line 755) | def test_add_to_example_image(self): method test_multiply_example_image (line 768) | def test_multiply_example_image(self): method test_multiply_and_add_example_image (line 781) | def test_multiply_and_add_example_image(self): method test___str__ (line 795) | def test___str__(self): method test_pickleable (line 830) | def test_pickleable(self): class TestWithHueAndSaturation (line 837) | class TestWithHueAndSaturation(unittest.TestCase): method setUp (line 838) | def setUp(self): method test___init__ (line 841) | def test___init__(self): method test_augment_images (line 855) | def test_augment_images(self): method test_augment_images__hue (line 878) | def test_augment_images__hue(self): method test_augment_images__saturation (line 914) | def test_augment_images__saturation(self): method test_augment_heatmaps (line 950) | def test_augment_heatmaps(self): method test_augment_keypoints (line 976) | def test_augment_keypoints(self): method test__to_deterministic (line 1007) | def test__to_deterministic(self): method test_get_parameters (line 1018) | def test_get_parameters(self): method test_get_children_lists (line 1022) | def test_get_children_lists(self): method test___str__ (line 1037) | def test___str__(self): method test_pickleable (line 1051) | def test_pickleable(self): class TestMultiplyHueAndSaturation (line 1056) | class TestMultiplyHueAndSaturation(unittest.TestCase): method setUp (line 1057) | def setUp(self): method test_returns_correct_objects__mul (line 1060) | def test_returns_correct_objects__mul(self): method test_returns_correct_objects__mul_hue (line 1074) | def test_returns_correct_objects__mul_hue(self): method test_returns_correct_objects__mul_saturation (line 1088) | def test_returns_correct_objects__mul_saturation(self): method test_returns_correct_objects__mul_hue_and_mul_saturation (line 1102) | def test_returns_correct_objects__mul_hue_and_mul_saturation(self): method test_augment_images__mul (line 1127) | def test_augment_images__mul(self): method test_augment_images__mul_hue (line 1165) | def test_augment_images__mul_hue(self): method test_augment_images__mul_saturation (line 1210) | def test_augment_images__mul_saturation(self): method test_augment_images__mul_hue_and_mul_saturation (line 1255) | def test_augment_images__mul_hue_and_mul_saturation(self): method test_augment_images__deterministic (line 1301) | def test_augment_images__deterministic(self): method test_pickleable (line 1330) | def test_pickleable(self): class TestMultiplyHue (line 1337) | class TestMultiplyHue(unittest.TestCase): method test_returns_correct_class (line 1338) | def test_returns_correct_class(self): method test_pickleable (line 1354) | def test_pickleable(self): class TestMultiplySaturation (line 1359) | class TestMultiplySaturation(unittest.TestCase): method test_returns_correct_class (line 1360) | def test_returns_correct_class(self): method test_pickleable (line 1377) | def test_pickleable(self): class TestRemoveSaturation (line 1382) | class TestRemoveSaturation(unittest.TestCase): method _compute_average_saturation (line 1384) | def _compute_average_saturation(cls, image_rgb): method test___init___defaults (line 1390) | def test___init___defaults(self): method test___init___custom (line 1398) | def test___init___custom(self): method test_on_images (line 1406) | def test_on_images(self): method test_pickleable (line 1432) | def test_pickleable(self): class TestAddToHueAndSaturation (line 1437) | class TestAddToHueAndSaturation(unittest.TestCase): method setUp (line 1438) | def setUp(self): method create_base_image (line 1442) | def create_base_image(cls): method _add_hue_saturation (line 1473) | def _add_hue_saturation(cls, img, value=None, value_hue=None, method test___init__ (line 1496) | def test___init__(self): method test___init___value_none (line 1506) | def test___init___value_none(self): method test___init___per_channel (line 1518) | def test___init___per_channel(self): method test__generate_lut_table (line 1526) | def test__generate_lut_table(self): method test_augment_images_compare_backends (line 1555) | def test_augment_images_compare_backends(self): method test_augment_images (line 1573) | def test_augment_images(self): method test_augment_images__different_hue_and_saturation__no_per_channel (line 1606) | def test_augment_images__different_hue_and_saturation__no_per_channel(... method test_augment_images__different_hue_and_saturation__per_channel (line 1620) | def test_augment_images__different_hue_and_saturation__per_channel(self): method test_augment_images__different_hue_and_saturation__mixed_perchan (line 1635) | def test_augment_images__different_hue_and_saturation__mixed_perchan(s... method test_augment_images__list_as_value (line 1665) | def test_augment_images__list_as_value(self): method test_augment_images__value_hue (line 1693) | def test_augment_images__value_hue(self): method test_augment_images__value_hue__multi_image_sampling (line 1707) | def test_augment_images__value_hue__multi_image_sampling(self): method test_augment_images__value_saturation (line 1727) | def test_augment_images__value_saturation(self): method test_augment_images__value_saturation__multi_image_sampling (line 1742) | def test_augment_images__value_saturation__multi_image_sampling(self): method test_augment_images__value_hue_and_value_saturation (line 1762) | def test_augment_images__value_hue_and_value_saturation(self): method test_get_parameters (line 1786) | def test_get_parameters(self): method test_get_parameters_value_hue_and_value_saturation (line 1797) | def test_get_parameters_value_hue_and_value_saturation(self): method test_pickleable (line 1810) | def test_pickleable(self): class TestAddToHue (line 1817) | class TestAddToHue(unittest.TestCase): method test_returns_correct_class (line 1818) | def test_returns_correct_class(self): method test_pickleable (line 1825) | def test_pickleable(self): class TestAddToSaturation (line 1830) | class TestAddToSaturation(unittest.TestCase): method test_returns_correct_class (line 1831) | def test_returns_correct_class(self): method test_pickleable (line 1838) | def test_pickleable(self): class TestGrayscale (line 1843) | class TestGrayscale(unittest.TestCase): method setUp (line 1844) | def setUp(self): method base_img (line 1848) | def base_img(self): method _compute_luminosity (line 1856) | def _compute_luminosity(cls, r, g, b): method test_alpha_is_0 (line 1859) | def test_alpha_is_0(self): method test_alpha_is_1 (line 1865) | def test_alpha_is_1(self): method test_alpha_is_050 (line 1872) | def test_alpha_is_050(self): method test_alpha_is_tuple (line 1879) | def test_alpha_is_tuple(self): method test_pickleable (line 1910) | def test_pickleable(self): class TestChangeColorTemperature (line 1915) | class TestChangeColorTemperature(unittest.TestCase): method setUp (line 1916) | def setUp(self): method test___init___defaults (line 1919) | def test___init___defaults(self): method test___init___kelvin_is_deterministic (line 1926) | def test___init___kelvin_is_deterministic(self): method test___init___kelvin_is_tuple (line 1930) | def test___init___kelvin_is_tuple(self): method test___init___kelvin_is_list (line 1936) | def test___init___kelvin_is_list(self): method test___init___kelvin_is_stochastic_param (line 1941) | def test___init___kelvin_is_stochastic_param(self): method test_mocked (line 1948) | def test_mocked(self, mock_ccts): method test_single_image (line 1970) | def test_single_image(self): method test_get_parameters (line 1979) | def test_get_parameters(self): method test_pickleable (line 1986) | def test_pickleable(self): class TestKMeansColorQuantization (line 1993) | class TestKMeansColorQuantization(unittest.TestCase): method setUp (line 1994) | def setUp(self): method augmenter (line 1998) | def augmenter(self): method quantization_func_name (line 2002) | def quantization_func_name(self): method test___init___defaults (line 2005) | def test___init___defaults(self): method test___init___custom_parameters (line 2017) | def test___init___custom_parameters(self): method test_n_colors_deterministic (line 2035) | def test_n_colors_deterministic(self): method test_n_colors_tuple (line 2047) | def test_n_colors_tuple(self): method test_to_colorspace (line 2064) | def test_to_colorspace(self): method test_to_colorspace_is_none (line 2079) | def test_to_colorspace_is_none(self): method test_from_colorspace (line 2093) | def test_from_colorspace(self): method test_max_size_is_none (line 2116) | def test_max_size_is_none(self): method test_max_size_is_int_and_resize_necessary (line 2128) | def test_max_size_is_int_and_resize_necessary(self): method test_max_size_is_int_and_resize_not_necessary (line 2156) | def test_max_size_is_int_and_resize_not_necessary(self): method test_interpolation (line 2168) | def test_interpolation(self): method test_images_with_1_channel_integrationtest (line 2203) | def test_images_with_1_channel_integrationtest(self): method test_images_with_3_channels_integrationtest (line 2223) | def test_images_with_3_channels_integrationtest(self): method test_images_with_4_channels_integrationtest (line 2246) | def test_images_with_4_channels_integrationtest(self): method test_get_parameters (line 2272) | def test_get_parameters(self): method test_pickleable (line 2291) | def test_pickleable(self): class Test_quantize_colors_kmeans (line 2296) | class Test_quantize_colors_kmeans(unittest.TestCase): method test_warns_deprecated (line 2298) | def test_warns_deprecated(self, mock_warn): method test_calls_quantize_kmeans (line 2307) | def test_calls_quantize_kmeans(self, mock_warn, mock_qu): class Test_quantize_kmeans (line 2319) | class Test_quantize_kmeans(unittest.TestCase): method setUp (line 2320) | def setUp(self): method _test_images_with_n_channels (line 2324) | def _test_images_with_n_channels(cls, nb_channels): method test_images_with_no_channels (line 2342) | def test_images_with_no_channels(self): method test_images_with_1_channel (line 2345) | def test_images_with_1_channel(self): method test_images_with_3_channels (line 2348) | def test_images_with_3_channels(self): method test_more_colors_than_pixels (line 2351) | def test_more_colors_than_pixels(self): method test_failure_if_n_colors_less_than_2 (line 2362) | def test_failure_if_n_colors_less_than_2(self): method test_quantization_is_deterministic (line 2376) | def test_quantization_is_deterministic(self): method test_zero_sized_axes (line 2389) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 2410) | def test_unusual_channel_numbers(self): class TestUniformColorQuantization (line 2429) | class TestUniformColorQuantization(TestKMeansColorQuantization): method setUp (line 2430) | def setUp(self): method augmenter (line 2434) | def augmenter(self): method quantization_func_name (line 2438) | def quantization_func_name(self): method test___init___defaults (line 2441) | def test___init___defaults(self): method test___init___custom_parameters (line 2451) | def test___init___custom_parameters(self): method test_images_with_1_channel_integrationtest (line 2469) | def test_images_with_1_channel_integrationtest(self): method test_images_with_3_channels_integrationtest (line 2489) | def test_images_with_3_channels_integrationtest(self): method test_images_with_4_channels_integrationtest (line 2512) | def test_images_with_4_channels_integrationtest(self): method test_from_colorspace (line 2538) | def test_from_colorspace(self): method test_pickleable (line 2565) | def test_pickleable(self): class TestUniformColorQuantizationToNBits (line 2572) | class TestUniformColorQuantizationToNBits(unittest.TestCase): method setUp (line 2573) | def setUp(self): method augmenter (line 2577) | def augmenter(self): method quantization_func_name (line 2581) | def quantization_func_name(self): method test___init___defaults (line 2584) | def test___init___defaults(self): method test___init___custom_parameters (line 2594) | def test___init___custom_parameters(self): method test_images_with_1_channel_integrationtest (line 2612) | def test_images_with_1_channel_integrationtest(self): method test_images_with_3_channels_integrationtest (line 2632) | def test_images_with_3_channels_integrationtest(self): method test_pickleable (line 2655) | def test_pickleable(self): class TestPosterize (line 2660) | class TestPosterize(TestUniformColorQuantizationToNBits): method augmenter (line 2662) | def augmenter(self): class Test_quantize_colors_uniform (line 2666) | class Test_quantize_colors_uniform(unittest.TestCase): method test_warns_deprecated (line 2668) | def test_warns_deprecated(self, mock_warn): method test_calls_quantize_uniform (line 2677) | def test_calls_quantize_uniform(self, mock_warn, mock_qu): class Test_quantize_uniform (line 2688) | class Test_quantize_uniform(unittest.TestCase): method test_calls_inplace_function (line 2690) | def test_calls_inplace_function(self, mock_qu): class Test_quantize_uniform_ (line 2704) | class Test_quantize_uniform_(unittest.TestCase): method setUp (line 2705) | def setUp(self): method _test_images_with_n_channels_2_colors (line 2709) | def _test_images_with_n_channels_2_colors(cls, nb_channels): method _test_images_with_n_channels_4_colors (line 2728) | def _test_images_with_n_channels_4_colors(cls, nb_channels): method test_images_with_no_channels_2_colors (line 2760) | def test_images_with_no_channels_2_colors(self): method test_images_with_1_channel_2_colors (line 2763) | def test_images_with_1_channel_2_colors(self): method test_images_with_3_channels_2_colors (line 2766) | def test_images_with_3_channels_2_colors(self): method test_images_with_no_channels_4_colors (line 2769) | def test_images_with_no_channels_4_colors(self): method test_images_with_1_channel_4_colors (line 2772) | def test_images_with_1_channel_4_colors(self): method test_images_with_3_channels_4_colors (line 2775) | def test_images_with_3_channels_4_colors(self): method test_to_bin_centers_is_false (line 2778) | def test_to_bin_centers_is_false(self): method test_failure_if_n_colors_less_than_2 (line 2806) | def test_failure_if_n_colors_less_than_2(self): method test_noncontiguous (line 2820) | def test_noncontiguous(self): method test_zero_sized_axes (line 2839) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 2859) | def test_unusual_channel_numbers(self): class Test_quantize_uniform_to_n_bits (line 2878) | class Test_quantize_uniform_to_n_bits(unittest.TestCase): method test_calls_inplace_function (line 2880) | def test_calls_inplace_function(self, mock_qu): class Test_quantize_uniform_to_n_bits_ (line 2896) | class Test_quantize_uniform_to_n_bits_(unittest.TestCase): method test_mocked (line 2898) | def test_mocked(self, mock_qu): class Test_posterize (line 2914) | class Test_posterize(unittest.TestCase): method test_mocked (line 2916) | def test_mocked(self, mock_qu): FILE: test/augmenters/test_contrast.py class TestGammaContrast (line 34) | class TestGammaContrast(unittest.TestCase): method setUp (line 35) | def setUp(self): method test___init___tuple_to_uniform (line 38) | def test___init___tuple_to_uniform(self): method test___init___list_to_choice (line 46) | def test___init___list_to_choice(self): method test_images_basic_functionality (line 51) | def test_images_basic_functionality(self): method test_per_channel_is_float (line 79) | def test_per_channel_is_float(self): method test_keypoints_not_changed (line 96) | def test_keypoints_not_changed(self): method test_heatmaps_not_changed (line 102) | def test_heatmaps_not_changed(self): method test_zero_sized_axes (line 109) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 130) | def test_unusual_channel_numbers(self): method test_other_dtypes_uint_int (line 149) | def test_other_dtypes_uint_int(self): method test_other_dtypes_float (line 222) | def test_other_dtypes_float(self): method test_pickleable (line 270) | def test_pickleable(self): class TestSigmoidContrast (line 275) | class TestSigmoidContrast(unittest.TestCase): method setUp (line 276) | def setUp(self): method test___init___tuple_to_uniform (line 279) | def test___init___tuple_to_uniform(self): method test___init___list_to_choice (line 295) | def test___init___list_to_choice(self): method test_images_basic_functionality (line 308) | def test_images_basic_functionality(self): method test_per_channel_is_float (line 340) | def test_per_channel_is_float(self): method test_keypoints_dont_change (line 359) | def test_keypoints_dont_change(self): method test_heatmaps_dont_change (line 365) | def test_heatmaps_dont_change(self): method test_zero_sized_axes (line 372) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 393) | def test_unusual_channel_numbers(self): method test_other_dtypes_uint_int (line 412) | def test_other_dtypes_uint_int(self): method test_other_dtypes_float (line 476) | def test_other_dtypes_float(self): method test_pickleable (line 512) | def test_pickleable(self): class TestLogContrast (line 517) | class TestLogContrast(unittest.TestCase): method setUp (line 518) | def setUp(self): method test_images_basic_functionality (line 521) | def test_images_basic_functionality(self): method test___init___tuple_to_uniform (line 549) | def test___init___tuple_to_uniform(self): method test___init___list_to_choice (line 557) | def test___init___list_to_choice(self): method test_per_channel_is_float (line 562) | def test_per_channel_is_float(self): method test_keypoints_not_changed (line 579) | def test_keypoints_not_changed(self): method test_heatmaps_not_changed (line 585) | def test_heatmaps_not_changed(self): method test_zero_sized_axes (line 592) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 613) | def test_unusual_channel_numbers(self): method test_other_dtypes_uint_int (line 632) | def test_other_dtypes_uint_int(self): method test_other_dtypes_float (line 673) | def test_other_dtypes_float(self): method test_pickleable (line 705) | def test_pickleable(self): class TestLinearContrast (line 710) | class TestLinearContrast(unittest.TestCase): method setUp (line 711) | def setUp(self): method test_images_basic_functionality (line 714) | def test_images_basic_functionality(self): method test___init___tuple_to_uniform (line 742) | def test___init___tuple_to_uniform(self): method test___init___list_to_choice (line 750) | def test___init___list_to_choice(self): method test_float_as_per_channel (line 755) | def test_float_as_per_channel(self): method test_keypoints_not_changed (line 774) | def test_keypoints_not_changed(self): method test_heatmaps_not_changed (line 780) | def test_heatmaps_not_changed(self): method test_zero_sized_axes (line 787) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 808) | def test_unusual_channel_numbers(self): method test_pickleable (line 829) | def test_pickleable(self): class Test_adjust_contrast_linear (line 834) | class Test_adjust_contrast_linear(unittest.TestCase): method setUp (line 835) | def setUp(self): method test_other_dtypes (line 838) | def test_other_dtypes(self): method test_output_values_exceed_uint8_value_range (line 886) | def test_output_values_exceed_uint8_value_range(self): method test_alpha_exceeds_uint8_value_range (line 902) | def test_alpha_exceeds_uint8_value_range(self): class TestAllChannelsCLAHE (line 920) | class TestAllChannelsCLAHE(unittest.TestCase): method setUp (line 921) | def setUp(self): method test_init (line 924) | def test_init(self): method test_basic_functionality (line 979) | def test_basic_functionality(self): method test_basic_functionality_3d (line 1004) | def test_basic_functionality_3d(self): method test_basic_functionality_integrationtest (line 1030) | def test_basic_functionality_integrationtest(self): method test_tile_grid_size_px_min (line 1048) | def test_tile_grid_size_px_min(self): method test_per_channel_integrationtest (line 1062) | def test_per_channel_integrationtest(self): method test_unit_sized_kernels (line 1091) | def test_unit_sized_kernels(self): method test_other_dtypes (line 1114) | def test_other_dtypes(self): method test_keypoints_not_changed (line 1211) | def test_keypoints_not_changed(self): method test_heatmaps_not_changed (line 1217) | def test_heatmaps_not_changed(self): method test_zero_sized_axes (line 1224) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 1245) | def test_unusual_channel_numbers(self): method test_get_parameters (line 1264) | def test_get_parameters(self): method test_pickleable (line 1281) | def test_pickleable(self): class TestCLAHE (line 1288) | class TestCLAHE(unittest.TestCase): method setUp (line 1289) | def setUp(self): method test_init (line 1292) | def test_init(self): method test_single_image_grayscale (line 1310) | def test_single_image_grayscale(self, mock_cs): method _test_single_image_3d_rgb_to_x (line 1344) | def _test_single_image_3d_rgb_to_x(cls, to_colorspace, channel_idx): method test_single_image_3d_rgb_to_lab (line 1408) | def test_single_image_3d_rgb_to_lab(self): method test_single_image_3d_rgb_to_hsv (line 1411) | def test_single_image_3d_rgb_to_hsv(self): method test_single_image_3d_rgb_to_hls (line 1414) | def test_single_image_3d_rgb_to_hls(self): method test_single_image_4d_rgb_to_lab (line 1418) | def test_single_image_4d_rgb_to_lab(self, mock_cs): method test_single_image_5d_rgb_to_lab (line 1481) | def test_single_image_5d_rgb_to_lab(self, mock_cs): method _test_many_images_rgb_to_lab_list (line 1545) | def _test_many_images_rgb_to_lab_list(cls, with_3d_images): method test_many_images_rgb_to_lab_list_without_3d_images (line 1648) | def test_many_images_rgb_to_lab_list_without_3d_images(self): method test_many_images_rgb_to_lab_list_with_3d_images (line 1651) | def test_many_images_rgb_to_lab_list_with_3d_images(self): method _test_many_images_rgb_to_lab_array (line 1655) | def _test_many_images_rgb_to_lab_array(cls, nb_channels, nb_images): method test_many_images_rgb_to_lab_array (line 1769) | def test_many_images_rgb_to_lab_array(self): method test_determinism (line 1777) | def test_determinism(self): method test_zero_sized_axes (line 1811) | def test_zero_sized_axes(self): method test_get_parameters (line 1828) | def test_get_parameters(self): method test_pickleable (line 1843) | def test_pickleable(self): class TestAllChannelsHistogramEqualization (line 1850) | class TestAllChannelsHistogramEqualization(unittest.TestCase): method setUp (line 1851) | def setUp(self): method test_basic_functionality (line 1854) | def test_basic_functionality(self): method test_basic_functionality_integrationtest (line 1890) | def test_basic_functionality_integrationtest(self): method test_other_dtypes (line 1917) | def test_other_dtypes(self): method test_keypoints_not_changed (line 1952) | def test_keypoints_not_changed(self): method test_heatmaps_not_changed (line 1958) | def test_heatmaps_not_changed(self): method test_zero_sized_axes (line 1965) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 1986) | def test_unusual_channel_numbers(self): method test_get_parameters (line 2005) | def test_get_parameters(self): method test_pickleable (line 2010) | def test_pickleable(self): class TestHistogramEqualization (line 2015) | class TestHistogramEqualization(unittest.TestCase): method setUp (line 2016) | def setUp(self): method test_init (line 2019) | def test_init(self): method test_basic_functionality_integrationtest (line 2031) | def test_basic_functionality_integrationtest(self): method test_determinism (line 2087) | def test_determinism(self): method test_zero_sized_axes (line 2103) | def test_zero_sized_axes(self): method test_get_parameters (line 2120) | def test_get_parameters(self): method test_pickleable (line 2128) | def test_pickleable(self): FILE: test/augmenters/test_convolutional.py class Test_convolve (line 29) | class Test_convolve(unittest.TestCase): method test_1x1_identity_matrix_2d_image (line 30) | def test_1x1_identity_matrix_2d_image(self): class Test_convolve_ (line 47) | class Test_convolve_(unittest.TestCase): method test_1x1_identity_matrix_2d_image_small_image_sizes (line 48) | def test_1x1_identity_matrix_2d_image_small_image_sizes(self): method test_1x1_identity_matrix_2d_image (line 73) | def test_1x1_identity_matrix_2d_image(self): method test_2x2_identity_matrix_2d_image (line 88) | def test_2x2_identity_matrix_2d_image(self): method test_3x3_identity_matrix_2d_image (line 104) | def test_3x3_identity_matrix_2d_image(self): method test_single_matrix_2d_image (line 121) | def test_single_matrix_2d_image(self): method test_single_matrix_3d_image (line 144) | def test_single_matrix_3d_image(self): method test_matrix_is_list_of_arrays (line 162) | def test_matrix_is_list_of_arrays(self): method test_matrix_is_list_containing_none (line 188) | def test_matrix_is_list_containing_none(self): method test_matrix_is_list_containing_only_none (line 210) | def test_matrix_is_list_containing_only_none(self): method test_unusual_channel_numbers (line 228) | def test_unusual_channel_numbers(self): method test_zero_sized_axes (line 247) | def test_zero_sized_axes(self): method test_view_heightwise (line 269) | def test_view_heightwise(self): method test_view_channelwise_1_channel (line 286) | def test_view_channelwise_1_channel(self): method test_view_channelwise_4_channels (line 308) | def test_view_channelwise_4_channels(self): method test_noncontiguous (line 331) | def test_noncontiguous(self): class TestConvolve (line 350) | class TestConvolve(unittest.TestCase): method setUp (line 351) | def setUp(self): method img (line 355) | def img(self): method test_matrix_is_none (line 362) | def test_matrix_is_none(self): method test_matrix_is_lambda_none (line 367) | def test_matrix_is_lambda_none(self): method test_matrix_is_1x1_identity (line 375) | def test_matrix_is_1x1_identity(self): method test_matrix_is_lambda_1x1_identity (line 381) | def test_matrix_is_lambda_1x1_identity(self): method test_matrix_is_3x3_identity (line 389) | def test_matrix_is_3x3_identity(self): method test_matrix_is_lambda_3x3_identity (line 399) | def test_matrix_is_lambda_3x3_identity(self): method test_matrix_is_3x3_two_in_center (line 410) | def test_matrix_is_3x3_two_in_center(self): method test_matrix_is_lambda_3x3_two_in_center (line 420) | def test_matrix_is_lambda_3x3_two_in_center(self): method test_matrix_is_3x3_two_in_center_3_channels (line 432) | def test_matrix_is_3x3_two_in_center_3_channels(self): method test_matrix_is_lambda_3x3_two_in_center_3_channels (line 443) | def test_matrix_is_lambda_3x3_two_in_center_3_channels(self): method test_matrix_is_3x3_with_multiple_nonzero_values (line 456) | def test_matrix_is_3x3_with_multiple_nonzero_values(self): method test_matrix_is_lambda_3x3_with_multiple_nonzero_values (line 472) | def test_matrix_is_lambda_3x3_with_multiple_nonzero_values(self): method test_lambda_with_changing_matrices (line 490) | def test_lambda_with_changing_matrices(self): method test_matrix_has_bad_datatype (line 516) | def test_matrix_has_bad_datatype(self): method test_zero_sized_axes (line 526) | def test_zero_sized_axes(self): method test_get_parameters (line 546) | def test_get_parameters(self): method test_other_dtypes_bool_identity_matrix (line 553) | def test_other_dtypes_bool_identity_matrix(self): method test_other_dtypes_uint_int_identity_matrix (line 563) | def test_other_dtypes_uint_int_identity_matrix(self): method test_other_dtypes_float_identity_matrix (line 574) | def test_other_dtypes_float_identity_matrix(self): method test_other_dtypes_bool_non_identity_matrix_with_small_values (line 585) | def test_other_dtypes_bool_non_identity_matrix_with_small_values(self): method test_other_dtypes_uint_int_non_identity_matrix_with_small_values (line 603) | def test_other_dtypes_uint_int_non_identity_matrix_with_small_values(s... method test_other_dtypes_float_non_identity_matrix_with_small_values (line 628) | def test_other_dtypes_float_non_identity_matrix_with_small_values(self): method test_other_dtypes_uint_int_non_identity_matrix_with_large_values (line 653) | def test_other_dtypes_uint_int_non_identity_matrix_with_large_values(s... method test_other_dtypes_float_non_identity_matrix_with_large_values (line 683) | def test_other_dtypes_float_non_identity_matrix_with_large_values(self): method test_failure_on_invalid_dtypes (line 708) | def test_failure_on_invalid_dtypes(self): method test_pickleable__identity_matrix (line 721) | def test_pickleable__identity_matrix(self): method test_pickleable__callback_function (line 726) | def test_pickleable__callback_function(self): function _convolve_pickleable_matrix_generator (line 732) | def _convolve_pickleable_matrix_generator(_img, _nb_channels, random_sta... class TestSharpen (line 736) | class TestSharpen(unittest.TestCase): method setUp (line 737) | def setUp(self): method _compute_sharpened_base_img (line 741) | def _compute_sharpened_base_img(cls, lightness, m): method base_img (line 771) | def base_img(self): method base_img_sharpened (line 779) | def base_img_sharpened(self): method m (line 783) | def m(self): method m_noop (line 789) | def m_noop(self): method test_alpha_zero (line 794) | def test_alpha_zero(self): method test_alpha_one (line 800) | def test_alpha_one(self): method test_alpha_050 (line 806) | def test_alpha_050(self): method test_alpha_075 (line 813) | def test_alpha_075(self): method test_alpha_is_stochastic_parameter (line 820) | def test_alpha_is_stochastic_parameter(self): method test_failure_if_alpha_has_bad_datatype (line 832) | def test_failure_if_alpha_has_bad_datatype(self): method test_alpha_1_lightness_2 (line 842) | def test_alpha_1_lightness_2(self): method test_alpha_1_lightness_3 (line 848) | def test_alpha_1_lightness_3(self): method test_alpha_1_lightness_is_stochastic_parameter (line 854) | def test_alpha_1_lightness_is_stochastic_parameter(self): method test_failure_if_lightness_has_bad_datatype (line 864) | def test_failure_if_lightness_has_bad_datatype(self): method test_pickleable (line 965) | def test_pickleable(self): class TestEmboss (line 970) | class TestEmboss(unittest.TestCase): method setUp (line 971) | def setUp(self): method _compute_embossed_base_img (line 975) | def _compute_embossed_base_img(cls, img, alpha, strength): method _allclose (line 1013) | def _allclose(cls, a, b): method base_img (line 1020) | def base_img(self): method test_alpha_0_strength_1 (line 1025) | def test_alpha_0_strength_1(self): method test_alpha_1_strength_1 (line 1031) | def test_alpha_1_strength_1(self): method test_alpha_050_strength_1 (line 1038) | def test_alpha_050_strength_1(self): method test_alpha_075_strength_1 (line 1045) | def test_alpha_075_strength_1(self): method test_alpha_stochastic_parameter_strength_1 (line 1052) | def test_alpha_stochastic_parameter_strength_1(self): method test_failure_on_invalid_datatype_for_alpha (line 1064) | def test_failure_on_invalid_datatype_for_alpha(self): method test_alpha_1_strength_2 (line 1074) | def test_alpha_1_strength_2(self): method test_alpha_1_strength_3 (line 1081) | def test_alpha_1_strength_3(self): method test_alpha_1_strength_6 (line 1088) | def test_alpha_1_strength_6(self): method test_alpha_1_strength_stochastic_parameter (line 1095) | def test_alpha_1_strength_stochastic_parameter(self): method test_failure_on_invalid_datatype_for_strength (line 1107) | def test_failure_on_invalid_datatype_for_strength(self): method test_pickleable (line 1117) | def test_pickleable(self): FILE: test/augmenters/test_debug.py class Test_draw_debug_image (line 31) | class Test_draw_debug_image(unittest.TestCase): method _find_in_image_avg_diff (line 33) | def _find_in_image_avg_diff(cls, find_image, in_image): method _image_contains (line 48) | def _image_contains(cls, find_image, in_image, threshold=2.0): method test_one_image (line 51) | def test_one_image(self): method test_two_images (line 59) | def test_two_images(self): method test_two_images_of_different_sizes (line 68) | def test_two_images_of_different_sizes(self): method test_two_images_and_heatmaps (line 78) | def test_two_images_and_heatmaps(self): method test_two_images_and_segmaps (line 96) | def test_two_images_and_segmaps(self): method test_two_images_and_heatmaps__map_size_differs_from_image (line 119) | def test_two_images_and_heatmaps__map_size_differs_from_image(self): method test_two_images_and_heatmaps__multichannel (line 137) | def test_two_images_and_heatmaps__multichannel(self): method test_two_images_and_keypoints (line 159) | def test_two_images_and_keypoints(self): method test_two_images_and_bounding_boxes (line 178) | def test_two_images_and_bounding_boxes(self): method test_two_images_and_polygons (line 198) | def test_two_images_and_polygons(self): method test_two_images_and_line_strings (line 219) | def test_two_images_and_line_strings(self): method test_one_image_float32 (line 240) | def test_one_image_float32(self): method test_one_image_float32_and_heatmap (line 249) | def test_one_image_float32_and_heatmap(self): class SaveDebugImageEveryNBatches (line 264) | class SaveDebugImageEveryNBatches(unittest.TestCase): method setUp (line 265) | def setUp(self): method test_mocked (line 268) | def test_mocked(self): method test_temp_directory (line 289) | def test_temp_directory(self): method test_pickleable (line 310) | def test_pickleable(self): FILE: test/augmenters/test_edges.py class TestRandomColorsBinaryImageColorizer (line 30) | class TestRandomColorsBinaryImageColorizer(unittest.TestCase): method setUp (line 31) | def setUp(self): method test___init___default_settings (line 34) | def test___init___default_settings(self): method test___init___deterministic_settinga (line 43) | def test___init___deterministic_settinga(self): method test___init___tuple_and_list (line 51) | def test___init___tuple_and_list(self): method test___init___stochastic_parameters (line 62) | def test___init___stochastic_parameters(self): method test__draw_samples (line 74) | def test__draw_samples(self): method test_colorize__one_channel (line 96) | def test_colorize__one_channel(self): method test_colorize__three_channels (line 116) | def test_colorize__three_channels(self): method test_colorize__four_channels (line 136) | def test_colorize__four_channels(self): method test_pickleable (line 160) | def test_pickleable(self): class TestCanny (line 176) | class TestCanny(unittest.TestCase): method test___init___default_settings (line 177) | def test___init___default_settings(self): method test___init___custom_settings (line 205) | def test___init___custom_settings(self): method test___init___single_value_hysteresis (line 234) | def test___init___single_value_hysteresis(self): method test__draw_samples__single_value_hysteresis (line 257) | def test__draw_samples__single_value_hysteresis(self): method test__draw_samples__tuple_as_hysteresis (line 297) | def test__draw_samples__tuple_as_hysteresis(self): method test_augment_images__alpha_is_zero (line 347) | def test_augment_images__alpha_is_zero(self): method test_augment_images__alpha_is_one (line 358) | def test_augment_images__alpha_is_one(self): method test_augment_images__single_channel (line 401) | def test_augment_images__single_channel(self): method test_augment_images__four_channels (line 446) | def test_augment_images__four_channels(self): method test_augment_images__random_color (line 499) | def test_augment_images__random_color(self): method test_augment_images__random_values (line 565) | def test_augment_images__random_values(self): method test_zero_sized_axes (line 624) | def test_zero_sized_axes(self): method test_get_parameters (line 640) | def test_get_parameters(self): method test___str___single_value_hysteresis (line 658) | def test___str___single_value_hysteresis(self): method test___str___tuple_as_hysteresis (line 680) | def test___str___tuple_as_hysteresis(self): method test_pickleable (line 706) | def test_pickleable(self): FILE: test/augmenters/test_flip.py class TestHorizontalFlip (line 32) | class TestHorizontalFlip(unittest.TestCase): method test_returns_fliplr (line 33) | def test_returns_fliplr(self): class TestVerticalFlip (line 39) | class TestVerticalFlip(unittest.TestCase): method test_returns_flipud (line 40) | def test_returns_flipud(self): class _TestFliplrAndFlipudBase (line 47) | class _TestFliplrAndFlipudBase(object): method setUp (line 48) | def setUp(self): method image (line 53) | def image(self): method image_flipped (line 58) | def image_flipped(self): method images (line 62) | def images(self): method images_flipped (line 66) | def images_flipped(self): method heatmaps (line 71) | def heatmaps(self): method heatmaps_flipped (line 76) | def heatmaps_flipped(self): method segmaps (line 81) | def segmaps(self): method segmaps_flipped (line 86) | def segmaps_flipped(self): method kpsoi (line 91) | def kpsoi(self): method kpsoi_flipped (line 96) | def kpsoi_flipped(self): method psoi (line 101) | def psoi(self): method psoi_flipped (line 106) | def psoi_flipped(self): method lsoi (line 111) | def lsoi(self): method lsoi_flipped (line 116) | def lsoi_flipped(self): method bbsoi (line 121) | def bbsoi(self): method bbsoi_flipped (line 126) | def bbsoi_flipped(self): method create_aug (line 130) | def create_aug(self, *args, **kwargs): method create_arr (line 134) | def create_arr(self, value, dtype): method create_arr_flipped (line 138) | def create_arr_flipped(self, value, dtype): method test_images_p_is_0 (line 141) | def test_images_p_is_0(self): method test_images_p_is_0__deterministic (line 149) | def test_images_p_is_0__deterministic(self): method test_keypoints_p_is_0 (line 157) | def test_keypoints_p_is_0(self): method test_keypoints_p_is_0__deterministic (line 160) | def test_keypoints_p_is_0__deterministic(self): method test_polygons_p_is_0 (line 163) | def test_polygons_p_is_0(self): method test_polygons_p_is_0__deterministic (line 166) | def test_polygons_p_is_0__deterministic(self): method test_line_strings_p_is_0 (line 169) | def test_line_strings_p_is_0(self): method test_line_strings_p_is_0__deterministic (line 172) | def test_line_strings_p_is_0__deterministic(self): method test_bounding_boxes_p_is_0 (line 175) | def test_bounding_boxes_p_is_0(self): method test_bounding_boxes_p_is_0__deterministic (line 178) | def test_bounding_boxes_p_is_0__deterministic(self): method _test_cbaoi_p_is_0 (line 181) | def _test_cbaoi_p_is_0(self, augf_name, cbaoi, deterministic): method test_heatmaps_p_is_0 (line 190) | def test_heatmaps_p_is_0(self): method test_segmaps_p_is_0 (line 201) | def test_segmaps_p_is_0(self): method test_images_p_is_1 (line 207) | def test_images_p_is_1(self): method test_images_p_is_1__deterministic (line 215) | def test_images_p_is_1__deterministic(self): method test_keypoints_p_is_1 (line 223) | def test_keypoints_p_is_1(self): method test_keypoints_p_is_1__deterministic (line 227) | def test_keypoints_p_is_1__deterministic(self): method test_polygons_p_is_1 (line 231) | def test_polygons_p_is_1(self): method test_polygons_p_is_1__deterministic (line 235) | def test_polygons_p_is_1__deterministic(self): method test_line_strings_p_is_1 (line 239) | def test_line_strings_p_is_1(self): method test_line_strings_p_is_1__deterministic (line 243) | def test_line_strings_p_is_1__deterministic(self): method test_bounding_boxes_p_is_1 (line 247) | def test_bounding_boxes_p_is_1(self): method test_bounding_boxes_p_is_1__deterministic (line 251) | def test_bounding_boxes_p_is_1__deterministic(self): method _test_cbaoi_p_is_1 (line 255) | def _test_cbaoi_p_is_1(self, augf_name, cbaoi, cbaoi_flipped, method test_heatmaps_p_is_1 (line 265) | def test_heatmaps_p_is_1(self): method test_segmaps_p_is_1 (line 277) | def test_segmaps_p_is_1(self): method test_images_p_is_050 (line 284) | def test_images_p_is_050(self): method test_images_p_is_050__deterministic (line 297) | def test_images_p_is_050__deterministic(self): method test_keypoints_p_is_050 (line 309) | def test_keypoints_p_is_050(self): method test_keypoints_p_is_050__deterministic (line 313) | def test_keypoints_p_is_050__deterministic(self): method test_polygons_p_is_050 (line 317) | def test_polygons_p_is_050(self): method test_polygons_p_is_050__deterministic (line 321) | def test_polygons_p_is_050__deterministic(self): method test_line_strings_p_is_050 (line 325) | def test_line_strings_p_is_050(self): method test_line_strings_p_is_050__deterministic (line 329) | def test_line_strings_p_is_050__deterministic(self): method test_bounding_boxes_p_is_050 (line 333) | def test_bounding_boxes_p_is_050(self): method test_bounding_boxes_p_is_050__deterministic (line 337) | def test_bounding_boxes_p_is_050__deterministic(self): method _test_cbaoi_p_is_050 (line 341) | def _test_cbaoi_p_is_050(self, augf_name, cbaoi, cbaoi_flipped): method _test_cbaoi_p_is_050__deterministic (line 355) | def _test_cbaoi_p_is_050__deterministic(self, augf_name, cbaoi, method test_list_of_images_p_is_050 (line 369) | def test_list_of_images_p_is_050(self): method test_list_of_images_p_is_050__deterministic (line 383) | def test_list_of_images_p_is_050__deterministic(self): method test_images_p_is_stochastic_parameter (line 397) | def test_images_p_is_stochastic_parameter(self): method test_invalid_datatype_for_p_results_in_failure (line 410) | def test_invalid_datatype_for_p_results_in_failure(self): method test_zero_sized_axes (line 414) | def test_zero_sized_axes(self): method test_get_parameters (line 440) | def test_get_parameters(self): method test_other_dtypes_bool (line 447) | def test_other_dtypes_bool(self): method test_other_dtypes_uint_int (line 456) | def test_other_dtypes_uint_int(self): method test_other_dtypes_float (line 471) | def test_other_dtypes_float(self): method test_pickleable (line 490) | def test_pickleable(self): class TestFliplr (line 495) | class TestFliplr(_TestFliplrAndFlipudBase, unittest.TestCase): method setUp (line 496) | def setUp(self): method image (line 500) | def image(self): method image_flipped (line 507) | def image_flipped(self): method heatmaps (line 514) | def heatmaps(self): method heatmaps_flipped (line 523) | def heatmaps_flipped(self): method segmaps (line 532) | def segmaps(self): method segmaps_flipped (line 541) | def segmaps_flipped(self): method kpsoi (line 550) | def kpsoi(self): method kpsoi_flipped (line 557) | def kpsoi_flipped(self): method psoi (line 564) | def psoi(self): method psoi_flipped (line 569) | def psoi_flipped(self): method lsoi (line 574) | def lsoi(self): method lsoi_flipped (line 579) | def lsoi_flipped(self): method bbsoi (line 584) | def bbsoi(self): method bbsoi_flipped (line 589) | def bbsoi_flipped(self): method create_aug (line 594) | def create_aug(self, *args, **kwargs): method create_arr (line 597) | def create_arr(self, value, dtype): method create_arr_flipped (line 602) | def create_arr_flipped(self, value, dtype): class TestFlipud (line 608) | class TestFlipud(_TestFliplrAndFlipudBase, unittest.TestCase): method setUp (line 609) | def setUp(self): method image (line 613) | def image(self): method image_flipped (line 620) | def image_flipped(self): method heatmaps (line 627) | def heatmaps(self): method heatmaps_flipped (line 636) | def heatmaps_flipped(self): method segmaps (line 645) | def segmaps(self): method segmaps_flipped (line 654) | def segmaps_flipped(self): method kpsoi (line 663) | def kpsoi(self): method kpsoi_flipped (line 670) | def kpsoi_flipped(self): method psoi (line 677) | def psoi(self): method psoi_flipped (line 682) | def psoi_flipped(self): method lsoi (line 687) | def lsoi(self): method lsoi_flipped (line 692) | def lsoi_flipped(self): method bbsoi (line 697) | def bbsoi(self): method bbsoi_flipped (line 702) | def bbsoi_flipped(self): method create_aug (line 707) | def create_aug(self, *args, **kwargs): method create_arr (line 710) | def create_arr(self, value, dtype): method create_arr_flipped (line 715) | def create_arr_flipped(self, value, dtype): class Test_fliplr (line 721) | class Test_fliplr(unittest.TestCase): method setUp (line 722) | def setUp(self): method test__fliplr_cv2_called_mocked (line 727) | def test__fliplr_cv2_called_mocked(self, mock_cv2, mock_sliced): method test__fliplr_sliced_called_mocked (line 740) | def test__fliplr_sliced_called_mocked(self, mock_cv2, mock_sliced): method test__fliplr_cv2_2d (line 763) | def test__fliplr_cv2_2d(self): method test__fliplr_cv2_3d_single_channel (line 766) | def test__fliplr_cv2_3d_single_channel(self): method test__fliplr_cv2_3d_three_channels (line 769) | def test__fliplr_cv2_3d_three_channels(self): method test__fliplr_cv2_3d_four_channels (line 772) | def test__fliplr_cv2_3d_four_channels(self): method test__fliplr_sliced_2d (line 775) | def test__fliplr_sliced_2d(self): method test__fliplr_sliced_3d_single_channel (line 778) | def test__fliplr_sliced_3d_single_channel(self): method test__fliplr_sliced_3d_three_channels (line 781) | def test__fliplr_sliced_3d_three_channels(self): method test__fliplr_sliced_3d_four_channels (line 784) | def test__fliplr_sliced_3d_four_channels(self): method test__fliplr_sliced_3d_513_channels (line 787) | def test__fliplr_sliced_3d_513_channels(self): method _test__fliplr_subfunc_n_channels (line 791) | def _test__fliplr_subfunc_n_channels(cls, func, nb_channels): method test_zero_height_arr_cv2 (line 817) | def test_zero_height_arr_cv2(self): method test_zero_width_arr_cv2 (line 823) | def test_zero_width_arr_cv2(self): method test_zero_channels_arr_cv2 (line 829) | def test_zero_channels_arr_cv2(self): method test_513_channels_arr_cv2 (line 835) | def test_513_channels_arr_cv2(self): method test_zero_height_arr_sliced (line 855) | def test_zero_height_arr_sliced(self): method test_zero_width_arr_sliced (line 861) | def test_zero_width_arr_sliced(self): method test_zero_channels_arr_sliced (line 867) | def test_zero_channels_arr_sliced(self): method test_513_channels_arr_sliced (line 873) | def test_513_channels_arr_sliced(self): method test_bool_faithful (line 893) | def test_bool_faithful(self): method test_uint_int_faithful (line 901) | def test_uint_int_faithful(self): method test_float_faithful_to_min_max (line 918) | def test_float_faithful_to_min_max(self): method test_float_faithful_to_large_values (line 941) | def test_float_faithful_to_large_values(self): class Test_flipud (line 970) | class Test_flipud(unittest.TestCase): method setUp (line 971) | def setUp(self): method test__flipud_2d (line 974) | def test__flipud_2d(self): method test__flipud_3d_single_channel (line 977) | def test__flipud_3d_single_channel(self): method test__flipud_3d_three_channels (line 980) | def test__flipud_3d_three_channels(self): method test__flipud_3d_four_channels (line 983) | def test__flipud_3d_four_channels(self): method _test__flipud_subfunc_n_channels (line 987) | def _test__flipud_subfunc_n_channels(cls, func, nb_channels): method test_zero_width_arr (line 1013) | def test_zero_width_arr(self): method test_zero_height_arr (line 1019) | def test_zero_height_arr(self): method test_zero_channels_arr (line 1025) | def test_zero_channels_arr(self): method test_bool_faithful (line 1031) | def test_bool_faithful(self): method test_uint_int_faithful (line 1039) | def test_uint_int_faithful(self): method test_float_faithful_to_min_max (line 1056) | def test_float_faithful_to_min_max(self): method test_float_faithful_to_large_values (line 1077) | def test_float_faithful_to_large_values(self): FILE: test/augmenters/test_geometric.py function _assert_same_min_max (line 35) | def _assert_same_min_max(observed, actual): function _assert_same_shape (line 40) | def _assert_same_shape(observed, actual): class TestAffine (line 47) | class TestAffine(unittest.TestCase): method test_get_parameters (line 48) | def test_get_parameters(self): class TestAffine___init__ (line 70) | class TestAffine___init__(unittest.TestCase): method test___init___scale_is_stochastic_parameter (line 71) | def test___init___scale_is_stochastic_parameter(self): method test___init___translate_percent_is_stochastic_parameter (line 80) | def test___init___translate_percent_is_stochastic_parameter(self): method test___init___translate_px_is_stochastic_parameter (line 92) | def test___init___translate_px_is_stochastic_parameter(self): method test___init___rotate_is_stochastic_parameter (line 104) | def test___init___rotate_is_stochastic_parameter(self): method test___init___shear_is_stochastic_parameter (line 114) | def test___init___shear_is_stochastic_parameter(self): method test___init___cval_is_all (line 124) | def test___init___cval_is_all(self): method test___init___cval_is_stochastic_parameter (line 134) | def test___init___cval_is_stochastic_parameter(self): method test___init___mode_is_all (line 144) | def test___init___mode_is_all(self): method test___init___mode_is_string (line 149) | def test___init___mode_is_string(self): method test___init___mode_is_list (line 155) | def test___init___mode_is_list(self): method test___init___mode_is_stochastic_parameter (line 164) | def test___init___mode_is_stochastic_parameter(self): method test___init___fit_output_is_true (line 173) | def test___init___fit_output_is_true(self): method test___init___bad_datatype_for_scale_fails (line 180) | def test___init___bad_datatype_for_scale_fails(self): method test___init___bad_datatype_for_translate_px_fails (line 184) | def test___init___bad_datatype_for_translate_px_fails(self): method test___init___bad_datatype_for_translate_percent_fails (line 188) | def test___init___bad_datatype_for_translate_percent_fails(self): method test___init___bad_datatype_for_rotate_fails (line 192) | def test___init___bad_datatype_for_rotate_fails(self): method test___init___bad_datatype_for_shear_fails (line 197) | def test___init___bad_datatype_for_shear_fails(self): method test___init___bad_datatype_for_cval_fails (line 202) | def test___init___bad_datatype_for_cval_fails(self): method test___init___bad_datatype_for_mode_fails (line 207) | def test___init___bad_datatype_for_mode_fails(self): method test___init___bad_datatype_for_order_fails (line 212) | def test___init___bad_datatype_for_order_fails(self): method test___init___nonexistent_order_for_cv2_fails (line 217) | def test___init___nonexistent_order_for_cv2_fails(self): class TestAffine_noop (line 224) | class TestAffine_noop(unittest.TestCase): method setUp (line 225) | def setUp(self): method base_img (line 229) | def base_img(self): method images (line 236) | def images(self): method kpsoi (line 240) | def kpsoi(self): method psoi (line 246) | def psoi(self): method lsoi (line 251) | def lsoi(self): method bbsoi (line 256) | def bbsoi(self): method test_image_noop (line 260) | def test_image_noop(self): method test_image_noop__deterministic (line 269) | def test_image_noop__deterministic(self): method test_image_noop__list (line 278) | def test_image_noop__list(self): method test_image_noop__list_and_deterministic (line 286) | def test_image_noop__list_and_deterministic(self): method test_keypoints_noop (line 295) | def test_keypoints_noop(self): method test_keypoints_noop__deterministic (line 298) | def test_keypoints_noop__deterministic(self): method test_polygons_noop (line 301) | def test_polygons_noop(self): method test_polygons_noop__deterministic (line 304) | def test_polygons_noop__deterministic(self): method test_line_strings_noop (line 307) | def test_line_strings_noop(self): method test_line_strings_noop__deterministic (line 310) | def test_line_strings_noop__deterministic(self): method test_bounding_boxes_noop (line 313) | def test_bounding_boxes_noop(self): method test_bounding_boxes_noop__deterministic (line 316) | def test_bounding_boxes_noop__deterministic(self): method _test_cba_noop (line 320) | def _test_cba_noop(cls, augf_name, cbaoi, deterministic): class TestAffine_scale (line 332) | class TestAffine_scale(unittest.TestCase): method setUp (line 333) | def setUp(self): method base_img (line 341) | def base_img(self): method images (line 348) | def images(self): method kpsoi (line 352) | def kpsoi(self): method kpsoi_scaled (line 357) | def kpsoi_scaled(self, scale_y, scale_x): method psoi (line 369) | def psoi(self): method psoi_scaled (line 373) | def psoi_scaled(self, scale_y, scale_x): method lsoi (line 385) | def lsoi(self): method lsoi_scaled (line 389) | def lsoi_scaled(self, scale_y, scale_x): method bbsoi (line 401) | def bbsoi(self): method bbsoi_scaled (line 405) | def bbsoi_scaled(self, scale_y, scale_x): method _scale_coordinates (line 415) | def _scale_coordinates(self, coords, scale_y, scale_x): method scale_zoom_in_outer_pixels (line 430) | def scale_zoom_in_outer_pixels(self): method test_image_scale_zoom_in (line 440) | def test_image_scale_zoom_in(self): method test_image_scale_zoom_in__deterministic (line 450) | def test_image_scale_zoom_in__deterministic(self): method test_image_scale_zoom_in__list (line 461) | def test_image_scale_zoom_in__list(self): method test_image_scale_zoom_in__list_and_deterministic (line 471) | def test_image_scale_zoom_in__list_and_deterministic(self): method test_keypoints_scale_zoom_in (line 482) | def test_keypoints_scale_zoom_in(self): method test_keypoints_scale_zoom_in__deterministic (line 487) | def test_keypoints_scale_zoom_in__deterministic(self): method test_polygons_scale_zoom_in (line 492) | def test_polygons_scale_zoom_in(self): method test_polygons_scale_zoom_in__deterministic (line 497) | def test_polygons_scale_zoom_in__deterministic(self): method test_line_strings_scale_zoom_in (line 502) | def test_line_strings_scale_zoom_in(self): method test_line_strings_scale_zoom_in__deterministic (line 507) | def test_line_strings_scale_zoom_in__deterministic(self): method test_bounding_boxes_scale_zoom_in (line 512) | def test_bounding_boxes_scale_zoom_in(self): method test_bounding_boxes_scale_zoom_in__deterministic (line 517) | def test_bounding_boxes_scale_zoom_in__deterministic(self): method _test_cba_scale (line 523) | def _test_cba_scale(cls, augf_name, scale, cbaoi, cbaoi_scaled, method test_image_scale_zoom_in_only_x_axis (line 536) | def test_image_scale_zoom_in_only_x_axis(self): method test_image_scale_zoom_in_only_x_axis__deterministic (line 548) | def test_image_scale_zoom_in_only_x_axis__deterministic(self): method test_image_scale_zoom_in_only_x_axis__list (line 561) | def test_image_scale_zoom_in_only_x_axis__list(self): method test_image_scale_zoom_in_only_x_axis__deterministic_and_list (line 573) | def test_image_scale_zoom_in_only_x_axis__deterministic_and_list(self): method test_keypoints_scale_zoom_in_only_x_axis (line 586) | def test_keypoints_scale_zoom_in_only_x_axis(self): method test_keypoints_scale_zoom_in_only_x_axis__deterministic (line 591) | def test_keypoints_scale_zoom_in_only_x_axis__deterministic(self): method test_polygons_scale_zoom_in_only_x_axis (line 596) | def test_polygons_scale_zoom_in_only_x_axis(self): method test_polygons_scale_zoom_in_only_x_axis__deterministic (line 601) | def test_polygons_scale_zoom_in_only_x_axis__deterministic(self): method test_line_strings_scale_zoom_in_only_x_axis (line 606) | def test_line_strings_scale_zoom_in_only_x_axis(self): method test_line_strings_scale_zoom_in_only_x_axis__deterministic (line 611) | def test_line_strings_scale_zoom_in_only_x_axis__deterministic(self): method test_bounding_boxes_scale_zoom_in_only_x_axis (line 616) | def test_bounding_boxes_scale_zoom_in_only_x_axis(self): method test_bounding_boxes_scale_zoom_in_only_x_axis__deterministic (line 621) | def test_bounding_boxes_scale_zoom_in_only_x_axis__deterministic(self): method test_image_scale_zoom_in_only_y_axis (line 629) | def test_image_scale_zoom_in_only_y_axis(self): method test_image_scale_zoom_in_only_y_axis__deterministic (line 641) | def test_image_scale_zoom_in_only_y_axis__deterministic(self): method test_image_scale_zoom_in_only_y_axis__list (line 654) | def test_image_scale_zoom_in_only_y_axis__list(self): method test_image_scale_zoom_in_only_y_axis__deterministic_and_list (line 666) | def test_image_scale_zoom_in_only_y_axis__deterministic_and_list(self): method test_keypoints_scale_zoom_in_only_y_axis (line 679) | def test_keypoints_scale_zoom_in_only_y_axis(self): method test_keypoints_scale_zoom_in_only_y_axis__deterministic (line 684) | def test_keypoints_scale_zoom_in_only_y_axis__deterministic(self): method test_polygons_scale_zoom_in_only_y_axis (line 689) | def test_polygons_scale_zoom_in_only_y_axis(self): method test_polygons_scale_zoom_in_only_y_axis__deterministic (line 694) | def test_polygons_scale_zoom_in_only_y_axis__deterministic(self): method test_line_strings_scale_zoom_in_only_y_axis (line 699) | def test_line_strings_scale_zoom_in_only_y_axis(self): method test_line_strings_scale_zoom_in_only_y_axis__deterministic (line 704) | def test_line_strings_scale_zoom_in_only_y_axis__deterministic(self): method test_bounding_boxes_scale_zoom_in_only_y_axis (line 709) | def test_bounding_boxes_scale_zoom_in_only_y_axis(self): method test_bounding_boxes_scale_zoom_in_only_y_axis__deterministic (line 714) | def test_bounding_boxes_scale_zoom_in_only_y_axis__deterministic(self): method scale_zoom_out_base_img (line 729) | def scale_zoom_out_base_img(self): method scale_zoom_out_images (line 733) | def scale_zoom_out_images(self): method scale_zoom_out_outer_pixels (line 737) | def scale_zoom_out_outer_pixels(self): method scale_zoom_out_inner_pixels (line 747) | def scale_zoom_out_inner_pixels(self): method scale_zoom_out_kpsoi (line 751) | def scale_zoom_out_kpsoi(self): method scale_zoom_out_kpsoi_aug (line 758) | def scale_zoom_out_kpsoi_aug(self): method test_image_scale_zoom_out (line 766) | def test_image_scale_zoom_out(self): method test_image_scale_zoom_out__deterministic (line 776) | def test_image_scale_zoom_out__deterministic(self): method test_image_scale_zoom_out__list (line 787) | def test_image_scale_zoom_out__list(self): method test_image_scale_zoom_out__list_and_deterministic (line 797) | def test_image_scale_zoom_out__list_and_deterministic(self): method test_keypoints_scale_zoom_out (line 808) | def test_keypoints_scale_zoom_out(self): method test_keypoints_scale_zoom_out__deterministic (line 813) | def test_keypoints_scale_zoom_out__deterministic(self): method test_polygons_scale_zoom_out (line 818) | def test_polygons_scale_zoom_out(self): method test_polygons_scale_zoom_out__deterministic (line 823) | def test_polygons_scale_zoom_out__deterministic(self): method test_line_strings_scale_zoom_out (line 828) | def test_line_strings_scale_zoom_out(self): method test_line_strings_scale_zoom_out__deterministic (line 833) | def test_line_strings_scale_zoom_out__deterministic(self): method test_bounding_boxes_scale_zoom_out (line 838) | def test_bounding_boxes_scale_zoom_out(self): method test_bounding_boxes_scale_zoom_out__deterministic (line 843) | def test_bounding_boxes_scale_zoom_out__deterministic(self): method test_image_x_and_y_axis_are_tuples (line 851) | def test_image_x_and_y_axis_are_tuples(self): method test_image_x_and_y_axis_are_tuples__deterministic (line 876) | def test_image_x_and_y_axis_are_tuples__deterministic(self): method test_keypoint_alignment (line 906) | def test_keypoint_alignment(self): method test_polygons_stay_valid_when_using_extreme_scalings (line 939) | def test_polygons_stay_valid_when_using_extreme_scalings(self): class TestAffine_translate (line 962) | class TestAffine_translate(unittest.TestCase): method setUp (line 963) | def setUp(self): method image (line 967) | def image(self): method image_1px_right (line 975) | def image_1px_right(self): method image_1px_bottom (line 983) | def image_1px_bottom(self): method images (line 991) | def images(self): method images_1px_right (line 995) | def images_1px_right(self): method images_1px_bottom (line 999) | def images_1px_bottom(self): method kpsoi (line 1003) | def kpsoi(self): method kpsoi_1px_right (line 1008) | def kpsoi_1px_right(self): method kpsoi_1px_bottom (line 1013) | def kpsoi_1px_bottom(self): method psoi (line 1018) | def psoi(self): method psoi_1px_right (line 1023) | def psoi_1px_right(self): method psoi_1px_bottom (line 1028) | def psoi_1px_bottom(self): method lsoi (line 1033) | def lsoi(self): method lsoi_1px_right (line 1038) | def lsoi_1px_right(self): method lsoi_1px_bottom (line 1043) | def lsoi_1px_bottom(self): method bbsoi (line 1048) | def bbsoi(self): method bbsoi_1px_right (line 1053) | def bbsoi_1px_right(self): method bbsoi_1px_bottom (line 1058) | def bbsoi_1px_bottom(self): method test_image_translate_1px_right (line 1065) | def test_image_translate_1px_right(self): method test_image_translate_1px_right__deterministic (line 1074) | def test_image_translate_1px_right__deterministic(self): method test_image_translate_1px_right__list (line 1083) | def test_image_translate_1px_right__list(self): method test_image_translate_1px_right__list_and_deterministic (line 1091) | def test_image_translate_1px_right__list_and_deterministic(self): method test_keypoints_translate_1px_right (line 1100) | def test_keypoints_translate_1px_right(self): method test_keypoints_translate_1px_right__deterministic (line 1105) | def test_keypoints_translate_1px_right__deterministic(self): method test_polygons_translate_1px_right (line 1110) | def test_polygons_translate_1px_right(self): method test_polygons_translate_1px_right__deterministic (line 1115) | def test_polygons_translate_1px_right__deterministic(self): method test_line_strings_translate_1px_right (line 1120) | def test_line_strings_translate_1px_right(self): method test_line_strings_translate_1px_right__deterministic (line 1125) | def test_line_strings_translate_1px_right__deterministic(self): method test_bounding_boxes_translate_1px_right (line 1130) | def test_bounding_boxes_translate_1px_right(self): method test_bounding_boxes_translate_1px_right__deterministic (line 1135) | def test_bounding_boxes_translate_1px_right__deterministic(self): method _test_cba_translate_px (line 1141) | def _test_cba_translate_px(cls, augf_name, px, cbaoi, cbaoi_translated, method test_image_translate_1px_right_skimage (line 1151) | def test_image_translate_1px_right_skimage(self): method test_image_translate_1px_right_skimage_order_all (line 1161) | def test_image_translate_1px_right_skimage_order_all(self): method test_image_translate_1px_right_skimage_order_is_list (line 1171) | def test_image_translate_1px_right_skimage_order_is_list(self): method test_image_translate_1px_right_cv2_order_is_list (line 1181) | def test_image_translate_1px_right_cv2_order_is_list(self): method test_image_translate_1px_right_cv2_order_is_stoch_param (line 1191) | def test_image_translate_1px_right_cv2_order_is_stoch_param(self): method test_image_translate_1px_bottom (line 1204) | def test_image_translate_1px_bottom(self): method test_image_translate_1px_bottom__deterministic (line 1212) | def test_image_translate_1px_bottom__deterministic(self): method test_image_translate_1px_bottom__list (line 1221) | def test_image_translate_1px_bottom__list(self): method test_image_translate_1px_bottom__list_and_deterministic (line 1229) | def test_image_translate_1px_bottom__list_and_deterministic(self): method test_keypoints_translate_1px_bottom (line 1238) | def test_keypoints_translate_1px_bottom(self): method test_keypoints_translate_1px_bottom__deterministic (line 1243) | def test_keypoints_translate_1px_bottom__deterministic(self): method test_polygons_translate_1px_bottom (line 1248) | def test_polygons_translate_1px_bottom(self): method test_polygons_translate_1px_bottom__deterministic (line 1253) | def test_polygons_translate_1px_bottom__deterministic(self): method test_line_strings_translate_1px_bottom (line 1258) | def test_line_strings_translate_1px_bottom(self): method test_line_strings_translate_1px_bottom__deterministic (line 1263) | def test_line_strings_translate_1px_bottom__deterministic(self): method test_bounding_boxes_translate_1px_bottom (line 1268) | def test_bounding_boxes_translate_1px_bottom(self): method test_bounding_boxes_translate_1px_bottom__deterministic (line 1273) | def test_bounding_boxes_translate_1px_bottom__deterministic(self): method test_image_translate_33percent_right (line 1281) | def test_image_translate_33percent_right(self): method test_image_translate_33percent_right__deterministic (line 1289) | def test_image_translate_33percent_right__deterministic(self): method test_image_translate_33percent_right__list (line 1298) | def test_image_translate_33percent_right__list(self): method test_image_translate_33percent_right__list_and_deterministic (line 1306) | def test_image_translate_33percent_right__list_and_deterministic(self): method test_keypoints_translate_33percent_right (line 1315) | def test_keypoints_translate_33percent_right(self): method test_keypoints_translate_33percent_right__deterministic (line 1320) | def test_keypoints_translate_33percent_right__deterministic(self): method test_polygons_translate_33percent_right (line 1325) | def test_polygons_translate_33percent_right(self): method test_polygons_translate_33percent_right__deterministic (line 1330) | def test_polygons_translate_33percent_right__deterministic(self): method test_line_strings_translate_33percent_right (line 1335) | def test_line_strings_translate_33percent_right(self): method test_line_strings_translate_33percent_right__deterministic (line 1340) | def test_line_strings_translate_33percent_right__deterministic(self): method test_bounding_boxes_translate_33percent_right (line 1345) | def test_bounding_boxes_translate_33percent_right(self): method test_bounding_boxes_translate_33percent_right__deterministic (line 1350) | def test_bounding_boxes_translate_33percent_right__deterministic(self): method test_keypoints_with_continuous_param_results_in_absolute_shift (line 1355) | def test_keypoints_with_continuous_param_results_in_absolute_shift(self): method _test_cba_translate_percent (line 1373) | def _test_cba_translate_percent(cls, augf_name, percent, cbaoi, method test_image_translate_33percent_bottom (line 1387) | def test_image_translate_33percent_bottom(self): method test_image_translate_33percent_bottom__deterministic (line 1396) | def test_image_translate_33percent_bottom__deterministic(self): method test_image_translate_33percent_bottom__list (line 1405) | def test_image_translate_33percent_bottom__list(self): method test_image_translate_33percent_bottom__list_and_deterministic (line 1413) | def test_image_translate_33percent_bottom__list_and_deterministic(self): method test_keypoints_translate_33percent_bottom (line 1422) | def test_keypoints_translate_33percent_bottom(self): method test_keypoints_translate_33percent_bottom__deterministic (line 1427) | def test_keypoints_translate_33percent_bottom__deterministic(self): method test_polygons_translate_33percent_bottom (line 1432) | def test_polygons_translate_33percent_bottom(self): method test_polygons_translate_33percent_bottom__deterministic (line 1437) | def test_polygons_translate_33percent_bottom__deterministic(self): method test_line_strings_translate_33percent_bottom (line 1442) | def test_line_strings_translate_33percent_bottom(self): method test_line_strings_translate_33percent_bottom__deterministic (line 1447) | def test_line_strings_translate_33percent_bottom__deterministic(self): method test_bounding_boxes_translate_33percent_bottom (line 1452) | def test_bounding_boxes_translate_33percent_bottom(self): method test_bounding_boxes_translate_33percent_bottom__deterministic (line 1457) | def test_bounding_boxes_translate_33percent_bottom__deterministic(self): method test_image_translate_by_axiswise_uniform_distributions (line 1465) | def test_image_translate_by_axiswise_uniform_distributions(self): method test_image_translate_by_axiswise_uniform_distributions__det (line 1489) | def test_image_translate_by_axiswise_uniform_distributions__det(self): method heatmaps (line 1516) | def heatmaps(self): method heatmaps_1px_right (line 1527) | def heatmaps_1px_right(self): method test_heatmaps_translate_1px_right (line 1537) | def test_heatmaps_translate_1px_right(self): method test_heatmaps_translate_1px_right_should_ignore_cval (line 1547) | def test_heatmaps_translate_1px_right_should_ignore_cval(self): method test_heatmaps_translate_1px_right_should_ignore_mode (line 1558) | def test_heatmaps_translate_1px_right_should_ignore_mode(self): method segmaps (line 1572) | def segmaps(self): method segmaps_1px_right (line 1583) | def segmaps_1px_right(self): method test_segmaps_translate_1px_right (line 1593) | def test_segmaps_translate_1px_right(self): method test_segmaps_translate_1px_right_should_ignore_cval (line 1602) | def test_segmaps_translate_1px_right_should_ignore_cval(self): method test_segmaps_translate_1px_right_should_ignore_mode (line 1612) | def test_segmaps_translate_1px_right_should_ignore_mode(self): class TestAffine_rotate (line 1622) | class TestAffine_rotate(unittest.TestCase): method setUp (line 1623) | def setUp(self): method image (line 1627) | def image(self): method image_rot90 (line 1635) | def image_rot90(self): method images (line 1643) | def images(self): method images_rot90 (line 1647) | def images_rot90(self): method kpsoi (line 1651) | def kpsoi(self): method kpsoi_rot90 (line 1657) | def kpsoi_rot90(self): method psoi (line 1663) | def psoi(self): method psoi_rot90 (line 1668) | def psoi_rot90(self): method lsoi (line 1673) | def lsoi(self): method lsoi_rot90 (line 1678) | def lsoi_rot90(self): method bbsoi (line 1683) | def bbsoi(self): method bbsoi_rot90 (line 1688) | def bbsoi_rot90(self): method test_image_rot90 (line 1692) | def test_image_rot90(self): method test_image_rot90__deterministic (line 1702) | def test_image_rot90__deterministic(self): method test_image_rot90__list (line 1712) | def test_image_rot90__list(self): method test_image_rot90__list_and_deterministic (line 1721) | def test_image_rot90__list_and_deterministic(self): method test_keypoints_rot90 (line 1731) | def test_keypoints_rot90(self): method test_keypoints_rot90__deterministic (line 1735) | def test_keypoints_rot90__deterministic(self): method test_polygons_rot90 (line 1739) | def test_polygons_rot90(self): method test_polygons_rot90__deterministic (line 1743) | def test_polygons_rot90__deterministic(self): method test_line_strings_rot90 (line 1747) | def test_line_strings_rot90(self): method test_line_strings_rot90__deterministic (line 1751) | def test_line_strings_rot90__deterministic(self): method test_bounding_boxes_rot90 (line 1755) | def test_bounding_boxes_rot90(self): method test_bounding_boxes_rot90__deterministic (line 1759) | def test_bounding_boxes_rot90__deterministic(self): method _test_cba_rotate (line 1764) | def _test_cba_rotate(cls, augf_name, rotate, cbaoi, method test_image_rotate_is_tuple_0_to_364_deg (line 1775) | def test_image_rotate_is_tuple_0_to_364_deg(self): method test_image_rotate_is_tuple_0_to_364_deg__deterministic (line 1810) | def test_image_rotate_is_tuple_0_to_364_deg__deterministic(self): method test_alignment_between_images_and_heatmaps_for_fixed_rot (line 1833) | def test_alignment_between_images_and_heatmaps_for_fixed_rot(self): method test_alignment_between_images_and_smaller_heatmaps_for_fixed_rot (line 1851) | def test_alignment_between_images_and_smaller_heatmaps_for_fixed_rot(s... method test_bounding_boxes_have_expected_shape_after_augmentation (line 1879) | def test_bounding_boxes_have_expected_shape_after_augmentation(self): class TestAffine_cval (line 1901) | class TestAffine_cval(unittest.TestCase): method image (line 1903) | def image(self): method images (line 1907) | def images(self): method test_image_fixed_cval (line 1910) | def test_image_fixed_cval(self): method test_image_fixed_cval__deterministic (line 1919) | def test_image_fixed_cval__deterministic(self): method test_image_fixed_cval__list (line 1929) | def test_image_fixed_cval__list(self): method test_image_fixed_cval__list_and_deterministic (line 1938) | def test_image_fixed_cval__list_and_deterministic(self): method test_image_cval_is_tuple (line 1948) | def test_image_cval_is_tuple(self): method test_image_cval_is_tuple__deterministic (line 1967) | def test_image_cval_is_tuple__deterministic(self): method test_float_cval_on_float_image (line 1987) | def test_float_cval_on_float_image(self): method test_float_cval_on_int_image (line 1994) | def test_float_cval_on_int_image(self): class TestAffine_fit_output (line 2002) | class TestAffine_fit_output(unittest.TestCase): method image (line 2004) | def image(self): method images (line 2008) | def images(self): method heatmaps (line 2012) | def heatmaps(self): method kpsoi (line 2023) | def kpsoi(self): method test_image_translate (line 2028) | def test_image_translate(self): method test_keypoints_translate (line 2039) | def test_keypoints_translate(self): method test_heatmaps_translate (line 2050) | def test_heatmaps_translate(self): method test_image_rot45 (line 2061) | def test_image_rot45(self): method test_heatmaps_rot45 (line 2078) | def test_heatmaps_rot45(self): method test_heatmaps_rot45__heatmaps_smaller_than_image (line 2097) | def test_heatmaps_rot45__heatmaps_smaller_than_image(self): method test_image_heatmap_alignment_random_rots (line 2124) | def test_image_heatmap_alignment_random_rots(self): method test_image_heatmap_alignment_random_rots__hms_smaller_than_img (line 2152) | def test_image_heatmap_alignment_random_rots__hms_smaller_than_img(self): method test_segmaps_rot45 (line 2182) | def test_segmaps_rot45(self): method test_segmaps_rot45__segmaps_smaller_than_img (line 2207) | def test_segmaps_rot45__segmaps_smaller_than_img(self): method test_image_segmap_alignment_random_rots (line 2236) | def test_image_segmap_alignment_random_rots(self): method test_image_segmap_alignment_random_rots__sms_smaller_than_img (line 2265) | def test_image_segmap_alignment_random_rots__sms_smaller_than_img(self): method test_keypoints_rot90_without_fit_output (line 2298) | def test_keypoints_rot90_without_fit_output(self): method test_keypoints_rot90 (line 2311) | def test_keypoints_rot90(self): method test_empty_keypoints_rot90 (line 2326) | def test_empty_keypoints_rot90(self): method _test_cbaoi_rot90_without_fit_output (line 2337) | def _test_cbaoi_rot90_without_fit_output(self, cbaoi, augf_name): method test_polygons_rot90_without_fit_output (line 2355) | def test_polygons_rot90_without_fit_output(self): method test_line_strings_rot90_without_fit_output (line 2362) | def test_line_strings_rot90_without_fit_output(self): method _test_cbaoi_rot90 (line 2369) | def _test_cbaoi_rot90(self, cbaoi, expected, augf_name): method test_polygons_rot90 (line 2380) | def test_polygons_rot90(self): method test_line_strings_rot90 (line 2389) | def test_line_strings_rot90(self): method test_bounding_boxes_rot90 (line 2399) | def test_bounding_boxes_rot90(self): method _test_empty_cbaoi_rot90 (line 2408) | def _test_empty_cbaoi_rot90(self, cbaoi, expected, augf_name): method test_empty_polygons_rot90 (line 2417) | def test_empty_polygons_rot90(self): method test_empty_line_strings_rot90 (line 2422) | def test_empty_line_strings_rot90(self): method test_empty_bounding_boxes_rot90 (line 2427) | def test_empty_bounding_boxes_rot90(self): class TestAffine_alignment (line 2435) | class TestAffine_alignment(unittest.TestCase): method setUp (line 2436) | def setUp(self): method test_image_segmap_alignment_with_translate_px (line 2439) | def test_image_segmap_alignment_with_translate_px(self): method test_image_segmap_alignment_with_translate_percent (line 2473) | def test_image_segmap_alignment_with_translate_percent(self): method test_image_keypoint_alignment (line 2510) | def test_image_keypoint_alignment(self): method _test_image_cbaoi_alignment (line 2553) | def _test_image_cbaoi_alignment(cls, cbaoi, cbaoi_rot, augf_name): method test_image_polygon_alignment (line 2591) | def test_image_polygon_alignment(self): method test_image_line_string_alignment (line 2601) | def test_image_line_string_alignment(self): method test_image_bounding_box_alignment (line 2611) | def test_image_bounding_box_alignment(self): class TestAffine_other_dtypes (line 2621) | class TestAffine_other_dtypes(unittest.TestCase): method translate_mask (line 2623) | def translate_mask(self): method image (line 2629) | def image(self): method rot_mask_inner (line 2635) | def rot_mask_inner(self): method rot_mask_outer (line 2640) | def rot_mask_outer(self): method rot_thresh_inner (line 2645) | def rot_thresh_inner(self): method rot_thresh_outer (line 2649) | def rot_thresh_outer(self): method rot_thresh_inner_float (line 2652) | def rot_thresh_inner_float(self, order): method rot_thresh_outer_float (line 2655) | def rot_thresh_outer_float(self, order): method test_translate_skimage_order_0_bool (line 2658) | def test_translate_skimage_order_0_bool(self): method test_translate_skimage_order_0_uint_int (line 2670) | def test_translate_skimage_order_0_uint_int(self): method test_translate_skimage_order_0_float (line 2699) | def test_translate_skimage_order_0_float(self): method test_rotate_skimage_order_not_0_bool (line 2736) | def test_rotate_skimage_order_not_0_bool(self): method test_rotate_skimage_order_not_0_uint_int (line 2754) | def test_rotate_skimage_order_not_0_uint_int(self): method test_rotate_skimage_order_not_0_float (line 2797) | def test_rotate_skimage_order_not_0_float(self): method test_translate_cv2_order_0_bool (line 2845) | def test_translate_cv2_order_0_bool(self): method test_translate_cv2_order_0_uint_int (line 2858) | def test_translate_cv2_order_0_uint_int(self): method test_translate_cv2_order_0_float (line 2888) | def test_translate_cv2_order_0_float(self): method test_rotate_cv2_order_1_and_3_bool (line 2924) | def test_rotate_cv2_order_1_and_3_bool(self): method test_rotate_cv2_order_1_and_3_uint_int (line 2940) | def test_rotate_cv2_order_1_and_3_uint_int(self): method test_rotate_cv2_order_1_and_3_float (line 2975) | def test_rotate_cv2_order_1_and_3_float(self): class TestAffine_other (line 3010) | class TestAffine_other(unittest.TestCase): method test_unusual_channel_numbers (line 3011) | def test_unusual_channel_numbers(self): method test_zero_sized_axes (line 3045) | def test_zero_sized_axes(self): method test_pickleable (line 3065) | def test_pickleable(self): class TestScaleX (line 3071) | class TestScaleX(unittest.TestCase): method setUp (line 3072) | def setUp(self): method test___init__ (line 3075) | def test___init__(self): method test_integrationtest (line 3084) | def test_integrationtest(self): class TestScaleY (line 3101) | class TestScaleY(unittest.TestCase): method setUp (line 3102) | def setUp(self): method test___init__ (line 3105) | def test___init__(self): method test_integrationtest (line 3114) | def test_integrationtest(self): class TestTranslateX (line 3131) | class TestTranslateX(unittest.TestCase): method setUp (line 3132) | def setUp(self): method test___init___translate_percent (line 3135) | def test___init___translate_percent(self): method test___init___translate_px (line 3144) | def test___init___translate_px(self): method test___init___both_none (line 3153) | def test___init___both_none(self): method test_integrationtest_translate_percent (line 3158) | def test_integrationtest_translate_percent(self): method test_integrationtest_translate_px (line 3169) | def test_integrationtest_translate_px(self): class TestTranslateY (line 3181) | class TestTranslateY(unittest.TestCase): method setUp (line 3182) | def setUp(self): method test___init___translate_percent (line 3185) | def test___init___translate_percent(self): method test___init___translate_px (line 3194) | def test___init___translate_px(self): method test___init___both_none (line 3203) | def test___init___both_none(self): method test_integrationtest_translate_percent (line 3208) | def test_integrationtest_translate_percent(self): method test_integrationtest_translate_px (line 3219) | def test_integrationtest_translate_px(self): class TestRotate (line 3231) | class TestRotate(unittest.TestCase): method setUp (line 3232) | def setUp(self): method test___init___ (line 3235) | def test___init___(self): method test_integrationtest (line 3244) | def test_integrationtest(self): class TestShearX (line 3255) | class TestShearX(unittest.TestCase): method setUp (line 3256) | def setUp(self): method test___init__ (line 3259) | def test___init__(self): method test_integrationtest (line 3268) | def test_integrationtest(self): class TestShearY (line 3301) | class TestShearY(unittest.TestCase): method setUp (line 3302) | def setUp(self): method test___init__ (line 3305) | def test___init__(self): method test_integrationtest (line 3314) | def test_integrationtest(self): function test_AffineCv2 (line 3348) | def test_AffineCv2(): class TestPiecewiseAffine (line 4263) | class TestPiecewiseAffine(unittest.TestCase): method setUp (line 4264) | def setUp(self): method image (line 4268) | def image(self): method mask (line 4275) | def mask(self): method heatmaps (line 4279) | def heatmaps(self): method segmaps (line 4284) | def segmaps(self): method test___init___scale_is_list (line 4291) | def test___init___scale_is_list(self): method test___init___scale_is_tuple (line 4298) | def test___init___scale_is_tuple(self): method test___init___scale_is_stochastic_parameter (line 4307) | def test___init___scale_is_stochastic_parameter(self): method test___init___bad_datatype_for_scale_leads_to_failure (line 4317) | def test___init___bad_datatype_for_scale_leads_to_failure(self): method test___init___nb_rows_is_list (line 4327) | def test___init___nb_rows_is_list(self): method test___init___nb_rows_is_tuple (line 4334) | def test___init___nb_rows_is_tuple(self): method test___init___nb_rows_is_stochastic_parameter (line 4343) | def test___init___nb_rows_is_stochastic_parameter(self): method test___init___bad_datatype_for_nb_rows_leads_to_failure (line 4353) | def test___init___bad_datatype_for_nb_rows_leads_to_failure(self): method test___init___nb_cols_is_list (line 4363) | def test___init___nb_cols_is_list(self): method test___init___nb_cols_is_tuple (line 4369) | def test___init___nb_cols_is_tuple(self): method test___init___nb_cols_is_stochastic_parameter (line 4378) | def test___init___nb_cols_is_stochastic_parameter(self): method test___init___bad_datatype_for_nb_cols_leads_to_failure (line 4388) | def test___init___bad_datatype_for_nb_cols_leads_to_failure(self): method test___init___order_is_int (line 4398) | def test___init___order_is_int(self): method test___init___order_is_list (line 4404) | def test___init___order_is_list(self): method test___init___order_is_stochastic_parameter (line 4411) | def test___init___order_is_stochastic_parameter(self): method test___init___order_is_all (line 4418) | def test___init___order_is_all(self): method test___init___bad_datatype_for_order_leads_to_failure (line 4425) | def test___init___bad_datatype_for_order_leads_to_failure(self): method test___init___cval_is_list (line 4436) | def test___init___cval_is_list(self): method test___init___cval_is_tuple (line 4444) | def test___init___cval_is_tuple(self): method test___init___cval_is_stochastic_parameter (line 4454) | def test___init___cval_is_stochastic_parameter(self): method test___init___cval_is_all (line 4465) | def test___init___cval_is_all(self): method test___init___bad_datatype_for_cval_leads_to_failure (line 4475) | def test___init___bad_datatype_for_cval_leads_to_failure(self): method test___init___mode_is_string (line 4485) | def test___init___mode_is_string(self): method test___init___mode_is_list (line 4492) | def test___init___mode_is_list(self): method test___init___mode_is_stochastic_parameter (line 4501) | def test___init___mode_is_stochastic_parameter(self): method test___init___mode_is_all (line 4511) | def test___init___mode_is_all(self): method test___init___bad_datatype_for_mode_leads_to_failure (line 4521) | def test___init___bad_datatype_for_mode_leads_to_failure(self): method test_scale_is_small_image (line 4535) | def test_scale_is_small_image(self): method test_scale_is_small_image_absolute_scale (line 4552) | def test_scale_is_small_image_absolute_scale(self): method test_scale_is_small_heatmaps (line 4569) | def test_scale_is_small_heatmaps(self): method test_scale_is_small_segmaps (line 4587) | def test_scale_is_small_segmaps(self): method test_scale_is_zero_image (line 4605) | def test_scale_is_zero_image(self): method test_scale_is_zero_image_absolute_scale (line 4613) | def test_scale_is_zero_image_absolute_scale(self): method test_scale_is_zero_heatmaps (line 4621) | def test_scale_is_zero_heatmaps(self): method test_scale_is_zero_segmaps (line 4632) | def test_scale_is_zero_segmaps(self): method test_scale_is_zero_keypoints (line 4642) | def test_scale_is_zero_keypoints(self): method _test_scale_is_zero_cbaoi (line 4653) | def _test_scale_is_zero_cbaoi(cls, cbaoi, augf_name): method test_scale_is_zero_polygons (line 4660) | def test_scale_is_zero_polygons(self): method test_scale_is_zero_line_strings (line 4674) | def test_scale_is_zero_line_strings(self): method test_scale_is_zero_bounding_boxes (line 4688) | def test_scale_is_zero_bounding_boxes(self): method test_scale_stronger_values_should_increase_changes_images (line 4695) | def test_scale_stronger_values_should_increase_changes_images(self): method test_scale_stronger_values_should_increase_changes_images_abs (line 4708) | def test_scale_stronger_values_should_increase_changes_images_abs(self): method test_scale_stronger_values_should_increase_changes_heatmaps (line 4722) | def test_scale_stronger_values_should_increase_changes_heatmaps(self): method test_scale_stronger_values_should_increase_changes_heatmaps_abs (line 4741) | def test_scale_stronger_values_should_increase_changes_heatmaps_abs(se... method test_scale_stronger_values_should_increase_changes_segmaps (line 4761) | def test_scale_stronger_values_should_increase_changes_segmaps(self): method test_scale_alignment_between_images_and_heatmaps (line 4778) | def test_scale_alignment_between_images_and_heatmaps(self): method test_scale_alignment_between_images_and_segmaps (line 4793) | def test_scale_alignment_between_images_and_segmaps(self): method test_scale_alignment_between_images_and_smaller_heatmaps (line 4807) | def test_scale_alignment_between_images_and_smaller_heatmaps(self): method test_scale_alignment_between_images_and_smaller_heatmaps_abs (line 4834) | def test_scale_alignment_between_images_and_smaller_heatmaps_abs(self): method test_scale_alignment_between_images_and_smaller_segmaps (line 4861) | def test_scale_alignment_between_images_and_smaller_segmaps(self): method test_scale_alignment_between_images_and_keypoints (line 4890) | def test_scale_alignment_between_images_and_keypoints(self): method test_scale_alignment_between_images_and_keypoints2 (line 4919) | def test_scale_alignment_between_images_and_keypoints2(self): method _test_scale_alignment_between_images_and_poly_or_line_strings (line 4938) | def _test_scale_alignment_between_images_and_poly_or_line_strings( method test_scale_alignment_between_images_and_polygons (line 4970) | def test_scale_alignment_between_images_and_polygons(self): method test_scale_alignment_between_images_and_line_strings (line 4974) | def test_scale_alignment_between_images_and_line_strings(self): method test_scale_alignment_between_images_and_bounding_boxes (line 4978) | def test_scale_alignment_between_images_and_bounding_boxes(self): method test_scale_is_list (line 5013) | def test_scale_is_list(self): method _compute_observed_std_ygrad_in_mask (line 5050) | def _compute_observed_std_ygrad_in_mask(cls, observed, mask): method _compute_std_ygrad_in_mask (line 5058) | def _compute_std_ygrad_in_mask(self, aug, image, mask, nb_iterations): method test_nb_rows_affects_images (line 5068) | def test_nb_rows_affects_images(self): method test_nb_rows_is_list_affects_images (line 5078) | def test_nb_rows_is_list_affects_images(self): method test_nb_cols_affects_images (line 5101) | def test_nb_cols_affects_images(self): method test_nb_cols_is_list_affects_images (line 5114) | def test_nb_cols_is_list_affects_images(self): method test_cval_is_zero (line 5148) | def test_cval_is_zero(self): method test_cval_should_be_ignored_by_heatmaps (line 5162) | def test_cval_should_be_ignored_by_heatmaps(self): method test_cval_should_be_ignored_by_segmaps (line 5171) | def test_cval_should_be_ignored_by_segmaps(self): method test_cval_is_list (line 5180) | def test_cval_is_list(self): method test_keypoints_outside_of_image (line 5209) | def test_keypoints_outside_of_image(self): method test_keypoints_empty (line 5219) | def test_keypoints_empty(self): method test_polygons_outside_of_image (line 5231) | def test_polygons_outside_of_image(self): method test_empty_polygons (line 5241) | def test_empty_polygons(self): method test_line_strings_outside_of_image (line 5252) | def test_line_strings_outside_of_image(self): method test_empty_line_strings (line 5262) | def test_empty_line_strings(self): method test_bounding_boxes_outside_of_image (line 5273) | def test_bounding_boxes_outside_of_image(self): method test_empty_bounding_boxes (line 5282) | def test_empty_bounding_boxes(self): method test_zero_sized_axes (line 5293) | def test_zero_sized_axes(self): method test_zero_sized_axes_absolute_scale (line 5314) | def test_zero_sized_axes_absolute_scale(self): method test_get_parameters (line 5339) | def test_get_parameters(self): method other_dtypes_mask (line 5362) | def other_dtypes_mask(self): method test_other_dtypes_bool (line 5367) | def test_other_dtypes_bool(self): method test_other_dtypes_uint_int (line 5380) | def test_other_dtypes_uint_int(self): method test_other_dtypes_float (line 5410) | def test_other_dtypes_float(self): method test_pickleable (line 5446) | def test_pickleable(self): class TestPerspectiveTransform (line 5451) | class TestPerspectiveTransform(unittest.TestCase): method setUp (line 5452) | def setUp(self): method image (line 5456) | def image(self): method heatmaps (line 5462) | def heatmaps(self): method segmaps (line 5467) | def segmaps(self): method test___init___scale_is_tuple (line 5474) | def test___init___scale_is_tuple(self): method test___init___scale_is_list (line 5483) | def test___init___scale_is_list(self): method test___init___scale_is_stochastic_parameter (line 5492) | def test___init___scale_is_stochastic_parameter(self): method test___init___bad_datatype_for_scale_leads_to_failure (line 5501) | def test___init___bad_datatype_for_scale_leads_to_failure(self): method test___init___mode_is_all (line 5511) | def test___init___mode_is_all(self): method test___init___mode_is_string (line 5515) | def test___init___mode_is_string(self): method test___init___mode_is_list (line 5520) | def test___init___mode_is_list(self): method test___init___mode_is_stochastic_parameter (line 5528) | def test___init___mode_is_stochastic_parameter(self): method test_image_without_keep_size (line 5540) | def test_image_without_keep_size(self): method test_image_heatmaps_alignment_without_keep_size (line 5565) | def test_image_heatmaps_alignment_without_keep_size(self): method test_image_segmaps_alignment_without_keep_size (line 5597) | def test_image_segmaps_alignment_without_keep_size(self): method test_consecutive_calls_produce_different_results (line 5629) | def test_consecutive_calls_produce_different_results(self): method test_heatmaps_smaller_than_image_without_keep_size (line 5641) | def test_heatmaps_smaller_than_image_without_keep_size(self): method test_segmaps_smaller_than_image_without_keep_size (line 5688) | def test_segmaps_smaller_than_image_without_keep_size(self): method test_image_with_keep_size (line 5731) | def test_image_with_keep_size(self): method test_heatmaps_with_keep_size (line 5751) | def test_heatmaps_with_keep_size(self): method test_segmaps_with_keep_size (line 5772) | def test_segmaps_with_keep_size(self): method test_image_rgb_with_keep_size (line 5790) | def test_image_rgb_with_keep_size(self): method test_keypoints_without_keep_size (line 5819) | def test_keypoints_without_keep_size(self): method test_keypoints_with_keep_size (line 5840) | def test_keypoints_with_keep_size(self): method test_image_keypoint_alignment (line 5861) | def test_image_keypoint_alignment(self): method test_empty_keypoints (line 5891) | def test_empty_keypoints(self): method _test_cbaois_without_keep_size (line 5904) | def _test_cbaois_without_keep_size(cls, cba_class, cbaoi_class, augf_n... method _test_cbaois_with_keep_size (line 5930) | def _test_cbaois_with_keep_size(cls, cba_class, cbaoi_class, augf_name): method _test_image_cba_alignment (line 5961) | def _test_image_cba_alignment(cls, cba_class, cbaoi_class, augf_name): method _test_empty_cba (line 5997) | def _test_empty_cba(cls, cbaoi, augf_name): method test_polygons_without_keep_size (line 6008) | def test_polygons_without_keep_size(self): method test_polygons_with_keep_size (line 6012) | def test_polygons_with_keep_size(self): method test_image_polygon_alignment (line 6016) | def test_image_polygon_alignment(self): method test_empty_polygons (line 6020) | def test_empty_polygons(self): method test_polygons_under_extreme_scale_values (line 6024) | def test_polygons_under_extreme_scale_values(self): method test_line_strings_without_keep_size (line 6068) | def test_line_strings_without_keep_size(self): method test_line_strings_with_keep_size (line 6072) | def test_line_strings_with_keep_size(self): method test_image_line_string_alignment (line 6076) | def test_image_line_string_alignment(self): method test_empty_line_strings (line 6080) | def test_empty_line_strings(self): method test_bounding_boxes_without_keep_size (line 6087) | def test_bounding_boxes_without_keep_size(self): method test_bounding_boxes_with_keep_size (line 6108) | def test_bounding_boxes_with_keep_size(self): method test_image_bounding_box_alignment (line 6131) | def test_image_bounding_box_alignment(self): method test_bounding_boxes_cover_extreme_points (line 6170) | def test_bounding_boxes_cover_extreme_points(self): method test_empty_bounding_boxes (line 6319) | def test_empty_bounding_boxes(self): method test_draw_samples_with_mode_being_int (line 6331) | def test_draw_samples_with_mode_being_int(self): method test_draw_samples_with_mode_being_string (line 6339) | def test_draw_samples_with_mode_being_string(self): method test_mode_replicate_copies_values (line 6347) | def test_mode_replicate_copies_values(self): method test_mode_constant_uses_cval (line 6356) | def test_mode_constant_uses_cval(self): method test_fit_output_with_fixed_jitter (line 6377) | def test_fit_output_with_fixed_jitter(self): method test_fit_output_with_random_jitter (line 6411) | def test_fit_output_with_random_jitter(self): method test_fit_output_with_random_jitter__segmentation_maps (line 6439) | def test_fit_output_with_random_jitter__segmentation_maps(self): method test_fit_output_with_fixed_jitter__keypoints (line 6471) | def test_fit_output_with_fixed_jitter__keypoints(self): method test_unusual_channel_numbers (line 6506) | def test_unusual_channel_numbers(self): method test_zero_sized_axes (line 6528) | def test_zero_sized_axes(self): method test_get_parameters (line 6554) | def test_get_parameters(self): method test_other_dtypes_bool (line 6568) | def test_other_dtypes_bool(self): method test_other_dtypes_uint_int (line 6586) | def test_other_dtypes_uint_int(self): method test_other_dtypes_float (line 6627) | def test_other_dtypes_float(self): method test_pickleable (line 6663) | def test_pickleable(self): class _elastic_trans_temp_thresholds (line 6668) | class _elastic_trans_temp_thresholds(object): method __init__ (line 6669) | def __init__(self, alpha, sigma): method __enter__ (line 6675) | def __enter__(self): method __exit__ (line 6681) | def __exit__(self, exc_type, exc_val, exc_tb): class TestElasticTransformation (line 6689) | class TestElasticTransformation(unittest.TestCase): method setUp (line 6690) | def setUp(self): method image (line 6694) | def image(self): method mask (line 6701) | def mask(self): method heatmaps (line 6707) | def heatmaps(self): method segmaps (line 6713) | def segmaps(self): method test___init___bad_datatype_for_alpha_leads_to_failure (line 6721) | def test___init___bad_datatype_for_alpha_leads_to_failure(self): method test___init___alpha_is_tuple (line 6731) | def test___init___alpha_is_tuple(self): method test___init___sigma_is_tuple (line 6740) | def test___init___sigma_is_tuple(self): method test___init___bad_datatype_for_sigma_leads_to_failure (line 6749) | def test___init___bad_datatype_for_sigma_leads_to_failure(self): method test___init___order_is_all (line 6759) | def test___init___order_is_all(self): method test___init___order_is_int (line 6764) | def test___init___order_is_int(self): method test___init___order_is_list (line 6769) | def test___init___order_is_list(self): method test___init___order_is_stochastic_parameter (line 6774) | def test___init___order_is_stochastic_parameter(self): method test___init___bad_datatype_for_order_leads_to_failure (line 6780) | def test___init___bad_datatype_for_order_leads_to_failure(self): method test___init___cval_is_all (line 6789) | def test___init___cval_is_all(self): method test___init___cval_is_int (line 6797) | def test___init___cval_is_int(self): method test___init___cval_is_list (line 6802) | def test___init___cval_is_list(self): method test___init___cval_is_stochastic_parameter (line 6808) | def test___init___cval_is_stochastic_parameter(self): method test___init___cval_is_tuple (line 6814) | def test___init___cval_is_tuple(self): method test___init___bad_datatype_for_cval_leads_to_failure (line 6822) | def test___init___bad_datatype_for_cval_leads_to_failure(self): method test___init___mode_is_all (line 6831) | def test___init___mode_is_all(self): method test___init___mode_is_string (line 6839) | def test___init___mode_is_string(self): method test___init___mode_is_list (line 6844) | def test___init___mode_is_list(self): method test___init___mode_is_stochastic_parameter (line 6850) | def test___init___mode_is_stochastic_parameter(self): method test___init___bad_datatype_for_mode_leads_to_failure (line 6856) | def test___init___bad_datatype_for_mode_leads_to_failure(self): method test_images (line 6868) | def test_images(self): method test_images_nonsquare (line 6882) | def test_images_nonsquare(self): method test_images_unusual_channel_numbers (line 6899) | def test_images_unusual_channel_numbers(self): method test_heatmaps (line 6912) | def test_heatmaps(self): method test_segmaps (line 6927) | def test_segmaps(self): method test_images_weak_vs_strong_alpha (line 6944) | def test_images_weak_vs_strong_alpha(self): method test_heatmaps_weak_vs_strong_alpha (line 6960) | def test_heatmaps_weak_vs_strong_alpha(self): method test_segmaps_weak_vs_strong_alpha (line 6980) | def test_segmaps_weak_vs_strong_alpha(self): method test_images_low_vs_high_sigma (line 6998) | def test_images_low_vs_high_sigma(self): method test_images_alpha_is_stochastic_parameter (line 7022) | def test_images_alpha_is_stochastic_parameter(self): method test_sigma_is_stochastic_parameter (line 7042) | def test_sigma_is_stochastic_parameter(self): method test_images_cval_is_int_and_order_is_0 (line 7071) | def test_images_cval_is_int_and_order_is_0(self): method test_images_cval_is_int_and_order_is_0_weak_alpha (line 7081) | def test_images_cval_is_int_and_order_is_0_weak_alpha(self): method test_images_cval_is_int_and_order_is_2 (line 7090) | def test_images_cval_is_int_and_order_is_2(self): method test_images_cval_is_int_image_hw3 (line 7099) | def test_images_cval_is_int_image_hw3(self): method test_heatmaps_ignore_cval (line 7113) | def test_heatmaps_ignore_cval(self): method test_segmaps_ignore_cval (line 7126) | def test_segmaps_ignore_cval(self): method test_keypoints_no_movement_if_alpha_below_threshold (line 7141) | def test_keypoints_no_movement_if_alpha_below_threshold(self): method test_keypoints_no_movement_if_sigma_below_threshold (line 7163) | def test_keypoints_no_movement_if_sigma_below_threshold(self): method test_keypoints_small_movement_for_weak_alpha_if_threshold_zero (line 7185) | def test_keypoints_small_movement_for_weak_alpha_if_threshold_zero(self): method test_image_keypoint_alignment (line 7208) | def test_image_keypoint_alignment(self): method test_empty_keypoints (line 7239) | def test_empty_keypoints(self): method _test_cbaois_no_movement_if_alpha_below_threshold (line 7252) | def _test_cbaois_no_movement_if_alpha_below_threshold( method _test_cbaois_no_movement_if_sigma_below_threshold (line 7269) | def _test_cbaois_no_movement_if_sigma_below_threshold( method _test_cbaois_small_movement_for_weak_alpha_if_threshold_zero (line 7286) | def _test_cbaois_small_movement_for_weak_alpha_if_threshold_zero( method _test_image_cbaoi_alignment (line 7305) | def _test_image_cbaoi_alignment(cls, cba_class, cbaoi_class, augf_name): method _test_empty_cbaois (line 7357) | def _test_empty_cbaois(cls, cbaoi, augf_name): method test_polygons_no_movement_if_alpha_below_threshold (line 7367) | def test_polygons_no_movement_if_alpha_below_threshold(self): method test_polygons_no_movement_if_sigma_below_threshold (line 7371) | def test_polygons_no_movement_if_sigma_below_threshold(self): method test_polygons_small_movement_for_weak_alpha_if_threshold_zero (line 7375) | def test_polygons_small_movement_for_weak_alpha_if_threshold_zero(self): method test_image_polygon_alignment (line 7379) | def test_image_polygon_alignment(self): method test_empty_polygons (line 7383) | def test_empty_polygons(self): method test_line_strings_no_movement_if_alpha_below_threshold (line 7390) | def test_line_strings_no_movement_if_alpha_below_threshold(self): method test_line_strings_no_movement_if_sigma_below_threshold (line 7394) | def test_line_strings_no_movement_if_sigma_below_threshold(self): method test_line_strings_small_movement_for_weak_alpha_if_threshold_zero (line 7398) | def test_line_strings_small_movement_for_weak_alpha_if_threshold_zero(... method test_image_line_string_alignment (line 7402) | def test_image_line_string_alignment(self): method test_empty_line_strings (line 7406) | def test_empty_line_strings(self): method test_bounding_boxes_no_movement_if_alpha_below_threshold (line 7413) | def test_bounding_boxes_no_movement_if_alpha_below_threshold(self): method test_bounding_boxes_no_movement_if_sigma_below_threshold (line 7433) | def test_bounding_boxes_no_movement_if_sigma_below_threshold(self): method test_bounding_boxes_small_movement_for_weak_alpha_if_threshold_zero (line 7453) | def test_bounding_boxes_small_movement_for_weak_alpha_if_threshold_zero( method test_image_bounding_box_alignment (line 7475) | def test_image_bounding_box_alignment(self): method test_empty_bounding_boxes (line 7514) | def test_empty_bounding_boxes(self): method test_image_heatmaps_alignment (line 7526) | def test_image_heatmaps_alignment(self): method test_image_heatmaps_alignment_if_heatmaps_smaller_than_image (line 7553) | def test_image_heatmaps_alignment_if_heatmaps_smaller_than_image(self): method test_image_segmaps_alignment (line 7586) | def test_image_segmaps_alignment(self): method test_image_segmaps_alignment_if_heatmaps_smaller_than_image (line 7608) | def test_image_segmaps_alignment_if_heatmaps_smaller_than_image(self): method test_unusual_channel_numbers (line 7636) | def test_unusual_channel_numbers(self): method test_zero_sized_axes (line 7658) | def test_zero_sized_axes(self): method test_get_parameters (line 7684) | def test_get_parameters(self): method test_other_dtypes_bool (line 7702) | def test_other_dtypes_bool(self): method test_other_dtypes_uint_int (line 7716) | def test_other_dtypes_uint_int(self): method test_other_dtypes_float (line 7735) | def test_other_dtypes_float(self): method test_other_dtypes_bool_all_orders (line 7766) | def test_other_dtypes_bool_all_orders(self): method test_other_dtypes_uint_int_all_orders (line 7783) | def test_other_dtypes_uint_int_all_orders(self): method test_other_dtypes_float_all_orders (line 7821) | def test_other_dtypes_float_all_orders(self): method test_pickleable (line 7872) | def test_pickleable(self): class _TwoValueParam (line 7878) | class _TwoValueParam(iap.StochasticParameter): method __init__ (line 7879) | def __init__(self, v1, v2): method _draw_samples (line 7884) | def _draw_samples(self, size, random_state): class TestRot90 (line 7890) | class TestRot90(unittest.TestCase): method kp_offset (line 7892) | def kp_offset(self): method image (line 7898) | def image(self): method heatmaps (line 7902) | def heatmaps(self): method heatmaps_smaller (line 7907) | def heatmaps_smaller(self): method segmaps (line 7912) | def segmaps(self): method segmaps_smaller (line 7917) | def segmaps_smaller(self): method kpsoi (line 7922) | def kpsoi(self): method psoi (line 7927) | def psoi(self): method lsoi (line 7934) | def lsoi(self): method bbsoi (line 7941) | def bbsoi(self): method kpsoi_k1 (line 7948) | def kpsoi_k1(self): method kpsoi_k2 (line 7957) | def kpsoi_k2(self): method kpsoi_k3 (line 7968) | def kpsoi_k3(self): method psoi_k1 (line 7979) | def psoi_k1(self): method psoi_k2 (line 7990) | def psoi_k2(self): method psoi_k3 (line 8003) | def psoi_k3(self): method lsoi_k1 (line 8016) | def lsoi_k1(self): method lsoi_k2 (line 8027) | def lsoi_k2(self): method lsoi_k3 (line 8040) | def lsoi_k3(self): method bbsoi_k1 (line 8053) | def bbsoi_k1(self): method bbsoi_k2 (line 8068) | def bbsoi_k2(self): method bbsoi_k3 (line 8085) | def bbsoi_k3(self): method test___init___k_is_list (line 8101) | def test___init___k_is_list(self): method test___init___k_is_all (line 8108) | def test___init___k_is_all(self): method test_images_k_is_0_and_4 (line 8114) | def test_images_k_is_0_and_4(self): method test_heatmaps_k_is_0_and_4 (line 8124) | def test_heatmaps_k_is_0_and_4(self): method test_segmaps_k_is_0_and_4 (line 8136) | def test_segmaps_k_is_0_and_4(self): method test_keypoints_k_is_0_and_4 (line 8151) | def test_keypoints_k_is_0_and_4(self): method test_polygons_k_is_0_and_4 (line 8160) | def test_polygons_k_is_0_and_4(self): method test_line_strings_k_is_0_and_4 (line 8169) | def test_line_strings_k_is_0_and_4(self): method test_bounding_boxes_k_is_0_and_4 (line 8178) | def test_bounding_boxes_k_is_0_and_4(self): method test_images_k_is_1_and_5 (line 8187) | def test_images_k_is_1_and_5(self): method test_heatmaps_k_is_1_and_5 (line 8198) | def test_heatmaps_k_is_1_and_5(self): method test_heatmaps_smaller_than_image_k_is_1_and_5 (line 8212) | def test_heatmaps_smaller_than_image_k_is_1_and_5(self): method test_segmaps_k_is_1_and_5 (line 8229) | def test_segmaps_k_is_1_and_5(self): method test_segmaps_smaller_than_image_k_is_1_and_5 (line 8246) | def test_segmaps_smaller_than_image_k_is_1_and_5(self): method test_keypoints_k_is_1_and_5 (line 8262) | def test_keypoints_k_is_1_and_5(self): method test_polygons_k_is_1_and_5 (line 8271) | def test_polygons_k_is_1_and_5(self): method test_line_strings_k_is_1_and_5 (line 8280) | def test_line_strings_k_is_1_and_5(self): method test_bounding_boxes_k_is_1_and_5 (line 8289) | def test_bounding_boxes_k_is_1_and_5(self): method test_images_k_is_2 (line 8298) | def test_images_k_is_2(self): method test_heatmaps_k_is_2 (line 8307) | def test_heatmaps_k_is_2(self): method test_heatmaps_smaller_than_image_k_is_2 (line 8319) | def test_heatmaps_smaller_than_image_k_is_2(self): method test_segmaps_k_is_2 (line 8332) | def test_segmaps_k_is_2(self): method test_segmaps_smaller_than_image_k_is_2 (line 8344) | def test_segmaps_smaller_than_image_k_is_2(self): method test_keypoints_k_is_2 (line 8357) | def test_keypoints_k_is_2(self): method test_polygons_k_is_2 (line 8364) | def test_polygons_k_is_2(self): method test_line_strings_k_is_2 (line 8371) | def test_line_strings_k_is_2(self): method test_bounding_boxes_k_is_2 (line 8378) | def test_bounding_boxes_k_is_2(self): method test_images_k_is_3_and_minus1 (line 8385) | def test_images_k_is_3_and_minus1(self): method test_heatmaps_k_is_3_and_minus1 (line 8396) | def test_heatmaps_k_is_3_and_minus1(self): method test_heatmaps_smaller_than_image_k_is_3_and_minus1 (line 8411) | def test_heatmaps_smaller_than_image_k_is_3_and_minus1(self): method test_segmaps_k_is_3_and_minus1 (line 8426) | def test_segmaps_k_is_3_and_minus1(self): method test_segmaps_smaller_than_image_k_is_3_and_minus1 (line 8441) | def test_segmaps_smaller_than_image_k_is_3_and_minus1(self): method test_keypoints_k_is_3_and_minus1 (line 8457) | def test_keypoints_k_is_3_and_minus1(self): method test_polygons_k_is_3_and_minus1 (line 8466) | def test_polygons_k_is_3_and_minus1(self): method test_line_strings_k_is_3_and_minus1 (line 8475) | def test_line_strings_k_is_3_and_minus1(self): method test_bounding_boxes_k_is_3_and_minus1 (line 8484) | def test_bounding_boxes_k_is_3_and_minus1(self): method test_images_k_is_1_verify_without_using_numpy_rot90 (line 8493) | def test_images_k_is_1_verify_without_using_numpy_rot90(self): method test_images_k_is_1_keep_size_is_true (line 8504) | def test_images_k_is_1_keep_size_is_true(self): method test_heatmaps_k_is_1_keep_size_is_true (line 8520) | def test_heatmaps_k_is_1_keep_size_is_true(self): method test_heatmaps_smaller_than_image_k_is_1_keep_size_is_true (line 8532) | def test_heatmaps_smaller_than_image_k_is_1_keep_size_is_true(self): method test_segmaps_k_is_1_keep_size_is_true (line 8549) | def test_segmaps_k_is_1_keep_size_is_true(self): method test_segmaps_smaller_than_image_k_is_1_keep_size_is_true (line 8561) | def test_segmaps_smaller_than_image_k_is_1_keep_size_is_true(self): method test_keypoints_k_is_1_keep_size_is_true (line 8575) | def test_keypoints_k_is_1_keep_size_is_true(self): method test_polygons_k_is_1_keep_size_is_true (line 8588) | def test_polygons_k_is_1_keep_size_is_true(self): method test_line_strings_k_is_1_keep_size_is_true (line 8603) | def test_line_strings_k_is_1_keep_size_is_true(self): method test_bounding_boxes_k_is_1_keep_size_is_true (line 8617) | def test_bounding_boxes_k_is_1_keep_size_is_true(self): method test_images_k_is_list (line 8637) | def test_images_k_is_list(self): method test_heatmaps_smaller_than_image_k_is_list (line 8648) | def test_heatmaps_smaller_than_image_k_is_list(self): method test_segmaps_smaller_than_image_k_is_list (line 8666) | def test_segmaps_smaller_than_image_k_is_list(self): method test_keypoints_k_is_list (line 8684) | def test_keypoints_k_is_list(self): method test_polygons_k_is_list (line 8695) | def test_polygons_k_is_list(self): method test_line_strings_k_is_list (line 8706) | def test_line_strings_k_is_list(self): method test_bounding_boxes_k_is_list (line 8717) | def test_bounding_boxes_k_is_list(self): method test_empty_keypoints (line 8728) | def test_empty_keypoints(self): method test_empty_polygons (line 8738) | def test_empty_polygons(self): method test_empty_line_strings (line 8748) | def test_empty_line_strings(self): method test_empty_bounding_boxes (line 8758) | def test_empty_bounding_boxes(self): method test_unusual_channel_numbers (line 8768) | def test_unusual_channel_numbers(self): method test_zero_sized_axes_k_0_or_2 (line 8788) | def test_zero_sized_axes_k_0_or_2(self): method test_zero_sized_axes_k_1_or_3_no_keep_size (line 8810) | def test_zero_sized_axes_k_1_or_3_no_keep_size(self): method test_zero_sized_axes_k_1_or_3_keep_size (line 8833) | def test_zero_sized_axes_k_1_or_3_keep_size(self): method test_get_parameters (line 8854) | def test_get_parameters(self): method test_other_dtypes_bool (line 8859) | def test_other_dtypes_bool(self): method test_other_dtypes_uint_int (line 8871) | def test_other_dtypes_uint_int(self): method test_other_dtypes_float (line 8890) | def test_other_dtypes_float(self): method test_pickleable (line 8926) | def test_pickleable(self): class TestWithPolarWarping (line 8931) | class TestWithPolarWarping(unittest.TestCase): method setUp (line 8932) | def setUp(self): method test___init___single_augmenter_as_child (line 8935) | def test___init___single_augmenter_as_child(self): method test___init___list_of_augmenters_as_child (line 8940) | def test___init___list_of_augmenters_as_child(self): method test_images_no_change (line 8946) | def test_images_no_change(self): method test_heatmaps_no_change (line 8962) | def test_heatmaps_no_change(self): method test_segmentation_maps_no_change (line 8978) | def test_segmentation_maps_no_change(self): method test_keypoints_no_change (line 8995) | def test_keypoints_no_change(self): method test_bounding_boxes_no_change (line 9007) | def test_bounding_boxes_no_change(self): method test_polygons_no_change (line 9023) | def test_polygons_no_change(self): method test_line_strings_no_change (line 9039) | def test_line_strings_no_change(self): method test_bounding_boxes_and_polygons_provided_no_change (line 9053) | def test_bounding_boxes_and_polygons_provided_no_change(self): method test_images_translation_x (line 9083) | def test_images_translation_x(self): method test_heatmaps_translation_x (line 9105) | def test_heatmaps_translation_x(self): method test_segmentation_maps_translation_x (line 9130) | def test_segmentation_maps_translation_x(self): method test_keypoints_translation_x (line 9155) | def test_keypoints_translation_x(self): method test_bounding_boxes_translation_x (line 9176) | def test_bounding_boxes_translation_x(self): method test_polygons_translation_x (line 9198) | def test_polygons_translation_x(self): method test_line_strings_translation_x (line 9220) | def test_line_strings_translation_x(self): method test_image_heatmap_alignment (line 9242) | def test_image_heatmap_alignment(self): method test_image_segmentation_map_alignment (line 9264) | def test_image_segmentation_map_alignment(self): method test_image_keypoint_alignment (line 9286) | def test_image_keypoint_alignment(self): method test_image_is_noncontiguous (line 9307) | def test_image_is_noncontiguous(self): method test_image_is_view (line 9326) | def test_image_is_view(self): method test_propagation_hooks (line 9345) | def test_propagation_hooks(self): method test_unusual_channel_numbers (line 9368) | def test_unusual_channel_numbers(self): method test_zero_sized_axes (line 9389) | def test_zero_sized_axes(self): method test_other_dtypes_bool (line 9423) | def test_other_dtypes_bool(self): method test_other_dtypes_uint_int (line 9435) | def test_other_dtypes_uint_int(self): method test_other_dtypes_float (line 9464) | def test_other_dtypes_float(self): method test_get_parameters (line 9509) | def test_get_parameters(self): method test_get_children_lists (line 9514) | def test_get_children_lists(self): method test_to_deterministic (line 9519) | def test_to_deterministic(self): method test___repr___and___str__ (line 9530) | def test___repr___and___str__(self): method test_pickleable (line 9543) | def test_pickleable(self): class Test_apply_jigsaw (line 9550) | class Test_apply_jigsaw(unittest.TestCase): method test_no_movement (line 9551) | def test_no_movement(self): method test_no_movement_zero_sized_axes (line 9589) | def test_no_movement_zero_sized_axes(self): method _test_two_cells_moved__n_channels (line 9606) | def _test_two_cells_moved__n_channels(self, nb_channels): method test_two_cells_moved__no_channels (line 9675) | def test_two_cells_moved__no_channels(self): method test_two_cells_moved__1_channel (line 9678) | def test_two_cells_moved__1_channel(self): method test_two_cells_moved__3_channels (line 9681) | def test_two_cells_moved__3_channels(self): class Test_apply_jigsaw_to_coords (line 9685) | class Test_apply_jigsaw_to_coords(unittest.TestCase): method test_no_movement (line 9686) | def test_no_movement(self): method test_with_movement (line 9699) | def test_with_movement(self): method test_with_movement_non_square_image (line 9722) | def test_with_movement_non_square_image(self): method test_empty_coords (line 9739) | def test_empty_coords(self): class Test_generate_jigsaw_destinations (line 9748) | class Test_generate_jigsaw_destinations(unittest.TestCase): method test_max_steps_0 (line 9749) | def test_max_steps_0(self): method test_max_steps_1 (line 9762) | def test_max_steps_1(self): method test_max_steps_1_connectivity_4 (line 9784) | def test_max_steps_1_connectivity_4(self): class TestJigsaw (line 9807) | class TestJigsaw(unittest.TestCase): method setUp (line 9808) | def setUp(self): method test___init___defaults (line 9811) | def test___init___defaults(self): method test___init___custom (line 9818) | def test___init___custom(self): method test__draw_samples (line 9825) | def test__draw_samples(self): method test_images_without_shifts (line 9850) | def test_images_without_shifts(self): method test_heatmaps_without_shifts (line 9861) | def test_heatmaps_without_shifts(self): method test_segmaps_without_shifts (line 9872) | def test_segmaps_without_shifts(self): method test_keypoints_without_shifts (line 9885) | def test_keypoints_without_shifts(self): method test_images_with_shifts (line 9898) | def test_images_with_shifts(self): method test_heatmaps_with_shifts (line 9927) | def test_heatmaps_with_shifts(self): method test_segmaps_with_shifts (line 9963) | def test_segmaps_with_shifts(self): method test_keypoints_with_shifts (line 9999) | def test_keypoints_with_shifts(self): method test_images_and_heatmaps_aligned (line 10050) | def test_images_and_heatmaps_aligned(self): method test_images_and_segmaps_aligned (line 10081) | def test_images_and_segmaps_aligned(self): method test_images_and_keypoints_aligned (line 10106) | def test_images_and_keypoints_aligned(self): method test_no_error_for_1x1_grids (line 10133) | def test_no_error_for_1x1_grids(self): method test_zero_sized_axes (line 10150) | def test_zero_sized_axes(self): method test_get_parameters (line 10176) | def test_get_parameters(self): method test_pickleable (line 10184) | def test_pickleable(self): FILE: test/augmenters/test_imgcorruptlike.py class Test_get_imgcorrupt_subset (line 33) | class Test_get_imgcorrupt_subset(unittest.TestCase): method test_by_comparison_with_imagecorruptions (line 36) | def test_by_comparison_with_imagecorruptions(self): method test_subset_functions (line 52) | def test_subset_functions(self): class _CompareFuncWithImageCorruptions (line 74) | class _CompareFuncWithImageCorruptions(unittest.TestCase): method _test_by_comparison_with_imagecorruptions (line 75) | def _test_by_comparison_with_imagecorruptions( method create_image_imgaug (line 97) | def create_image_imgaug(cls, shape, dtype, seed, tile=None): method _run_single_comparison_test (line 113) | def _run_single_comparison_test(cls, fname, image_imgaug, image_imgcor, method _generate_augmented_images (line 139) | def _generate_augmented_images(cls, fname, image_imgaug, image_imgcor, class Test_apply_functions (line 163) | class Test_apply_functions(_CompareFuncWithImageCorruptions): method test_apply_gaussian_noise (line 164) | def test_apply_gaussian_noise(self): method test_apply_shot_noise (line 167) | def test_apply_shot_noise(self): method test_apply_impulse_noise (line 170) | def test_apply_impulse_noise(self): method test_apply_speckle_noise (line 173) | def test_apply_speckle_noise(self): method test_apply_gaussian_blur (line 176) | def test_apply_gaussian_blur(self): method test_apply_glass_blur (line 179) | def test_apply_glass_blur(self): method test_apply_defocus_blur (line 188) | def test_apply_defocus_blur(self): method test_apply_motion_blur (line 192) | def test_apply_motion_blur(self): method test_apply_zoom_blur (line 196) | def test_apply_zoom_blur(self): method test_apply_fog (line 200) | def test_apply_fog(self): method test_apply_frost (line 204) | def test_apply_frost(self): method test_apply_snow (line 210) | def test_apply_snow(self): method test_apply_spatter (line 214) | def test_apply_spatter(self): method test_apply_contrast (line 218) | def test_apply_contrast(self): method test_apply_brightness (line 221) | def test_apply_brightness(self): method test_apply_saturate (line 224) | def test_apply_saturate(self): method test_apply_jpeg_compression (line 228) | def test_apply_jpeg_compression(self): method test_apply_pixelate (line 232) | def test_apply_pixelate(self): method test_apply_elastic_transform (line 236) | def test_apply_elastic_transform(self): class TestAugmenters (line 243) | class TestAugmenters(unittest.TestCase): method _test_augmenter (line 245) | def _test_augmenter(cls, augmenter_name, func_expected, method test_gaussian_noise (line 292) | def test_gaussian_noise(self): method test_shot_noise (line 297) | def test_shot_noise(self): method test_impulse_noise (line 302) | def test_impulse_noise(self): method test_speckle_noise (line 307) | def test_speckle_noise(self): method test_gaussian_blur (line 312) | def test_gaussian_blur(self): method test_glass_blur (line 317) | def test_glass_blur(self): method test_defocus_blur (line 322) | def test_defocus_blur(self): method test_motion_blur (line 327) | def test_motion_blur(self): method test_zoom_blur (line 332) | def test_zoom_blur(self): method test_fog (line 337) | def test_fog(self): method test_frost (line 342) | def test_frost(self): method test_snow (line 347) | def test_snow(self): method test_spatter (line 352) | def test_spatter(self): method test_contrast (line 357) | def test_contrast(self): method test_brightness (line 362) | def test_brightness(self): method test_saturate (line 367) | def test_saturate(self): method test_jpeg_compression (line 372) | def test_jpeg_compression(self): method test_pixelate (line 377) | def test_pixelate(self): method test_elastic_transform (line 382) | def test_elastic_transform(self): FILE: test/augmenters/test_meta.py class _InplaceDummyAugmenterImgsArray (line 51) | class _InplaceDummyAugmenterImgsArray(iaa.meta.Augmenter): method __init__ (line 52) | def __init__(self, addval): method _augment_batch_ (line 56) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 60) | def get_parameters(self): class _InplaceDummyAugmenterImgsList (line 64) | class _InplaceDummyAugmenterImgsList(iaa.meta.Augmenter): method __init__ (line 65) | def __init__(self, addval): method _augment_batch_ (line 69) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 75) | def get_parameters(self): class _InplaceDummyAugmenterSegMaps (line 79) | class _InplaceDummyAugmenterSegMaps(iaa.meta.Augmenter): method __init__ (line 80) | def __init__(self, addval): method _augment_batch_ (line 84) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 90) | def get_parameters(self): class _InplaceDummyAugmenterKeypoints (line 94) | class _InplaceDummyAugmenterKeypoints(iaa.meta.Augmenter): method __init__ (line 95) | def __init__(self, x, y): method _augment_batch_ (line 100) | def _augment_batch_(self, batch, random_state, parents, hooks): method get_parameters (line 109) | def get_parameters(self): class TestIdentity (line 113) | class TestIdentity(unittest.TestCase): method setUp (line 114) | def setUp(self): method test_images (line 117) | def test_images(self): method test_images_deterministic (line 126) | def test_images_deterministic(self): method test_heatmaps (line 135) | def test_heatmaps(self): method test_heatmaps_deterministic (line 145) | def test_heatmaps_deterministic(self): method test_segmentation_maps (line 155) | def test_segmentation_maps(self): method test_segmentation_maps_deterministic (line 164) | def test_segmentation_maps_deterministic(self): method test_keypoints (line 173) | def test_keypoints(self): method test_keypoints_deterministic (line 181) | def test_keypoints_deterministic(self): method test_polygons (line 189) | def test_polygons(self): method test_polygons_deterministic (line 198) | def test_polygons_deterministic(self): method test_line_strings (line 207) | def test_line_strings(self): method test_line_strings_deterministic (line 216) | def test_line_strings_deterministic(self): method test_bounding_boxes (line 225) | def test_bounding_boxes(self): method test_bounding_boxes_deterministic (line 234) | def test_bounding_boxes_deterministic(self): method test_keypoints_empty (line 243) | def test_keypoints_empty(self): method test_polygons_empty (line 251) | def test_polygons_empty(self): method test_line_strings_empty (line 259) | def test_line_strings_empty(self): method test_bounding_boxes_empty (line 267) | def test_bounding_boxes_empty(self): method test_get_parameters (line 275) | def test_get_parameters(self): method test_other_dtypes_bool (line 278) | def test_other_dtypes_bool(self): method test_other_dtypes_uint_int (line 288) | def test_other_dtypes_uint_int(self): method test_other_dtypes_float (line 307) | def test_other_dtypes_float(self): method test_pickleable (line 328) | def test_pickleable(self): class TestNoop (line 333) | class TestNoop(unittest.TestCase): method setUp (line 334) | def setUp(self): method test___init__ (line 337) | def test___init__(self): method test_images (line 341) | def test_images(self): class TestLambda (line 351) | class TestLambda(unittest.TestCase): method setUp (line 352) | def setUp(self): method base_img (line 356) | def base_img(self): method heatmaps (line 364) | def heatmaps(self): method heatmaps_aug (line 372) | def heatmaps_aug(self): method segmentation_maps (line 380) | def segmentation_maps(self): method segmentation_maps_aug (line 388) | def segmentation_maps_aug(self): method keypoints (line 396) | def keypoints(self): method keypoints_aug (line 403) | def keypoints_aug(self): method polygons (line 410) | def polygons(self): method polygons_aug (line 416) | def polygons_aug(self): method lsoi (line 422) | def lsoi(self): method lsoi_aug (line 428) | def lsoi_aug(self): method bbsoi (line 434) | def bbsoi(self): method bbsoi_aug (line 440) | def bbsoi_aug(self): method func_images (line 446) | def func_images(cls, images, random_state, parents, hooks): method func_heatmaps (line 454) | def func_heatmaps(cls, heatmaps, random_state, parents, hooks): method func_segmaps (line 459) | def func_segmaps(cls, segmaps, random_state, parents, hooks): method func_keypoints (line 464) | def func_keypoints(cls, keypoints_on_images, random_state, parents, ho... method func_polygons (line 471) | def func_polygons(cls, polygons_on_images, random_state, parents, hooks): method func_line_strings (line 483) | def func_line_strings(cls, line_strings_on_images, random_state, parents, method func_bbs (line 498) | def func_bbs(cls, bounding_boxes_on_images, random_state, parents, hoo... method test_images (line 514) | def test_images(self): method test_images_deterministic (line 524) | def test_images_deterministic(self): method test_images_list (line 534) | def test_images_list(self): method test_images_list_deterministic (line 543) | def test_images_list_deterministic(self): method test_heatmaps (line 552) | def test_heatmaps(self): method test_heatmaps_deterministic (line 565) | def test_heatmaps_deterministic(self): method test_segmentation_maps (line 579) | def test_segmentation_maps(self): method test_segmentation_maps_deterministic (line 590) | def test_segmentation_maps_deterministic(self): method test_keypoints (line 602) | def test_keypoints(self): method test_keypoints_deterministic (line 612) | def test_keypoints_deterministic(self): method test_polygons (line 623) | def test_polygons(self): method test_polygons_deterministic (line 633) | def test_polygons_deterministic(self): method test_line_strings (line 645) | def test_line_strings(self): method test_line_strings_deterministic (line 655) | def test_line_strings_deterministic(self): method test_bounding_boxes (line 667) | def test_bounding_boxes(self): method test_bounding_boxes_deterministic (line 677) | def test_bounding_boxes_deterministic(self): method test_bounding_boxes_x1_x2_coords_can_get_flipped (line 688) | def test_bounding_boxes_x1_x2_coords_can_get_flipped(self): method test_bounding_boxes_y1_y2_coords_can_get_flipped (line 709) | def test_bounding_boxes_y1_y2_coords_can_get_flipped(self): method test_keypoints_empty (line 730) | def test_keypoints_empty(self): method test_polygons_empty (line 738) | def test_polygons_empty(self): method test_line_strings_empty (line 746) | def test_line_strings_empty(self): method test_bounding_boxes_empty (line 754) | def test_bounding_boxes_empty(self): method test_other_dtypes_bool (line 764) | def test_other_dtypes_bool(self): method test_other_dtypes_uint_int (line 781) | def test_other_dtypes_uint_int(self): method test_other_dtypes_float (line 806) | def test_other_dtypes_float(self): method test_pickleable (line 833) | def test_pickleable(self): function _lambda_pickleable_callback_images (line 840) | def _lambda_pickleable_callback_images(images, random_state, parents, ho... class TestAssertLambda (line 845) | class TestAssertLambda(unittest.TestCase): method setUp (line 855) | def setUp(self): method image (line 859) | def image(self): method images (line 866) | def images(self): method heatmaps (line 870) | def heatmaps(self): method segmaps (line 877) | def segmaps(self): method kpsoi (line 884) | def kpsoi(self): method psoi (line 890) | def psoi(self): method lsoi (line 895) | def lsoi(self): method bbsoi (line 900) | def bbsoi(self): method aug_succeeds (line 905) | def aug_succeeds(self): method aug_fails (line 947) | def aug_fails(self): method test_images_as_array_with_assert_that_succeeds (line 982) | def test_images_as_array_with_assert_that_succeeds(self): method test_images_as_array_with_assert_that_fails (line 987) | def test_images_as_array_with_assert_that_fails(self): method test_images_as_array_with_assert_that_succeeds__deterministic (line 991) | def test_images_as_array_with_assert_that_succeeds__deterministic(self): method test_images_as_array_with_assert_that_fails__deterministic (line 997) | def test_images_as_array_with_assert_that_fails__deterministic(self): method test_images_as_list_with_assert_that_succeeds (line 1001) | def test_images_as_list_with_assert_that_succeeds(self): method test_images_as_list_with_assert_that_fails (line 1006) | def test_images_as_list_with_assert_that_fails(self): method test_images_as_list_with_assert_that_succeeds__deterministic (line 1010) | def test_images_as_list_with_assert_that_succeeds__deterministic(self): method test_images_as_list_with_assert_that_fails__deterministic (line 1016) | def test_images_as_list_with_assert_that_fails__deterministic(self): method test_heatmaps_with_assert_that_succeeds (line 1020) | def test_heatmaps_with_assert_that_succeeds(self): method test_heatmaps_with_assert_that_fails (line 1027) | def test_heatmaps_with_assert_that_fails(self): method test_heatmaps_with_assert_that_succeeds__deterministic (line 1031) | def test_heatmaps_with_assert_that_succeeds__deterministic(self): method test_heatmaps_with_assert_that_fails__deterministic (line 1039) | def test_heatmaps_with_assert_that_fails__deterministic(self): method test_segmaps_with_assert_that_succeeds (line 1043) | def test_segmaps_with_assert_that_succeeds(self): method test_segmaps_with_assert_that_fails (line 1048) | def test_segmaps_with_assert_that_fails(self): method test_segmaps_with_assert_that_succeeds__deterministic (line 1052) | def test_segmaps_with_assert_that_succeeds__deterministic(self): method test_segmaps_with_assert_that_fails__deterministic (line 1058) | def test_segmaps_with_assert_that_fails__deterministic(self): method test_keypoints_with_assert_that_succeeds (line 1062) | def test_keypoints_with_assert_that_succeeds(self): method test_keypoints_with_assert_that_fails (line 1066) | def test_keypoints_with_assert_that_fails(self): method test_keypoints_with_assert_that_succeeds__deterministic (line 1070) | def test_keypoints_with_assert_that_succeeds__deterministic(self): method test_keypoints_with_assert_that_fails__deterministic (line 1075) | def test_keypoints_with_assert_that_fails__deterministic(self): method test_polygons_with_assert_that_succeeds (line 1079) | def test_polygons_with_assert_that_succeeds(self): method test_polygons_with_assert_that_fails (line 1083) | def test_polygons_with_assert_that_fails(self): method test_polygons_with_assert_that_succeeds__deterministic (line 1087) | def test_polygons_with_assert_that_succeeds__deterministic(self): method test_polygons_with_assert_that_fails__deterministic (line 1092) | def test_polygons_with_assert_that_fails__deterministic(self): method test_line_strings_with_assert_that_succeeds (line 1096) | def test_line_strings_with_assert_that_succeeds(self): method test_line_strings_with_assert_that_fails (line 1100) | def test_line_strings_with_assert_that_fails(self): method test_line_strings_with_assert_that_succeeds__deterministic (line 1104) | def test_line_strings_with_assert_that_succeeds__deterministic(self): method test_line_strings_with_assert_that_fails__deterministic (line 1109) | def test_line_strings_with_assert_that_fails__deterministic(self): method test_bounding_boxes_with_assert_that_succeeds (line 1113) | def test_bounding_boxes_with_assert_that_succeeds(self): method test_bounding_boxes_with_assert_that_fails (line 1117) | def test_bounding_boxes_with_assert_that_fails(self): method test_bounding_boxes_with_assert_that_succeeds__deterministic (line 1121) | def test_bounding_boxes_with_assert_that_succeeds__deterministic(self): method test_bounding_boxes_with_assert_that_fails__deterministic (line 1126) | def test_bounding_boxes_with_assert_that_fails__deterministic(self): method test_other_dtypes_bool__with_assert_that_succeeds (line 1130) | def test_other_dtypes_bool__with_assert_that_succeeds(self): method test_other_dtypes_uint_int__with_assert_that_succeeds (line 1142) | def test_other_dtypes_uint_int__with_assert_that_succeeds(self): method test_other_dtypes_float__with_assert_that_succeeds (line 1157) | def test_other_dtypes_float__with_assert_that_succeeds(self): method test_other_dtypes_bool__with_assert_that_fails (line 1172) | def test_other_dtypes_bool__with_assert_that_fails(self): method test_other_dtypes_uint_int__with_assert_that_fails (line 1183) | def test_other_dtypes_uint_int__with_assert_that_fails(self): method test_other_dtypes_float__with_assert_that_fails (line 1197) | def test_other_dtypes_float__with_assert_that_fails(self): method test_pickleable (line 1211) | def test_pickleable(self): function _assertlambda_pickleable_callback_images (line 1220) | def _assertlambda_pickleable_callback_images(images, random_state, class TestAssertShape (line 1225) | class TestAssertShape(unittest.TestCase): method setUp (line 1235) | def setUp(self): method image (line 1239) | def image(self): method images (line 1246) | def images(self): method heatmaps (line 1250) | def heatmaps(self): method segmaps (line 1257) | def segmaps(self): method kpsoi (line 1264) | def kpsoi(self): method psoi (line 1270) | def psoi(self): method lsoi (line 1275) | def lsoi(self): method bbsoi (line 1280) | def bbsoi(self): method image_h4 (line 1285) | def image_h4(self): method images_h4 (line 1293) | def images_h4(self): method heatmaps_h4 (line 1297) | def heatmaps_h4(self): method segmaps_h4 (line 1305) | def segmaps_h4(self): method kpsoi_h4 (line 1313) | def kpsoi_h4(self): method psoi_h4 (line 1319) | def psoi_h4(self): method lsoi_h4 (line 1324) | def lsoi_h4(self): method bbsoi_h4 (line 1329) | def bbsoi_h4(self): method aug_exact_shape (line 1334) | def aug_exact_shape(self): method aug_none_in_shape (line 1338) | def aug_none_in_shape(self): method aug_list_in_shape (line 1342) | def aug_list_in_shape(self): method aug_tuple_in_shape (line 1346) | def aug_tuple_in_shape(self): method test_images_with_exact_shape__succeeds (line 1349) | def test_images_with_exact_shape__succeeds(self): method test_images_with_exact_shape__succeeds__deterministic (line 1355) | def test_images_with_exact_shape__succeeds__deterministic(self): method test_images_with_exact_shape__succeeds__list (line 1361) | def test_images_with_exact_shape__succeeds__list(self): method test_images_with_exact_shape__succeeds__deterministic__list (line 1367) | def test_images_with_exact_shape__succeeds__deterministic__list(self): method test_heatmaps_with_exact_shape__succeeds (line 1373) | def test_heatmaps_with_exact_shape__succeeds(self): method test_heatmaps_with_exact_shape__succeeds__deterministic (line 1381) | def test_heatmaps_with_exact_shape__succeeds__deterministic(self): method test_segmaps_with_exact_shape__succeeds (line 1389) | def test_segmaps_with_exact_shape__succeeds(self): method test_segmaps_with_exact_shape__succeeds__deterministic (line 1395) | def test_segmaps_with_exact_shape__succeeds__deterministic(self): method test_keypoints_with_exact_shape__succeeds (line 1401) | def test_keypoints_with_exact_shape__succeeds(self): method test_keypoints_with_exact_shape__succeeds__deterministic (line 1406) | def test_keypoints_with_exact_shape__succeeds__deterministic(self): method test_polygons_with_exact_shape__succeeds (line 1411) | def test_polygons_with_exact_shape__succeeds(self): method test_polygons_with_exact_shape__succeeds__deterministic (line 1416) | def test_polygons_with_exact_shape__succeeds__deterministic(self): method test_line_strings_with_exact_shape__succeeds (line 1421) | def test_line_strings_with_exact_shape__succeeds(self): method test_line_strings_with_exact_shape__succeeds__deterministic (line 1426) | def test_line_strings_with_exact_shape__succeeds__deterministic(self): method test_bounding_boxes_with_exact_shape__succeeds (line 1431) | def test_bounding_boxes_with_exact_shape__succeeds(self): method test_bounding_boxes_with_exact_shape__succeeds__deterministic (line 1436) | def test_bounding_boxes_with_exact_shape__succeeds__deterministic(self): method test_images_with_exact_shape__fails (line 1441) | def test_images_with_exact_shape__fails(self): method test_heatmaps_with_exact_shape__fails (line 1446) | def test_heatmaps_with_exact_shape__fails(self): method test_keypoints_with_exact_shape__fails (line 1451) | def test_keypoints_with_exact_shape__fails(self): method test_polygons_with_exact_shape__fails (line 1456) | def test_polygons_with_exact_shape__fails(self): method test_line_strings_with_exact_shape__fails (line 1461) | def test_line_strings_with_exact_shape__fails(self): method test_bounding_boxes_with_exact_shape__fails (line 1466) | def test_bounding_boxes_with_exact_shape__fails(self): method test_images_with_none_in_shape__succeeds (line 1471) | def test_images_with_none_in_shape__succeeds(self): method test_images_with_none_in_shape__succeeds__deterministic (line 1477) | def test_images_with_none_in_shape__succeeds__deterministic(self): method test_heatmaps_with_none_in_shape__succeeds (line 1483) | def test_heatmaps_with_none_in_shape__succeeds(self): method test_heatmaps_with_none_in_shape__succeeds__deterministic (line 1491) | def test_heatmaps_with_none_in_shape__succeeds__deterministic(self): method test_segmaps_with_none_in_shape__succeeds (line 1499) | def test_segmaps_with_none_in_shape__succeeds(self): method test_segmaps_with_none_in_shape__succeeds__deterministic (line 1505) | def test_segmaps_with_none_in_shape__succeeds__deterministic(self): method test_keypoints_with_none_in_shape__succeeds (line 1511) | def test_keypoints_with_none_in_shape__succeeds(self): method test_keypoints_with_none_in_shape__succeeds__deterministic (line 1516) | def test_keypoints_with_none_in_shape__succeeds__deterministic(self): method test_polygons_with_none_in_shape__succeeds (line 1521) | def test_polygons_with_none_in_shape__succeeds(self): method test_polygons_with_none_in_shape__succeeds__deterministic (line 1526) | def test_polygons_with_none_in_shape__succeeds__deterministic(self): method test_line_strings_with_none_in_shape__succeeds (line 1531) | def test_line_strings_with_none_in_shape__succeeds(self): method test_line_strings_with_none_in_shape__succeeds__deterministic (line 1536) | def test_line_strings_with_none_in_shape__succeeds__deterministic(self): method test_bounding_boxes_with_none_in_shape__succeeds (line 1541) | def test_bounding_boxes_with_none_in_shape__succeeds(self): method test_bounding_boxes_with_none_in_shape__succeeds__deterministic (line 1546) | def test_bounding_boxes_with_none_in_shape__succeeds__deterministic(se... method test_images_with_none_in_shape__fails (line 1551) | def test_images_with_none_in_shape__fails(self): method test_heatmaps_with_none_in_shape__fails (line 1556) | def test_heatmaps_with_none_in_shape__fails(self): method test_keypoints_with_none_in_shape__fails (line 1561) | def test_keypoints_with_none_in_shape__fails(self): method test_polygons_with_none_in_shape__fails (line 1566) | def test_polygons_with_none_in_shape__fails(self): method test_line_strings_with_none_in_shape__fails (line 1571) | def test_line_strings_with_none_in_shape__fails(self): method test_bounding_boxes_with_none_in_shape__fails (line 1576) | def test_bounding_boxes_with_none_in_shape__fails(self): method test_images_with_list_in_shape__succeeds (line 1581) | def test_images_with_list_in_shape__succeeds(self): method test_images_with_list_in_shape__succeeds__deterministic (line 1587) | def test_images_with_list_in_shape__succeeds__deterministic(self): method test_heatmaps_with_list_in_shape__succeeds (line 1593) | def test_heatmaps_with_list_in_shape__succeeds(self): method test_heatmaps_with_list_in_shape__succeeds__deterministic (line 1601) | def test_heatmaps_with_list_in_shape__succeeds__deterministic(self): method test_segmaps_with_list_in_shape__succeeds (line 1609) | def test_segmaps_with_list_in_shape__succeeds(self): method test_segmaps_with_list_in_shape__succeeds__deterministic (line 1615) | def test_segmaps_with_list_in_shape__succeeds__deterministic(self): method test_keypoints_with_list_in_shape__succeeds (line 1621) | def test_keypoints_with_list_in_shape__succeeds(self): method test_keypoints_with_list_in_shape__succeeds__deterministic (line 1626) | def test_keypoints_with_list_in_shape__succeeds__deterministic(self): method test_polygons_with_list_in_shape__succeeds (line 1631) | def test_polygons_with_list_in_shape__succeeds(self): method test_polygons_with_list_in_shape__succeeds__deterministic (line 1636) | def test_polygons_with_list_in_shape__succeeds__deterministic(self): method test_line_strings_with_list_in_shape__succeeds (line 1641) | def test_line_strings_with_list_in_shape__succeeds(self): method test_line_strings_with_list_in_shape__succeeds__deterministic (line 1646) | def test_line_strings_with_list_in_shape__succeeds__deterministic(self): method test_bounding_boxes_with_list_in_shape__succeeds (line 1651) | def test_bounding_boxes_with_list_in_shape__succeeds(self): method test_bounding_boxes_with_list_in_shape__succeeds__deterministic (line 1656) | def test_bounding_boxes_with_list_in_shape__succeeds__deterministic(se... method test_images_with_list_in_shape__fails (line 1661) | def test_images_with_list_in_shape__fails(self): method test_heatmaps_with_list_in_shape__fails (line 1666) | def test_heatmaps_with_list_in_shape__fails(self): method test_segmaps_with_list_in_shape__fails (line 1671) | def test_segmaps_with_list_in_shape__fails(self): method test_keypoints_with_list_in_shape__fails (line 1676) | def test_keypoints_with_list_in_shape__fails(self): method test_polygons_with_list_in_shape__fails (line 1681) | def test_polygons_with_list_in_shape__fails(self): method test_line_strings_with_list_in_shape__fails (line 1686) | def test_line_strings_with_list_in_shape__fails(self): method test_bounding_boxes_with_list_in_shape__fails (line 1691) | def test_bounding_boxes_with_list_in_shape__fails(self): method test_images_with_tuple_in_shape__succeeds (line 1696) | def test_images_with_tuple_in_shape__succeeds(self): method test_images_with_tuple_in_shape__succeeds__deterministic (line 1702) | def test_images_with_tuple_in_shape__succeeds__deterministic(self): method test_heatmaps_with_tuple_in_shape__succeeds (line 1708) | def test_heatmaps_with_tuple_in_shape__succeeds(self): method test_heatmaps_with_tuple_in_shape__succeeds__deterministic (line 1716) | def test_heatmaps_with_tuple_in_shape__succeeds__deterministic(self): method test_segmaps_with_tuple_in_shape__succeeds (line 1724) | def test_segmaps_with_tuple_in_shape__succeeds(self): method test_segmaps_with_tuple_in_shape__succeeds__deterministic (line 1730) | def test_segmaps_with_tuple_in_shape__succeeds__deterministic(self): method test_keypoints_with_tuple_in_shape__succeeds (line 1736) | def test_keypoints_with_tuple_in_shape__succeeds(self): method test_keypoints_with_tuple_in_shape__succeeds__deterministic (line 1741) | def test_keypoints_with_tuple_in_shape__succeeds__deterministic(self): method test_polygons_with_tuple_in_shape__succeeds (line 1746) | def test_polygons_with_tuple_in_shape__succeeds(self): method test_polygons_with_tuple_in_shape__succeeds__deterministic (line 1751) | def test_polygons_with_tuple_in_shape__succeeds__deterministic(self): method test_line_strings_with_tuple_in_shape__succeeds (line 1756) | def test_line_strings_with_tuple_in_shape__succeeds(self): method test_line_strings_with_tuple_in_shape__succeeds__deterministic (line 1761) | def test_line_strings_with_tuple_in_shape__succeeds__deterministic(self): method test_bounding_boxes_with_tuple_in_shape__succeeds (line 1766) | def test_bounding_boxes_with_tuple_in_shape__succeeds(self): method test_bounding_boxes_with_tuple_in_shape__succeeds__deterministic (line 1771) | def test_bounding_boxes_with_tuple_in_shape__succeeds__deterministic(s... method test_images_with_tuple_in_shape__fails (line 1776) | def test_images_with_tuple_in_shape__fails(self): method test_heatmaps_with_tuple_in_shape__fails (line 1781) | def test_heatmaps_with_tuple_in_shape__fails(self): method test_segmaps_with_tuple_in_shape__fails (line 1786) | def test_segmaps_with_tuple_in_shape__fails(self): method test_keypoints_with_tuple_in_shape__fails (line 1791) | def test_keypoints_with_tuple_in_shape__fails(self): method test_polygons_with_tuple_in_shape__fails (line 1796) | def test_polygons_with_tuple_in_shape__fails(self): method test_line_strings_with_tuple_in_shape__fails (line 1801) | def test_line_strings_with_tuple_in_shape__fails(self): method test_bounding_boxes_with_tuple_in_shape__fails (line 1806) | def test_bounding_boxes_with_tuple_in_shape__fails(self): method test_fails_if_shape_contains_invalid_datatype (line 1811) | def test_fails_if_shape_contains_invalid_datatype(self): method test_other_dtypes_bool__succeeds (line 1821) | def test_other_dtypes_bool__succeeds(self): method test_other_dtypes_uint_int__succeeds (line 1831) | def test_other_dtypes_uint_int__succeeds(self): method test_other_dtypes_float__succeeds (line 1846) | def test_other_dtypes_float__succeeds(self): method test_other_dtypes_bool__fails (line 1858) | def test_other_dtypes_bool__fails(self): method test_other_dtypes_uint_int__fails (line 1866) | def test_other_dtypes_uint_int__fails(self): method test_other_dtypes_float__fails (line 1878) | def test_other_dtypes_float__fails(self): method test_pickleable (line 1888) | def test_pickleable(self): function test_clip_augmented_image_ (line 1895) | def test_clip_augmented_image_(): function test_clip_augmented_image (line 1914) | def test_clip_augmented_image(): function test_clip_augmented_images_ (line 1933) | def test_clip_augmented_images_(): function test_clip_augmented_images (line 1967) | def test_clip_augmented_images(): function test_reduce_to_nonempty (line 2001) | def test_reduce_to_nonempty(): function test_invert_reduce_to_nonempty (line 2039) | def test_invert_reduce_to_nonempty(): class _DummyAugmenter (line 2065) | class _DummyAugmenter(iaa.Augmenter): method _augment_images (line 2066) | def _augment_images(self, images, random_state, parents, hooks): method get_parameters (line 2069) | def get_parameters(self): class _DummyAugmenterBBs (line 2073) | class _DummyAugmenterBBs(iaa.Augmenter): method _augment_images (line 2074) | def _augment_images(self, images, random_state, parents, hooks): method _augment_bounding_boxes (line 2077) | def _augment_bounding_boxes(self, bounding_boxes_on_images, random_state, method get_parameters (line 2083) | def get_parameters(self): class _DummyAugmenterCallsParent (line 2089) | class _DummyAugmenterCallsParent(iaa.Augmenter): method _augment_images (line 2090) | def _augment_images(self, images, random_state, parents, hooks): method get_parameters (line 2094) | def get_parameters(self): function _same_rs (line 2099) | def _same_rs(rs1, rs2): class TestAugmenter (line 2105) | class TestAugmenter(unittest.TestCase): method setUp (line 2106) | def setUp(self): method test___init___global_rng (line 2109) | def test___init___global_rng(self): method test___init___deterministic (line 2114) | def test___init___deterministic(self): method test___init___random_state_is_rng (line 2128) | def test___init___random_state_is_rng(self): method test___init___random_state_is_seed (line 2134) | def test___init___random_state_is_seed(self): method test___init___seed_is_random_state (line 2138) | def test___init___seed_is_random_state(self): method test___init___seed_is_seed (line 2143) | def test___init___seed_is_seed(self): method test_augment_images_called_probably_with_single_image (line 2147) | def test_augment_images_called_probably_with_single_image(self): method test_augment_images_array_in_list_out (line 2160) | def test_augment_images_array_in_list_out(self): method test_augment_images_array_in_list_out_single_channel (line 2164) | def test_augment_images_array_in_list_out_single_channel(self): method test_augment_images_array_in_list_out_no_channels (line 2168) | def test_augment_images_array_in_list_out_no_channels(self): method test_augment_images_array_in_list_out_varying_channels (line 2172) | def test_augment_images_array_in_list_out_varying_channels(self): method _test_augment_images_array_in_list_out_varying_channels (line 2177) | def _test_augment_images_array_in_list_out_varying_channels(cls, method test_augment_images_with_2d_inputs (line 2220) | def test_augment_images_with_2d_inputs(self): method test_augment_keypoints_single_instance (line 2268) | def test_augment_keypoints_single_instance(self): method test_augment_keypoints_single_instance_rot90 (line 2277) | def test_augment_keypoints_single_instance_rot90(self): method test_augment_keypoints_many_instances_rot90 (line 2294) | def test_augment_keypoints_many_instances_rot90(self): method test_augment_keypoints_empty_instance (line 2312) | def test_augment_keypoints_empty_instance(self): method test_augment_keypoints_mixed_filled_and_empty_instances (line 2322) | def test_augment_keypoints_mixed_filled_and_empty_instances(self): method test_augment_keypoints_aligned_despite_empty_instance (line 2334) | def test_augment_keypoints_aligned_despite_empty_instance(self): method test_augment_keypoints_aligned_despite_nongeometric_image_ops (line 2392) | def test_augment_keypoints_aligned_despite_nongeometric_image_ops(self): method test_augment_bounding_boxes (line 2426) | def test_augment_bounding_boxes(self): method test_augment_bounding_boxes_empty_bboi (line 2440) | def test_augment_bounding_boxes_empty_bboi(self): method test_augment_bounding_boxes_empty_list (line 2449) | def test_augment_bounding_boxes_empty_list(self): method test_augment_bounding_boxes_single_instance (line 2456) | def test_augment_bounding_boxes_single_instance(self): method test_augment_bounding_boxes_single_instance_rot90 (line 2471) | def test_augment_bounding_boxes_single_instance_rot90(self): method test_augment_bounding_box_list_of_many_instances (line 2496) | def test_augment_bounding_box_list_of_many_instances(self): method test_augment_heatmaps_noop_single_heatmap (line 2519) | def test_augment_heatmaps_noop_single_heatmap(self): method test_augment_heatmaps_rot90_single_heatmap (line 2528) | def test_augment_heatmaps_rot90_single_heatmap(self): method test_augment_heatmaps_rot90_list_of_many_heatmaps (line 2538) | def test_augment_heatmaps_rot90_list_of_many_heatmaps(self): method test_legacy_fallback_to_kp_aug_for_cbaois (line 2549) | def test_legacy_fallback_to_kp_aug_for_cbaois(self): method test_localize_random_state (line 2577) | def test_localize_random_state(self): method test_seed_ (line 2586) | def test_seed_(self): method test_seed__deterministic_too (line 2602) | def test_seed__deterministic_too(self): method test_seed__with_integer (line 2618) | def test_seed__with_integer(self): method test_seed__with_rng (line 2636) | def test_seed__with_rng(self): method test_get_parameters (line 2656) | def test_get_parameters(self): method test_get_all_children_flat (line 2662) | def test_get_all_children_flat(self): method test_get_all_children_not_flat (line 2675) | def test_get_all_children_not_flat(self): method test___repr___and___str__ (line 2689) | def test___repr___and___str__(self): function _augment_batches__lambda_func_images (line 2727) | def _augment_batches__lambda_func_images( function _augment_batches__lambda_func_keypoints (line 2732) | def _augment_batches__lambda_func_keypoints( function _augment_batches__assertlambda_func_images (line 2737) | def _augment_batches__assertlambda_func_images( function _augment_batches__assertlambda_func_keypoints (line 2742) | def _augment_batches__assertlambda_func_keypoints( class TestAugmenter_augment_batches (line 2748) | class TestAugmenter_augment_batches(unittest.TestCase): method setUp (line 2749) | def setUp(self): method test_augment_batches_list_of_empty_list_deprecated (line 2752) | def test_augment_batches_list_of_empty_list_deprecated(self): method test_augment_batches_list_of_arrays_deprecated (line 2765) | def test_augment_batches_list_of_arrays_deprecated(self): method test_augment_batches_list_of_list_of_arrays_deprecated (line 2779) | def test_augment_batches_list_of_list_of_arrays_deprecated(self): method test_augment_batches_invalid_datatype (line 2794) | def test_augment_batches_invalid_datatype(self): method test_augment_batches_list_of_invalid_datatype (line 2799) | def test_augment_batches_list_of_invalid_datatype(self): method test_augment_batches_list_of_list_of_invalid_datatype (line 2809) | def test_augment_batches_list_of_list_of_invalid_datatype(self): method test_augment_batches_batch_with_list_of_images (line 2819) | def test_augment_batches_batch_with_list_of_images(self): method test_augment_batches_batch_with_array_of_images (line 2844) | def test_augment_batches_batch_with_array_of_images(self): method test_augment_batches_background (line 2870) | def test_augment_batches_background(self): method test_augment_batches_with_many_different_augmenters (line 2923) | def test_augment_batches_with_many_different_augmenters(self): class TestAugmenter_augment_batch (line 3013) | class TestAugmenter_augment_batch(unittest.TestCase): method test_deprecation (line 3014) | def test_deprecation(self): method test_augments_correctly_images (line 3027) | def test_augments_correctly_images(self): class TestAugmenter_augment_batch_ (line 3056) | class TestAugmenter_augment_batch_(unittest.TestCase): method setUp (line 3057) | def setUp(self): method test_verify_inplace_aug__imgs__unnormalized_batch (line 3060) | def test_verify_inplace_aug__imgs__unnormalized_batch(self): method test_verify_inplace_aug__imgs__normalized_batch (line 3084) | def test_verify_inplace_aug__imgs__normalized_batch(self): method test_verify_inplace_aug__imgs__batchinaug (line 3108) | def test_verify_inplace_aug__imgs__batchinaug(self): method test_verify_inplace_aug__segmaps__normalized_batch (line 3129) | def test_verify_inplace_aug__segmaps__normalized_batch(self): method test_verify_inplace_aug__keypoints_normalized_batch (line 3153) | def test_verify_inplace_aug__keypoints_normalized_batch(self): method test_call_changes_global_rng_state (line 3179) | def test_call_changes_global_rng_state(self): method test_multiple_calls_produce_not_the_same_results (line 3190) | def test_multiple_calls_produce_not_the_same_results(self): method test_calls_affect_other_augmenters_with_global_rng (line 3218) | def test_calls_affect_other_augmenters_with_global_rng(self): class TestAugmenter_augment_segmentation_maps (line 3263) | class TestAugmenter_augment_segmentation_maps(unittest.TestCase): method setUp (line 3264) | def setUp(self): method test_augment_segmentation_maps_single_instance (line 3267) | def test_augment_segmentation_maps_single_instance(self): method test_augment_segmentation_maps_list_of_single_instance (line 3280) | def test_augment_segmentation_maps_list_of_single_instance(self): method test_augment_segmentation_maps_affine (line 3293) | def test_augment_segmentation_maps_affine(self): method test_augment_segmentation_maps_pad (line 3312) | def test_augment_segmentation_maps_pad(self): method test_augment_segmentation_maps_pad_some_classes_not_provided (line 3332) | def test_augment_segmentation_maps_pad_some_classes_not_provided(self): method test_augment_segmentation_maps_pad_only_background_class (line 3353) | def test_augment_segmentation_maps_pad_only_background_class(self): method test_augment_segmentation_maps_multichannel_rot90 (line 3374) | def test_augment_segmentation_maps_multichannel_rot90(self): class TestAugmenter_draw_grid (line 3387) | class TestAugmenter_draw_grid(unittest.TestCase): method setUp (line 3388) | def setUp(self): method test_draw_grid_list_of_3d_arrays (line 3391) | def test_draw_grid_list_of_3d_arrays(self): method test_draw_grid_list_of_2d_arrays (line 3407) | def test_draw_grid_list_of_2d_arrays(self): method test_draw_grid_list_of_1d_arrays_fails (line 3424) | def test_draw_grid_list_of_1d_arrays_fails(self): method test_draw_grid_4d_array (line 3431) | def test_draw_grid_4d_array(self): method test_draw_grid_3d_array (line 3447) | def test_draw_grid_3d_array(self): method test_draw_grid_2d_array (line 3463) | def test_draw_grid_2d_array(self): method test_draw_grid_1d_array (line 3480) | def test_draw_grid_1d_array(self): class _TestAugmenter_augment_cbaois (line 3489) | class _TestAugmenter_augment_cbaois(object): method setUp (line 3501) | def setUp(self): method _augfunc (line 3505) | def _augfunc(self, augmenter, *args, **kwargs): method _ObjClass (line 3510) | def _ObjClass(self): method _ObjOnImageClass (line 3515) | def _ObjOnImageClass(self): method _Obj (line 3518) | def _Obj(self, *args, **kwargs): method _ObjOnImage (line 3521) | def _ObjOnImage(self, *args, **kwargs): method _compare_coords_of_cba (line 3524) | def _compare_coords_of_cba(self, observed, expected, atol=1e-4, rtol=0): method test_single_empty_instance (line 3527) | def test_single_empty_instance(self): method test_list_of_single_empty_instance (line 3538) | def test_list_of_single_empty_instance(self): method test_two_cbaois_each_two_cbas (line 3550) | def test_two_cbaois_each_two_cbas(self): method test_randomness_between_and_within_batches (line 3595) | def test_randomness_between_and_within_batches(self): method test_determinism (line 3647) | def test_determinism(self): method test_aligned_with_images (line 3687) | def test_aligned_with_images(self): method test_aligned_with_images_despite_empty_instances (line 3731) | def test_aligned_with_images_despite_empty_instances(self): class _DummyRecoverer (line 3798) | class _DummyRecoverer(_ConcavePolygonRecoverer): method recover_from (line 3799) | def recover_from(self, new_exterior, old_polygon, random_state=0): class _DummyAugmenterWithRecoverer (line 3806) | class _DummyAugmenterWithRecoverer(iaa.Augmenter): method __init__ (line 3807) | def __init__(self, use_recoverer=True): method _augment_images (line 3817) | def _augment_images(self, images, random_state, parents, hooks): method _augment_polygons (line 3822) | def _augment_polygons(self, polygons_on_images, random_state, parents, method _augment_keypoints (line 3828) | def _augment_keypoints(self, keypoints_on_images, random_state, parents, method get_parameters (line 3865) | def get_parameters(self): class TestAugmenter_augment_polygons (line 3869) | class TestAugmenter_augment_polygons(_TestAugmenter_augment_cbaois, method _augfunc (line 3871) | def _augfunc(self, augmenter, *args, **kwargs): method _ObjClass (line 3875) | def _ObjClass(self): method _ObjOnImageClass (line 3879) | def _ObjOnImageClass(self): method _coords (line 3882) | def _coords(self, obj): method _entities (line 3885) | def _entities(self, obj_on_image): method test_polygon_recoverer (line 3888) | def test_polygon_recoverer(self): method test_polygon_aligned_without_recoverer (line 3910) | def test_polygon_aligned_without_recoverer(self): method test_polygon_aligned_with_recoverer (line 3943) | def test_polygon_aligned_with_recoverer(self): class TestAugmenter_augment_line_strings (line 3977) | class TestAugmenter_augment_line_strings(_TestAugmenter_augment_cbaois, method _augfunc (line 3979) | def _augfunc(self, augmenter, *args, **kwargs): method _ObjClass (line 3983) | def _ObjClass(self): method _ObjOnImageClass (line 3987) | def _ObjOnImageClass(self): class TestAugmenter_augment_bounding_boxes (line 3991) | class TestAugmenter_augment_bounding_boxes(_TestAugmenter_augment_cbaois, method _augfunc (line 3993) | def _augfunc(self, augmenter, *args, **kwargs): method _ObjClass (line 3997) | def _ObjClass(self): method _ObjOnImageClass (line 4001) | def _ObjOnImageClass(self): method _Obj (line 4004) | def _Obj(self, *args, **kwargs): method _compare_coords_of_cba (line 4013) | def _compare_coords_of_cba(self, observed, expected, atol=1e-4, rtol=0): class TestAugmenter_augment_bounding_boxes_by_keypoints (line 4036) | class TestAugmenter_augment_bounding_boxes_by_keypoints(unittest.TestCase): method test_x_min_max (line 4037) | def test_x_min_max(self): method test_y_min_max (line 4068) | def test_y_min_max(self): method test_x1_x2_can_get_flipped (line 4099) | def test_x1_x2_can_get_flipped(self): method test_y1_y2_can_get_flipped (line 4130) | def test_y1_y2_can_get_flipped(self): class TestAugmenter_augment (line 4162) | class TestAugmenter_augment(unittest.TestCase): method setUp (line 4163) | def setUp(self): method test_image (line 4166) | def test_image(self): method test_images_list (line 4175) | def test_images_list(self): method test_images_and_heatmaps (line 4184) | def test_images_and_heatmaps(self): method test_images_and_segmentation_maps (line 4195) | def test_images_and_segmentation_maps(self): method test_images_and_keypoints (line 4205) | def test_images_and_keypoints(self): method test_images_and_polygons (line 4216) | def test_images_and_polygons(self): method test_images_and_line_strings (line 4227) | def test_images_and_line_strings(self): method test_images_and_bounding_boxes (line 4241) | def test_images_and_bounding_boxes(self): method test_image_return_batch (line 4251) | def test_image_return_batch(self): method test_images_and_heatmaps_return_batch (line 4260) | def test_images_and_heatmaps_return_batch(self): method test_images_and_segmentation_maps_return_batch (line 4273) | def test_images_and_segmentation_maps_return_batch(self): method test_images_and_keypoints_return_batch (line 4286) | def test_images_and_keypoints_return_batch(self): method test_images_and_polygons_return_batch (line 4299) | def test_images_and_polygons_return_batch(self): method test_images_and_line_strings_return_batch (line 4312) | def test_images_and_line_strings_return_batch(self): method test_images_and_bounding_boxes_return_batch (line 4328) | def test_images_and_bounding_boxes_return_batch(self): method test_non_image_data (line 4341) | def test_non_image_data(self): method test_non_image_data_unexpected_args_order (line 4357) | def test_non_image_data_unexpected_args_order(self): method test_with_affine (line 4376) | def test_with_affine(self): method test_alignment (line 4408) | def test_alignment(self): method test_alignment_and_same_outputs_in_deterministic_mode (line 4444) | def test_alignment_and_same_outputs_in_deterministic_mode(self): method test_arrays_become_lists_if_augmenter_changes_shapes (line 4483) | def test_arrays_become_lists_if_augmenter_changes_shapes(self): method test_py_gte_36_two_outputs_none_of_them_images (line 4520) | def test_py_gte_36_two_outputs_none_of_them_images(self): method test_py_gte_36_two_outputs_none_of_them_images_inverted (line 4533) | def test_py_gte_36_two_outputs_none_of_them_images_inverted(self): method test_py_gte_36_two_outputs_inverted_order_heatmaps (line 4546) | def test_py_gte_36_two_outputs_inverted_order_heatmaps(self): method test_py_gte_36_two_outputs_inverted_order_segmaps (line 4558) | def test_py_gte_36_two_outputs_inverted_order_segmaps(self): method test_py_gte_36_two_outputs_inverted_order_keypoints (line 4571) | def test_py_gte_36_two_outputs_inverted_order_keypoints(self): method test_py_gte_36_two_outputs_inverted_order_bbs (line 4584) | def test_py_gte_36_two_outputs_inverted_order_bbs(self): method test_py_gte_36_two_outputs_inverted_order_polygons (line 4597) | def test_py_gte_36_two_outputs_inverted_order_polygons(self): method test_py_gte_36_two_outputs_inverted_order_line_strings (line 4610) | def test_py_gte_36_two_outputs_inverted_order_line_strings(self): method test_py_gte_36_three_inputs_expected_order (line 4626) | def test_py_gte_36_three_inputs_expected_order(self): method test_py_gte_36_three_inputs_expected_order2 (line 4643) | def test_py_gte_36_three_inputs_expected_order2(self): method test_py_gte_36_three_inputs_inverted_order (line 4660) | def test_py_gte_36_three_inputs_inverted_order(self): method test_py_gte_36_three_inputs_inverted_order2 (line 4677) | def test_py_gte_36_three_inputs_inverted_order2(self): method test_py_gte_36_all_inputs_expected_order (line 4694) | def test_py_gte_36_all_inputs_expected_order(self): method test_py_gte_36_all_inputs_inverted_order (line 4726) | def test_py_gte_36_all_inputs_inverted_order(self): method test_py_lte_35_calls_without_images_fail (line 4758) | def test_py_lte_35_calls_without_images_fail(self): method test_py_lte_35_calls_with_more_than_three_args_fail (line 4774) | def test_py_lte_35_calls_with_more_than_three_args_fail(self): class TestAugmenter___call__ (line 4790) | class TestAugmenter___call__(unittest.TestCase): method setUp (line 4791) | def setUp(self): method test_with_two_augmentables (line 4794) | def test_with_two_augmentables(self): class TestAugmenter_pool (line 4805) | class TestAugmenter_pool(unittest.TestCase): method setUp (line 4806) | def setUp(self): method test_pool (line 4809) | def test_pool(self): class TestAugmenter_find_augmenters_by_name (line 4829) | class TestAugmenter_find_augmenters_by_name(unittest.TestCase): method setUp (line 4830) | def setUp(self): method seq (line 4834) | def seq(self): method test_find_top_element (line 4843) | def test_find_top_element(self): method test_find_nested_element (line 4851) | def test_find_nested_element(self): method test_find_list_of_names (line 4859) | def test_find_list_of_names(self): method test_find_by_regex (line 4868) | def test_find_by_regex(self): class TestAugmenter_find_augmenters (line 4878) | class TestAugmenter_find_augmenters(unittest.TestCase): method setUp (line 4879) | def setUp(self): method seq (line 4883) | def seq(self): method test_find_by_list_of_names (line 4892) | def test_find_by_list_of_names(self): method test_use_parents_arg (line 4904) | def test_use_parents_arg(self): method test_find_by_list_of_names_flat_false (line 4917) | def test_find_by_list_of_names_flat_false(self): class TestAugmenter_remove (line 4930) | class TestAugmenter_remove(unittest.TestCase): method setUp (line 4931) | def setUp(self): method seq (line 4935) | def seq(self): method test_remove_by_name (line 4944) | def test_remove_by_name(self): method test_remove_by_name_and_parents_arg (line 4956) | def test_remove_by_name_and_parents_arg(self): method test_remove_all_without_inplace_removal (line 4969) | def test_remove_all_without_inplace_removal(self): method test_remove_all_with_inplace_removal (line 4980) | def test_remove_all_with_inplace_removal(self): method test_remove_all_without_inplace_removal_and_no_identity (line 4996) | def test_remove_all_without_inplace_removal_and_no_identity(self): method test_remove_all_without_inplace_removal_and_no_noop (line 5006) | def test_remove_all_without_inplace_removal_and_no_noop(self): class TestAugmenter_copy_random_state (line 5022) | class TestAugmenter_copy_random_state(unittest.TestCase): method setUp (line 5023) | def setUp(self): method image (line 5027) | def image(self): method images (line 5031) | def images(self): method source (line 5035) | def source(self): method target (line 5046) | def target(self): method test_matching_position (line 5054) | def test_matching_position(self): method test_matching_position_copy_determinism (line 5075) | def test_matching_position_copy_determinism(self): method test_matching_name (line 5095) | def test_matching_name(self): method test_matching_name_copy_determinism (line 5112) | def test_matching_name_copy_determinism(self): method test_copy_fails_when_source_rngs_are_not_localized__name (line 5136) | def test_copy_fails_when_source_rngs_are_not_localized__name(self): method test_copy_fails_when_source_rngs_are_not_localized__position (line 5147) | def test_copy_fails_when_source_rngs_are_not_localized__position(self): method test_copy_fails_when_names_not_match_and_matching_not_tolerant (line 5158) | def test_copy_fails_when_names_not_match_and_matching_not_tolerant(self): method test_copy_fails_for_not_tolerant_position_matching (line 5171) | def test_copy_fails_for_not_tolerant_position_matching(self): method test_copy_fails_for_unknown_matching_method (line 5185) | def test_copy_fails_for_unknown_matching_method(self): method test_warn_if_multiple_augmenters_with_same_name (line 5198) | def test_warn_if_multiple_augmenters_with_same_name(self): class TestAugmenterHooks (line 5217) | class TestAugmenterHooks(unittest.TestCase): method setUp (line 5218) | def setUp(self): method image (line 5222) | def image(self): method image_lr (line 5229) | def image_lr(self): method image_lrud (line 5236) | def image_lrud(self): method test_preprocessor (line 5242) | def test_preprocessor(self): method test_postprocessor (line 5257) | def test_postprocessor(self): method test_propagator (line 5272) | def test_propagator(self): method test_activator (line 5286) | def test_activator(self): method test_activator_keypoints (line 5300) | def test_activator_keypoints(self): class TestAugmenterWithLoadedImages (line 5315) | class TestAugmenterWithLoadedImages(unittest.TestCase): method setUp (line 5316) | def setUp(self): method test_with_cv2 (line 5319) | def test_with_cv2(self): method test_with_imageio (line 5358) | def test_with_imageio(self): method test_with_pil (line 5397) | def test_with_pil(self): class TestSequential (line 5441) | class TestSequential(unittest.TestCase): method setUp (line 5442) | def setUp(self): method image (line 5446) | def image(self): method images (line 5453) | def images(self): method image_lr (line 5457) | def image_lr(self): method images_lr (line 5464) | def images_lr(self): method image_ud (line 5468) | def image_ud(self): method images_ud (line 5475) | def images_ud(self): method image_lr_ud (line 5479) | def image_lr_ud(self): method images_lr_ud (line 5486) | def images_lr_ud(self): method keypoints (line 5490) | def keypoints(self): method keypoints_aug (line 5497) | def keypoints_aug(self): method polygons (line 5504) | def polygons(self): method polygons_aug (line 5509) | def polygons_aug(self): method lsoi (line 5514) | def lsoi(self): method lsoi_aug (line 5519) | def lsoi_aug(self): method bbsoi (line 5524) | def bbsoi(self): method bbsoi_aug (line 5529) | def bbsoi_aug(self): method heatmaps (line 5539) | def heatmaps(self): method heatmaps_aug (line 5546) | def heatmaps_aug(self): method segmaps (line 5553) | def segmaps(self): method segmaps_aug (line 5560) | def segmaps_aug(self): method seq_two_flips (line 5568) | def seq_two_flips(self): method test_images__two_flips (line 5574) | def test_images__two_flips(self): method test_images__two_flips__deterministic (line 5579) | def test_images__two_flips__deterministic(self): method test_images_as_list__two_flips (line 5587) | def test_images_as_list__two_flips(self): method test_images_as_list__two_flips__deterministic (line 5594) | def test_images_as_list__two_flips__deterministic(self): method test_keypoints__two_flips (line 5602) | def test_keypoints__two_flips(self): method test_keypoints__two_flips__deterministic (line 5609) | def test_keypoints__two_flips__deterministic(self): method test_polygons__two_flips (line 5617) | def test_polygons__two_flips(self): method test_polygons__two_flips__deterministic (line 5624) | def test_polygons__two_flips__deterministic(self): method test_line_strings__two_flips (line 5632) | def test_line_strings__two_flips(self): method test_line_strings__two_flips__deterministic (line 5639) | def test_line_strings__two_flips__deterministic(self): method test_bounding_boxes__two_flips (line 5647) | def test_bounding_boxes__two_flips(self): method test_bounding_boxes__two_flips__deterministic (line 5654) | def test_bounding_boxes__two_flips__deterministic(self): method test_heatmaps__two_flips (line 5662) | def test_heatmaps__two_flips(self): method test_segmentation_maps__two_flips (line 5674) | def test_segmentation_maps__two_flips(self): method test_children_not_provided (line 5684) | def test_children_not_provided(self): method test_children_are_none (line 5690) | def test_children_are_none(self): method test_children_is_single_augmenter_without_list (line 5696) | def test_children_is_single_augmenter_without_list(self): method test_children_is_a_sequential (line 5702) | def test_children_is_a_sequential(self): method test_children_is_list_of_sequentials (line 5708) | def test_children_is_list_of_sequentials(self): method test_randomness__two_flips (line 5717) | def test_randomness__two_flips(self): method test_randomness__two_flips__deterministic (line 5728) | def test_randomness__two_flips__deterministic(self): method _test_randomness__two_flips__compute_fraction_same (line 5743) | def _test_randomness__two_flips__compute_fraction_same(self, aug, method test_random_order_true_images (line 5767) | def test_random_order_true_images(self): method test_random_order_false_images (line 5777) | def test_random_order_false_images(self): method test_random_order_true_deterministic_images (line 5787) | def test_random_order_true_deterministic_images(self): method _test_random_order_images_frac_12 (line 5799) | def _test_random_order_images_frac_12(cls, aug, nb_iterations): method test_random_order_heatmaps (line 5821) | def test_random_order_heatmaps(self): method test_random_order_segmentation_maps (line 5850) | def test_random_order_segmentation_maps(self): method test_random_order_keypoints (line 5879) | def test_random_order_keypoints(self): method test_random_order_polygons (line 5919) | def test_random_order_polygons(self): method test_random_order_line_strings (line 5956) | def test_random_order_line_strings(self): method test_random_order_bounding_boxes (line 5993) | def test_random_order_bounding_boxes(self): method test_zero_sized_axes (line 6033) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 6056) | def test_unusual_channel_numbers(self): method test_add_to_empty_sequential (line 6077) | def test_add_to_empty_sequential(self): method test_add_to_sequential_with_child (line 6084) | def test_add_to_sequential_with_child(self): method test_get_parameters (line 6091) | def test_get_parameters(self): method test_get_children_lists (line 6097) | def test_get_children_lists(self): method test_to_deterministic (line 6102) | def test_to_deterministic(self): method test___str___and___repr__ (line 6112) | def test___str___and___repr__(self): method test_other_dtypes_noop__bool (line 6122) | def test_other_dtypes_noop__bool(self): method test_other_dtypes__noop__uint_int (line 6135) | def test_other_dtypes__noop__uint_int(self): method test_other_dtypes_noop__float (line 6155) | def test_other_dtypes_noop__float(self): method test_other_dtypes_flips__bool (line 6178) | def test_other_dtypes_flips__bool(self): method test_other_dtypes__flips__uint_int (line 6195) | def test_other_dtypes__flips__uint_int(self): method test_other_dtypes_flips__float (line 6219) | def test_other_dtypes_flips__float(self): method test_pickleable (line 6246) | def test_pickleable(self): class TestSomeOf (line 6255) | class TestSomeOf(unittest.TestCase): method setUp (line 6256) | def setUp(self): method test_children_are_empty_list (line 6259) | def test_children_are_empty_list(self): method test_children_are_not_provided (line 6265) | def test_children_are_not_provided(self): method test_several_children_and_various_fixed_n (line 6271) | def test_several_children_and_various_fixed_n(self): method test_several_children_and_n_as_tuple (line 6293) | def test_several_children_and_n_as_tuple(self): method test_several_children_and_various_fixed_n__heatmaps (line 6318) | def test_several_children_and_various_fixed_n__heatmaps(self): method test_several_children_and_various_fixed_n__segmaps (line 6359) | def test_several_children_and_various_fixed_n__segmaps(self): method _test_several_children_and_various_fixed_n__cbaois (line 6397) | def _test_several_children_and_various_fixed_n__cbaois( method test_several_children_and_various_fixed_n__keypoints (line 6427) | def test_several_children_and_various_fixed_n__keypoints(self): method test_several_children_and_various_fixed_n__polygons (line 6433) | def test_several_children_and_various_fixed_n__polygons(self): method test_several_children_and_various_fixed_n__line_strings (line 6439) | def test_several_children_and_various_fixed_n__line_strings(self): method test_several_children_and_various_fixed_n__bounding_boxes (line 6445) | def test_several_children_and_various_fixed_n__bounding_boxes(self): method _test_empty_cbaoi (line 6452) | def _test_empty_cbaoi(cls, cbaoi, augf_name): method test_empty_keypoints_on_image_instance (line 6461) | def test_empty_keypoints_on_image_instance(self): method test_empty_polygons_on_image_instance (line 6465) | def test_empty_polygons_on_image_instance(self): method test_empty_line_strings_on_image_instance (line 6469) | def test_empty_line_strings_on_image_instance(self): method test_empty_bounding_boxes_on_image_instance (line 6473) | def test_empty_bounding_boxes_on_image_instance(self): method test_random_order_false__images (line 6477) | def test_random_order_false__images(self): method test_random_order_true__images (line 6484) | def test_random_order_true__images(self): method _test_random_order (line 6492) | def _test_random_order(cls, aug, nb_iterations): method _test_images_and_cbaoi_aligned (line 6510) | def _test_images_and_cbaoi_aligned(cls, cbaoi, augf_name): method test_images_and_keypoints_aligned (line 6552) | def test_images_and_keypoints_aligned(self): method test_images_and_polygons_aligned (line 6557) | def test_images_and_polygons_aligned(self): method test_images_and_line_strings_aligned (line 6562) | def test_images_and_line_strings_aligned(self): method test_images_and_bounding_boxes_aligned (line 6567) | def test_images_and_bounding_boxes_aligned(self): method test_invalid_argument_as_children (line 6572) | def test_invalid_argument_as_children(self): method test_invalid_datatype_as_n (line 6581) | def test_invalid_datatype_as_n(self): method test_invalid_tuple_as_n (line 6590) | def test_invalid_tuple_as_n(self): method test_invalid_none_none_tuple_as_n (line 6599) | def test_invalid_none_none_tuple_as_n(self): method test_with_children_that_change_shapes_keep_size_false (line 6608) | def test_with_children_that_change_shapes_keep_size_false(self): method test_with_children_that_change_shapes_keep_size_true (line 6640) | def test_with_children_that_change_shapes_keep_size_true(self): method test_zero_sized_axes (line 6669) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 6692) | def test_unusual_channel_numbers(self): method test_other_dtypes_via_noop__bool (line 6713) | def test_other_dtypes_via_noop__bool(self): method test_other_dtypes_via_noop__uint_int (line 6728) | def test_other_dtypes_via_noop__uint_int(self): method test_other_dtypes_via_noop__float (line 6750) | def test_other_dtypes_via_noop__float(self): method test_other_dtypes_via_flip__bool (line 6774) | def test_other_dtypes_via_flip__bool(self): method test_other_dtypes_via_flip__uint_int (line 6798) | def test_other_dtypes_via_flip__uint_int(self): method test_other_dtypes_via_flip__float (line 6829) | def test_other_dtypes_via_flip__float(self): method test_pickleable (line 6863) | def test_pickleable(self): method test_get_children_lists (line 6873) | def test_get_children_lists(self): method test_to_deterministic (line 6881) | def test_to_deterministic(self): class TestOneOf (line 6892) | class TestOneOf(unittest.TestCase): method setUp (line 6893) | def setUp(self): method test_returns_someof (line 6896) | def test_returns_someof(self): method test_single_child_that_is_augmenter (line 6903) | def test_single_child_that_is_augmenter(self): method test_single_child_that_is_sequential (line 6909) | def test_single_child_that_is_sequential(self): method test_single_child_that_is_list (line 6915) | def test_single_child_that_is_list(self): method test_three_children (line 6921) | def test_three_children(self): method test_pickleable (line 6939) | def test_pickleable(self): method test_get_children_lists (line 6947) | def test_get_children_lists(self): method test_to_deterministic (line 6955) | def test_to_deterministic(self): class TestSometimes (line 6966) | class TestSometimes(unittest.TestCase): method setUp (line 6967) | def setUp(self): method image (line 6971) | def image(self): method images (line 6978) | def images(self): method image_lr (line 6982) | def image_lr(self): method images_lr (line 6989) | def images_lr(self): method image_ud (line 6993) | def image_ud(self): method images_ud (line 7000) | def images_ud(self): method keypoints (line 7004) | def keypoints(self): method keypoints_lr (line 7011) | def keypoints_lr(self): method keypoints_ud (line 7018) | def keypoints_ud(self): method polygons (line 7025) | def polygons(self): method polygons_lr (line 7030) | def polygons_lr(self): method polygons_ud (line 7035) | def polygons_ud(self): method lsoi (line 7040) | def lsoi(self): method lsoi_lr (line 7045) | def lsoi_lr(self): method lsoi_ud (line 7050) | def lsoi_ud(self): method bbsoi (line 7055) | def bbsoi(self): method bbsoi_lr (line 7060) | def bbsoi_lr(self): method bbsoi_ud (line 7070) | def bbsoi_ud(self): method heatmaps (line 7080) | def heatmaps(self): method heatmaps_lr (line 7087) | def heatmaps_lr(self): method heatmaps_ud (line 7094) | def heatmaps_ud(self): method segmaps (line 7101) | def segmaps(self): method segmaps_lr (line 7108) | def segmaps_lr(self): method segmaps_ud (line 7115) | def segmaps_ud(self): method test_two_branches_always_first__images (line 7121) | def test_two_branches_always_first__images(self): method test_two_branches_always_first__images__deterministic (line 7128) | def test_two_branches_always_first__images__deterministic(self): method test_two_branches_always_first__images__list (line 7134) | def test_two_branches_always_first__images__list(self): method test_two_branches_always_first__images__deterministic__list (line 7139) | def test_two_branches_always_first__images__deterministic__list(self): method test_two_branches_always_first__keypoints (line 7145) | def test_two_branches_always_first__keypoints(self): method test_two_branches_always_first__keypoints__deterministic (line 7150) | def test_two_branches_always_first__keypoints__deterministic(self): method test_two_branches_always_first__polygons (line 7158) | def test_two_branches_always_first__polygons(self): method test_two_branches_always_first__polygons__deterministic (line 7165) | def test_two_branches_always_first__polygons__deterministic(self): method test_two_branches_always_first__line_strings (line 7173) | def test_two_branches_always_first__line_strings(self): method test_two_branches_always_first__line_strings__deterministic (line 7180) | def test_two_branches_always_first__line_strings__deterministic(self): method test_two_branches_always_first__bounding_boxes (line 7188) | def test_two_branches_always_first__bounding_boxes(self): method test_two_branches_always_first__bounding_boxes__deterministic (line 7195) | def test_two_branches_always_first__bounding_boxes__deterministic(self): method test_two_branches_always_first__heatmaps (line 7203) | def test_two_branches_always_first__heatmaps(self): method test_two_branches_always_first__segmaps (line 7213) | def test_two_branches_always_first__segmaps(self): method test_two_branches_always_second__images (line 7221) | def test_two_branches_always_second__images(self): method test_two_branches_always_second__images__deterministic (line 7226) | def test_two_branches_always_second__images__deterministic(self): method test_two_branches_always_second__images__list (line 7232) | def test_two_branches_always_second__images__list(self): method test_two_branches_always_second__images__list__deterministic (line 7237) | def test_two_branches_always_second__images__list__deterministic(self): method test_two_branches_always_second__keypoints (line 7243) | def test_two_branches_always_second__keypoints(self): method test_two_branches_always_second__keypoints__deterministic (line 7250) | def test_two_branches_always_second__keypoints__deterministic(self): method test_two_branches_always_second__polygons (line 7258) | def test_two_branches_always_second__polygons(self): method test_two_branches_always_second__polygons__deterministic (line 7265) | def test_two_branches_always_second__polygons__deterministic(self): method test_two_branches_always_second__line_strings (line 7273) | def test_two_branches_always_second__line_strings(self): method test_two_branches_always_second__line_strings__deterministic (line 7280) | def test_two_branches_always_second__line_strings__deterministic(self): method test_two_branches_always_second__bounding_boxes (line 7288) | def test_two_branches_always_second__bounding_boxes(self): method test_two_branches_always_second__bounding_boxes__deterministic (line 7295) | def test_two_branches_always_second__bounding_boxes__deterministic(self): method test_two_branches_always_second__heatmaps (line 7303) | def test_two_branches_always_second__heatmaps(self): method test_two_branches_always_second__segmaps (line 7313) | def test_two_branches_always_second__segmaps(self): method test_two_branches_both_50_percent__images (line 7321) | def test_two_branches_both_50_percent__images(self): method test_two_branches_both_50_percent__images__deterministic (line 7354) | def test_two_branches_both_50_percent__images__deterministic(self): method _test_two_branches_both_50_percent__cbaois (line 7372) | def _test_two_branches_both_50_percent__cbaois( method test_two_branches_both_50_percent__keypoints (line 7403) | def test_two_branches_both_50_percent__keypoints(self): method test_two_branches_both_50_percent__polygons (line 7408) | def test_two_branches_both_50_percent__polygons(self): method test_two_branches_both_50_percent__line_strings (line 7413) | def test_two_branches_both_50_percent__line_strings(self): method test_two_branches_both_50_percent__bounding_boxes (line 7418) | def test_two_branches_both_50_percent__bounding_boxes(self): method test_one_branch_50_percent__images (line 7423) | def test_one_branch_50_percent__images(self): method test_one_branch_50_percent__images__deterministic (line 7456) | def test_one_branch_50_percent__images__deterministic(self): method _test_one_branch_50_percent__cbaois (line 7474) | def _test_one_branch_50_percent__cbaois( method test_one_branch_50_percent__keypoints (line 7505) | def test_one_branch_50_percent__keypoints(self): method test_one_branch_50_percent__polygons (line 7509) | def test_one_branch_50_percent__polygons(self): method test_one_branch_50_percent__bounding_boxes (line 7513) | def test_one_branch_50_percent__bounding_boxes(self): method _test_empty_cbaoi (line 7518) | def _test_empty_cbaoi(cls, cbaoi, augf_name): method test_empty_keypoints (line 7525) | def test_empty_keypoints(self): method test_empty_polygons (line 7529) | def test_empty_polygons(self): method test_empty_line_strings (line 7533) | def test_empty_line_strings(self): method test_empty_bounding_boxes (line 7537) | def test_empty_bounding_boxes(self): method test_p_is_stochastic_parameter (line 7541) | def test_p_is_stochastic_parameter(self): method test_bad_datatype_for_p_fails (line 7562) | def test_bad_datatype_for_p_fails(self): method test_bad_datatype_for_then_list_fails (line 7571) | def test_bad_datatype_for_then_list_fails(self): method test_bad_datatype_for_else_list_fails (line 7580) | def test_bad_datatype_for_else_list_fails(self): method test_two_branches_both_none (line 7589) | def test_two_branches_both_none(self): method test_using_hooks_to_deactivate_propagation (line 7595) | def test_using_hooks_to_deactivate_propagation(self): method test_zero_sized_axes (line 7609) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 7630) | def test_unusual_channel_numbers(self): method test_get_parameters (line 7649) | def test_get_parameters(self): method test___str___and___repr__ (line 7656) | def test___str___and___repr__(self): method test___str___and___repr___with_nones_as_children (line 7695) | def test___str___and___repr___with_nones_as_children(self): method test_shapes_changed_by_children__no_keep_size_non_stochastic (line 7722) | def test_shapes_changed_by_children__no_keep_size_non_stochastic(self): method test_shapes_changed_by_children__no_keep_size_stochastic (line 7759) | def test_shapes_changed_by_children__no_keep_size_stochastic(self): method test_shapes_changed_by_children__keep_size_non_stochastic (line 7795) | def test_shapes_changed_by_children__keep_size_non_stochastic(self): method test_shapes_changed_by_children__keep_size_stochastic (line 7829) | def test_shapes_changed_by_children__keep_size_stochastic(self): method test_other_dtypes_via_noop__bool (line 7865) | def test_other_dtypes_via_noop__bool(self): method test_other_dtypes_via_noop__uint_int (line 7875) | def test_other_dtypes_via_noop__uint_int(self): method test_other_dtypes_via_noop__float (line 7892) | def test_other_dtypes_via_noop__float(self): method test_other_dtypes_via_flip__bool (line 7912) | def test_other_dtypes_via_flip__bool(self): method test_other_dtypes_via_flip__uint_int (line 7934) | def test_other_dtypes_via_flip__uint_int(self): method test_other_dtypes_via_flip__float (line 7963) | def test_other_dtypes_via_flip__float(self): method test_pickleable (line 7996) | def test_pickleable(self): method test_get_children_lists (line 8001) | def test_get_children_lists(self): method test_get_children_lists_both_lists (line 8009) | def test_get_children_lists_both_lists(self): method test_to_deterministic (line 8020) | def test_to_deterministic(self): class TestWithChannels (line 8033) | class TestWithChannels(unittest.TestCase): method setUp (line 8034) | def setUp(self): method image (line 8038) | def image(self): method test_augment_only_channel_0 (line 8044) | def test_augment_only_channel_0(self): method test_augment_only_channel_1 (line 8051) | def test_augment_only_channel_1(self): method test_augment_all_channels_via_none (line 8058) | def test_augment_all_channels_via_none(self): method test_augment_channels_0_and_1_via_list (line 8064) | def test_augment_channels_0_and_1_via_list(self): method test_apply_multiple_augmenters (line 8070) | def test_apply_multiple_augmenters(self): method test_multiple_images_given_as_array (line 8083) | def test_multiple_images_given_as_array(self): method test_multiple_images_given_as_list_of_arrays (line 8096) | def test_multiple_images_given_as_list_of_arrays(self): method test_children_list_is_none (line 8107) | def test_children_list_is_none(self): method test_channels_is_empty_list (line 8113) | def test_channels_is_empty_list(self): method test_heatmap_augmentation_single_channel (line 8119) | def test_heatmap_augmentation_single_channel(self): method test_heatmap_augmentation_multiple_channels (line 8134) | def test_heatmap_augmentation_multiple_channels(self): method test_segmentation_map_augmentation_single_channel (line 8154) | def test_segmentation_map_augmentation_single_channel(self): method test_segmentation_map_augmentation_multiple_channels (line 8167) | def test_segmentation_map_augmentation_multiple_channels(self): method _test_cbaoi_augmentation_single_channel (line 8188) | def _test_cbaoi_augmentation_single_channel(cls, cbaoi, augf_name): method _test_cbaoi_augmentation_all_channels_via_list (line 8197) | def _test_cbaoi_augmentation_all_channels_via_list(cls, cbaoi, cbaoi_x, method _test_cbaoi_augmentation_subset_of_channels (line 8207) | def _test_cbaoi_augmentation_subset_of_channels(cls, cbaoi, cbaoi_x, method _test_cbaoi_augmentation_with_empty_cbaoi (line 8217) | def _test_cbaoi_augmentation_with_empty_cbaoi(cls, cbaoi, augf_name): method test_keypoint_augmentation_single_channel (line 8225) | def test_keypoint_augmentation_single_channel(self): method test_keypoint_augmentation_all_channels_via_list (line 8230) | def test_keypoint_augmentation_all_channels_via_list(self): method test_keypoint_augmentation_subset_of_channels (line 8237) | def test_keypoint_augmentation_subset_of_channels(self): method test_keypoint_augmentation_with_empty_keypoints_instance (line 8244) | def test_keypoint_augmentation_with_empty_keypoints_instance(self): method test_polygon_augmentation (line 8249) | def test_polygon_augmentation(self): method test_polygon_augmentation_all_channels_via_list (line 8254) | def test_polygon_augmentation_all_channels_via_list(self): method test_polygon_augmentation_subset_of_channels (line 8261) | def test_polygon_augmentation_subset_of_channels(self): method test_polygon_augmentation_with_empty_polygons_instance (line 8268) | def test_polygon_augmentation_with_empty_polygons_instance(self): method test_line_string_augmentation (line 8273) | def test_line_string_augmentation(self): method test_line_string_augmentation_all_channels_via_list (line 8279) | def test_line_string_augmentation_all_channels_via_list(self): method test_line_string_augmentation_subset_of_channels (line 8286) | def test_line_string_augmentation_subset_of_channels(self): method test_line_string_augmentation_with_empty_polygons_instance (line 8293) | def test_line_string_augmentation_with_empty_polygons_instance(self): method test_bounding_boxes_augmentation (line 8298) | def test_bounding_boxes_augmentation(self): method test_bounding_boxes_augmentation_all_channels_via_list (line 8304) | def test_bounding_boxes_augmentation_all_channels_via_list(self): method test_bounding_boxes_augmentation_subset_of_channels (line 8311) | def test_bounding_boxes_augmentation_subset_of_channels(self): method test_bounding_boxes_augmentation_with_empty_bb_instance (line 8318) | def test_bounding_boxes_augmentation_with_empty_bb_instance(self): method test_invalid_datatype_for_channels_fails (line 8323) | def test_invalid_datatype_for_channels_fails(self): method test_invalid_datatype_for_children_fails (line 8332) | def test_invalid_datatype_for_children_fails(self): method test_zero_sized_axes (line 8341) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 8362) | def test_unusual_channel_numbers(self): method test_get_parameters (line 8381) | def test_get_parameters(self): method test_get_children_lists (line 8387) | def test_get_children_lists(self): method test_to_deterministic (line 8392) | def test_to_deterministic(self): method test___repr___and___str__ (line 8402) | def test___repr___and___str__(self): method test_other_dtypes_via_noop__bool (line 8416) | def test_other_dtypes_via_noop__bool(self): method test_other_dtypes_via_noop__uint_int (line 8425) | def test_other_dtypes_via_noop__uint_int(self): method test_other_dtypes_via_noop__float (line 8442) | def test_other_dtypes_via_noop__float(self): method test_other_dtypes_via_flips__bool (line 8463) | def test_other_dtypes_via_flips__bool(self): method test_other_dtypes_via_flips__uint_int (line 8477) | def test_other_dtypes_via_flips__uint_int(self): method test_other_dtypes_via_flips__float (line 8497) | def test_other_dtypes_via_flips__float(self): method test_pickleable (line 8521) | def test_pickleable(self): class TestChannelShuffle (line 8527) | class TestChannelShuffle(unittest.TestCase): method setUp (line 8528) | def setUp(self): method test___init__ (line 8531) | def test___init__(self): method test_p_is_1 (line 8538) | def test_p_is_1(self): method test_p_is_0 (line 8558) | def test_p_is_0(self): method test_p_is_1_and_channels_is_limited_subset (line 8565) | def test_p_is_1_and_channels_is_limited_subset(self): method test_get_parameters (line 8585) | def test_get_parameters(self): method test_heatmaps_must_not_change (line 8590) | def test_heatmaps_must_not_change(self): method test_segmentation_maps_must_not_change (line 8598) | def test_segmentation_maps_must_not_change(self): method test_keypoints_must_not_change (line 8606) | def test_keypoints_must_not_change(self): method test_polygons_must_not_change (line 8616) | def test_polygons_must_not_change(self): method test_line_strings_must_not_change (line 8626) | def test_line_strings_must_not_change(self): method test_bounding_boxes_must_not_change (line 8636) | def test_bounding_boxes_must_not_change(self): method test_zero_sized_axes (line 8646) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 8667) | def test_unusual_channel_numbers(self): method test_other_dtypes_bool (line 8685) | def test_other_dtypes_bool(self): method test_other_dtypes_uint_int (line 8708) | def test_other_dtypes_uint_int(self): method test_other_dtypes_float (line 8739) | def test_other_dtypes_float(self): method test_pickleable (line 8774) | def test_pickleable(self): class TestRemoveCBAsByOutOfImageFraction (line 8779) | class TestRemoveCBAsByOutOfImageFraction(unittest.TestCase): method setUp (line 8780) | def setUp(self): method test___init__ (line 8783) | def test___init__(self): method test_no_cbas_in_batch (line 8787) | def test_no_cbas_in_batch(self): method test_keypoints (line 8814) | def test_keypoints(self): method test_bounding_boxes (line 8826) | def test_bounding_boxes(self): method test_polygons (line 8840) | def test_polygons(self): method test_line_strings (line 8854) | def test_line_strings(self): method test_get_parameters (line 8868) | def test_get_parameters(self): method test_pickleable (line 8874) | def test_pickleable(self): class TestClipCBAsToImagePlanes (line 8888) | class TestClipCBAsToImagePlanes(unittest.TestCase): method setUp (line 8889) | def setUp(self): method test_no_cbas_in_batch (line 8892) | def test_no_cbas_in_batch(self): method test_keypoints (line 8919) | def test_keypoints(self): method test_bounding_boxes (line 8931) | def test_bounding_boxes(self): method test_polygons (line 8949) | def test_polygons(self): method test_line_strings (line 8967) | def test_line_strings(self): method test_get_parameters (line 8985) | def test_get_parameters(self): method test_pickleable (line 8990) | def test_pickleable(self): FILE: test/augmenters/test_mixed_files.py function test_determinism (line 27) | def test_determinism(): class TestKeypointAugmentation (line 134) | class TestKeypointAugmentation(unittest.TestCase): method setUp (line 135) | def setUp(self): method test_many_augmenters (line 138) | def test_many_augmenters(self): function test_unusual_channel_numbers (line 235) | def test_unusual_channel_numbers(): function test_dtype_preservation (line 315) | def test_dtype_preservation(): FILE: test/augmenters/test_overlay.py class Test_blend_alpha (line 22) | class Test_blend_alpha(unittest.TestCase): method test_warns_that_it_is_deprecated (line 23) | def test_warns_that_it_is_deprecated(self): class TestAlpha (line 39) | class TestAlpha(unittest.TestCase): method test_warns_that_it_is_deprecated (line 40) | def test_warns_that_it_is_deprecated(self): class TestAlphaElementwise (line 55) | class TestAlphaElementwise(unittest.TestCase): method test_warns_that_it_is_deprecated (line 56) | def test_warns_that_it_is_deprecated(self): class TestSimplexNoiseAlpha (line 71) | class TestSimplexNoiseAlpha(unittest.TestCase): method test_warns_that_it_is_deprecated (line 72) | def test_warns_that_it_is_deprecated(self): class TestFrequencyNoiseAlpha (line 86) | class TestFrequencyNoiseAlpha(unittest.TestCase): method test_warns_that_it_is_deprecated (line 87) | def test_warns_that_it_is_deprecated(self): FILE: test/augmenters/test_pillike.py function _test_shape_hw (line 28) | def _test_shape_hw(func): function _test_shape_hw1 (line 41) | def _test_shape_hw1(func): class Test_solarize_ (line 54) | class Test_solarize_(unittest.TestCase): method test_mocked_defaults (line 56) | def test_mocked_defaults(self, mock_sol): method test_mocked (line 69) | def test_mocked(self, mock_sol): method test_image_shape_hw (line 81) | def test_image_shape_hw(self): method test_image_shape_hw1 (line 85) | def test_image_shape_hw1(self): class Test_solarize (line 90) | class Test_solarize(unittest.TestCase): method test_compare_with_pil (line 91) | def test_compare_with_pil(self): method test_image_shape_hw (line 112) | def test_image_shape_hw(self): method test_image_shape_hw1 (line 116) | def test_image_shape_hw1(self): class Test_posterize (line 121) | class Test_posterize(unittest.TestCase): method test_by_comparison_with_pil (line 122) | def test_by_comparison_with_pil(self): method test_image_shape_hw (line 136) | def test_image_shape_hw(self): method test_image_shape_hw1 (line 140) | def test_image_shape_hw1(self): class Test_equalize (line 145) | class Test_equalize(unittest.TestCase): method test_by_comparison_with_pil (line 146) | def test_by_comparison_with_pil(self): method test_unusual_channel_numbers (line 195) | def test_unusual_channel_numbers(self): method test_zero_sized_axes (line 213) | def test_zero_sized_axes(self): method test_image_shape_hw (line 233) | def test_image_shape_hw(self): method test_image_shape_hw1 (line 240) | def test_image_shape_hw1(self): class Test_autocontrast (line 245) | class Test_autocontrast(unittest.TestCase): method test_by_comparison_with_pil (line 246) | def test_by_comparison_with_pil(self): method test_unusual_channel_numbers (line 299) | def test_unusual_channel_numbers(self): method test_zero_sized_axes (line 320) | def test_zero_sized_axes(self): method test_image_shape_hw (line 345) | def test_image_shape_hw(self): method test_image_shape_hw1 (line 352) | def test_image_shape_hw1(self): class _TestEnhanceFunc (line 358) | class _TestEnhanceFunc(unittest.TestCase): method _test_by_comparison_with_pil (line 359) | def _test_by_comparison_with_pil( method _test_zero_sized_axes (line 382) | def _test_zero_sized_axes(self, func, method _test_image_shape_hw (line 405) | def _test_image_shape_hw(self, func): method _test_image_shape_hw1 (line 410) | def _test_image_shape_hw1(self, func): class Test_enhance_color (line 415) | class Test_enhance_color(_TestEnhanceFunc): method test_by_comparison_with_pil (line 416) | def test_by_comparison_with_pil(self): method test_zero_sized_axes (line 420) | def test_zero_sized_axes(self): method test_image_shape_hw (line 423) | def test_image_shape_hw(self): method test_image_shape_hw1 (line 426) | def test_image_shape_hw1(self): class Test_enhance_contrast (line 430) | class Test_enhance_contrast(_TestEnhanceFunc): method test_by_comparison_with_pil (line 431) | def test_by_comparison_with_pil(self): method test_zero_sized_axes (line 435) | def test_zero_sized_axes(self): method test_image_shape_hw (line 438) | def test_image_shape_hw(self): method test_image_shape_hw1 (line 441) | def test_image_shape_hw1(self): class Test_enhance_brightness (line 445) | class Test_enhance_brightness(_TestEnhanceFunc): method test_by_comparison_with_pil (line 446) | def test_by_comparison_with_pil(self): method test_zero_sized_axes (line 450) | def test_zero_sized_axes(self): method test_image_shape_hw (line 453) | def test_image_shape_hw(self): method test_image_shape_hw1 (line 456) | def test_image_shape_hw1(self): class Test_enhance_sharpness (line 460) | class Test_enhance_sharpness(_TestEnhanceFunc): method test_by_comparison_with_pil (line 461) | def test_by_comparison_with_pil(self): method test_zero_sized_axes (line 465) | def test_zero_sized_axes(self): method test_image_shape_hw (line 469) | def test_image_shape_hw(self): method test_image_shape_hw1 (line 472) | def test_image_shape_hw1(self): class _TestFilterFunc (line 476) | class _TestFilterFunc(unittest.TestCase): method _test_by_comparison_with_pil (line 477) | def _test_by_comparison_with_pil(self, func, pil_kernel): method _test_zero_sized_axes (line 494) | def _test_zero_sized_axes(self, func): method _test_image_shape_hw (line 515) | def _test_image_shape_hw(self, func): method _test_image_shape_hw1 (line 519) | def _test_image_shape_hw1(self, func): class Test_filter_blur (line 523) | class Test_filter_blur(_TestFilterFunc): method test_by_comparison_with_pil (line 524) | def test_by_comparison_with_pil(self): method test_zero_sized_axes (line 528) | def test_zero_sized_axes(self): method test_image_shape_hw (line 531) | def test_image_shape_hw(self): method test_image_shape_hw1 (line 534) | def test_image_shape_hw1(self): class Test_filter_smooth (line 538) | class Test_filter_smooth(_TestFilterFunc): method test_by_comparison_with_pil (line 539) | def test_by_comparison_with_pil(self): method test_zero_sized_axes (line 543) | def test_zero_sized_axes(self): method test_image_shape_hw (line 546) | def test_image_shape_hw(self): method test_image_shape_hw1 (line 549) | def test_image_shape_hw1(self): class Test_filter_smooth_more (line 553) | class Test_filter_smooth_more(_TestFilterFunc): method test_by_comparison_with_pil (line 554) | def test_by_comparison_with_pil(self): method test_zero_sized_axes (line 558) | def test_zero_sized_axes(self): method test_image_shape_hw (line 561) | def test_image_shape_hw(self): method test_image_shape_hw1 (line 564) | def test_image_shape_hw1(self): class Test_filter_edge_enhance (line 568) | class Test_filter_edge_enhance(_TestFilterFunc): method test_by_comparison_with_pil (line 569) | def test_by_comparison_with_pil(self): method test_zero_sized_axes (line 573) | def test_zero_sized_axes(self): method test_image_shape_hw (line 576) | def test_image_shape_hw(self): method test_image_shape_hw1 (line 579) | def test_image_shape_hw1(self): class Test_filter_edge_enhance_more (line 583) | class Test_filter_edge_enhance_more(_TestFilterFunc): method test_by_comparison_with_pil (line 584) | def test_by_comparison_with_pil(self): method test_zero_sized_axes (line 588) | def test_zero_sized_axes(self): method test_image_shape_hw (line 591) | def test_image_shape_hw(self): method test_image_shape_hw1 (line 594) | def test_image_shape_hw1(self): class Test_filter_find_edges (line 598) | class Test_filter_find_edges(_TestFilterFunc): method test_by_comparison_with_pil (line 599) | def test_by_comparison_with_pil(self): method test_zero_sized_axes (line 603) | def test_zero_sized_axes(self): method test_image_shape_hw (line 606) | def test_image_shape_hw(self): method test_image_shape_hw1 (line 609) | def test_image_shape_hw1(self): class Test_filter_contour (line 613) | class Test_filter_contour(_TestFilterFunc): method test_by_comparison_with_pil (line 614) | def test_by_comparison_with_pil(self): method test_zero_sized_axes (line 618) | def test_zero_sized_axes(self): method test_image_shape_hw (line 621) | def test_image_shape_hw(self): method test_image_shape_hw1 (line 624) | def test_image_shape_hw1(self): class Test_filter_emboss (line 628) | class Test_filter_emboss(_TestFilterFunc): method test_by_comparison_with_pil (line 629) | def test_by_comparison_with_pil(self): method test_zero_sized_axes (line 633) | def test_zero_sized_axes(self): method test_image_shape_hw (line 636) | def test_image_shape_hw(self): method test_image_shape_hw1 (line 639) | def test_image_shape_hw1(self): class Test_filter_sharpen (line 643) | class Test_filter_sharpen(_TestFilterFunc): method test_by_comparison_with_pil (line 644) | def test_by_comparison_with_pil(self): method test_zero_sized_axes (line 648) | def test_zero_sized_axes(self): method test_image_shape_hw (line 651) | def test_image_shape_hw(self): method test_image_shape_hw1 (line 654) | def test_image_shape_hw1(self): class Test_filter_detail (line 658) | class Test_filter_detail(_TestFilterFunc): method test_by_comparison_with_pil (line 659) | def test_by_comparison_with_pil(self): method test_zero_sized_axes (line 663) | def test_zero_sized_axes(self): method test_image_shape_hw (line 666) | def test_image_shape_hw(self): method test_image_shape_hw1 (line 669) | def test_image_shape_hw1(self): class Test_warp_affine (line 673) | class Test_warp_affine(unittest.TestCase): method _test_aff_by_comparison_with_pil (line 674) | def _test_aff_by_comparison_with_pil(self, arg_name, arg_values, method test_scale_x_by_comparison_with_pil (line 710) | def test_scale_x_by_comparison_with_pil(self): method test_scale_y_by_comparison_with_pil (line 724) | def test_scale_y_by_comparison_with_pil(self): method test_translate_x_by_comparison_with_pil (line 738) | def test_translate_x_by_comparison_with_pil(self): method test_translate_y_by_comparison_with_pil (line 752) | def test_translate_y_by_comparison_with_pil(self): method test_rotate_by_comparison_with_pil (line 766) | def test_rotate_by_comparison_with_pil(self): method test_shear_x_by_comparison_with_pil (line 781) | def test_shear_x_by_comparison_with_pil(self): method test_shear_y_by_comparison_with_pil (line 796) | def test_shear_y_by_comparison_with_pil(self): method test_scale_x (line 811) | def test_scale_x(self): method test_scale_y (line 823) | def test_scale_y(self): method test_translate_x_px (line 835) | def test_translate_x_px(self): method test_translate_y_px (line 845) | def test_translate_y_px(self): method test_rotate (line 855) | def test_rotate(self): method test_shear_x (line 865) | def test_shear_x(self): method test_shear_y (line 879) | def test_shear_y(self): method test_fillcolor_is_none (line 893) | def test_fillcolor_is_none(self): method test_fillcolor_is_int (line 903) | def test_fillcolor_is_int(self): method test_fillcolor_is_int_grayscale (line 915) | def test_fillcolor_is_int_grayscale(self): method test_fillcolor_is_tuple (line 925) | def test_fillcolor_is_tuple(self): method test_fillcolor_is_tuple_more_values_than_channels (line 937) | def test_fillcolor_is_tuple_more_values_than_channels(self): method test_center (line 950) | def test_center(self): method test_image_shape_hw (line 960) | def test_image_shape_hw(self): method test_image_shape_hw1 (line 964) | def test_image_shape_hw1(self): class TestSolarize (line 969) | class TestSolarize(unittest.TestCase): method setUp (line 970) | def setUp(self): method test_returns_correct_instance (line 973) | def test_returns_correct_instance(self): method test_pickleable (line 982) | def test_pickleable(self): class TestPosterize (line 987) | class TestPosterize(unittest.TestCase): method setUp (line 988) | def setUp(self): method test_returns_posterize (line 991) | def test_returns_posterize(self): method test_pickleable (line 995) | def test_pickleable(self): class TestEqualize (line 1000) | class TestEqualize(unittest.TestCase): method setUp (line 1001) | def setUp(self): method test_mocked (line 1005) | def test_mocked(self, mock_eq): method test_integrationtest (line 1015) | def test_integrationtest(self): method test_pickleable (line 1031) | def test_pickleable(self): class TestAutocontrast (line 1036) | class TestAutocontrast(unittest.TestCase): method setUp (line 1037) | def setUp(self): method test_mocked (line 1041) | def test_mocked(self, mock_auto): method test_per_channel (line 1053) | def test_per_channel(self, mock_auto): method test_integrationtest (line 1071) | def test_integrationtest(self): method test_integrationtest_per_channel (line 1081) | def test_integrationtest_per_channel(self): method test_pickleable (line 1092) | def test_pickleable(self): class TestEnhanceColor (line 1097) | class TestEnhanceColor(unittest.TestCase): method setUp (line 1098) | def setUp(self): method test___init___defaults (line 1101) | def test___init___defaults(self): method test___init___custom (line 1106) | def test___init___custom(self): method test_mocked (line 1111) | def test_mocked(self, mock_pilcol): method test_simple_image (line 1124) | def test_simple_image(self): method test_batch_contains_no_images (line 1136) | def test_batch_contains_no_images(self): method test_get_parameters (line 1145) | def test_get_parameters(self): method test_pickleable (line 1150) | def test_pickleable(self): class TestEnhanceContrast (line 1157) | class TestEnhanceContrast(unittest.TestCase): method setUp (line 1158) | def setUp(self): method test_mocked (line 1162) | def test_mocked(self, mock_pilco): method test_simple_image (line 1175) | def test_simple_image(self): method test_batch_contains_no_images (line 1188) | def test_batch_contains_no_images(self): method test_pickleable (line 1197) | def test_pickleable(self): class TestEnhanceBrightness (line 1204) | class TestEnhanceBrightness(unittest.TestCase): method setUp (line 1205) | def setUp(self): method test_mocked (line 1209) | def test_mocked(self, mock_pilbr): method test_simple_image (line 1222) | def test_simple_image(self): method test_batch_contains_no_images (line 1230) | def test_batch_contains_no_images(self): method test_pickleable (line 1239) | def test_pickleable(self): class TestEnhanceSharpness (line 1246) | class TestEnhanceSharpness(unittest.TestCase): method setUp (line 1247) | def setUp(self): method test_mocked (line 1251) | def test_mocked(self, mock_pilsh): method test_simple_image (line 1264) | def test_simple_image(self): method test_batch_contains_no_images (line 1273) | def test_batch_contains_no_images(self): method test_pickleable (line 1282) | def test_pickleable(self): class _TestFilter (line 1287) | class _TestFilter(unittest.TestCase): method _test___init__ (line 1288) | def _test___init__(self, cls, func): method _test_image (line 1292) | def _test_image(self, cls, pil_kernel): method _test_pickleable (line 1298) | def _test_pickleable(self, cls): class FilterBlur (line 1303) | class FilterBlur(_TestFilter): method test___init__ (line 1304) | def test___init__(self): method test_image (line 1308) | def test_image(self): method test_pickleable (line 1312) | def test_pickleable(self): class FilterSmooth (line 1316) | class FilterSmooth(_TestFilter): method test___init__ (line 1317) | def test___init__(self): method test_image (line 1321) | def test_image(self): method test_pickleable (line 1325) | def test_pickleable(self): class FilterSmoothMore (line 1329) | class FilterSmoothMore(_TestFilter): method test___init__ (line 1330) | def test___init__(self): method test_image (line 1334) | def test_image(self): method test_pickleable (line 1338) | def test_pickleable(self): class FilterEdgeEnhance (line 1342) | class FilterEdgeEnhance(_TestFilter): method test___init__ (line 1343) | def test___init__(self): method test_image (line 1347) | def test_image(self): method test_pickleable (line 1351) | def test_pickleable(self): class FilterEdgeEnhanceMore (line 1355) | class FilterEdgeEnhanceMore(_TestFilter): method test___init__ (line 1356) | def test___init__(self): method test_image (line 1360) | def test_image(self): method test_pickleable (line 1364) | def test_pickleable(self): class FilterFindEdges (line 1368) | class FilterFindEdges(_TestFilter): method test___init__ (line 1369) | def test___init__(self): method test_image (line 1373) | def test_image(self): method test_pickleable (line 1377) | def test_pickleable(self): class FilterContour (line 1381) | class FilterContour(_TestFilter): method test___init__ (line 1382) | def test___init__(self): method test_image (line 1386) | def test_image(self): method test_pickleable (line 1390) | def test_pickleable(self): class FilterEmboss (line 1394) | class FilterEmboss(_TestFilter): method test___init__ (line 1395) | def test___init__(self): method test_image (line 1399) | def test_image(self): method test_pickleable (line 1403) | def test_pickleable(self): class FilterSharpen (line 1407) | class FilterSharpen(_TestFilter): method test___init__ (line 1408) | def test___init__(self): method test_image (line 1412) | def test_image(self): method test_pickleable (line 1416) | def test_pickleable(self): class FilterDetail (line 1420) | class FilterDetail(_TestFilter): method test___init__ (line 1421) | def test___init__(self): method test_image (line 1425) | def test_image(self): method test_pickleable (line 1429) | def test_pickleable(self): class TestAffine (line 1433) | class TestAffine(unittest.TestCase): method setUp (line 1434) | def setUp(self): method test_mocked (line 1438) | def test_mocked(self, mock_pilaff): method test_mocked_translate_percent (line 1473) | def test_mocked_translate_percent(self, mock_pilaff): method test_parameters_affect_images (line 1502) | def test_parameters_affect_images(self): method test_batch_contains_no_images (line 1529) | def test_batch_contains_no_images(self): method test_get_parameters (line 1537) | def test_get_parameters(self): method test_pickleable (line 1554) | def test_pickleable(self): FILE: test/augmenters/test_pooling.py class Test_compute_shape_after_pooling (line 30) | class Test_compute_shape_after_pooling(unittest.TestCase): method test_random_shapes_and_kernel_sizes (line 31) | def test_random_shapes_and_kernel_sizes(self): class _TestPoolingAugmentersBase (line 67) | class _TestPoolingAugmentersBase(object): method setUp (line 68) | def setUp(self): method augmenter (line 72) | def augmenter(self): method test_augment_segmaps (line 77) | def test_augment_segmaps(self, mock_aug_segmaps): method _test_augment_cbaoi__kernel_size_is_noop (line 96) | def _test_augment_cbaoi__kernel_size_is_noop(self, kernel_size, cbaoi, method _test_augment_keypoints__kernel_size_is_noop (line 102) | def _test_augment_keypoints__kernel_size_is_noop(self, kernel_size): method test_augment_keypoints__kernel_size_is_zero (line 109) | def test_augment_keypoints__kernel_size_is_zero(self): method test_augment_keypoints__kernel_size_is_one (line 112) | def test_augment_keypoints__kernel_size_is_one(self): method _test_augment_polygons__kernel_size_is_noop (line 115) | def _test_augment_polygons__kernel_size_is_noop(self, kernel_size): method test_augment_polygons__kernel_size_is_zero (line 122) | def test_augment_polygons__kernel_size_is_zero(self): method test_augment_polygons__kernel_size_is_one (line 125) | def test_augment_polygons__kernel_size_is_one(self): method _test_augment_line_strings__kernel_size_is_noop (line 128) | def _test_augment_line_strings__kernel_size_is_noop(self, kernel_size): method test_augment_line_strings__kernel_size_is_zero (line 135) | def test_augment_line_strings__kernel_size_is_zero(self): method test_augment_line_strings__kernel_size_is_one (line 138) | def test_augment_line_strings__kernel_size_is_one(self): method _test_augment_bounding_boxes__kernel_size_is_noop (line 141) | def _test_augment_bounding_boxes__kernel_size_is_noop(self, kernel_size): method test_augment_bounding_boxes__kernel_size_is_zero (line 148) | def test_augment_bounding_boxes__kernel_size_is_zero(self): method test_augment_bounding_boxes__kernel_size_is_one (line 151) | def test_augment_bounding_boxes__kernel_size_is_one(self): method _test_augment_heatmaps__kernel_size_is_noop (line 154) | def _test_augment_heatmaps__kernel_size_is_noop(self, kernel_size): method test_augment_heatmaps__kernel_size_is_zero (line 168) | def test_augment_heatmaps__kernel_size_is_zero(self): method test_augment_heatmaps__kernel_size_is_one (line 171) | def test_augment_heatmaps__kernel_size_is_one(self): method _test_augment_segmaps__kernel_size_is_noop (line 174) | def _test_augment_segmaps__kernel_size_is_noop(self, kernel_size): method test_augment_segmaps__kernel_size_is_zero (line 188) | def test_augment_segmaps__kernel_size_is_zero(self): method test_augment_segmaps__kernel_size_is_one (line 191) | def test_augment_segmaps__kernel_size_is_one(self): method _test_augment_cbaoi__kernel_size_is_two__keep_size (line 194) | def _test_augment_cbaoi__kernel_size_is_two__keep_size( method test_augment_keypoints__kernel_size_is_two__keep_size (line 200) | def test_augment_keypoints__kernel_size_is_two__keep_size(self): method test_augment_polygons__kernel_size_is_two__keep_size (line 207) | def test_augment_polygons__kernel_size_is_two__keep_size(self): method test_augment_line_strings__kernel_size_is_two__keep_size (line 214) | def test_augment_line_strings__kernel_size_is_two__keep_size(self): method test_augment_bounding_boxes__kernel_size_is_two__keep_size (line 221) | def test_augment_bounding_boxes__kernel_size_is_two__keep_size(self): method _test_augment_cbaoi__kernel_size_is_two__no_keep_size (line 228) | def _test_augment_cbaoi__kernel_size_is_two__no_keep_size( method test_augment_keypoints__kernel_size_is_two__no_keep_size (line 234) | def test_augment_keypoints__kernel_size_is_two__no_keep_size(self): method test_augment_polygons__kernel_size_is_two__no_keep_size (line 247) | def test_augment_polygons__kernel_size_is_two__no_keep_size(self): method test_augment_line_strings__kernel_size_is_two__no_keep_size (line 257) | def test_augment_line_strings__kernel_size_is_two__no_keep_size(self): method test_augment_bounding_boxes__kernel_size_is_two__no_keep_size (line 267) | def test_augment_bounding_boxes__kernel_size_is_two__no_keep_size(self): method test_augment_heatmaps__kernel_size_is_two__keep_size (line 277) | def test_augment_heatmaps__kernel_size_is_two__keep_size(self): method test_augment_heatmaps__kernel_size_is_two__no_keep_size (line 291) | def test_augment_heatmaps__kernel_size_is_two__no_keep_size(self): method test_augment_segmaps__kernel_size_is_two__keep_size (line 307) | def test_augment_segmaps__kernel_size_is_two__keep_size(self): method test_augment_segmaps__kernel_size_is_two__no_keep_size (line 321) | def test_augment_segmaps__kernel_size_is_two__no_keep_size(self): method _test_augment_keypoints__kernel_size_differs (line 337) | def _test_augment_keypoints__kernel_size_differs(self, shape, method test_augment_keypoints__kernel_size_differs (line 356) | def test_augment_keypoints__kernel_size_differs(self): method test_augment_keypoints__kernel_size_differs__requires_padding (line 359) | def test_augment_keypoints__kernel_size_differs__requires_padding(self): method _test_augment_polygons__kernel_size_differs (line 362) | def _test_augment_polygons__kernel_size_differs(self, shape, shape_exp): method test_augment_polygons__kernel_size_differs (line 381) | def test_augment_polygons__kernel_size_differs(self): method test_augment_polygons__kernel_size_differs__requires_padding (line 384) | def test_augment_polygons__kernel_size_differs__requires_padding(self): method _test_augment_line_strings__kernel_size_differs (line 387) | def _test_augment_line_strings__kernel_size_differs(self, shape, shape... method test_augment_line_strings__kernel_size_differs (line 406) | def test_augment_line_strings__kernel_size_differs(self): method test_augment_line_strings__kernel_size_differs__requires_padding (line 410) | def test_augment_line_strings__kernel_size_differs__requires_padding(s... method _test_augment_bounding_boxes__kernel_size_differs (line 414) | def _test_augment_bounding_boxes__kernel_size_differs(self, shape, method test_augment_bounding_boxes__kernel_size_differs (line 435) | def test_augment_bounding_boxes__kernel_size_differs(self): method test_augment_bounding_boxes__kernel_size_differs__requires_pad (line 439) | def test_augment_bounding_boxes__kernel_size_differs__requires_pad(self): method _test_cbaoi_alignment (line 443) | def _test_cbaoi_alignment(self, cbaoi, cbaoi_empty, method test_keypoint_alignment (line 487) | def test_keypoint_alignment(self): method test_polygon_alignment (line 499) | def test_polygon_alignment(self): method test_line_strings_alignment (line 511) | def test_line_strings_alignment(self): method test_bounding_boxes_alignment (line 523) | def test_bounding_boxes_alignment(self): method _test_empty_cbaoi (line 535) | def _test_empty_cbaoi(self, cbaoi, augf_name): method test_empty_keypoints (line 542) | def test_empty_keypoints(self): method test_empty_polygons (line 547) | def test_empty_polygons(self): method test_empty_line_strings (line 552) | def test_empty_line_strings(self): method test_empty_bounding_boxes (line 557) | def test_empty_bounding_boxes(self): method test_zero_sized_axes (line 562) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 583) | def test_unusual_channel_numbers(self): method test_get_parameters (line 601) | def test_get_parameters(self): method test_pickleable (line 610) | def test_pickleable(self): method subTest (line 614) | def subTest(self, *args, **kwargs): class TestAveragePooling (line 619) | class TestAveragePooling(unittest.TestCase, _TestPoolingAugmentersBase): method augmenter (line 621) | def augmenter(self): method test___init___default_settings (line 624) | def test___init___default_settings(self): method test___init___custom_settings (line 632) | def test___init___custom_settings(self): method test_augment_images__kernel_size_is_zero (line 643) | def test_augment_images__kernel_size_is_zero(self): method test_augment_images__kernel_size_is_one (line 648) | def test_augment_images__kernel_size_is_one(self): method test_augment_images__kernel_size_is_two__array_of_100s (line 653) | def test_augment_images__kernel_size_is_two__array_of_100s(self): method test_augment_images__kernel_size_is_two__custom_array (line 662) | def test_augment_images__kernel_size_is_two__custom_array(self): method test_augment_images__kernel_size_is_two__view (line 682) | def test_augment_images__kernel_size_is_two__view(self): method test_augment_images__kernel_size_is_two__non_contiguous (line 707) | def test_augment_images__kernel_size_is_two__non_contiguous(self): method test_augment_images__kernel_size_is_two__four_channels (line 728) | def test_augment_images__kernel_size_is_two__four_channels(self): method test_augment_images__kernel_size_differs (line 748) | def test_augment_images__kernel_size_differs(self): method test_augment_images__kernel_size_differs__requires_padding (line 771) | def test_augment_images__kernel_size_differs__requires_padding(self): method test_augment_images__kernel_size_is_two__keep_size (line 797) | def test_augment_images__kernel_size_is_two__keep_size(self): method test_augment_images__kernel_size_is_two__single_channel (line 819) | def test_augment_images__kernel_size_is_two__single_channel(self): class TestMaxPooling (line 845) | class TestMaxPooling(unittest.TestCase, _TestPoolingAugmentersBase): method augmenter (line 847) | def augmenter(self): method test_augment_images (line 850) | def test_augment_images(self): method test_augment_images__different_channels (line 869) | def test_augment_images__different_channels(self): class TestMinPooling (line 891) | class TestMinPooling(unittest.TestCase, _TestPoolingAugmentersBase): method augmenter (line 893) | def augmenter(self): method test_augment_images (line 896) | def test_augment_images(self): method test_augment_images__different_channels (line 915) | def test_augment_images__different_channels(self): class TestMedianPool (line 937) | class TestMedianPool(unittest.TestCase, _TestPoolingAugmentersBase): method augmenter (line 939) | def augmenter(self): method test_augment_images (line 942) | def test_augment_images(self): method test_augment_images__different_channels (line 962) | def test_augment_images__different_channels(self): FILE: test/augmenters/test_segmentation.py function _create_replace_np_context (line 38) | def _create_replace_np_context(use_np_replace): class TestSuperpixels (line 44) | class TestSuperpixels(unittest.TestCase): method setUp (line 45) | def setUp(self): method _array_equals_tolerant (line 49) | def _array_equals_tolerant(cls, a, b, tolerance): method base_img (line 55) | def base_img(self): method base_img_superpixels (line 67) | def base_img_superpixels(self): method base_img_superpixels_left (line 79) | def base_img_superpixels_left(self): method base_img_superpixels_right (line 85) | def base_img_superpixels_right(self): method test_p_replace_0_n_segments_2 (line 90) | def test_p_replace_0_n_segments_2(self): method test_p_replace_1_n_segments_2 (line 99) | def test_p_replace_1_n_segments_2(self): method test_p_replace_1_n_segments_stochastic_parameter (line 108) | def test_p_replace_1_n_segments_stochastic_parameter(self): method test_p_replace_stochastic_parameter_n_segments_2 (line 119) | def test_p_replace_stochastic_parameter_n_segments_2(self): method test_p_replace_050_n_segments_2 (line 134) | def test_p_replace_050_n_segments_2(self): method test_failure_on_invalid_datatype_for_p_replace (line 162) | def test_failure_on_invalid_datatype_for_p_replace(self): method test_failure_on_invalid_datatype_for_n_segments (line 172) | def test_failure_on_invalid_datatype_for_n_segments(self): method test_zero_sized_axes (line 182) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 204) | def test_unusual_channel_numbers(self): method test_get_parameters (line 223) | def test_get_parameters(self): method test_other_dtypes_bool (line 235) | def test_other_dtypes_bool(self): method test_other_dtypes_uint_int (line 257) | def test_other_dtypes_uint_int(self): method test_other_dtypes_float (line 304) | def test_other_dtypes_float(self): method test_pickleable (line 334) | def test_pickleable(self): class Test_segment_voronoi (line 339) | class Test_segment_voronoi(unittest.TestCase): method setUp (line 340) | def setUp(self): method test_cell_coordinates_is_empty_integrationtest (line 343) | def test_cell_coordinates_is_empty_integrationtest(self): method _test_image_n_channels_integrationtest (line 353) | def _test_image_n_channels_integrationtest(cls, nb_channels): method test_image_has_no_channels_integrationtest (line 381) | def test_image_has_no_channels_integrationtest(self): method test_image_has_one_channel_integrationtest (line 384) | def test_image_has_one_channel_integrationtest(self): method test_image_has_three_channels_integrationtest (line 387) | def test_image_has_three_channels_integrationtest(self): method test_replace_mask_is_all_false_integrationtest (line 390) | def test_replace_mask_is_all_false_integrationtest(self): method test_replace_mask_is_mixed_integrationtest (line 405) | def test_replace_mask_is_mixed_integrationtest(self): method test_replace_mask_is_none_integrationtest (line 426) | def test_replace_mask_is_none_integrationtest(self): method test_no_cell_coordinates_provided_and_no_channel_integrationtest (line 449) | def test_no_cell_coordinates_provided_and_no_channel_integrationtest(s... method test_no_cell_coordinates_provided_and_3_channels_integrationtest (line 461) | def test_no_cell_coordinates_provided_and_3_channels_integrationtest(s... method test_zero_sized_axes (line 474) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 501) | def test_unusual_channel_numbers(self): class TestVoronoi (line 526) | class TestVoronoi(unittest.TestCase): method setUp (line 527) | def setUp(self): method test___init___defaults (line 530) | def test___init___defaults(self): method test___init___custom_arguments (line 539) | def test___init___custom_arguments(self): method test_max_size_is_none (line 549) | def test_max_size_is_none(self): method test_max_size_is_int_image_not_too_large (line 563) | def test_max_size_is_int_image_not_too_large(self): method test_max_size_is_int_image_too_large (line 577) | def test_max_size_is_int_image_too_large(self): method test_interpolation (line 592) | def test_interpolation(self): method test_point_sampler_called (line 607) | def test_point_sampler_called(self): method test_point_sampler_returns_no_points_integrationtest (line 625) | def test_point_sampler_returns_no_points_integrationtest(self): method _test_image_with_n_channels (line 639) | def _test_image_with_n_channels(cls, nb_channels): method test_image_with_no_channels (line 659) | def test_image_with_no_channels(self): method test_image_with_one_channel (line 662) | def test_image_with_one_channel(self): method test_image_with_three_channels (line 665) | def test_image_with_three_channels(self): method test_p_replace_is_zero (line 668) | def test_p_replace_is_zero(self): method test_p_replace_is_one (line 683) | def test_p_replace_is_one(self): method test_p_replace_is_50_percent (line 698) | def test_p_replace_is_50_percent(self): method test_determinism_integrationtest (line 714) | def test_determinism_integrationtest(self): method test_zero_sized_axes (line 751) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 774) | def test_unusual_channel_numbers(self): method test_get_parameters (line 794) | def test_get_parameters(self): method test_pickleable (line 805) | def test_pickleable(self): function _all_arrays_identical (line 811) | def _all_arrays_identical(arrs): function _array_lists_elementwise_identical (line 819) | def _array_lists_elementwise_identical(arrs1, arrs2): class TestUniformVoronoi (line 824) | class TestUniformVoronoi(unittest.TestCase): method test___init___ (line 825) | def test___init___(self): method test___init___integrationtest (line 851) | def test___init___integrationtest(self): method test_pickleable (line 868) | def test_pickleable(self): class TestRegularGridVoronoi (line 873) | class TestRegularGridVoronoi(unittest.TestCase): method test___init___ (line 874) | def test___init___(self): method test___init___integrationtest (line 907) | def test___init___integrationtest(self): method test_pickleable (line 931) | def test_pickleable(self): class TestRelativeRegularGridVoronoi (line 937) | class TestRelativeRegularGridVoronoi(unittest.TestCase): method test___init___ (line 938) | def test___init___(self): method test___init___integrationtest (line 971) | def test___init___integrationtest(self): method test_pickleable (line 995) | def test_pickleable(self): class TestRegularGridPointsSampler (line 1002) | class TestRegularGridPointsSampler(unittest.TestCase): method setUp (line 1003) | def setUp(self): method test___init___ (line 1006) | def test___init___(self): method test_sample_single_point (line 1013) | def test_sample_single_point(self): method test_sample_points (line 1020) | def test_sample_points(self): method test_sample_points_stochastic (line 1032) | def test_sample_points_stochastic(self): method test_sample_points_cols_is_zero (line 1048) | def test_sample_points_cols_is_zero(self): method test_sample_points_rows_is_zero (line 1060) | def test_sample_points_rows_is_zero(self): method test_sample_points_rows_is_more_than_image_height (line 1072) | def test_sample_points_rows_is_more_than_image_height(self): method test_sample_points_cols_is_more_than_image_width (line 1084) | def test_sample_points_cols_is_more_than_image_width(self): method test_zero_sized_axes (line 1096) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 1113) | def test_unusual_channel_numbers(self): method test_determinism (line 1130) | def test_determinism(self): method test_conversion_to_string (line 1140) | def test_conversion_to_string(self): class TestRelativeRegularGridPointsSampler (line 1154) | class TestRelativeRegularGridPointsSampler(unittest.TestCase): method setUp (line 1155) | def setUp(self): method test___init___ (line 1158) | def test___init___(self): method test_sample_single_point (line 1165) | def test_sample_single_point(self): method test_sample_points (line 1172) | def test_sample_points(self): method test_sample_points_stochastic (line 1184) | def test_sample_points_stochastic(self): method test_sample_points_cols_is_zero (line 1201) | def test_sample_points_cols_is_zero(self): method test_sample_points_rows_is_zero (line 1214) | def test_sample_points_rows_is_zero(self): method test_determinism (line 1227) | def test_determinism(self): method test_zero_sized_axes (line 1237) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 1254) | def test_unusual_channel_numbers(self): method test_conversion_to_string (line 1271) | def test_conversion_to_string(self): class _FixedPointsSampler (line 1285) | class _FixedPointsSampler(iaa.IPointsSampler): method __init__ (line 1286) | def __init__(self, points): method sample_points (line 1290) | def sample_points(self, images, random_state): class TestDropoutPointsSampler (line 1295) | class TestDropoutPointsSampler(unittest.TestCase): method setUp (line 1296) | def setUp(self): method test___init__ (line 1299) | def test___init__(self): method test_p_drop_is_0_percent (line 1306) | def test_p_drop_is_0_percent(self): method test_p_drop_is_100_percent (line 1317) | def test_p_drop_is_100_percent(self): method test_p_drop_is_50_percent (line 1331) | def test_p_drop_is_50_percent(self): method test_determinism (line 1342) | def test_determinism(self): method test_random_state_propagates (line 1357) | def test_random_state_propagates(self): method test_conversion_to_string (line 1374) | def test_conversion_to_string(self): class TestUniformPointsSampler (line 1395) | class TestUniformPointsSampler(unittest.TestCase): method setUp (line 1396) | def setUp(self): method test___init__ (line 1399) | def test___init__(self): method test_sampled_points_not_identical (line 1404) | def test_sampled_points_not_identical(self): method test_sampled_points_uniformly_distributed_by_quadrants (line 1416) | def test_sampled_points_uniformly_distributed_by_quadrants(self): method test_sampled_points_uniformly_distributed_by_distance_from_origin (line 1440) | def test_sampled_points_uniformly_distributed_by_distance_from_origin(... method test_many_images (line 1468) | def test_many_images(self): method test_always_at_least_one_point (line 1490) | def test_always_at_least_one_point(self): method test_n_points_can_vary_between_calls (line 1498) | def test_n_points_can_vary_between_calls(self): method test_n_points_can_vary_between_images (line 1512) | def test_n_points_can_vary_between_images(self): method test_determinism (line 1526) | def test_determinism(self): method test_zero_sized_axes (line 1537) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 1557) | def test_unusual_channel_numbers(self): method test_conversion_to_string (line 1574) | def test_conversion_to_string(self): class TestSubsamplingPointsSampler (line 1582) | class TestSubsamplingPointsSampler(unittest.TestCase): method setUp (line 1583) | def setUp(self): method test___init__ (line 1586) | def test___init__(self): method test_max_is_zero (line 1592) | def test_max_is_zero(self): method test_max_is_above_point_count (line 1605) | def test_max_is_above_point_count(self): method test_max_is_below_point_count (line 1620) | def test_max_is_below_point_count(self): method test_max_is_sometimes_below_point_count (line 1629) | def test_max_is_sometimes_below_point_count(self): method test_random_state_propagates (line 1642) | def test_random_state_propagates(self): method test_conversion_to_string (line 1659) | def test_conversion_to_string(self): FILE: test/augmenters/test_size.py class Test__prevent_zero_sizes_after_crops_ (line 36) | class Test__prevent_zero_sizes_after_crops_(unittest.TestCase): method test_single_item_arrays_without_crops (line 37) | def test_single_item_arrays_without_crops(self): method test_single_item_arrays_with_crops_in_bounds (line 50) | def test_single_item_arrays_with_crops_in_bounds(self): method test_single_item_arrays_with_crops_out_of_bounds (line 63) | def test_single_item_arrays_with_crops_out_of_bounds(self): method test_all_crops_zero (line 76) | def test_all_crops_zero(self): method test_all_crops_above_zero_but_none_reaches_zero_size (line 89) | def test_all_crops_above_zero_but_none_reaches_zero_size(self): method test_some_axes_reach_zero_size (line 102) | def test_some_axes_reach_zero_size(self): method test_axis_sizes_of_1 (line 114) | def test_axis_sizes_of_1(self): method test_axis_sizes_of_0 (line 127) | def test_axis_sizes_of_0(self): method test_with_random_values (line 140) | def test_with_random_values(self): class Test__handle_position_parameter (line 196) | class Test__handle_position_parameter(unittest.TestCase): method setUp (line 197) | def setUp(self): method test_string_uniform (line 200) | def test_string_uniform(self): method test_string_center (line 212) | def test_string_center(self): method test_string_normal (line 220) | def test_string_normal(self): method test_xy_axis_combined_strings (line 235) | def test_xy_axis_combined_strings(self): method test_stochastic_parameter (line 256) | def test_stochastic_parameter(self): method test_tuple_of_floats (line 260) | def test_tuple_of_floats(self): method test_tuple_of_floats_outside_value_range_leads_to_failure (line 269) | def test_tuple_of_floats_outside_value_range_leads_to_failure(self): method test_tuple_of_stochastic_parameters (line 278) | def test_tuple_of_stochastic_parameters(self): method test_tuple_of_float_and_stochastic_parameter (line 288) | def test_tuple_of_float_and_stochastic_parameter(self): method test_bad_datatype_leads_to_failure (line 298) | def test_bad_datatype_leads_to_failure(self): function test_pad (line 308) | def test_pad(): function test_compute_paddings_for_aspect_ratio (line 618) | def test_compute_paddings_for_aspect_ratio(): function test_pad_to_aspect_ratio (line 676) | def test_pad_to_aspect_ratio(): class Test_compute_paddings_to_reach_multiples_of (line 781) | class Test_compute_paddings_to_reach_multiples_of(unittest.TestCase): method test_zero_height_array (line 782) | def test_zero_height_array(self): method test_zero_width_array (line 787) | def test_zero_width_array(self): method test_both_none (line 792) | def test_both_none(self): method test_height_is_none (line 797) | def test_height_is_none(self): method test_width_is_none (line 802) | def test_width_is_none(self): method test_height_is_one (line 807) | def test_height_is_one(self): method test_width_is_one (line 812) | def test_width_is_one(self): method test_various_widths (line 817) | def test_various_widths(self): method test_various_heights (line 845) | def test_various_heights(self): class Test_pad_to_multiples_of (line 873) | class Test_pad_to_multiples_of(unittest.TestCase): method test_mocked (line 876) | def test_mocked(self, mock_pad, mock_compute_pads): method test_mocked_return_pad_amounts (line 892) | def test_mocked_return_pad_amounts(self, mock_pad, mock_compute_pads): method test_integrationtest (line 907) | def test_integrationtest(self): class TestResize (line 934) | class TestResize(unittest.TestCase): method setUp (line 935) | def setUp(self): method image2d (line 939) | def image2d(self): method image3d (line 951) | def image3d(self): method kpsoi2d (line 956) | def kpsoi2d(self): method kpsoi3d (line 961) | def kpsoi3d(self): method psoi2d (line 966) | def psoi2d(self): method psoi3d (line 974) | def psoi3d(self): method lsoi2d (line 982) | def lsoi2d(self): method lsoi3d (line 990) | def lsoi3d(self): method bbsoi2d (line 998) | def bbsoi2d(self): method bbsoi3d (line 1006) | def bbsoi3d(self): method _aspect_ratio (line 1014) | def _aspect_ratio(cls, image): method test_resize_to_fixed_int (line 1017) | def test_resize_to_fixed_int(self): method test_resize_to_fixed_float (line 1026) | def test_resize_to_fixed_float(self): method test_heatmaps_with_width_int_and_height_int (line 1035) | def test_heatmaps_with_width_int_and_height_int(self): method test_segmaps_with_width_int_and_height_int (line 1048) | def test_segmaps_with_width_int_and_height_int(self): method test_heatmaps_with_diff_size_than_img_and_width_float_height_int (line 1065) | def test_heatmaps_with_diff_size_than_img_and_width_float_height_int(s... method test_segmaps_with_diff_size_than_img_and_width_float_height_int (line 1081) | def test_segmaps_with_diff_size_than_img_and_width_float_height_int(se... method test_keypoints_on_3d_img_and_with_width_int_and_height_int (line 1096) | def test_keypoints_on_3d_img_and_with_width_int_and_height_int(self): method test_polygons_on_3d_img_and_with_width_int_and_height_int (line 1106) | def test_polygons_on_3d_img_and_with_width_int_and_height_int(self): method test_line_strings_on_3d_img_and_with_width_int_and_height_int (line 1118) | def test_line_strings_on_3d_img_and_with_width_int_and_height_int(self): method test_bounding_boxes_on_3d_img_and_with_width_int_and_height_int (line 1130) | def test_bounding_boxes_on_3d_img_and_with_width_int_and_height_int(se... method test_keypoints_on_2d_img_and_with_width_float_and_height_int (line 1142) | def test_keypoints_on_2d_img_and_with_width_float_and_height_int(self): method test_polygons_on_2d_img_and_with_width_float_and_height_int (line 1152) | def test_polygons_on_2d_img_and_with_width_float_and_height_int(self): method test_line_strings_on_2d_img_and_with_width_float_and_height_int (line 1164) | def test_line_strings_on_2d_img_and_with_width_float_and_height_int(se... method test_bounding_boxes_on_2d_img_and_with_width_float_and_height_int (line 1176) | def test_bounding_boxes_on_2d_img_and_with_width_float_and_height_int(... method test_empty_keypoints (line 1188) | def test_empty_keypoints(self): method test_empty_polygons (line 1195) | def test_empty_polygons(self): method test_empty_line_strings (line 1202) | def test_empty_line_strings(self): method test_empty_bounding_boxes (line 1209) | def test_empty_bounding_boxes(self): method test_size_is_list_of_ints (line 1216) | def test_size_is_list_of_ints(self): method test_size_is_tuple_of_ints (line 1238) | def test_size_is_tuple_of_ints(self): method test_size_is_string_keep (line 1264) | def test_size_is_string_keep(self): method test_size_is_empty_list (line 1272) | def test_size_is_empty_list(self): method test_size_is_empty_dict (line 1279) | def test_size_is_empty_dict(self): method test_change_height_to_fixed_int (line 1286) | def test_change_height_to_fixed_int(self): method test_change_width_to_fixed_int (line 1293) | def test_change_width_to_fixed_int(self): method test_change_height_and_width_to_fixed_ints (line 1300) | def test_change_height_and_width_to_fixed_ints(self): method test_change_height_to_fixed_int_but_dont_change_width (line 1307) | def test_change_height_to_fixed_int_but_dont_change_width(self): method test_dont_change_height_but_width_to_fixed_int (line 1314) | def test_dont_change_height_but_width_to_fixed_int(self): method test_change_height_to_fixed_int_width_keeps_aspect_ratio (line 1321) | def test_change_height_to_fixed_int_width_keeps_aspect_ratio(self): method test_height_keeps_aspect_ratio_width_changed_to_fixed_int (line 1330) | def test_height_keeps_aspect_ratio_width_changed_to_fixed_int(self): method test_change_shorter_side_by_fixed_int_longer_keeps_aspect_ratio (line 1340) | def test_change_shorter_side_by_fixed_int_longer_keeps_aspect_ratio(se... method test_change_longer_side_by_fixed_int_shorter_keeps_aspect_ratio (line 1351) | def test_change_longer_side_by_fixed_int_shorter_keeps_aspect_ratio(se... method test_change_height_by_list_of_ints_width_by_fixed_int (line 1361) | def test_change_height_by_list_of_ints_width_by_fixed_int(self): method test_change_height_by_fixed_int_width_by_list_of_ints (line 1383) | def test_change_height_by_fixed_int_width_by_list_of_ints(self): method test_change_height_by_fixed_int_width_by_stochastic_parameter (line 1405) | def test_change_height_by_fixed_int_width_by_stochastic_parameter(self): method test_change_height_by_tuple_of_ints_width_by_fixed_int (line 1427) | def test_change_height_by_tuple_of_ints_width_by_fixed_int(self): method test_size_is_float (line 1453) | def test_size_is_float(self): method test_size_is_list (line 1469) | def test_size_is_list(self): method test_size_is_stochastic_parameter (line 1497) | def test_size_is_stochastic_parameter(self): method test_decrease_size_by_tuple_of_floats__one_for_both_sides (line 1525) | def test_decrease_size_by_tuple_of_floats__one_for_both_sides(self): method test_decrease_size_by_tuples_of_floats__one_per_side (line 1551) | def test_decrease_size_by_tuples_of_floats__one_per_side(self): method test_bad_datatype_for_size_leads_to_failure (line 1579) | def test_bad_datatype_for_size_leads_to_failure(self): method test_get_parameters (line 1589) | def test_get_parameters(self): method test_dtypes_roughly (line 1597) | def test_dtypes_roughly(self): method test_pickleable (line 1638) | def test_pickleable(self): class TestPad (line 1645) | class TestPad(unittest.TestCase): method setUp (line 1646) | def setUp(self): method image (line 1650) | def image(self): method images (line 1657) | def images(self): method kpsoi (line 1661) | def kpsoi(self): method psoi (line 1667) | def psoi(self): method lsoi (line 1672) | def lsoi(self): method bbsoi (line 1677) | def bbsoi(self): method heatmap (line 1682) | def heatmap(self): method segmap (line 1689) | def segmap(self): method test___init___pad_mode_is_all (line 1695) | def test___init___pad_mode_is_all(self): method test___init___pad_mode_is_list (line 1706) | def test___init___pad_mode_is_list(self): method test___init___pad_cval_is_list (line 1716) | def test___init___pad_cval_is_list(self): method test_pad_images_by_1px_each_side_on_its_own (line 1726) | def test_pad_images_by_1px_each_side_on_its_own(self): method _test_pad_cbaoi_by_1px_each_side_on_its_own (line 1751) | def _test_pad_cbaoi_by_1px_each_side_on_its_own(self, cbaoi, augf_name): method test_pad_keypoints_by_1px_each_side_on_its_own (line 1774) | def test_pad_keypoints_by_1px_each_side_on_its_own(self): method test_pad_polygons_by_1px_each_side_on_its_own (line 1778) | def test_pad_polygons_by_1px_each_side_on_its_own(self): method test_pad_line_strings_by_1px_each_side_on_its_own (line 1782) | def test_pad_line_strings_by_1px_each_side_on_its_own(self): method test_pad_bounding_boxes_by_1px_each_side_on_its_own (line 1786) | def test_pad_bounding_boxes_by_1px_each_side_on_its_own(self): method test_pad_heatmaps_by_1px_each_side_on_its_own (line 1790) | def test_pad_heatmaps_by_1px_each_side_on_its_own(self): method test_pad_segmaps_by_1px_each_side_on_its_own (line 1822) | def test_pad_segmaps_by_1px_each_side_on_its_own(self): method test_pad_each_side_on_its_own_by_tuple_of_ints (line 1853) | def test_pad_each_side_on_its_own_by_tuple_of_ints(self): method test_pad_each_side_on_its_own_by_list_of_ints (line 1941) | def test_pad_each_side_on_its_own_by_list_of_ints(self): method test_pad_heatmaps_smaller_than_img_by_tuple_of_ints_without_ks (line 2016) | def test_pad_heatmaps_smaller_than_img_by_tuple_of_ints_without_ks(self): method test_pad_segmaps_smaller_than_img_by_tuple_of_ints_without_ks (line 2046) | def test_pad_segmaps_smaller_than_img_by_tuple_of_ints_without_ks(self): method test_pad_heatmaps_smaller_than_img_by_tuple_of_ints_with_ks (line 2072) | def test_pad_heatmaps_smaller_than_img_by_tuple_of_ints_with_ks(self): method test_pad_segmaps_smaller_than_img_by_tuple_of_ints_with_keep_size (line 2112) | def test_pad_segmaps_smaller_than_img_by_tuple_of_ints_with_keep_size(... method test_pad_keypoints_by_tuple_of_fixed_ints_without_keep_size (line 2145) | def test_pad_keypoints_by_tuple_of_fixed_ints_without_keep_size(self): method test_pad_keypoints_by_tuple_of_fixed_ints_with_keep_size (line 2157) | def test_pad_keypoints_by_tuple_of_fixed_ints_with_keep_size(self): method test_pad_polygons_by_tuple_of_fixed_ints_without_keep_size (line 2169) | def test_pad_polygons_by_tuple_of_fixed_ints_without_keep_size(self): method test_pad_polygons_by_tuple_of_fixed_ints_with_keep_size (line 2184) | def test_pad_polygons_by_tuple_of_fixed_ints_with_keep_size(self): method test_pad_line_strings_by_tuple_of_fixed_ints_without_keep_size (line 2207) | def test_pad_line_strings_by_tuple_of_fixed_ints_without_keep_size(self): method test_pad_line_strings_by_tuple_of_fixed_ints_with_keep_size (line 2222) | def test_pad_line_strings_by_tuple_of_fixed_ints_with_keep_size(self): method test_pad_bounding_boxes_by_tuple_of_fixed_ints_without_keep_size (line 2245) | def test_pad_bounding_boxes_by_tuple_of_fixed_ints_without_keep_size(s... method test_pad_bounding_boxes_by_tuple_of_fixed_ints_with_keep_size (line 2262) | def test_pad_bounding_boxes_by_tuple_of_fixed_ints_with_keep_size(self): method test_pad_mode_is_stochastic_parameter (line 2279) | def test_pad_mode_is_stochastic_parameter(self): method test_bad_datatype_for_pad_mode_causes_failure (line 2302) | def test_bad_datatype_for_pad_mode_causes_failure(self): method test_pad_heatmaps_with_pad_mode_set (line 2314) | def test_pad_heatmaps_with_pad_mode_set(self): method test_pad_segmaps_with_pad_mode_set (line 2327) | def test_pad_segmaps_with_pad_mode_set(self): method test_pad_cval_is_int (line 2340) | def test_pad_cval_is_int(self): method test_pad_cval_is_stochastic_parameter (line 2350) | def test_pad_cval_is_stochastic_parameter(self): method test_pad_cval_is_tuple (line 2367) | def test_pad_cval_is_tuple(self): method test_invalid_pad_cval_datatype_leads_to_failure (line 2388) | def test_invalid_pad_cval_datatype_leads_to_failure(self): method test_pad_heatmaps_with_cval_set (line 2400) | def test_pad_heatmaps_with_cval_set(self): method test_pad_segmaps_with_cval_set (line 2413) | def test_pad_segmaps_with_cval_set(self): method test_pad_all_sides_by_100_percent_without_keep_size (line 2426) | def test_pad_all_sides_by_100_percent_without_keep_size(self): method test_pad_all_sides_by_stochastic_param_without_keep_size (line 2436) | def test_pad_all_sides_by_stochastic_param_without_keep_size(self): method test_pad_by_tuple_of_two_floats_dont_sample_independently_noks (line 2446) | def test_pad_by_tuple_of_two_floats_dont_sample_independently_noks(self): method test_bad_datatype_for_percent_leads_to_failure_without_keep_size (line 2458) | def test_bad_datatype_for_percent_leads_to_failure_without_keep_size(s... method test_pad_each_side_by_100_percent_without_keep_size (line 2467) | def test_pad_each_side_by_100_percent_without_keep_size(self): method _test_pad_cba_each_side_by_100_percent_without_keep_size (line 2498) | def _test_pad_cba_each_side_by_100_percent_without_keep_size( method test_pad_keypoints_each_side_by_100_percent_without_keep_size (line 2523) | def test_pad_keypoints_each_side_by_100_percent_without_keep_size(self): method test_pad_polygons_each_side_by_100_percent_without_keep_size (line 2531) | def test_pad_polygons_each_side_by_100_percent_without_keep_size(self): method test_pad_line_strings_each_side_by_100_percent_without_keep_size (line 2539) | def test_pad_line_strings_each_side_by_100_percent_without_keep_size(s... method test_pad_bbs_each_side_by_100_percent_without_keep_size (line 2547) | def test_pad_bbs_each_side_by_100_percent_without_keep_size(self): method test_pad_heatmaps_smaller_than_img_by_floats_without_keep_size (line 2555) | def test_pad_heatmaps_smaller_than_img_by_floats_without_keep_size(self): method test_pad_segmaps_smaller_than_img_by_floats_without_keep_size (line 2586) | def test_pad_segmaps_smaller_than_img_by_floats_without_keep_size(self): method test_pad_heatmaps_smaller_than_img_by_floats_with_keep_size (line 2610) | def test_pad_heatmaps_smaller_than_img_by_floats_with_keep_size(self): method test_pad_segmaps_smaller_than_img_by_floats_with_keep_size (line 2647) | def test_pad_segmaps_smaller_than_img_by_floats_with_keep_size(self): method test_pad_keypoints_by_floats_without_keep_size (line 2675) | def test_pad_keypoints_by_floats_without_keep_size(self): method test_pad_keypoints_by_floats_with_keep_size (line 2687) | def test_pad_keypoints_by_floats_with_keep_size(self): method test_pad_polygons_by_floats_without_keep_size (line 2699) | def test_pad_polygons_by_floats_without_keep_size(self): method test_pad_polygons_by_floats_with_keep_size (line 2717) | def test_pad_polygons_by_floats_with_keep_size(self): method test_pad_line_strings_by_floats_without_keep_size (line 2742) | def test_pad_line_strings_by_floats_without_keep_size(self): method test_pad_line_strings_by_floats_with_keep_size (line 2760) | def test_pad_line_strings_by_floats_with_keep_size(self): method test_pad_bounding_boxes_by_floats_without_keep_size (line 2785) | def test_pad_bounding_boxes_by_floats_without_keep_size(self): method test_pad_bounding_boxes_by_floats_with_keep_size (line 2804) | def test_pad_bounding_boxes_by_floats_with_keep_size(self): method test_pad_by_tuple_of_floats_at_top_side_without_keep_size (line 2824) | def test_pad_by_tuple_of_floats_at_top_side_without_keep_size(self): method test_pad_by_tuple_of_floats_at_right_side_without_keep_size (line 2843) | def test_pad_by_tuple_of_floats_at_right_side_without_keep_size(self): method test_pad_by_list_of_floats_at_top_side_without_keep_size (line 2855) | def test_pad_by_list_of_floats_at_top_side_without_keep_size(self): method test_pad_by_list_of_floats_at_right_side_without_keep_size (line 2872) | def test_pad_by_list_of_floats_at_right_side_without_keep_size(self): method _test_pad_empty_cba (line 2890) | def _test_pad_empty_cba(cls, augf_name, cbaoi): method test_pad_empty_keypoints (line 2901) | def test_pad_empty_keypoints(self): method test_pad_empty_polygons (line 2905) | def test_pad_empty_polygons(self): method test_pad_empty_line_strings (line 2909) | def test_pad_empty_line_strings(self): method test_pad_empty_bounding_boxes (line 2913) | def test_pad_empty_bounding_boxes(self): method test_zero_sized_axes_no_keep_size (line 2917) | def test_zero_sized_axes_no_keep_size(self): method test_zero_sized_axes_keep_size (line 2941) | def test_zero_sized_axes_keep_size(self): method test_pad_other_dtypes_bool_by_int_without_keep_size (line 2961) | def test_pad_other_dtypes_bool_by_int_without_keep_size(self): method test_pad_other_dtypes_uint_int_by_int_without_keep_size (line 2975) | def test_pad_other_dtypes_uint_int_by_int_without_keep_size(self): method test_pad_other_dtypes_float_by_int_without_keep_size (line 3010) | def test_pad_other_dtypes_float_by_int_without_keep_size(self): method test_pickleable (line 3047) | def test_pickleable(self): class TestCrop (line 3052) | class TestCrop(unittest.TestCase): method setUp (line 3053) | def setUp(self): method image (line 3057) | def image(self): method images (line 3065) | def images(self): method kpsoi (line 3069) | def kpsoi(self): method psoi (line 3076) | def psoi(self): method lsoi (line 3082) | def lsoi(self): method bbsoi (line 3088) | def bbsoi(self): method heatmaps (line 3094) | def heatmaps(self): method segmaps (line 3101) | def segmaps(self): method test_crop_by_fixed_int_on_each_side_on_its_own (line 3108) | def test_crop_by_fixed_int_on_each_side_on_its_own(self): method test_crop_by_tuple_of_ints_on_each_side_on_its_own (line 3154) | def test_crop_by_tuple_of_ints_on_each_side_on_its_own(self): method test_crop_by_list_of_ints_on_each_side_on_its_own (line 3238) | def test_crop_by_list_of_ints_on_each_side_on_its_own(self): method test_crop_heatmaps_smaller_than_img_by_fixed_ints_without_ks (line 3312) | def test_crop_heatmaps_smaller_than_img_by_fixed_ints_without_ks(self): method test_crop_segmaps_smaller_than_img_by_fixed_ints_without_ks (line 3335) | def test_crop_segmaps_smaller_than_img_by_fixed_ints_without_ks(self): method test_crop_heatmaps_smaller_than_img_by_fixed_ints_with_ks (line 3349) | def test_crop_heatmaps_smaller_than_img_by_fixed_ints_with_ks(self): method test_crop_segmaps_smaller_than_img_by_fixed_ints_with_ks (line 3381) | def test_crop_segmaps_smaller_than_img_by_fixed_ints_with_ks(self): method test_crop_keypoints_by_fixed_ints_without_keep_size (line 3401) | def test_crop_keypoints_by_fixed_ints_without_keep_size(self): method test_crop_keypoints_by_fixed_ints_with_keep_size (line 3415) | def test_crop_keypoints_by_fixed_ints_with_keep_size(self): method test_crop_polygons_by_fixed_ints_without_keep_size (line 3429) | def test_crop_polygons_by_fixed_ints_without_keep_size(self): method test_crop_polygons_by_fixed_ints_with_keep_size (line 3448) | def test_crop_polygons_by_fixed_ints_with_keep_size(self): method test_crop_line_strings_by_fixed_ints_without_keep_size (line 3473) | def test_crop_line_strings_by_fixed_ints_without_keep_size(self): method test_crop_line_strings_by_fixed_ints_with_keep_size (line 3492) | def test_crop_line_strings_by_fixed_ints_with_keep_size(self): method test_crop_bounding_boxes_by_fixed_ints_without_keep_size (line 3517) | def test_crop_bounding_boxes_by_fixed_ints_without_keep_size(self): method test_crop_bounding_boxes_by_fixed_ints_with_keep_size (line 3536) | def test_crop_bounding_boxes_by_fixed_ints_with_keep_size(self): method test_crop_by_one_fixed_float_without_keep_size (line 3557) | def test_crop_by_one_fixed_float_without_keep_size(self): method test_crop_by_stochastic_parameter_without_keep_size (line 3566) | def test_crop_by_stochastic_parameter_without_keep_size(self): method test_crop_by_tuple_of_two_floats_without_keep_size (line 3575) | def test_crop_by_tuple_of_two_floats_without_keep_size(self): method test_invalid_datatype_for_percent_parameter_fails (line 3584) | def test_invalid_datatype_for_percent_parameter_fails(self): method test_crop_by_fixed_float_on_each_side_on_its_own (line 3593) | def test_crop_by_fixed_float_on_each_side_on_its_own(self): method _test_crop_cba_by_fixed_float_on_each_side_on_its_own (line 3618) | def _test_crop_cba_by_fixed_float_on_each_side_on_its_own( method test_crop_keypoints_by_fixed_float_on_each_side_on_its_own (line 3647) | def test_crop_keypoints_by_fixed_float_on_each_side_on_its_own(self): method test_crop_polygons_by_fixed_float_on_each_side_on_its_own (line 3655) | def test_crop_polygons_by_fixed_float_on_each_side_on_its_own(self): method test_crop_line_strings_by_fixed_float_on_each_side_on_its_own (line 3663) | def test_crop_line_strings_by_fixed_float_on_each_side_on_its_own(self): method test_crop_bounding_boxes_by_fixed_float_on_each_side_on_its_own (line 3671) | def test_crop_bounding_boxes_by_fixed_float_on_each_side_on_its_own(se... method test_crop_heatmaps_smaller_than_img_by_fixed_floats_without_ks (line 3679) | def test_crop_heatmaps_smaller_than_img_by_fixed_floats_without_ks(self): method test_crop_segmaps_smaller_than_img_by_fixed_floats_without_ks (line 3701) | def test_crop_segmaps_smaller_than_img_by_fixed_floats_without_ks(self): method test_crop_heatmaps_smaller_than_img_by_fixed_floats_with_ks (line 3715) | def test_crop_heatmaps_smaller_than_img_by_fixed_floats_with_ks(self): method test_crop_segmaps_smaller_than_img_by_fixed_floats_with_ks (line 3747) | def test_crop_segmaps_smaller_than_img_by_fixed_floats_with_ks(self): method test_crop_keypoints_by_fixed_floats_without_keep_size (line 3767) | def test_crop_keypoints_by_fixed_floats_without_keep_size(self): method test_crop_keypoints_by_fixed_floats_with_keep_size (line 3781) | def test_crop_keypoints_by_fixed_floats_with_keep_size(self): method test_crop_polygons_by_fixed_floats_without_keep_size (line 3795) | def test_crop_polygons_by_fixed_floats_without_keep_size(self): method test_crop_polygons_by_fixed_floats_with_keep_size (line 3814) | def test_crop_polygons_by_fixed_floats_with_keep_size(self): method test_crop_line_strings_by_fixed_floats_without_keep_size (line 3839) | def test_crop_line_strings_by_fixed_floats_without_keep_size(self): method test_crop_line_strings_by_fixed_floats_with_keep_size (line 3858) | def test_crop_line_strings_by_fixed_floats_with_keep_size(self): method test_crop_bounding_boxes_by_fixed_floats_without_keep_size (line 3883) | def test_crop_bounding_boxes_by_fixed_floats_without_keep_size(self): method test_crop_bounding_boxes_by_fixed_floats_with_keep_size (line 3902) | def test_crop_bounding_boxes_by_fixed_floats_with_keep_size(self): method test_crop_by_tuple_of_floats_on_top_side_without_ks (line 3923) | def test_crop_by_tuple_of_floats_on_top_side_without_ks(self): method test_crop_by_tuple_of_floats_on_right_side_without_ks (line 3938) | def test_crop_by_tuple_of_floats_on_right_side_without_ks(self): method test_crop_by_list_of_floats_on_top_side_without_ks (line 3948) | def test_crop_by_list_of_floats_on_top_side_without_ks(self): method test_crop_by_list_of_floats_on_right_side_without_ks (line 3962) | def test_crop_by_list_of_floats_on_right_side_without_ks(self): method _test_crop_empty_cba (line 3977) | def _test_crop_empty_cba(cls, augf_name, cbaoi): method test_pad_empty_keypoints (line 3988) | def test_pad_empty_keypoints(self): method test_pad_empty_polygons (line 3992) | def test_pad_empty_polygons(self): method test_pad_empty_line_strings (line 3996) | def test_pad_empty_line_strings(self): method test_pad_empty_bounding_boxes (line 4000) | def test_pad_empty_bounding_boxes(self): method test_zero_sized_axes_no_keep_size (line 4004) | def test_zero_sized_axes_no_keep_size(self): method test_zero_sized_axes_keep_size (line 4045) | def test_zero_sized_axes_keep_size(self): method test_other_dtypes_bool (line 4082) | def test_other_dtypes_bool(self): method test_other_dtypes_uint_int (line 4095) | def test_other_dtypes_uint_int(self): method test_other_dtypes_float (line 4129) | def test_other_dtypes_float(self): method test_pickleable (line 4165) | def test_pickleable(self): class TestPadToFixedSize (line 4170) | class TestPadToFixedSize(unittest.TestCase): method setUp (line 4171) | def setUp(self): method test_image2d_that_needs_to_be_padded_on_both_sides (line 4174) | def test_image2d_that_needs_to_be_padded_on_both_sides(self): method test_image3d_that_needs_to_be_padded_on_both_sides (line 4183) | def test_image3d_that_needs_to_be_padded_on_both_sides(self): method test_image3d_rgb_that_needs_to_be_padded_on_both_sides (line 4192) | def test_image3d_rgb_that_needs_to_be_padded_on_both_sides(self): method test_image2d_with_other_dtypes (line 4205) | def test_image2d_with_other_dtypes(self): method test_image_with_height_being_too_small (line 4216) | def test_image_with_height_being_too_small(self): method test_image_with_width_being_too_small (line 4225) | def test_image_with_width_being_too_small(self): method test_image_fullfills_exactly_min_shape (line 4234) | def test_image_fullfills_exactly_min_shape(self): method test_image_that_is_larger_than_min_shape (line 4246) | def test_image_that_is_larger_than_min_shape(self): method test_too_small_image_with_width_none (line 4258) | def test_too_small_image_with_width_none(self): method test_too_small_image_with_height_none (line 4267) | def test_too_small_image_with_height_none(self): method test_image_pad_mode (line 4276) | def test_image_pad_mode(self): method test_image_pad_at_left_top (line 4297) | def test_image_pad_at_left_top(self): method test_image_pad_at_right_bottom (line 4313) | def test_image_pad_at_right_bottom(self): method test_image_pad_at_bottom_center_given_as_tuple_of_floats (line 4330) | def test_image_pad_at_bottom_center_given_as_tuple_of_floats(self): method test_keypoints__image_already_fullfills_min_shape (line 4347) | def test_keypoints__image_already_fullfills_min_shape(self): method test_keypoints_pad_at_center (line 4358) | def test_keypoints_pad_at_center(self): method test_keypoints_pad_at_center__2px (line 4369) | def test_keypoints_pad_at_center__2px(self): method test_keypoints_pad_at_left_top (line 4379) | def test_keypoints_pad_at_left_top(self): method test_keypoints_pad_at_right_bottom (line 4390) | def test_keypoints_pad_at_right_bottom(self): method test_keypoints_empty (line 4400) | def test_keypoints_empty(self): method test_polygons__image_already_fullfills_min_shape (line 4409) | def test_polygons__image_already_fullfills_min_shape(self): method test_polygons_pad_at_center (line 4424) | def test_polygons_pad_at_center(self): method test_polygons_pad_at_center__2px (line 4439) | def test_polygons_pad_at_center__2px(self): method test_polygons_pad_at_left_top (line 4454) | def test_polygons_pad_at_left_top(self): method test_polygons_pad_at_right_bottom (line 4469) | def test_polygons_pad_at_right_bottom(self): method test_polygons_empty (line 4483) | def test_polygons_empty(self): method test_line_strings__image_already_fullfills_min_shape (line 4492) | def test_line_strings__image_already_fullfills_min_shape(self): method test_line_strings_pad_at_center (line 4507) | def test_line_strings_pad_at_center(self): method test_line_strings_pad_at_center__2px (line 4522) | def test_line_strings_pad_at_center__2px(self): method test_line_strings_pad_at_left_top (line 4536) | def test_line_strings_pad_at_left_top(self): method test_line_strings_pad_at_right_bottom (line 4551) | def test_line_strings_pad_at_right_bottom(self): method test_line_strings_empty (line 4565) | def test_line_strings_empty(self): method test_bounding_boxes__image_already_fullfills_min_shape (line 4574) | def test_bounding_boxes__image_already_fullfills_min_shape(self): method test_bounding_boxes_pad_at_center (line 4589) | def test_bounding_boxes_pad_at_center(self): method test_bounding_boxes_pad_at_center__2px (line 4605) | def test_bounding_boxes_pad_at_center__2px(self): method test_bounding_boxes_pad_at_left_top (line 4619) | def test_bounding_boxes_pad_at_left_top(self): method test_bounding_boxes_pad_at_right_bottom (line 4634) | def test_bounding_boxes_pad_at_right_bottom(self): method test_bounding_boxes_empty (line 4648) | def test_bounding_boxes_empty(self): method test_heatmaps__pad_mode_should_be_ignored (line 4657) | def test_heatmaps__pad_mode_should_be_ignored(self): method test_heatmaps_smaller_than_image__pad_mode_should_be_ignored (line 4676) | def test_heatmaps_smaller_than_image__pad_mode_should_be_ignored(self): method test_segmaps__pad_mode_should_be_ignored (line 4692) | def test_segmaps__pad_mode_should_be_ignored(self): method test_segmaps_smaller_than_image__pad_mode_should_be_ignored (line 4711) | def test_segmaps_smaller_than_image__pad_mode_should_be_ignored(self): method test_get_parameters (line 4727) | def test_get_parameters(self): method test_zero_sized_axes (line 4738) | def test_zero_sized_axes(self): method test_other_dtypes_bool (line 4762) | def test_other_dtypes_bool(self): method test_other_dtypes_uint_int (line 4776) | def test_other_dtypes_uint_int(self): method test_other_dtypes_float (line 4812) | def test_other_dtypes_float(self): method test_pickleable (line 4850) | def test_pickleable(self): class TestCenterPadToFixedSize (line 4855) | class TestCenterPadToFixedSize(unittest.TestCase): method setUp (line 4856) | def setUp(self): method test_image2d (line 4859) | def test_image2d(self): method test_pickleable (line 4869) | def test_pickleable(self): class TestCropToFixedSize (line 4874) | class TestCropToFixedSize(unittest.TestCase): method setUp (line 4875) | def setUp(self): method test_image2d_that_needs_to_be_cropped_on_both_sides (line 4878) | def test_image2d_that_needs_to_be_cropped_on_both_sides(self): method test_image3d_that_needs_to_be_cropped_on_both_sides (line 4891) | def test_image3d_that_needs_to_be_cropped_on_both_sides(self): method test_image3d_rgb_that_needs_to_be_cropped_on_both_sides (line 4905) | def test_image3d_rgb_that_needs_to_be_cropped_on_both_sides(self): method test_image2d_with_other_dtypes (line 4922) | def test_image2d_with_other_dtypes(self): method test_image_with_height_being_too_large (line 4937) | def test_image_with_height_being_too_large(self): method test_image_with_width_being_too_large (line 4947) | def test_image_with_width_being_too_large(self): method test_image_fullfills_exactly_max_shape (line 4956) | def test_image_fullfills_exactly_max_shape(self): method test_image_that_is_smaller_than_max_shape (line 4968) | def test_image_that_is_smaller_than_max_shape(self): method test_too_large_image_with_width_none (line 4980) | def test_too_large_image_with_width_none(self): method test_too_large_image_with_height_none (line 4989) | def test_too_large_image_with_height_none(self): method test_image_crop_at_left_top (line 4998) | def test_image_crop_at_left_top(self): method test_image_crop_at_right_bottom (line 5010) | def test_image_crop_at_right_bottom(self): method test_image_crop_at_bottom_center_given_as_tuple_of_floats (line 5021) | def test_image_crop_at_bottom_center_given_as_tuple_of_floats(self): method test_keypoints__image_already_fullfills_max_shape (line 5032) | def test_keypoints__image_already_fullfills_max_shape(self): method test_keypoints_crop_at_center (line 5042) | def test_keypoints_crop_at_center(self): method test_keypoints_crop_at_left_top (line 5052) | def test_keypoints_crop_at_left_top(self): method test_keypoints_crop_at_right_bottom (line 5062) | def test_keypoints_crop_at_right_bottom(self): method test_keypoints_empty (line 5071) | def test_keypoints_empty(self): method test_polygons__image_already_fullfills_max_shape (line 5080) | def test_polygons__image_already_fullfills_max_shape(self): method test_polygons_crop_at_center (line 5094) | def test_polygons_crop_at_center(self): method test_polygons_crop_at_left_top (line 5108) | def test_polygons_crop_at_left_top(self): method test_polygons_crop_at_right_bottom (line 5122) | def test_polygons_crop_at_right_bottom(self): method test_polygons_empty (line 5135) | def test_polygons_empty(self): method test_line_strings__image_already_fullfills_max_shape (line 5144) | def test_line_strings__image_already_fullfills_max_shape(self): method test_line_strings_crop_at_center (line 5158) | def test_line_strings_crop_at_center(self): method test_line_strings_crop_at_left_top (line 5172) | def test_line_strings_crop_at_left_top(self): method test_line_strings_crop_at_right_bottom (line 5186) | def test_line_strings_crop_at_right_bottom(self): method test_line_strings_empty (line 5199) | def test_line_strings_empty(self): method test_bounding_boxes__image_already_fullfills_max_shape (line 5208) | def test_bounding_boxes__image_already_fullfills_max_shape(self): method test_bounding_boxes_crop_at_center (line 5222) | def test_bounding_boxes_crop_at_center(self): method test_bounding_boxes_crop_at_left_top (line 5236) | def test_bounding_boxes_crop_at_left_top(self): method test_bounding_boxes_crop_at_right_bottom (line 5250) | def test_bounding_boxes_crop_at_right_bottom(self): method test_bounding_boxes_empty (line 5263) | def test_bounding_boxes_empty(self): method test_heatmaps (line 5272) | def test_heatmaps(self): method test_heatmaps_crop_at_left_top (line 5284) | def test_heatmaps_crop_at_left_top(self): method test_heatmaps_crop_at_right_bottom (line 5297) | def test_heatmaps_crop_at_right_bottom(self): method test_heatmaps_smaller_than_image (line 5310) | def test_heatmaps_smaller_than_image(self): method test_segmaps_crop_at_center (line 5322) | def test_segmaps_crop_at_center(self): method test_segmaps_crop_at_left_top (line 5334) | def test_segmaps_crop_at_left_top(self): method test_segmaps_crop_at_right_bottom (line 5346) | def test_segmaps_crop_at_right_bottom(self): method test_segmaps_smaller_than_image (line 5358) | def test_segmaps_smaller_than_image(self): method test_get_parameters (line 5370) | def test_get_parameters(self): method test_zero_sized_axes (line 5378) | def test_zero_sized_axes(self): method test_other_dtypes_bool (line 5408) | def test_other_dtypes_bool(self): method test_other_dtypes_uint_int (line 5422) | def test_other_dtypes_uint_int(self): method test_other_dtypes_float (line 5457) | def test_other_dtypes_float(self): method test_pickleable (line 5495) | def test_pickleable(self): class TestCenterCropToFixedSize (line 5500) | class TestCenterCropToFixedSize(unittest.TestCase): method setUp (line 5501) | def setUp(self): method test_on_single_image (line 5504) | def test_on_single_image(self): method test_pickleable (line 5513) | def test_pickleable(self): class TestCropToMultiplesOf (line 5518) | class TestCropToMultiplesOf(unittest.TestCase): method setUp (line 5519) | def setUp(self): method test___init__ (line 5522) | def test___init__(self): method test_multiples_are_1 (line 5530) | def test_multiples_are_1(self): method test_on_3x3_image__no_change (line 5538) | def test_on_3x3_image__no_change(self): method test_on_3x3_image__with_change (line 5546) | def test_on_3x3_image__with_change(self): method test_on_3x3_image__only_width_changed (line 5554) | def test_on_3x3_image__only_width_changed(self): method test_on_3x3_image__only_height_changed (line 5563) | def test_on_3x3_image__only_height_changed(self): method test_on_3x4_image (line 5572) | def test_on_3x4_image(self): method test_on_7x9_image (line 5580) | def test_on_7x9_image(self): method test_width_multiple_is_none (line 5589) | def test_width_multiple_is_none(self): method test_height_multiple_is_none (line 5598) | def test_height_multiple_is_none(self): method test_heatmaps (line 5607) | def test_heatmaps(self): method test_keypoints (line 5621) | def test_keypoints(self): method test_get_parameters (line 5632) | def test_get_parameters(self): method test_zero_sized_axes (line 5643) | def test_zero_sized_axes(self): method test_pickleable (line 5669) | def test_pickleable(self): class TestCenterCropToMultiplesOf (line 5674) | class TestCenterCropToMultiplesOf(unittest.TestCase): method setUp (line 5675) | def setUp(self): method test_on_3x4_image (line 5678) | def test_on_3x4_image(self): method test_pickleable (line 5689) | def test_pickleable(self): class TestPadToMultiplesOf (line 5694) | class TestPadToMultiplesOf(unittest.TestCase): method setUp (line 5695) | def setUp(self): method test___init__ (line 5698) | def test___init__(self): method test_multiples_are_1 (line 5706) | def test_multiples_are_1(self): method test_on_3x3_image__no_change (line 5714) | def test_on_3x3_image__no_change(self): method test_on_3x3_image__with_change (line 5722) | def test_on_3x3_image__with_change(self): method test_on_3x3_image__only_width_changed (line 5731) | def test_on_3x3_image__only_width_changed(self): method test_on_3x3_image__only_height_changed (line 5741) | def test_on_3x3_image__only_height_changed(self): method test_on_3x4_image (line 5751) | def test_on_3x4_image(self): method test_on_7x9_image (line 5760) | def test_on_7x9_image(self): method test_on_7x9_image__cval (line 5770) | def test_on_7x9_image__cval(self): method test_on_7x9_image__mode (line 5781) | def test_on_7x9_image__mode(self): method test_width_multiple_is_none (line 5792) | def test_width_multiple_is_none(self): method test_height_multiple_is_none (line 5802) | def test_height_multiple_is_none(self): method test_heatmaps (line 5812) | def test_heatmaps(self): method test_keypoints (line 5826) | def test_keypoints(self): method test_get_parameters (line 5837) | def test_get_parameters(self): method test_zero_sized_axes (line 5851) | def test_zero_sized_axes(self): method test_pickleable (line 5881) | def test_pickleable(self): class TestCenterPadToMultiplesOf (line 5886) | class TestCenterPadToMultiplesOf(unittest.TestCase): method setUp (line 5887) | def setUp(self): method test_on_3x4_image (line 5890) | def test_on_3x4_image(self): method test_pickleable (line 5900) | def test_pickleable(self): class TestCropToPowersOf (line 5905) | class TestCropToPowersOf(unittest.TestCase): method setUp (line 5906) | def setUp(self): method test___init__ (line 5909) | def test___init__(self): method test_on_3x3_image__no_change (line 5917) | def test_on_3x3_image__no_change(self): method test_on_3x3_image__with_change (line 5925) | def test_on_3x3_image__with_change(self): method test_on_3x3_image__only_width_changed (line 5933) | def test_on_3x3_image__only_width_changed(self): method test_on_3x3_image__only_height_changed (line 5942) | def test_on_3x3_image__only_height_changed(self): method test_on_3x4_image (line 5951) | def test_on_3x4_image(self): method test_on_17x26_image (line 5959) | def test_on_17x26_image(self): method test_does_not_crop_towards_exponent_of_zero (line 5971) | def test_does_not_crop_towards_exponent_of_zero(self): method test_width_base_is_none (line 5982) | def test_width_base_is_none(self): method test_height_base_is_none (line 5991) | def test_height_base_is_none(self): method test_heatmaps (line 6000) | def test_heatmaps(self): method test_keypoints (line 6014) | def test_keypoints(self): method test_get_parameters (line 6025) | def test_get_parameters(self): method test_zero_sized_axes (line 6036) | def test_zero_sized_axes(self): method test_pickleable (line 6062) | def test_pickleable(self): class TestCenterCropToPowersOf (line 6067) | class TestCenterCropToPowersOf(unittest.TestCase): method setUp (line 6068) | def setUp(self): method test_on_3x3_image__with_change (line 6071) | def test_on_3x3_image__with_change(self): method test_pickleable (line 6080) | def test_pickleable(self): class TestPadToPowersOf (line 6085) | class TestPadToPowersOf(unittest.TestCase): method setUp (line 6086) | def setUp(self): method test___init__ (line 6089) | def test___init__(self): method test_on_3x3_image__no_change (line 6097) | def test_on_3x3_image__no_change(self): method test_on_3x3_image__with_change (line 6105) | def test_on_3x3_image__with_change(self): method test_on_3x3_image__only_width_changed (line 6114) | def test_on_3x3_image__only_width_changed(self): method test_on_3x3_image__only_height_changed (line 6124) | def test_on_3x3_image__only_height_changed(self): method test_on_3x4_image (line 6134) | def test_on_3x4_image(self): method test_on_7x22_image (line 6143) | def test_on_7x22_image(self): method test_on_7x22_image__cval (line 6156) | def test_on_7x22_image__cval(self): method test_on_7x22_image__mode (line 6170) | def test_on_7x22_image__mode(self): method test_width_base_is_none (line 6184) | def test_width_base_is_none(self): method test_height_base_is_none (line 6194) | def test_height_base_is_none(self): method test_heatmaps (line 6204) | def test_heatmaps(self): method test_keypoints (line 6218) | def test_keypoints(self): method test_get_parameters (line 6229) | def test_get_parameters(self): method test_zero_sized_axes (line 6243) | def test_zero_sized_axes(self): method test_pickleable (line 6273) | def test_pickleable(self): class TestCenterPadToPowersOf (line 6278) | class TestCenterPadToPowersOf(unittest.TestCase): method setUp (line 6279) | def setUp(self): method test_on_3x3_image__with_change (line 6282) | def test_on_3x3_image__with_change(self): method test_pickleable (line 6292) | def test_pickleable(self): class TestCropToAspectRatio (line 6297) | class TestCropToAspectRatio(unittest.TestCase): method setUp (line 6298) | def setUp(self): method test___init__ (line 6301) | def test___init__(self): method test_on_4x4_image__no_change (line 6307) | def test_on_4x4_image__no_change(self): method test_on_4x4_image__with_change__wider (line 6315) | def test_on_4x4_image__with_change__wider(self): method test_on_4x4_image__with_change__higher (line 6323) | def test_on_4x4_image__with_change__higher(self): method test_on_5x4_image__with_change__wider (line 6331) | def test_on_5x4_image__with_change__wider(self): method test_on_5x4_image__with_change__higher (line 6339) | def test_on_5x4_image__with_change__higher(self): method test_unreachable_aspect_ratio__wider (line 6351) | def test_unreachable_aspect_ratio__wider(self): method test_unreachable_aspect_ratio__higher (line 6359) | def test_unreachable_aspect_ratio__higher(self): method test_heatmaps (line 6367) | def test_heatmaps(self): method test_keypoints (line 6380) | def test_keypoints(self): method test_get_parameters (line 6390) | def test_get_parameters(self): method test_zero_sized_axes (line 6399) | def test_zero_sized_axes(self): method test_pickleable (line 6426) | def test_pickleable(self): class TestCenterCropToAspectRatio (line 6431) | class TestCenterCropToAspectRatio(unittest.TestCase): method setUp (line 6432) | def setUp(self): method test_on_5x4_image__with_change__wider (line 6435) | def test_on_5x4_image__with_change__wider(self): method test_pickleable (line 6444) | def test_pickleable(self): class TestPadToAspectRatio (line 6449) | class TestPadToAspectRatio(unittest.TestCase): method setUp (line 6450) | def setUp(self): method test___init__ (line 6453) | def test___init__(self): method test_on_3x3_image__no_change (line 6459) | def test_on_3x3_image__no_change(self): method test_on_3x3_image__with_change__wider (line 6467) | def test_on_3x3_image__with_change__wider(self): method test_on_3x3_image__with_change__higher (line 6476) | def test_on_3x3_image__with_change__higher(self): method test_on_3x4_image (line 6485) | def test_on_3x4_image(self): method test_on_7x22_image__height_padded_even_though_ratio_is_wide (line 6494) | def test_on_7x22_image__height_padded_even_though_ratio_is_wide(self): method test_on_10x6_image__cval (line 6506) | def test_on_10x6_image__cval(self): method test_on_10x6_image__mode (line 6515) | def test_on_10x6_image__mode(self): method test_heatmaps (line 6526) | def test_heatmaps(self): method test_keypoints (line 6539) | def test_keypoints(self): method test_get_parameters (line 6549) | def test_get_parameters(self): method test_zero_sized_axes__wider (line 6562) | def test_zero_sized_axes__wider(self): method test_zero_sized_axes__higher (line 6597) | def test_zero_sized_axes__higher(self): method test_pickleable (line 6632) | def test_pickleable(self): class TestCenterPadToAspectRatio (line 6637) | class TestCenterPadToAspectRatio(unittest.TestCase): method setUp (line 6638) | def setUp(self): method test_on_3x3_image (line 6641) | def test_on_3x3_image(self): method test_pickleable (line 6651) | def test_pickleable(self): class TestCropToSquare (line 6656) | class TestCropToSquare(unittest.TestCase): method setUp (line 6657) | def setUp(self): method test_on_7x4_image (line 6660) | def test_on_7x4_image(self): method test_pickleable (line 6668) | def test_pickleable(self): class TestCenterCropToSquare (line 6673) | class TestCenterCropToSquare(unittest.TestCase): method setUp (line 6674) | def setUp(self): method test_on_7x4_image (line 6677) | def test_on_7x4_image(self): method test_pickleable (line 6686) | def test_pickleable(self): class TestPadToSquare (line 6691) | class TestPadToSquare(unittest.TestCase): method setUp (line 6692) | def setUp(self): method test_on_7x4_image (line 6695) | def test_on_7x4_image(self): method test_pickleable (line 6704) | def test_pickleable(self): class TestCenterPadToSquare (line 6709) | class TestCenterPadToSquare(unittest.TestCase): method setUp (line 6710) | def setUp(self): method test_on_7x4_image (line 6713) | def test_on_7x4_image(self): method test_pickleable (line 6723) | def test_pickleable(self): class TestKeepSizeByResize (line 6728) | class TestKeepSizeByResize(unittest.TestCase): method setUp (line 6729) | def setUp(self): method children (line 6733) | def children(self): method kpsoi (line 6737) | def kpsoi(self): method heatmaps (line 6743) | def heatmaps(self): method heatmaps_cubic (line 6749) | def heatmaps_cubic(self): method heatmaps_nearest (line 6758) | def heatmaps_nearest(self): method segmaps (line 6767) | def segmaps(self): method segmaps_nearest (line 6772) | def segmaps_nearest(self): method test__draw_samples_each_one_interpolation (line 6780) | def test__draw_samples_each_one_interpolation(self): method test__draw_samples_each_one_interpolation_via_cv2_constants (line 6797) | def test__draw_samples_each_one_interpolation_via_cv2_constants(self): method test__draw_samples_with_images_no_resize_and_others_same_as_imgs (line 6814) | def test__draw_samples_with_images_no_resize_and_others_same_as_imgs(s... method test__draw_samples_list_of_interpolations_incl_same_as_images (line 6831) | def test__draw_samples_list_of_interpolations_incl_same_as_images(self): method test__draw_samples_list_of_each_two_interpolations (line 6861) | def test__draw_samples_list_of_each_two_interpolations(self): method test_image_interpolation_is_cubic (line 6881) | def test_image_interpolation_is_cubic(self): method test_image_interpolation_is_no_resize (line 6893) | def test_image_interpolation_is_no_resize(self): method test_images_input_is_single_array (line 6906) | def test_images_input_is_single_array(self): method test_keypoints_interpolation_is_cubic (line 6917) | def test_keypoints_interpolation_is_cubic(self): method test_keypoints_interpolation_is_no_resize (line 6937) | def test_keypoints_interpolation_is_no_resize(self): method test_polygons_interpolation_is_cubic (line 6952) | def test_polygons_interpolation_is_cubic(self): method test_polygons_interpolation_is_no_resize (line 6968) | def test_polygons_interpolation_is_no_resize(self): method test_line_strings_interpolation_is_cubic (line 6985) | def test_line_strings_interpolation_is_cubic(self): method test_line_strings_interpolation_is_no_resize (line 7001) | def test_line_strings_interpolation_is_no_resize(self): method test_bounding_boxes_interpolation_is_cubic (line 7018) | def test_bounding_boxes_interpolation_is_cubic(self): method test_bounding_boxes_interpolation_is_no_resize (line 7033) | def test_bounding_boxes_interpolation_is_no_resize(self): method test_heatmaps_specific_interpolation_set_to_no_nearest (line 7049) | def test_heatmaps_specific_interpolation_set_to_no_nearest(self): method test_heatmaps_specific_interpolation_set_to_list_of_two (line 7064) | def test_heatmaps_specific_interpolation_set_to_list_of_two(self): method test_heatmaps_specific_interpolation_set_to_no_resize (line 7082) | def test_heatmaps_specific_interpolation_set_to_no_resize(self): method test_heatmaps_specific_interpolation_set_to_same_as_images (line 7096) | def test_heatmaps_specific_interpolation_set_to_same_as_images(self): method test_segmaps_general_interpolation_set_to_cubic (line 7111) | def test_segmaps_general_interpolation_set_to_cubic(self): method test_segmaps_specific_interpolation_set_to_nearest (line 7121) | def test_segmaps_specific_interpolation_set_to_nearest(self): method test_segmaps_specific_interpolation_set_to_no_resize (line 7134) | def test_segmaps_specific_interpolation_set_to_no_resize(self): method test_zero_sized_axes (line 7146) | def test_zero_sized_axes(self): method test_pickleable (line 7174) | def test_pickleable(self): method test_get_children_lists (line 7180) | def test_get_children_lists(self): method test_to_deterministic (line 7188) | def test_to_deterministic(self): FILE: test/augmenters/test_weather.py class _TwoValueParam (line 25) | class _TwoValueParam(iap.StochasticParameter): method __init__ (line 26) | def __init__(self, v1, v2): method _draw_samples (line 31) | def _draw_samples(self, size, random_state): class TestFastSnowyLandscape (line 37) | class TestFastSnowyLandscape(unittest.TestCase): method setUp (line 38) | def setUp(self): method test___init__ (line 41) | def test___init__(self): method test_basic_functionality (line 56) | def test_basic_functionality(self): method test_vary_lightness_threshold (line 71) | def test_vary_lightness_threshold(self): method test_vary_lightness_multiplier (line 99) | def test_vary_lightness_multiplier(self): method test_from_colorspace (line 127) | def test_from_colorspace(self): method test_zero_sized_axes (line 143) | def test_zero_sized_axes(self): method test_pickleable (line 161) | def test_pickleable(self): class TestClouds (line 171) | class TestClouds(unittest.TestCase): method setUp (line 172) | def setUp(self): method _test_very_roughly (line 176) | def _test_very_roughly(cls, nb_channels): method test_very_roughly_three_channels (line 193) | def test_very_roughly_three_channels(self): method test_very_roughly_one_channel (line 196) | def test_very_roughly_one_channel(self): method test_very_roughly_no_channel (line 199) | def test_very_roughly_no_channel(self): method test_zero_sized_axes (line 202) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 223) | def test_unusual_channel_numbers(self): method test_pickleable (line 242) | def test_pickleable(self): class TestFog (line 250) | class TestFog(unittest.TestCase): method setUp (line 251) | def setUp(self): method _test_very_roughly (line 255) | def _test_very_roughly(cls, nb_channels): method test_very_roughly_three_channels (line 272) | def test_very_roughly_three_channels(self): method test_very_roughly_one_channel (line 275) | def test_very_roughly_one_channel(self): method test_very_roughly_no_channel (line 278) | def test_very_roughly_no_channel(self): method test_zero_sized_axes (line 281) | def test_zero_sized_axes(self): method test_unusual_channel_numbers (line 302) | def test_unusual_channel_numbers(self): method test_pickleable (line 321) | def test_pickleable(self): class TestSnowflakes (line 329) | class TestSnowflakes(unittest.TestCase): method setUp (line 330) | def setUp(self): method _test_very_roughly (line 333) | def _test_very_roughly(self, nb_channels): method test_very_roughly_three_channels (line 380) | def test_very_roughly_three_channels(self): method test_very_roughly_one_channel (line 383) | def test_very_roughly_one_channel(self): method test_very_roughly_no_channels (line 386) | def test_very_roughly_no_channels(self): method test_zero_sized_axes (line 389) | def test_zero_sized_axes(self): method test_pickleable (line 406) | def test_pickleable(self): method _measure_uniformity (line 411) | def _measure_uniformity(cls, image, patch_size=5, n_patches=50): class TestSnowflakesLayer (line 431) | class TestSnowflakesLayer(unittest.TestCase): method setUp (line 432) | def setUp(self): method test_large_snowflakes_size (line 435) | def test_large_snowflakes_size(self): class TestRain (line 465) | class TestRain(unittest.TestCase): method setUp (line 466) | def setUp(self): method _test_very_roughly (line 470) | def _test_very_roughly(cls, nb_channels): method test_very_roughly_three_channels (line 488) | def test_very_roughly_three_channels(self): method test_very_roughly_one_channel (line 491) | def test_very_roughly_one_channel(self): method test_very_roughly_no_channels (line 494) | def test_very_roughly_no_channels(self): method test_zero_sized_axes (line 497) | def test_zero_sized_axes(self): method test_pickleable (line 514) | def test_pickleable(self): FILE: test/test_data.py class Test__quokka_normalize_extract (line 23) | class Test__quokka_normalize_extract(unittest.TestCase): method test_string_square (line 24) | def test_string_square(self): method test_tuple (line 32) | def test_tuple(self): method test_boundingbox (line 40) | def test_boundingbox(self): method test_boundingboxesonimage (line 48) | def test_boundingboxesonimage(self): method test_wrong_input_type (line 62) | def test_wrong_input_type(self): class Test__compute_resized_shape (line 72) | class Test__compute_resized_shape(unittest.TestCase): method test_to_shape_is_tuple_of_ints_2d (line 73) | def test_to_shape_is_tuple_of_ints_2d(self): method test_to_shape_is_tuple_of_ints_3d (line 79) | def test_to_shape_is_tuple_of_ints_3d(self): method test_to_shape_is_tuple_of_floats (line 85) | def test_to_shape_is_tuple_of_floats(self): method test_to_shape_is_float_and_int (line 91) | def test_to_shape_is_float_and_int(self): method test_to_shape_is_int_and_float (line 98) | def test_to_shape_is_int_and_float(self): method test_to_shape_is_none (line 104) | def test_to_shape_is_none(self): method test_to_shape_is_int_and_none (line 110) | def test_to_shape_is_int_and_none(self): method test_to_shape_is_none_and_int (line 116) | def test_to_shape_is_none_and_int(self): method test_to_shape_is_single_int (line 122) | def test_to_shape_is_single_int(self): method test_to_shape_is_float (line 128) | def test_to_shape_is_float(self): method test_from_shape_and_to_shape_are_arrays (line 134) | def test_from_shape_and_to_shape_are_arrays(self): method test_from_shape_is_2d_and_to_shape_is_2d (line 144) | def test_from_shape_is_2d_and_to_shape_is_2d(self): method test_from_shape_is_2d_and_to_shape_is_3d (line 151) | def test_from_shape_is_2d_and_to_shape_is_3d(self): class Test_quokka (line 161) | class Test_quokka(unittest.TestCase): method test_no_parameters (line 162) | def test_no_parameters(self): method test_extract_square (line 171) | def test_extract_square(self): method test_size_tuple_of_ints (line 180) | def test_size_tuple_of_ints(self): class Test_quokka_square (line 193) | class Test_quokka_square(unittest.TestCase): method test_standard_call (line 194) | def test_standard_call(self): class Test_quokka_heatmap (line 206) | class Test_quokka_heatmap(unittest.TestCase): method test_no_parameters (line 207) | def test_no_parameters(self): method test_extract_square (line 218) | def test_extract_square(self): method test_size_tuple_of_ints (line 231) | def test_size_tuple_of_ints(self): class Test_quokka_segmentation_map (line 243) | class Test_quokka_segmentation_map(unittest.TestCase): method test_no_parameters (line 244) | def test_no_parameters(self): method test_extract_square (line 250) | def test_extract_square(self): method test_size_is_tuple_of_ints (line 256) | def test_size_is_tuple_of_ints(self): class Test_quokka_keypoints (line 263) | class Test_quokka_keypoints(unittest.TestCase): method test_non_parameters (line 264) | def test_non_parameters(self): method test_non_square_vs_square (line 271) | def test_non_square_vs_square(self): method test_size_is_tuple_of_ints (line 295) | def test_size_is_tuple_of_ints(self): class Test_quokka_bounding_boxes (line 308) | class Test_quokka_bounding_boxes(unittest.TestCase): method test_no_parameters (line 309) | def test_no_parameters(self): method test_non_square_vs_square (line 319) | def test_non_square_vs_square(self): method test_size_is_tuple_of_ints (line 340) | def test_size_is_tuple_of_ints(self): FILE: test/test_dtypes.py class Test_normalize_dtypes (line 22) | class Test_normalize_dtypes(unittest.TestCase): method test_single_non_list (line 24) | def test_single_non_list(self, mock_nd): method test_single_dtype (line 31) | def test_single_dtype(self): method test_empty_list (line 38) | def test_empty_list(self): method test_list_of_dtype_names (line 44) | def test_list_of_dtype_names(self, mock_nd): class Test_normalize_dtype (line 53) | class Test_normalize_dtype(unittest.TestCase): method test_dtype (line 54) | def test_dtype(self): method test_dtype_name (line 59) | def test_dtype_name(self): method test_dtype_name_short (line 64) | def test_dtype_name_short(self): method test_dtype_function (line 69) | def test_dtype_function(self): method test_ndarray (line 74) | def test_ndarray(self): method test_numpy_scalar (line 80) | def test_numpy_scalar(self): class Test_change_dtype_ (line 89) | class Test_change_dtype_(unittest.TestCase): method test_no_clip_no_round (line 90) | def test_no_clip_no_round(self): method test_clip_and_round (line 102) | def test_clip_and_round(self): method test_dtype_not_changed (line 113) | def test_dtype_not_changed(self): method test_no_round_if_dtype_not_changed (line 123) | def test_no_round_if_dtype_not_changed(self, mock_round): method test_round_float_dtypes (line 132) | def test_round_float_dtypes(self): method test_dont_round_non_float_dtypes (line 143) | def test_dont_round_non_float_dtypes(self, mock_round): method test_int16_to_int8 (line 151) | def test_int16_to_int8(self): method test_int16_to_int8_with_overflow (line 158) | def test_int16_to_int8_with_overflow(self): method test_float32_to_int8 (line 165) | def test_float32_to_int8(self): method test_float32_to_int8_with_overflow (line 172) | def test_float32_to_int8_with_overflow(self): method test_dtype_given_as_string (line 179) | def test_dtype_given_as_string(self): class Test_change_dtypes_ (line 187) | class Test_change_dtypes_(unittest.TestCase): method test_array_input_single_dtype_no_clip_no_round (line 188) | def test_array_input_single_dtype_no_clip_no_round(self): method test_array_input_single_dtype_with_clip_no_round (line 200) | def test_array_input_single_dtype_with_clip_no_round(self): method test_array_input_single_dtype_no_clip_with_round (line 212) | def test_array_input_single_dtype_no_clip_with_round(self): method test_array_input_fail_if_many_different_dtypes (line 224) | def test_array_input_fail_if_many_different_dtypes(self): method test_array_input_many_dtypes_no_clip_no_round (line 240) | def test_array_input_many_dtypes_no_clip_no_round(self): method test_empty_array_input (line 257) | def test_empty_array_input(self): method test_empty_list_input (line 267) | def test_empty_list_input(self): method test_many_items_list_input_single_dtype (line 276) | def test_many_items_list_input_single_dtype(self): method test_many_items_list_input_many_dtypes (line 299) | def test_many_items_list_input_many_dtypes(self): method test_invalid_input (line 322) | def test_invalid_input(self): method test_int_to_float (line 330) | def test_int_to_float(self): method test_increase_float_resolution (line 342) | def test_increase_float_resolution(self): method test_int_to_uint (line 354) | def test_int_to_uint(self): method test_int_to_uint_with_clip (line 366) | def test_int_to_uint_with_clip(self): class Test_copy_dtypes_for_restore (line 379) | class Test_copy_dtypes_for_restore(unittest.TestCase): method test_images_as_list (line 380) | def test_images_as_list(self): method test_images_as_single_array (line 400) | def test_images_as_single_array(self): method test_images_as_single_array_force_list (line 409) | def test_images_as_single_array_force_list(self): class Test_increase_itemsize_of_dtype (line 420) | class Test_increase_itemsize_of_dtype(unittest.TestCase): method test_factor_is_1 (line 421) | def test_factor_is_1(self): method test_factor_is_2 (line 433) | def test_factor_is_2(self): method test_dtype_as_string (line 451) | def test_dtype_as_string(self): method test_unknown_dtype (line 468) | def test_unknown_dtype(self): class Test_get_minimal_dtype (line 477) | class Test_get_minimal_dtype(unittest.TestCase): method test_with_dtype_function (line 478) | def test_with_dtype_function(self): method test_with_lists_of_identical_dtypes (line 492) | def test_with_lists_of_identical_dtypes(self): method test_with_lists_of_identical_dtype_arrays (line 508) | def test_with_lists_of_identical_dtype_arrays(self): method test_with_lists_of_different_arrays (line 525) | def test_with_lists_of_different_arrays(self): method test_calls_increase_itemsize_factor (line 559) | def test_calls_increase_itemsize_factor(self, mock_iibf): class Test_promote_array_dtypes_ (line 568) | class Test_promote_array_dtypes_(unittest.TestCase): method test_calls_subfunctions (line 571) | def test_calls_subfunctions(self, mock_cd, mock_gmd): method test_calls_subfunctions_dtypes_set (line 588) | def test_calls_subfunctions_dtypes_set(self, mock_cd, mock_gmd): method test_calls_subfunctions_increase_itemsize_factor_set (line 607) | def test_calls_subfunctions_increase_itemsize_factor_set(self, mock_cd, method test_promote_single_array (line 625) | def test_promote_single_array(self): method test_promote_single_array_single_dtype_set (line 630) | def test_promote_single_array_single_dtype_set(self): method test_promote_single_array_dtypes_set (line 635) | def test_promote_single_array_dtypes_set(self): method test_promote_single_array_increase_itemsize_factor_set (line 640) | def test_promote_single_array_increase_itemsize_factor_set(self): method test_promote_list_of_single_array (line 645) | def test_promote_list_of_single_array(self): method test_promote_list_of_two_arrays (line 651) | def test_promote_list_of_two_arrays(self): method test_promote_list_of_two_arrays_dtypes_set (line 659) | def test_promote_list_of_two_arrays_dtypes_set(self): method test_promote_list_of_three_arrays (line 667) | def test_promote_list_of_three_arrays(self): class Test_increase_array_resolutions_ (line 678) | class Test_increase_array_resolutions_(unittest.TestCase): method test_single_array_factor_1 (line 679) | def test_single_array_factor_1(self): method test_single_array_factor_2 (line 684) | def test_single_array_factor_2(self): method test_list_of_one_array (line 689) | def test_list_of_one_array(self): method test_list_of_two_arrays (line 694) | def test_list_of_two_arrays(self): class Test_get_value_range_of_dtype (line 704) | class Test_get_value_range_of_dtype(unittest.TestCase): method test_bool (line 705) | def test_bool(self): method test_uint8_string_name (line 711) | def test_uint8_string_name(self): method test_uint8 (line 717) | def test_uint8(self): method test_uint16 (line 723) | def test_uint16(self): method test_int8 (line 729) | def test_int8(self): method test_int16 (line 735) | def test_int16(self): method test_float16 (line 741) | def test_float16(self): class Test_clip_ (line 750) | class Test_clip_(unittest.TestCase): method test_values_hit_lower_bound_int32 (line 751) | def test_values_hit_lower_bound_int32(self): method test_values_hit_lower_and_upper_bound_int32 (line 756) | def test_values_hit_lower_and_upper_bound_int32(self): method test_values_hit_lower_bound_exceed_upper_bound_int32 (line 761) | def test_values_hit_lower_bound_exceed_upper_bound_int32(self): method test_values_exceed_lower_bound_float32 (line 766) | def test_values_exceed_lower_bound_float32(self): method test_values_hit_lower_bound_float32 (line 771) | def test_values_hit_lower_bound_float32(self): method test_values_hit_lower_bound_uint32 (line 776) | def test_values_hit_lower_bound_uint32(self): method test_values_hit_upper_bound_uint32 (line 781) | def test_values_hit_upper_bound_uint32(self): method test_values_exceed_upper_bound_uint32 (line 786) | def test_values_exceed_upper_bound_uint32(self): method test_values_hit_upper_bound_negative_lower_bound_uint32 (line 791) | def test_values_hit_upper_bound_negative_lower_bound_uint32(self): method test_values_exceed_upper_bound_negative_lower_bound_uint32 (line 796) | def test_values_exceed_upper_bound_negative_lower_bound_uint32(self): method test_values_hit_upper_bound_int8 (line 801) | def test_values_hit_upper_bound_int8(self): method test_values_within_bounds_upper_bound_is_dtype_limit_int8 (line 806) | def test_values_within_bounds_upper_bound_is_dtype_limit_int8(self): method test_values_hit_upper_bound_negative_lower_bound_int8 (line 811) | def test_values_hit_upper_bound_negative_lower_bound_int8(self): method test_both_bounds_are_none_int8 (line 816) | def test_both_bounds_are_none_int8(self): method test_lower_bound_is_none_int8 (line 821) | def test_lower_bound_is_none_int8(self): method test_upper_bound_is_none_int8 (line 826) | def test_upper_bound_is_none_int8(self): method test_values_exceed_upper_bound_and_lower_bound_is_none_int8 (line 831) | def test_values_exceed_upper_bound_and_lower_bound_is_none_int8(self): method test_values_exceed_lower_bound_and_upper_bound_is_none_int8 (line 836) | def test_values_exceed_lower_bound_and_upper_bound_is_none_int8(self): method test_numpy_scalar_hits_lower_bound_int8 (line 841) | def test_numpy_scalar_hits_lower_bound_int8(self): method test_numpy_scalar_exceeds_lower_bound_int8 (line 847) | def test_numpy_scalar_exceeds_lower_bound_int8(self): method test_numpy_scalar_exceeds_upper_bound_int8 (line 852) | def test_numpy_scalar_exceeds_upper_bound_int8(self): class Test_clip_to_dtype_value_range (line 858) | class Test_clip_to_dtype_value_range(unittest.TestCase): method test_clip_to_wider_dtype (line 859) | def test_clip_to_wider_dtype(self): method test_clip_to_wider_dtype_given_by_name (line 868) | def test_clip_to_wider_dtype_given_by_name(self): method test_clip_to_wider_dtype_different_kind (line 877) | def test_clip_to_wider_dtype_different_kind(self): method test_clip_to_same_dtype (line 886) | def test_clip_to_same_dtype(self): method test_clip_to_narrower_dtype (line 895) | def test_clip_to_narrower_dtype(self): method test_dtype_is_array (line 905) | def test_dtype_is_array(self): method test_validate_true_all_values_within_value_range (line 915) | def test_validate_true_all_values_within_value_range(self): method test_validate_true_min_value_outside_value_range (line 924) | def test_validate_true_min_value_outside_value_range(self): method test_validate_true_max_value_outside_value_range (line 935) | def test_validate_true_max_value_outside_value_range(self): method test_validate_too_few_values (line 946) | def test_validate_too_few_values(self): method test_validate_enough_values (line 951) | def test_validate_enough_values(self): method test_validate_too_many_values (line 962) | def test_validate_too_many_values(self): method test_validate_values_set (line 973) | def test_validate_values_set(self): class Test_gate_dtypes_strs (line 986) | class Test_gate_dtypes_strs(unittest.TestCase): method test_standard_scenario_all_allowed (line 987) | def test_standard_scenario_all_allowed(self): method test_standard_scenario_one_disallowed (line 996) | def test_standard_scenario_one_disallowed(self): method test_empty_set_as_dtypes (line 1007) | def test_empty_set_as_dtypes(self): method test_allowed_dtype_does_not_exist (line 1015) | def test_allowed_dtype_does_not_exist(self): method test_disallowed_dtype_does_not_exist (line 1021) | def test_disallowed_dtype_does_not_exist(self): method test_overlap_between_allowed_and_disallowed (line 1027) | def test_overlap_between_allowed_and_disallowed(self): method test_single_array_allowed (line 1040) | def test_single_array_allowed(self): method test_single_array_disallowed (line 1045) | def test_single_array_disallowed(self): method test_list_of_single_array (line 1053) | def test_list_of_single_array(self): method test_list_of_two_arrays_same_dtypes (line 1058) | def test_list_of_two_arrays_same_dtypes(self): method test_list_of_two_arrays_different_dtypes (line 1066) | def test_list_of_two_arrays_different_dtypes(self): method test_list_of_two_arrays_same_dtypes_one_disallowed (line 1074) | def test_list_of_two_arrays_same_dtypes_one_disallowed(self): class Test_gate_dtypes (line 1086) | class Test_gate_dtypes(unittest.TestCase): method test_standard_scenario_all_allowed (line 1088) | def test_standard_scenario_all_allowed(self): method test_standard_scenario_one_disallowed (line 1098) | def test_standard_scenario_one_disallowed(self): method test_standard_scenario_all_allowed_dtype_names (line 1109) | def test_standard_scenario_all_allowed_dtype_names(self): method test_standard_scenario_one_disallowed_dtype_names (line 1118) | def test_standard_scenario_one_disallowed_dtype_names(self): method test_standard_scenario_all_allowed_dtype_functions (line 1129) | def test_standard_scenario_all_allowed_dtype_functions(self): method test_standard_scenario_one_disallowed_dtype_functions (line 1138) | def test_standard_scenario_one_disallowed_dtype_functions(self): method test_single_array_allowed (line 1149) | def test_single_array_allowed(self): method test_single_array_disallowed (line 1155) | def test_single_array_disallowed(self): method test_list_of_single_array (line 1164) | def test_list_of_single_array(self): method test_list_of_two_arrays_same_dtypes (line 1170) | def test_list_of_two_arrays_same_dtypes(self): method test_list_of_two_arrays_different_dtypes (line 1179) | def test_list_of_two_arrays_different_dtypes(self): method test_list_of_two_arrays_same_dtypes_one_disallowed (line 1188) | def test_list_of_two_arrays_same_dtypes_one_disallowed(self): method test_single_dtype_function (line 1200) | def test_single_dtype_function(self): class Test__gate_dtypes (line 1206) | class Test__gate_dtypes(unittest.TestCase): method test_standard_scenario_all_allowed (line 1207) | def test_standard_scenario_all_allowed(self): method test_standard_scenario_one_disallowed (line 1215) | def test_standard_scenario_one_disallowed(self): method test_all_allowed_input_is_list_of_dtypes (line 1225) | def test_all_allowed_input_is_list_of_dtypes(self): method test_all_allowed_input_is_list_of_dtype_functions (line 1233) | def test_all_allowed_input_is_list_of_dtype_functions(self): method test_empty_set_as_dtypes (line 1241) | def test_empty_set_as_dtypes(self): method test_single_dtype_allowed (line 1248) | def test_single_dtype_allowed(self): method test_single_dtype_disallowed (line 1253) | def test_single_dtype_disallowed(self): method test_single_dtype_disallowed_augmenter_set (line 1261) | def test_single_dtype_disallowed_augmenter_set(self): method test_list_of_two_dtypes_both_same (line 1279) | def test_list_of_two_dtypes_both_same(self): method test_list_of_two_dtypes_both_different (line 1287) | def test_list_of_two_dtypes_both_different(self): method test_list_of_two_dtypes_both_different_one_disallowed (line 1295) | def test_list_of_two_dtypes_both_different_one_disallowed(self): method test_dtype_not_in_allowed_or_disallowed (line 1306) | def test_dtype_not_in_allowed_or_disallowed(self): method test_dtype_not_in_allowed_or_disallowed_augmenter_set (line 1320) | def test_dtype_not_in_allowed_or_disallowed_augmenter_set(self): FILE: test/test_imgaug.py function main (line 31) | def main(): function test_is_np_array (line 75) | def test_is_np_array(): function test_is_single_integer (line 94) | def test_is_single_integer(): function test_is_single_float (line 106) | def test_is_single_float(): function test_caller_name (line 118) | def test_caller_name(): class TestDeprecatedDataFunctions (line 122) | class TestDeprecatedDataFunctions(unittest.TestCase): method test_quokka (line 123) | def test_quokka(self): method test_quokka_square (line 128) | def test_quokka_square(self): method test_quokka_heatmap (line 133) | def test_quokka_heatmap(self): method test_quokka_segmentation_map (line 138) | def test_quokka_segmentation_map(self): method test_quokka_keypoints (line 143) | def test_quokka_keypoints(self): method test_quokka_bounding_boxes (line 148) | def test_quokka_bounding_boxes(self): function test_is_single_number (line 154) | def test_is_single_number(): function test_is_iterable (line 165) | def test_is_iterable(): function test_is_string (line 188) | def test_is_string(): function test_is_single_bool (line 200) | def test_is_single_bool(): function test_is_integer_array (line 212) | def test_is_integer_array(): function test_is_float_array (line 236) | def test_is_float_array(): function test_is_callable (line 261) | def test_is_callable(): function test_seed (line 301) | def test_seed(mock_seed): function test_current_random_state (line 306) | def test_current_random_state(): function test_new_random_state__induce_pseudo_random (line 318) | def test_new_random_state__induce_pseudo_random(mock_rng): function test_new_random_state__induce_fully_random (line 330) | def test_new_random_state__induce_fully_random(mock_rng): function test_new_random_state__use_seed (line 342) | def test_new_random_state__use_seed(mock_rng): function test_dummy_random_state (line 354) | def test_dummy_random_state(mock_rng): function test_copy_random_state__not_global (line 367) | def test_copy_random_state__not_global(mock_copy_gen_glob, mock_copy_gen): function test_copy_random_state__also_global (line 382) | def test_copy_random_state__also_global(mock_copy_gen_glob, mock_copy_gen): function test_derive_random_state (line 396) | def test_derive_random_state(mock_derive): function test_derive_random_states (line 409) | def test_derive_random_states(mock_derive): function test_forward_random_state (line 422) | def test_forward_random_state(mock_advance): function test_compute_line_intersection_point (line 434) | def test_compute_line_intersection_point(): function test_draw_text (line 484) | def test_draw_text(): function test_imresize_many_images (line 565) | def test_imresize_many_images(): function test_imresize_single_image (line 832) | def test_imresize_single_image(): function test_pool (line 895) | def test_pool(): function test_avg_pool (line 1176) | def test_avg_pool(): function test_max_pool (line 1196) | def test_max_pool(): function test_min_pool (line 1215) | def test_min_pool(): function test_median_pool (line 1236) | def test_median_pool(): function test_median_pool_ksize_1_3 (line 1257) | def test_median_pool_ksize_1_3(): function test_median_pool_ksize_3 (line 1281) | def test_median_pool_ksize_3(): function test_median_pool_ksize_3_view (line 1307) | def test_median_pool_ksize_3_view(): function test_median_pool_ksize_3_non_contiguous (line 1337) | def test_median_pool_ksize_3_non_contiguous(): function test_draw_grid (line 1365) | def test_draw_grid(): function test_classes_and_functions_marked_deprecated (line 1544) | def test_classes_and_functions_marked_deprecated(): class Test_apply_lut (line 1568) | class Test_apply_lut(unittest.TestCase): method test_2d_image (line 1569) | def test_2d_image(self): class Test_apply_lut_ (line 1589) | class Test_apply_lut_(unittest.TestCase): method test_2d_image (line 1590) | def test_2d_image(self): method test_HW1_image (line 1617) | def test_HW1_image(self): method test_HWC_image (line 1647) | def test_HWC_image(self): method test_image_is_noncontiguous (line 1709) | def test_image_is_noncontiguous(self): method test_image_is_view (line 1730) | def test_image_is_view(self): method test_zero_sized_axes (line 1751) | def test_zero_sized_axes(self): FILE: test/test_multicore.py class clean_context (line 34) | class clean_context(): method __init__ (line 35) | def __init__(self): method __enter__ (line 38) | def __enter__(self): method __exit__ (line 42) | def __exit__(self, exc_type, exc_val, exc_tb): class Test__get_context (line 46) | class Test__get_context(unittest.TestCase): method test_mocked_nixos_python2 (line 51) | def test_mocked_nixos_python2(self, mock_version, mock_warn): method test_mocked_nixos_python3 (line 61) | def test_mocked_nixos_python3(self, mock_gctx, mock_version): method test_mocked_no_nixos_python2 (line 70) | def test_mocked_no_nixos_python2(self, mock_version): method test_mocked_no_nixos_python3 (line 81) | def test_mocked_no_nixos_python3(self, mock_version, mock_gctx, mock_s... method test_mocked_mac_and_37_cause_spawn (line 95) | def test_mocked_mac_and_37_cause_spawn( class TestPool (line 116) | class TestPool(unittest.TestCase): method setUp (line 117) | def setUp(self): method test___init___seed_out_of_bounds (line 120) | def test___init___seed_out_of_bounds(self): method test_property_pool (line 126) | def test_property_pool(self): method test_processes (line 156) | def test_processes(self): method test_cpu_count_does_not_exist (line 208) | def test_cpu_count_does_not_exist(self, mock_pool): method _test_map_batches_both (line 237) | def _test_map_batches_both(cls, call_async): method test_map_batches (line 285) | def test_map_batches(self): method test_map_batches_async (line 288) | def test_map_batches_async(self): method _test_imap_batches_both (line 292) | def _test_imap_batches_both(cls, call_unordered): method _test_imap_batches_both_output_buffer_size (line 344) | def _test_imap_batches_both_output_buffer_size(cls, call_unordered, method test_imap_batches (line 421) | def test_imap_batches(self): method test_imap_batches_unordered (line 424) | def test_imap_batches_unordered(self): method test_imap_batches_output_buffer_size (line 427) | def test_imap_batches_output_buffer_size(self): method test_imap_batches_unordered_output_buffer_size (line 430) | def test_imap_batches_unordered_output_buffer_size(self): method _assert_each_augmentation_not_more_than_once (line 434) | def _assert_each_augmentation_not_more_than_once(cls, batches_aug): method test_augmentations_with_seed_match (line 447) | def test_augmentations_with_seed_match(self): method test_augmentations_with_seed_match_for_images_and_keypoints (line 492) | def test_augmentations_with_seed_match_for_images_and_keypoints(self): method test_augmentations_without_seed_differ (line 545) | def test_augmentations_without_seed_differ(self): method test_augmentations_without_seed_differ_for_images_and_keypoints (line 560) | def test_augmentations_without_seed_differ_for_images_and_keypoints(se... method test_inputs_not_lost (line 584) | def test_inputs_not_lost(self): method test_close (line 634) | def test_close(self): method test_terminate (line 639) | def test_terminate(self): method test_join (line 644) | def test_join(self): method test_join_via_mock (line 651) | def test_join_via_mock(self, mock_pool): class Test_Pool_initialize_worker (line 671) | class Test_Pool_initialize_worker(unittest.TestCase): method tearDown (line 672) | def tearDown(self): method test_with_seed_start (line 679) | def test_with_seed_start(self, mock_ia_pool): method test_without_seed_start_simulate_py37_or_higher (line 690) | def test_without_seed_start_simulate_py37_or_higher(self, method test_without_seed_start_simulate_py36_or_lower (line 718) | def test_without_seed_start_simulate_py36_or_lower(self, method test_without_seed_start (line 743) | def test_without_seed_start(self, mock_ia_seed): class Test_Pool_worker (line 769) | class Test_Pool_worker(unittest.TestCase): method tearDown (line 770) | def tearDown(self): method test_without_seed_start (line 776) | def test_without_seed_start(self): method test_with_seed_start (line 790) | def test_with_seed_start(self, mock_ia_seed): class Test_Pool_starworker (line 825) | class Test_Pool_starworker(unittest.TestCase): method tearDown (line 826) | def tearDown(self): method test_simple_call (line 833) | def test_simple_call(self, mock_worker): function _batch_loader_load_func (line 849) | def _batch_loader_load_func(): class TestBatchLoader (line 856) | class TestBatchLoader(unittest.TestCase): method setUp (line 857) | def setUp(self): method test_basic_functionality (line 860) | def test_basic_functionality(self): class TestBackgroundAugmenter (line 924) | class TestBackgroundAugmenter(unittest.TestCase): method setUp (line 925) | def setUp(self): method test_augment_images_worker (line 928) | def test_augment_images_worker(self): FILE: test/test_parameters.py function _eps (line 32) | def _eps(arr): class Test_handle_continuous_param (line 38) | class Test_handle_continuous_param(unittest.TestCase): method test_value_range_is_none (line 39) | def test_value_range_is_none(self): method test_value_range_is_tuple_of_nones (line 46) | def test_value_range_is_tuple_of_nones(self): method test_param_is_stochastic_parameter (line 55) | def test_param_is_stochastic_parameter(self): method test_value_range_is_tuple_of_integers (line 62) | def test_value_range_is_tuple_of_integers(self): method test_param_is_outside_of_value_range (line 71) | def test_param_is_outside_of_value_range(self): method test_param_is_inside_value_range_and_no_lower_bound (line 80) | def test_param_is_inside_value_range_and_no_lower_bound(self): method test_param_is_outside_of_value_range_and_no_lower_bound (line 90) | def test_param_is_outside_of_value_range_and_no_lower_bound(self): method test_param_is_inside_value_range_and_no_upper_bound (line 100) | def test_param_is_inside_value_range_and_no_upper_bound(self): method test_param_is_outside_of_value_range_and_no_upper_bound (line 110) | def test_param_is_outside_of_value_range_and_no_upper_bound(self): method test_tuple_as_value_but_no_tuples_allowed (line 120) | def test_tuple_as_value_but_no_tuples_allowed(self): method test_tuple_as_value_and_tuples_allowed (line 130) | def test_tuple_as_value_and_tuples_allowed(self): method test_tuple_as_value_and_tuples_allowed_and_inside_value_range (line 140) | def test_tuple_as_value_and_tuples_allowed_and_inside_value_range(self): method test_tuple_value_and_allowed_and_partially_outside_value_range (line 150) | def test_tuple_value_and_allowed_and_partially_outside_value_range(self): method test_tuple_value_and_allowed_and_fully_outside_value_range (line 161) | def test_tuple_value_and_allowed_and_fully_outside_value_range(self): method test_list_as_value_but_no_lists_allowed (line 172) | def test_list_as_value_but_no_lists_allowed(self): method test_list_as_value_and_lists_allowed (line 182) | def test_list_as_value_and_lists_allowed(self): method test_list_value_and_allowed_and_partially_outside_value_range (line 192) | def test_list_value_and_allowed_and_partially_outside_value_range(self): method test_list_value_and_allowed_and_fully_outside_of_value_range (line 203) | def test_list_value_and_allowed_and_fully_outside_of_value_range(self): method test_value_inside_value_range_and_value_range_given_as_callable (line 213) | def test_value_inside_value_range_and_value_range_given_as_callable(se... method test_bad_datatype_as_value_range (line 226) | def test_bad_datatype_as_value_range(self): class Test_handle_discrete_param (line 238) | class Test_handle_discrete_param(unittest.TestCase): method test_float_value_inside_value_range_but_no_floats_allowed (line 239) | def test_float_value_inside_value_range_but_no_floats_allowed(self): method test_value_range_is_none (line 249) | def test_value_range_is_none(self): method test_value_range_is_tuple_of_nones (line 256) | def test_value_range_is_tuple_of_nones(self): method test_value_is_stochastic_parameter (line 263) | def test_value_is_stochastic_parameter(self): method test_value_inside_value_range (line 271) | def test_value_inside_value_range(self): method test_value_outside_value_range (line 278) | def test_value_outside_value_range(self): method test_value_inside_value_range_no_lower_bound (line 286) | def test_value_inside_value_range_no_lower_bound(self): method test_value_outside_value_range_no_lower_bound (line 293) | def test_value_outside_value_range_no_lower_bound(self): method test_value_inside_value_range_no_upper_bound (line 301) | def test_value_inside_value_range_no_upper_bound(self): method test_value_outside_value_range_no_upper_bound (line 308) | def test_value_outside_value_range_no_upper_bound(self): method test_value_is_tuple_but_no_tuples_allowed (line 316) | def test_value_is_tuple_but_no_tuples_allowed(self): method test_value_is_tuple_and_tuples_allowed (line 324) | def test_value_is_tuple_and_tuples_allowed(self): method test_value_tuple_and_allowed_and_inside_value_range (line 331) | def test_value_tuple_and_allowed_and_inside_value_range(self): method test_value_tuple_and_allowed_and_inside_vr_allow_floats_false (line 338) | def test_value_tuple_and_allowed_and_inside_vr_allow_floats_false(self): method test_value_tuple_and_allowed_and_partially_outside_value_range (line 347) | def test_value_tuple_and_allowed_and_partially_outside_value_range(self): method test_value_tuple_and_allowed_and_fully_outside_value_range (line 356) | def test_value_tuple_and_allowed_and_fully_outside_value_range(self): method test_value_list_but_not_allowed (line 365) | def test_value_list_but_not_allowed(self): method test_value_list_and_allowed (line 373) | def test_value_list_and_allowed(self): method test_value_list_and_allowed_and_partially_outside_value_range (line 380) | def test_value_list_and_allowed_and_partially_outside_value_range(self): method test_value_list_and_allowed_and_fully_outside_value_range (line 388) | def test_value_list_and_allowed_and_fully_outside_value_range(self): method test_value_inside_value_range_given_as_callable (line 396) | def test_value_inside_value_range_given_as_callable(self): method test_bad_datatype_as_value_range (line 409) | def test_bad_datatype_as_value_range(self): class Test_handle_categorical_string_param (line 419) | class Test_handle_categorical_string_param(unittest.TestCase): method test_arg_is_all (line 420) | def test_arg_is_all(self): method test_arg_is_str (line 429) | def test_arg_is_str(self): method test_arg_is_valid_str (line 434) | def test_arg_is_valid_str(self): method test_arg_is_invalid_str (line 443) | def test_arg_is_invalid_str(self): method test_arg_is_list (line 455) | def test_arg_is_list(self): method test_arg_is_valid_list (line 462) | def test_arg_is_valid_list(self): method test_arg_is_list_with_invalid_types (line 471) | def test_arg_is_list_with_invalid_types(self): method test_arg_is_invalid_list (line 484) | def test_arg_is_invalid_list(self): method test_arg_is_stochastic_param (line 498) | def test_arg_is_stochastic_param(self): method test_arg_is_invalid_datatype (line 506) | def test_arg_is_invalid_datatype(self): class Test_handle_probability_param (line 515) | class Test_handle_probability_param(unittest.TestCase): method test_bool_like_values (line 516) | def test_bool_like_values(self): method test_float_probabilities (line 523) | def test_float_probabilities(self): method test_probability_is_stochastic_parameter (line 531) | def test_probability_is_stochastic_parameter(self): method test_probability_has_bad_datatype (line 536) | def test_probability_has_bad_datatype(self): method test_probability_is_negative (line 541) | def test_probability_is_negative(self): method test_probability_is_above_100_percent (line 545) | def test_probability_is_above_100_percent(self): class Test_force_np_float_dtype (line 550) | class Test_force_np_float_dtype(unittest.TestCase): method test_common_dtypes (line 551) | def test_common_dtypes(self): class Test_both_np_float_if_one_is_float (line 566) | class Test_both_np_float_if_one_is_float(unittest.TestCase): method test_float16_float32 (line 567) | def test_float16_float32(self): method test_float16_int32 (line 574) | def test_float16_int32(self): method test_int32_float16 (line 581) | def test_int32_float16(self): method test_int32_uint8 (line 588) | def test_int32_uint8(self): class Test_draw_distributions_grid (line 596) | class Test_draw_distributions_grid(unittest.TestCase): method setUp (line 597) | def setUp(self): method test_basic_functionality (line 600) | def test_basic_functionality(self): class Test_draw_distributions_graph (line 628) | class Test_draw_distributions_graph(unittest.TestCase): method test_basic_functionality (line 629) | def test_basic_functionality(self): class TestStochasticParameter (line 653) | class TestStochasticParameter(unittest.TestCase): method setUp (line 654) | def setUp(self): method test_copy (line 657) | def test_copy(self): method test_deepcopy (line 669) | def test_deepcopy(self): class TestStochasticParameterOperators (line 682) | class TestStochasticParameterOperators(unittest.TestCase): method setUp (line 683) | def setUp(self): method test_multiply_stochasic_params (line 686) | def test_multiply_stochasic_params(self): method test_multiply_stochastic_param_with_integer (line 696) | def test_multiply_stochastic_param_with_integer(self): method test_multiply_integer_with_stochastic_param (line 706) | def test_multiply_integer_with_stochastic_param(self): method test_multiply_string_with_stochastic_param_should_fail (line 716) | def test_multiply_string_with_stochastic_param_should_fail(self): method test_multiply_stochastic_param_with_string_should_fail (line 724) | def test_multiply_stochastic_param_with_string_should_fail(self): method test_divide_stochastic_params (line 732) | def test_divide_stochastic_params(self): method test_divide_stochastic_param_by_integer (line 743) | def test_divide_stochastic_param_by_integer(self): method test_divide_integer_by_stochastic_param (line 753) | def test_divide_integer_by_stochastic_param(self): method test_divide_string_by_stochastic_param_should_fail (line 763) | def test_divide_string_by_stochastic_param_should_fail(self): method test_divide_stochastic_param_by_string_should_fail (line 771) | def test_divide_stochastic_param_by_string_should_fail(self): method test_div_stochastic_params (line 779) | def test_div_stochastic_params(self): method test_div_stochastic_param_by_integer (line 790) | def test_div_stochastic_param_by_integer(self): method test_div_stochastic_param_by_string_should_fail (line 800) | def test_div_stochastic_param_by_string_should_fail(self): method test_rdiv_stochastic_param_by_integer (line 808) | def test_rdiv_stochastic_param_by_integer(self): method test_rdiv_stochastic_param_by_string_should_fail (line 819) | def test_rdiv_stochastic_param_by_string_should_fail(self): method test_floordiv_stochastic_params (line 827) | def test_floordiv_stochastic_params(self): method test_floordiv_symbol_stochastic_param_by_integer (line 839) | def test_floordiv_symbol_stochastic_param_by_integer(self): method test_floordiv_symbol_integer_by_stochastic_param (line 850) | def test_floordiv_symbol_integer_by_stochastic_param(self): method test_floordiv_symbol_string_by_stochastic_should_fail (line 861) | def test_floordiv_symbol_string_by_stochastic_should_fail(self): method test_floordiv_symbol_stochastic_param_by_string_should_fail (line 869) | def test_floordiv_symbol_stochastic_param_by_string_should_fail(self): method test_add_stochastic_params (line 877) | def test_add_stochastic_params(self): method test_add_integer_to_stochastic_param (line 887) | def test_add_integer_to_stochastic_param(self): method test_add_stochastic_param_to_integer (line 897) | def test_add_stochastic_param_to_integer(self): method test_add_stochastic_param_to_string (line 907) | def test_add_stochastic_param_to_string(self): method test_add_string_to_stochastic_param (line 915) | def test_add_string_to_stochastic_param(self): method test_subtract_stochastic_params (line 923) | def test_subtract_stochastic_params(self): method test_subtract_integer_from_stochastic_param (line 933) | def test_subtract_integer_from_stochastic_param(self): method test_subtract_stochastic_param_from_integer (line 943) | def test_subtract_stochastic_param_from_integer(self): method test_subtract_stochastic_param_from_string_should_fail (line 953) | def test_subtract_stochastic_param_from_string_should_fail(self): method test_subtract_string_from_stochastic_param_should_fail (line 961) | def test_subtract_string_from_stochastic_param_should_fail(self): method test_exponentiate_stochastic_params (line 969) | def test_exponentiate_stochastic_params(self): method test_exponentiate_stochastic_param_by_integer (line 979) | def test_exponentiate_stochastic_param_by_integer(self): method test_exponentiate_integer_by_stochastic_param (line 989) | def test_exponentiate_integer_by_stochastic_param(self): method test_exponentiate_string_by_stochastic_param (line 999) | def test_exponentiate_string_by_stochastic_param(self): method test_exponentiate_stochastic_param_by_string (line 1007) | def test_exponentiate_stochastic_param_by_string(self): class TestAutoPrefetcher (line 1016) | class TestAutoPrefetcher(unittest.TestCase): method setUp (line 1017) | def setUp(self): method test_does_not_prefetch_at_first_call (line 1020) | def test_does_not_prefetch_at_first_call(self): method test_prefetches_at_second_call (line 1037) | def test_prefetches_at_second_call(self): method test_nb_prefetch_is_evenly_divisible_by_requested_sizes (line 1058) | def test_nb_prefetch_is_evenly_divisible_by_requested_sizes(self): method test_nb_prefetch_is_not_evenly_divisible_by_requested_sizes (line 1075) | def test_nb_prefetch_is_not_evenly_divisible_by_requested_sizes(self): method test_exactly_as_many_components_requested_as_nb_prefetch_allows (line 1098) | def test_exactly_as_many_components_requested_as_nb_prefetch_allows(se... method test_more_components_requested_than_nb_prefetch_allows (line 1111) | def test_more_components_requested_than_nb_prefetch_allows(self): method test_size_is_tuple (line 1124) | def test_size_is_tuple(self): method test_to_string_first_call (line 1138) | def test_to_string_first_call(self): method test_to_string_second_call (line 1154) | def test_to_string_second_call(self): class TestBinomial (line 1178) | class TestBinomial(unittest.TestCase): method setUp (line 1179) | def setUp(self): method test___init___p_is_zero (line 1182) | def test___init___p_is_zero(self): method test___init___p_is_one (line 1192) | def test___init___p_is_one(self): method test_p_is_zero (line 1202) | def test_p_is_zero(self): method test_p_is_one (line 1213) | def test_p_is_one(self): method test_p_is_50_percent (line 1224) | def test_p_is_50_percent(self): method test_p_is_list (line 1243) | def test_p_is_list(self): method test_p_is_tuple (line 1253) | def test_p_is_tuple(self): method test_samples_same_values_for_same_seeds (line 1267) | def test_samples_same_values_for_same_seeds(self): class TestChoice (line 1278) | class TestChoice(unittest.TestCase): method setUp (line 1279) | def setUp(self): method test___init__ (line 1282) | def test___init__(self): method test_value_is_list (line 1290) | def test_value_is_list(self): method test_sampled_values_match_expected_counts (line 1306) | def test_sampled_values_match_expected_counts(self): method test_value_is_list_containing_negative_number (line 1320) | def test_value_is_list_containing_negative_number(self): method test_value_is_list_of_floats (line 1331) | def test_value_is_list_of_floats(self): method test_value_is_list_of_strings (line 1365) | def test_value_is_list_of_strings(self): method test_sample_without_replacing (line 1384) | def test_sample_without_replacing(self): method test_non_uniform_probabilities_over_elements (line 1394) | def test_non_uniform_probabilities_over_elements(self): method test_list_contains_stochastic_parameter (line 1409) | def test_list_contains_stochastic_parameter(self): method test_samples_same_values_for_same_seeds (line 1424) | def test_samples_same_values_for_same_seeds(self): method test_value_is_bad_datatype (line 1434) | def test_value_is_bad_datatype(self): method test_p_is_bad_datatype (line 1441) | def test_p_is_bad_datatype(self): method test_value_and_p_have_unequal_lengths (line 1447) | def test_value_and_p_have_unequal_lengths(self): class TestDiscreteUniform (line 1454) | class TestDiscreteUniform(unittest.TestCase): method setUp (line 1455) | def setUp(self): method test___init__ (line 1458) | def test___init__(self): method test_bounds_are_ints (line 1469) | def test_bounds_are_ints(self): method test_samples_match_expected_counts (line 1485) | def test_samples_match_expected_counts(self): method test_lower_bound_is_negative (line 1499) | def test_lower_bound_is_negative(self): method test_bounds_are_floats (line 1515) | def test_bounds_are_floats(self): method test_lower_and_upper_bound_have_wrong_order (line 1533) | def test_lower_and_upper_bound_have_wrong_order(self): method test_lower_and_upper_bound_are_the_same (line 1551) | def test_lower_and_upper_bound_are_the_same(self): method test_samples_same_values_for_same_seeds (line 1560) | def test_samples_same_values_for_same_seeds(self): class TestPoisson (line 1571) | class TestPoisson(unittest.TestCase): method setUp (line 1572) | def setUp(self): method test___init__ (line 1575) | def test___init__(self): method test_draw_sample (line 1585) | def test_draw_sample(self): method test_via_comparison_to_np_poisson (line 1593) | def test_via_comparison_to_np_poisson(self): method test_samples_same_values_for_same_seeds (line 1607) | def test_samples_same_values_for_same_seeds(self): class TestNormal (line 1618) | class TestNormal(unittest.TestCase): method setUp (line 1619) | def setUp(self): method test___init__ (line 1622) | def test___init__(self): method test_draw_sample (line 1632) | def test_draw_sample(self): method test_via_comparison_to_np_normal (line 1639) | def test_via_comparison_to_np_normal(self): method test_loc_is_stochastic_parameter (line 1662) | def test_loc_is_stochastic_parameter(self): method test_scale (line 1679) | def test_scale(self): method test_samples_same_values_for_same_seeds (line 1689) | def test_samples_same_values_for_same_seeds(self): class TestTruncatedNormal (line 1700) | class TestTruncatedNormal(unittest.TestCase): method setUp (line 1701) | def setUp(self): method test___init__ (line 1704) | def test___init__(self): method test___init___custom_range (line 1729) | def test___init___custom_range(self): method test_scale_is_zero (line 1754) | def test_scale_is_zero(self): method test_scale (line 1759) | def test_scale(self): method test_loc_is_stochastic_parameter (line 1768) | def test_loc_is_stochastic_parameter(self): method test_samples_are_within_bounds (line 1789) | def test_samples_are_within_bounds(self): method test_samples_same_values_for_same_seeds (line 1805) | def test_samples_same_values_for_same_seeds(self): method test_samples_different_values_for_different_seeds (line 1813) | def test_samples_different_values_for_different_seeds(self): class TestLaplace (line 1822) | class TestLaplace(unittest.TestCase): method setUp (line 1823) | def setUp(self): method test___init__ (line 1826) | def test___init__(self): method test_draw_sample (line 1840) | def test_draw_sample(self): method test_via_comparison_to_np_laplace (line 1847) | def test_via_comparison_to_np_laplace(self): method test_loc_is_stochastic_parameter (line 1873) | def test_loc_is_stochastic_parameter(self): method test_scale (line 1891) | def test_scale(self): method test_scale_is_zero (line 1900) | def test_scale_is_zero(self): method test_samples_same_values_for_same_seeds (line 1910) | def test_samples_same_values_for_same_seeds(self): class TestChiSquare (line 1921) | class TestChiSquare(unittest.TestCase): method setUp (line 1922) | def setUp(self): method test___init__ (line 1925) | def test___init__(self): method test_draw_sample (line 1935) | def test_draw_sample(self): method test_via_comparison_to_np_chisquare (line 1943) | def test_via_comparison_to_np_chisquare(self): method test_df_is_stochastic_parameter (line 1970) | def test_df_is_stochastic_parameter(self): method test_larger_df_leads_to_more_variance (line 1988) | def test_larger_df_leads_to_more_variance(self): method test_samples_same_values_for_same_seeds (line 1999) | def test_samples_same_values_for_same_seeds(self): class TestWeibull (line 2010) | class TestWeibull(unittest.TestCase): method setUp (line 2011) | def setUp(self): method test___init__ (line 2014) | def test___init__(self): method test_draw_sample (line 2024) | def test_draw_sample(self): method test_via_comparison_to_np_weibull (line 2032) | def test_via_comparison_to_np_weibull(self): method test_argument_is_stochastic_parameter (line 2058) | def test_argument_is_stochastic_parameter(self): method test_different_strengths (line 2089) | def test_different_strengths(self): method test_samples_same_values_for_same_seeds (line 2116) | def test_samples_same_values_for_same_seeds(self): class TestUniform (line 2127) | class TestUniform(unittest.TestCase): method setUp (line 2128) | def setUp(self): method test___init__ (line 2131) | def test___init__(self): method test_draw_sample (line 2142) | def test_draw_sample(self): method test_draw_samples (line 2150) | def test_draw_samples(self): method test_via_density_histogram (line 2163) | def test_via_density_histogram(self): method test_negative_value (line 2180) | def test_negative_value(self): method test_wrong_argument_order (line 2196) | def test_wrong_argument_order(self): method test_arguments_are_integers (line 2212) | def test_arguments_are_integers(self): method test_arguments_are_identical (line 2228) | def test_arguments_are_identical(self): method test_samples_same_values_for_same_seeds (line 2244) | def test_samples_same_values_for_same_seeds(self): class TestBeta (line 2255) | class TestBeta(unittest.TestCase): method _mean (line 2257) | def _mean(cls, alpha, beta): method _var (line 2261) | def _var(cls, alpha, beta): method setUp (line 2264) | def setUp(self): method test___init__ (line 2267) | def test___init__(self): method test_draw_sample (line 2277) | def test_draw_sample(self): method test_draw_samples (line 2285) | def test_draw_samples(self): method test_via_comparison_to_np_beta (line 2298) | def test_via_comparison_to_np_beta(self): method test_argument_is_stochastic_parameter (line 2320) | def test_argument_is_stochastic_parameter(self): method test_compare_curves_of_different_arguments (line 2340) | def test_compare_curves_of_different_arguments(self): method test_samples_same_values_for_same_seeds (line 2362) | def test_samples_same_values_for_same_seeds(self): class TestDeterministic (line 2373) | class TestDeterministic(unittest.TestCase): method setUp (line 2374) | def setUp(self): method test___init__ (line 2377) | def test___init__(self): method test_samples_same_values_for_same_seeds (line 2392) | def test_samples_same_values_for_same_seeds(self): method test_draw_sample_int (line 2409) | def test_draw_sample_int(self): method test_draw_sample_float (line 2421) | def test_draw_sample_float(self): method test_draw_samples_int (line 2434) | def test_draw_samples_int(self): method test_draw_samples_float (line 2450) | def test_draw_samples_float(self): method test_argument_is_stochastic_parameter (line 2466) | def test_argument_is_stochastic_parameter(self): method test_argument_has_invalid_type (line 2475) | def test_argument_has_invalid_type(self): class TestDeterministicList (line 2484) | class TestDeterministicList(unittest.TestCase): method setUp (line 2485) | def setUp(self): method test___init___with_array (line 2488) | def test___init___with_array(self): method test___init___with_list_int (line 2493) | def test___init___with_list_int(self): method test___init___with_list_float (line 2499) | def test___init___with_list_float(self): method test_samples_same_values_for_same_seeds (line 2505) | def test_samples_same_values_for_same_seeds(self): method test_draw_sample_int (line 2517) | def test_draw_sample_int(self): method test_draw_sample_float (line 2527) | def test_draw_sample_float(self): method test_draw_samples_int (line 2538) | def test_draw_samples_int(self): method test_draw_samples_float (line 2559) | def test_draw_samples_float(self): method test_draw_samples_cycles_when_shape_too_large (line 2580) | def test_draw_samples_cycles_when_shape_too_large(self): method test___str___and___repr___float (line 2601) | def test___str___and___repr___float(self): method test___str___and___repr___intlike (line 2609) | def test___str___and___repr___intlike(self): class TestFromLowerResolution (line 2618) | class TestFromLowerResolution(unittest.TestCase): method setUp (line 2619) | def setUp(self): method test___init___size_percent (line 2622) | def test___init___size_percent(self): method test___init___size_px (line 2642) | def test___init___size_px(self): method test_binomial_hwc (line 2662) | def test_binomial_hwc(self): method test_binomial_nhwc (line 2673) | def test_binomial_nhwc(self): method test_draw_samples_with_too_many_dimensions (line 2684) | def test_draw_samples_with_too_many_dimensions(self): method test_binomial_hw3 (line 2696) | def test_binomial_hw3(self): method test_different_size_px_arguments (line 2708) | def test_different_size_px_arguments(self): method test_different_size_px_arguments_with_tuple (line 2733) | def test_different_size_px_arguments_with_tuple(self): method test_different_size_px_argument_with_stochastic_parameters (line 2758) | def test_different_size_px_argument_with_stochastic_parameters(self): method test_size_px_has_invalid_datatype (line 2785) | def test_size_px_has_invalid_datatype(self): method test_min_size (line 2792) | def test_min_size(self): method test_size_percent (line 2818) | def test_size_percent(self): method test_size_percent_as_stochastic_parameters (line 2843) | def test_size_percent_as_stochastic_parameters(self): method test_size_percent_has_invalid_datatype (line 2870) | def test_size_percent_has_invalid_datatype(self): method test_method (line 2877) | def test_method(self): method test_method_has_invalid_datatype (line 2896) | def test_method_has_invalid_datatype(self): method test_samples_same_values_for_same_seeds (line 2904) | def test_samples_same_values_for_same_seeds(self): class TestClip (line 2916) | class TestClip(unittest.TestCase): method setUp (line 2917) | def setUp(self): method test___init__ (line 2920) | def test___init__(self): method test_value_within_bounds (line 2930) | def test_value_within_bounds(self): method test_value_exactly_at_upper_bound (line 2941) | def test_value_exactly_at_upper_bound(self): method test_value_exactly_at_lower_bound (line 2952) | def test_value_exactly_at_lower_bound(self): method test_value_is_within_bounds_and_float (line 2963) | def test_value_is_within_bounds_and_float(self): method test_value_is_above_upper_bound (line 2979) | def test_value_is_above_upper_bound(self): method test_value_is_below_lower_bound (line 2990) | def test_value_is_below_lower_bound(self): method test_value_is_sometimes_without_bounds_sometimes_beyond (line 3001) | def test_value_is_sometimes_without_bounds_sometimes_beyond(self): method test_samples_same_values_for_same_seeds (line 3012) | def test_samples_same_values_for_same_seeds(self): method test_lower_bound_is_none (line 3022) | def test_lower_bound_is_none(self): method test_upper_bound_is_none (line 3034) | def test_upper_bound_is_none(self): method test_both_bounds_are_none (line 3046) | def test_both_bounds_are_none(self): class TestDiscretize (line 3059) | class TestDiscretize(unittest.TestCase): method setUp (line 3060) | def setUp(self): method test___init__ (line 3063) | def test___init__(self): method test_applied_to_deterministic (line 3073) | def test_applied_to_deterministic(self): method test_applied_to_discrete_uniform (line 3093) | def test_applied_to_discrete_uniform(self): method test_applied_to_discrete_uniform_with_wider_range (line 3105) | def test_applied_to_discrete_uniform_with_wider_range(self): method test_round (line 3114) | def test_round(self): method test_samples_same_values_for_same_seeds (line 3128) | def test_samples_same_values_for_same_seeds(self): class TestMultiply (line 3140) | class TestMultiply(unittest.TestCase): method setUp (line 3141) | def setUp(self): method test___init__ (line 3144) | def test___init__(self): method test_multiply_example_integer_values (line 3158) | def test_multiply_example_integer_values(self): method test_multiply_example_integer_values_both_deterministic (line 3174) | def test_multiply_example_integer_values_both_deterministic(self): method test_multiply_example_float_values (line 3190) | def test_multiply_example_float_values(self): method test_multiply_example_float_values_both_deterministic (line 3206) | def test_multiply_example_float_values_both_deterministic(self): method test_multiply_by_stochastic_parameter (line 3222) | def test_multiply_by_stochastic_parameter(self): method test_multiply_by_stochastic_parameter_elementwise (line 3239) | def test_multiply_by_stochastic_parameter_elementwise(self): method test_multiply_stochastic_parameter_by_fixed_value (line 3256) | def test_multiply_stochastic_parameter_by_fixed_value(self): method test_multiply_stochastic_parameter_by_fixed_value_elementwise (line 3272) | def test_multiply_stochastic_parameter_by_fixed_value_elementwise(self): class TestDivide (line 3288) | class TestDivide(unittest.TestCase): method setUp (line 3289) | def setUp(self): method test___init__ (line 3292) | def test___init__(self): method test_divide_integers (line 3305) | def test_divide_integers(self): method test_divide_integers_both_deterministic (line 3325) | def test_divide_integers_both_deterministic(self): method test_divide_floats (line 3345) | def test_divide_floats(self): method test_divide_floats_both_deterministic (line 3369) | def test_divide_floats_both_deterministic(self): method test_divide_by_stochastic_parameter (line 3393) | def test_divide_by_stochastic_parameter(self): method test_divide_by_stochastic_parameter_elementwise (line 3410) | def test_divide_by_stochastic_parameter_elementwise(self): method test_divide_stochastic_parameter_by_float (line 3427) | def test_divide_stochastic_parameter_by_float(self): method test_divide_stochastic_parameter_by_float_elementwise (line 3444) | def test_divide_stochastic_parameter_by_float_elementwise(self): method test_divide_by_stochastic_parameter_that_can_by_zero (line 3462) | def test_divide_by_stochastic_parameter_that_can_by_zero(self): method test_divide_by_zero (line 3473) | def test_divide_by_zero(self): class TestAdd (line 3481) | class TestAdd(unittest.TestCase): method setUp (line 3482) | def setUp(self): method test___init__ (line 3485) | def test___init__(self): method test_add_integers (line 3499) | def test_add_integers(self): method test_add_integers_both_deterministic (line 3516) | def test_add_integers_both_deterministic(self): method test_add_floats (line 3533) | def test_add_floats(self): method test_add_floats_both_deterministic (line 3549) | def test_add_floats_both_deterministic(self): method test_add_stochastic_parameter (line 3565) | def test_add_stochastic_parameter(self): method test_add_stochastic_parameter_elementwise (line 3580) | def test_add_stochastic_parameter_elementwise(self): method test_add_to_stochastic_parameter (line 3595) | def test_add_to_stochastic_parameter(self): method test_add_to_stochastic_parameter_elementwise (line 3610) | def test_add_to_stochastic_parameter_elementwise(self): class TestSubtract (line 3626) | class TestSubtract(unittest.TestCase): method setUp (line 3627) | def setUp(self): method test___init__ (line 3630) | def test___init__(self): method test_subtract_integers (line 3644) | def test_subtract_integers(self): method test_subtract_integers_both_deterministic (line 3661) | def test_subtract_integers_both_deterministic(self): method test_subtract_floats (line 3678) | def test_subtract_floats(self): method test_subtract_floats_both_deterministic (line 3694) | def test_subtract_floats_both_deterministic(self): method test_subtract_stochastic_parameter (line 3710) | def test_subtract_stochastic_parameter(self): method test_subtract_stochastic_parameter_elementwise (line 3727) | def test_subtract_stochastic_parameter_elementwise(self): method test_subtract_from_stochastic_parameter (line 3744) | def test_subtract_from_stochastic_parameter(self): method test_subtract_from_stochastic_parameter_elementwise (line 3759) | def test_subtract_from_stochastic_parameter_elementwise(self): class TestPower (line 3775) | class TestPower(unittest.TestCase): method setUp (line 3776) | def setUp(self): method test___init__ (line 3779) | def test___init__(self): method test_pairs (line 3793) | def test_pairs(self): method test_pairs_both_deterministic (line 3823) | def test_pairs_both_deterministic(self): method test_exponent_is_stochastic_parameter (line 3853) | def test_exponent_is_stochastic_parameter(self): method test_exponent_is_stochastic_parameter_elementwise (line 3870) | def test_exponent_is_stochastic_parameter_elementwise(self): method test_value_is_uniform (line 3887) | def test_value_is_uniform(self): method test_value_is_uniform_elementwise (line 3902) | def test_value_is_uniform_elementwise(self): class TestAbsolute (line 3918) | class TestAbsolute(unittest.TestCase): method setUp (line 3919) | def setUp(self): method test___init__ (line 3922) | def test___init__(self): method test_fixed_values (line 3932) | def test_fixed_values(self): method test_value_is_stochastic_parameter (line 3956) | def test_value_is_stochastic_parameter(self): class TestRandomSign (line 3970) | class TestRandomSign(unittest.TestCase): method setUp (line 3971) | def setUp(self): method test___init__ (line 3974) | def test___init__(self): method test_value_is_deterministic (line 3984) | def test_value_is_deterministic(self): method test_value_is_deterministic_many_samples (line 3995) | def test_value_is_deterministic_many_samples(self): method test_value_is_stochastic_parameter (line 4011) | def test_value_is_stochastic_parameter(self): method test_samples_same_values_for_same_seeds (line 4024) | def test_samples_same_values_for_same_seeds(self): class TestForceSign (line 4041) | class TestForceSign(unittest.TestCase): method setUp (line 4042) | def setUp(self): method test___init__ (line 4045) | def test___init__(self): method test_single_sample_positive (line 4055) | def test_single_sample_positive(self): method test_single_sample_negative (line 4064) | def test_single_sample_negative(self): method test_many_samples_positive (line 4073) | def test_many_samples_positive(self): method test_many_samples_negative (line 4082) | def test_many_samples_negative(self): method test_many_samples_negative_value_to_positive (line 4091) | def test_many_samples_negative_value_to_positive(self): method test_many_samples_negative_value_to_negative (line 4100) | def test_many_samples_negative_value_to_negative(self): method test_many_samples_stochastic_value_to_positive (line 4109) | def test_many_samples_stochastic_value_to_positive(self): method test_many_samples_stochastic_value_to_positive_reroll (line 4122) | def test_many_samples_stochastic_value_to_positive_reroll(self): method test_many_samples_stochastic_value_to_positive_reroll_max_count (line 4135) | def test_many_samples_stochastic_value_to_positive_reroll_max_count(se... method test_samples_same_values_for_same_seeds (line 4147) | def test_samples_same_values_for_same_seeds(self): class TestPositive (line 4162) | class TestPositive(unittest.TestCase): method setUp (line 4163) | def setUp(self): method test_many_samples_reroll (line 4166) | def test_many_samples_reroll(self): class TestNegative (line 4177) | class TestNegative(unittest.TestCase): method setUp (line 4178) | def setUp(self): method test_many_samples_reroll (line 4181) | def test_many_samples_reroll(self): class TestIterativeNoiseAggregator (line 4192) | class TestIterativeNoiseAggregator(unittest.TestCase): method setUp (line 4193) | def setUp(self): method test___init__ (line 4196) | def test___init__(self): method test_value_is_deterministic_max_1_iter (line 4215) | def test_value_is_deterministic_max_1_iter(self): method test_value_is_stochastic_avg_200_iter (line 4228) | def test_value_is_stochastic_avg_200_iter(self): method test_value_is_stochastic_max_100_iter (line 4241) | def test_value_is_stochastic_max_100_iter(self): method test_value_is_stochastic_min_100_iter (line 4254) | def test_value_is_stochastic_min_100_iter(self): method test_value_is_stochastic_avg_or_max_100_iter_evaluate_counts (line 4267) | def test_value_is_stochastic_avg_or_max_100_iter_evaluate_counts(self): method test_value_is_stochastic_avg_tuple_as_iter_evaluate_histograms (line 4292) | def test_value_is_stochastic_avg_tuple_as_iter_evaluate_histograms(self): method test_value_is_stochastic_max_list_as_iter_evaluate_counts (line 4312) | def test_value_is_stochastic_max_list_as_iter_evaluate_counts(self): method test_value_is_stochastic_all_100_iter (line 4333) | def test_value_is_stochastic_all_100_iter(self): method test_value_is_stochastic_max_2_iter (line 4344) | def test_value_is_stochastic_max_2_iter(self): method test_samples_same_values_for_same_seeds (line 4355) | def test_samples_same_values_for_same_seeds(self): method test_stochastic_param_as_aggregation_method (line 4368) | def test_stochastic_param_as_aggregation_method(self): method test_bad_datatype_for_aggregation_method (line 4377) | def test_bad_datatype_for_aggregation_method(self): method test_bad_datatype_for_iterations (line 4385) | def test_bad_datatype_for_iterations(self): class TestSigmoid (line 4395) | class TestSigmoid(unittest.TestCase): method setUp (line 4396) | def setUp(self): method test___init__ (line 4399) | def test___init__(self): method test_activated_is_true (line 4421) | def test_activated_is_true(self): method test_activated_is_false (line 4443) | def test_activated_is_false(self): method test_activated_is_probabilistic (line 4465) | def test_activated_is_probabilistic(self): method test_value_is_stochastic_param (line 4490) | def test_value_is_stochastic_param(self): method test_mul_add_threshold_with_various_fixed_values (line 4515) | def test_mul_add_threshold_with_various_fixed_values(self): method test_samples_same_values_for_same_seeds (line 4558) | def test_samples_same_values_for_same_seeds(self): FILE: test/test_random.py class _Base (line 38) | class _Base(unittest.TestCase): method setUp (line 39) | def setUp(self): class TestConstants (line 43) | class TestConstants(_Base): method test_supports_new_np_rng_style_is_true (line 44) | def test_supports_new_np_rng_style_is_true(self): method test_global_rng (line 47) | def test_global_rng(self): class TestRNG (line 52) | class TestRNG(_Base): method test___init___calls_normalize_mocked (line 54) | def test___init___calls_normalize_mocked(self, mock_norm): method test___init___with_rng (line 58) | def test___init___with_rng(self): method test_state_getter_mocked (line 65) | def test_state_getter_mocked(self, mock_get): method test_state_setter_mocked (line 73) | def test_state_setter_mocked(self, mock_set): method test_set_state__mocked (line 80) | def test_set_state__mocked(self, mock_set): method test_use_state_of__mocked (line 88) | def test_use_state_of__mocked(self, mock_set): method test_is_global__is_global__rng_mocked (line 98) | def test_is_global__is_global__rng_mocked(self, mock_get): method test_is_global_rng__is_not_global__mocked (line 105) | def test_is_global_rng__is_not_global__mocked(self, mock_get): method test_equals_global_rng__is_global__mocked (line 114) | def test_equals_global_rng__is_global__mocked(self, mock_get): method test_equals_global_rng__is_not_global__mocked (line 121) | def test_equals_global_rng__is_not_global__mocked(self, mock_get): method test_generate_seed__mocked (line 128) | def test_generate_seed__mocked(self, mock_gen): method test_generate_seeds__mocked (line 136) | def test_generate_seeds__mocked(self, mock_gen): method test_reset_cache__mocked (line 144) | def test_reset_cache__mocked(self, mock_reset): method test_derive_rng__mocked (line 151) | def test_derive_rng__mocked(self, mock_derive): method test_derive_rngs__mocked (line 160) | def test_derive_rngs__mocked(self, mock_derive): method test_equals_mocked (line 171) | def test_equals_mocked(self, mock_equal): method test_equals_identical_generators (line 179) | def test_equals_identical_generators(self): method test_equals_with_similar_generators (line 184) | def test_equals_with_similar_generators(self): method test_equals_with_different_generators (line 189) | def test_equals_with_different_generators(self): method test_equals_with_advanced_generator (line 194) | def test_equals_with_advanced_generator(self): method test_advance__mocked (line 201) | def test_advance__mocked(self, mock_advance): method test_copy_mocked (line 208) | def test_copy_mocked(self, mock_copy): method test_copy_unless_global_rng__is_global__mocked (line 218) | def test_copy_unless_global_rng__is_global__mocked(self, mock_is_global, method test_copy_unless_global_rng__is_not_global__mocked (line 230) | def test_copy_unless_global_rng__is_not_global__mocked(self, mock_is_g... method test_duplicate (line 240) | def test_duplicate(self): method test_duplicate_two_entries (line 245) | def test_duplicate_two_entries(self): method test_create_fully_random_mocked (line 251) | def test_create_fully_random_mocked(self, mock_create): method test_create_pseudo_random__mocked (line 259) | def test_create_pseudo_random__mocked(self, mock_get): method test_integers_mocked (line 268) | def test_integers_mocked(self, mock_func): method test_random_mocked (line 281) | def test_random_mocked(self, mock_func): method test_choice_mocked (line 295) | def test_choice_mocked(self): method test_bytes_mocked (line 299) | def test_bytes_mocked(self): method test_shuffle_mocked (line 302) | def test_shuffle_mocked(self): method test_permutation_mocked (line 311) | def test_permutation_mocked(self): method test_beta_mocked (line 322) | def test_beta_mocked(self): method test_binomial_mocked (line 325) | def test_binomial_mocked(self): method test_chisquare_mocked (line 328) | def test_chisquare_mocked(self): method test_dirichlet_mocked (line 331) | def test_dirichlet_mocked(self): method test_exponential_mocked (line 334) | def test_exponential_mocked(self): method test_f_mocked (line 337) | def test_f_mocked(self): method test_gamma_mocked (line 340) | def test_gamma_mocked(self): method test_geometric_mocked (line 343) | def test_geometric_mocked(self): method test_gumbel_mocked (line 346) | def test_gumbel_mocked(self): method test_hypergeometric_mocked (line 349) | def test_hypergeometric_mocked(self): method test_laplace_mocked (line 353) | def test_laplace_mocked(self): method test_logistic_mocked (line 356) | def test_logistic_mocked(self): method test_lognormal_mocked (line 359) | def test_lognormal_mocked(self): method test_logseries_mocked (line 362) | def test_logseries_mocked(self): method test_multinomial_mocked (line 365) | def test_multinomial_mocked(self): method test_multivariate_normal_mocked (line 368) | def test_multivariate_normal_mocked(self): method test_negative_binomial_mocked (line 372) | def test_negative_binomial_mocked(self): method test_noncentral_chisquare_mocked (line 375) | def test_noncentral_chisquare_mocked(self): method test_noncentral_f_mocked (line 379) | def test_noncentral_f_mocked(self): method test_normal_mocked (line 383) | def test_normal_mocked(self): method test_pareto_mocked (line 386) | def test_pareto_mocked(self): method test_poisson_mocked (line 389) | def test_poisson_mocked(self): method test_power_mocked (line 392) | def test_power_mocked(self): method test_rayleigh_mocked (line 395) | def test_rayleigh_mocked(self): method test_standard_cauchy_mocked (line 398) | def test_standard_cauchy_mocked(self): method test_standard_exponential_np117_mocked (line 401) | def test_standard_exponential_np117_mocked(self): method test_standard_exponential_np116_mocked (line 420) | def test_standard_exponential_np116_mocked(self): method test_standard_gamma_np117_mocked (line 449) | def test_standard_gamma_np117_mocked(self): method test_standard_gamma_np116_mocked (line 467) | def test_standard_gamma_np116_mocked(self): method test_standard_normal_np117_mocked (line 496) | def test_standard_normal_np117_mocked(self): method test_standard_normal_np116_mocked (line 514) | def test_standard_normal_np116_mocked(self): method test_standard_t_mocked (line 542) | def test_standard_t_mocked(self): method test_triangular_mocked (line 545) | def test_triangular_mocked(self): method test_uniform_mocked (line 549) | def test_uniform_mocked(self): method test_vonmises_mocked (line 552) | def test_vonmises_mocked(self): method test_wald_mocked (line 555) | def test_wald_mocked(self): method test_weibull_mocked (line 558) | def test_weibull_mocked(self): method test_zipf_mocked (line 561) | def test_zipf_mocked(self): method _test_sampling_func (line 565) | def _test_sampling_func(cls, fname, *args, **kwargs): method test_rand_mocked (line 580) | def test_rand_mocked(self): method test_randint_mocked (line 583) | def test_randint_mocked(self): method randn (line 586) | def randn(self): method random_integers (line 589) | def random_integers(self): method random_sample (line 592) | def random_sample(self): method tomaxint (line 595) | def tomaxint(self): method test_rand (line 598) | def test_rand(self): method test_randint (line 607) | def test_randint(self): method test_randn (line 616) | def test_randn(self): method test_random_integers (line 624) | def test_random_integers(self): method test_random_integers__no_high (line 633) | def test_random_integers__no_high(self): method test_random_sample (line 642) | def test_random_sample(self): method test_tomaxint (line 651) | def test_tomaxint(self): method _test_sampling_func_alias (line 659) | def _test_sampling_func_alias(cls, fname_alias, fname_subcall, *args, class Test_supports_new_numpy_rng_style (line 673) | class Test_supports_new_numpy_rng_style(_Base): method test_call (line 674) | def test_call(self): class Test_get_global_rng (line 678) | class Test_get_global_rng(_Base): method test_call (line 679) | def test_call(self): class Test_seed (line 689) | class Test_seed(_Base): method test_mocked_call (line 692) | def test_mocked_call(self, mock_np116, mock_np117): method test_integrationtest (line 702) | def test_integrationtest(self): method test_seed_affects_augmenters_created_after_its_call (line 706) | def test_seed_affects_augmenters_created_after_its_call(self): method test_seed_affects_augmenters_created_before_its_call (line 725) | def test_seed_affects_augmenters_created_before_its_call(self): class Test_normalize_generator (line 745) | class Test_normalize_generator(_Base): method test_mocked_call (line 747) | def test_mocked_call(self, mock_subfunc): class Test_normalize_generator_ (line 759) | class Test_normalize_generator_(_Base): method test_mocked_call (line 762) | def test_mocked_call(self, mock_np116, mock_np117): method test_called_with_none (line 777) | def test_called_with_none(self): method test_called_with_seed_sequence (line 783) | def test_called_with_seed_sequence(self): method test_called_with_bit_generator (line 794) | def test_called_with_bit_generator(self): method test_called_with_generator (line 803) | def test_called_with_generator(self): method test_called_with_random_state (line 812) | def test_called_with_random_state(self): method test_called_int (line 824) | def test_called_int(self): class Test_convert_seed_to_generator (line 833) | class Test_convert_seed_to_generator(_Base): method test_mocked_call (line 836) | def test_mocked_call(self, mock_np116, mock_np117): method test_call (line 851) | def test_call(self): class Test_convert_seed_sequence_to_generator (line 864) | class Test_convert_seed_sequence_to_generator(_Base): method test_call (line 867) | def test_call(self): class Test_create_pseudo_random_generator_ (line 877) | class Test_create_pseudo_random_generator_(_Base): method test_call (line 878) | def test_call(self): class Test_create_fully_random_generator (line 888) | class Test_create_fully_random_generator(_Base): method test_mocked_call (line 891) | def test_mocked_call(self, mock_np116, mock_np117): method test_np117_mocked (line 908) | def test_np117_mocked(self): method test_np116_mocked (line 920) | def test_np116_mocked(self): class Test_generate_seed_ (line 932) | class Test_generate_seed_(_Base): method test_mocked_call (line 934) | def test_mocked_call(self, mock_seeds): class Test_generate_seeds_ (line 942) | class Test_generate_seeds_(_Base): method test_mocked_call (line 944) | def test_mocked_call(self, mock_integers): method test_call (line 952) | def test_call(self): class Test_copy_generator (line 962) | class Test_copy_generator(_Base): method test_mocked_call_with_random_state (line 964) | def test_mocked_call_with_random_state(self, mock_np116): method test_mocked_call_with_generator (line 976) | def test_mocked_call_with_generator(self, mock_np117): method test_call_with_random_state (line 985) | def test_call_with_random_state(self): method test_call_with_generator (line 995) | def test_call_with_generator(self): class Test_copy_generator_unless_global_generator (line 1004) | class Test_copy_generator_unless_global_generator(_Base): method test_mocked_gen_is_global (line 1007) | def test_mocked_gen_is_global(self, mock_copy, mock_get_global_rng): method test_mocked_gen_is_not_global (line 1020) | def test_mocked_gen_is_not_global(self, mock_copy, mock_get_global_rng): class Test_reset_generator_cache_ (line 1033) | class Test_reset_generator_cache_(_Base): method test_mocked_call (line 1036) | def test_mocked_call(self, mock_np116, mock_np117): method test_call_np117 (line 1054) | def test_call_np117(self): method test_call_np116 (line 1071) | def test_call_np116(self): class Test_derive_generator_ (line 1090) | class Test_derive_generator_(_Base): method test_mocked_call (line 1092) | def test_mocked_call(self, mock_derive_gens): method test_integration (line 1101) | def test_integration(self): class Test_derive_generators_ (line 1112) | class Test_derive_generators_(_Base): method test_mocked_call (line 1115) | def test_mocked_call(self, mock_np116, mock_np117): method test_call_np117 (line 1133) | def test_call_np117(self): method test_call_np116 (line 1148) | def test_call_np116(self): class Test_get_generator_state (line 1164) | class Test_get_generator_state(_Base): method test_mocked_call (line 1167) | def test_mocked_call(self, mock_np116, mock_np117): method test_call_np117 (line 1185) | def test_call_np117(self): method test_call_np116 (line 1190) | def test_call_np116(self): class Test_set_generator_state_ (line 1196) | class Test_set_generator_state_(_Base): method test_mocked_call (line 1199) | def test_mocked_call(self, mock_np116, mock_np117): method test_call_np117 (line 1214) | def test_call_np117(self): method test_call_np117_via_samples (line 1229) | def test_call_np117_via_samples(self): method test_call_np116 (line 1247) | def test_call_np116(self): method test_call_np116_via_samples (line 1260) | def test_call_np116_via_samples(self): class Test_is_generator_equal_to (line 1279) | class Test_is_generator_equal_to(_Base): method test_mocked_call (line 1282) | def test_mocked_call(self, mock_np116, mock_np117): method test_generator_is_identical_np117 (line 1300) | def test_generator_is_identical_np117(self): method test_generator_is_identical_np116 (line 1307) | def test_generator_is_identical_np116(self): method test_generator_created_with_same_seed_np117 (line 1316) | def test_generator_created_with_same_seed_np117(self): method test_generator_created_with_same_seed_np116 (line 1324) | def test_generator_created_with_same_seed_np116(self): method test_generator_is_copy_of_itself_np117 (line 1334) | def test_generator_is_copy_of_itself_np117(self): method test_generator_is_copy_of_itself_np116 (line 1342) | def test_generator_is_copy_of_itself_np116(self): method test_generator_created_with_different_seed_np117 (line 1352) | def test_generator_created_with_different_seed_np117(self): method test_generator_created_with_different_seed_np116 (line 1360) | def test_generator_created_with_different_seed_np116(self): method test_generator_modified_to_have_same_state_np117 (line 1370) | def test_generator_modified_to_have_same_state_np117(self): method test_generator_modified_to_have_same_state_np116 (line 1379) | def test_generator_modified_to_have_same_state_np116(self): class Test_advance_generator_ (line 1389) | class Test_advance_generator_(_Base): method test_mocked_call (line 1392) | def test_mocked_call(self, mock_np116, mock_np117): method test_call_np117 (line 1406) | def test_call_np117(self): method test_call_np116 (line 1420) | def test_call_np116(self): method test_samples_different_after_advance_np117 (line 1436) | def test_samples_different_after_advance_np117(self): method test_samples_different_after_advance_np116 (line 1454) | def test_samples_different_after_advance_np116(self): class Test_polyfill_integers (line 1473) | class Test_polyfill_integers(_Base): method test_mocked_standard_call_np116 (line 1474) | def test_mocked_standard_call_np116(self): method test_mocked_standard_call_np117 (line 1490) | def test_mocked_standard_call_np117(self): method test_mocked_call_with_default_values_np116 (line 1506) | def test_mocked_call_with_default_values_np116(self): method test_mocked_call_with_default_values_np117 (line 1521) | def test_mocked_call_with_default_values_np117(self): method test_mocked_call_with_default_values_and_endpoint_np116 (line 1536) | def test_mocked_call_with_default_values_and_endpoint_np116(self): method test_mocked_call_with_low_high_and_endpoint_np116 (line 1549) | def test_mocked_call_with_low_high_and_endpoint_np116(self): method test_sampled_values_np117 (line 1564) | def test_sampled_values_np117(self): method test_sampled_values_with_endpoint_np117 (line 1576) | def test_sampled_values_with_endpoint_np117(self): method test_sampled_values_np116 (line 1586) | def test_sampled_values_np116(self): method test_sampled_values_with_endpoint_np116 (line 1596) | def test_sampled_values_with_endpoint_np116(self): class Test_polyfill_random (line 1607) | class Test_polyfill_random(_Base): method test_mocked_standard_call_np116 (line 1608) | def test_mocked_standard_call_np116(self): method test_mocked_standard_call_np117 (line 1621) | def test_mocked_standard_call_np117(self): method test_mocked_call_with_out_arg_np116 (line 1635) | def test_mocked_call_with_out_arg_np116(self): method test_mocked_call_with_out_arg_np117 (line 1651) | def test_mocked_call_with_out_arg_np117(self): method test_sampled_values_np116 (line 1667) | def test_sampled_values_np116(self): method test_sampled_values_np117 (line 1678) | def test_sampled_values_np117(self): method test_sampled_values_with_out_arg_np116 (line 1687) | def test_sampled_values_with_out_arg_np116(self): method test_sampled_values_with_out_arg_np117 (line 1703) | def test_sampled_values_with_out_arg_np117(self):