Skip to content

Commit

Permalink
new perlin
Browse files Browse the repository at this point in the history
  • Loading branch information
alexriedel1 committed Dec 5, 2024
1 parent f1a634e commit 07a68ff
Show file tree
Hide file tree
Showing 9 changed files with 295 additions and 309 deletions.
3 changes: 2 additions & 1 deletion src/anomalib/data/transforms/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
# SPDX-License-Identifier: Apache-2.0

from .center_crop import ExportableCenterCrop
from .multi_random_choice import MultiRandomChoice

__all__ = ["ExportableCenterCrop"]
__all__ = ["ExportableCenterCrop", "MultiRandomChoice"]
7 changes: 3 additions & 4 deletions src/anomalib/data/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
# Copyright (C) 2022-2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

from .augmenter import Augmenter
from .boxes import boxes_to_anomaly_maps, boxes_to_masks, masks_to_boxes
from .download import DownloadInfo, download_and_extract
from .generators import random_2d_perlin
from .generators import generate_perlin_noise

from .image import (
generate_output_image_filename,
get_image_filenames,
Expand All @@ -30,7 +30,7 @@
"generate_output_image_filename",
"get_image_filenames",
"get_image_height_and_width",
"random_2d_perlin",
"generate_perlin_noise",
"read_image",
"read_mask",
"read_depth_image",
Expand All @@ -42,7 +42,6 @@
"TestSplitMode",
"LabelName",
"DirType",
"Augmenter",
"masks_to_boxes",
"boxes_to_masks",
"boxes_to_anomaly_maps",
Expand Down
171 changes: 0 additions & 171 deletions src/anomalib/data/utils/augmenter.py

This file was deleted.

4 changes: 2 additions & 2 deletions src/anomalib/data/utils/generators/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
# Copyright (C) 2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

from .perlin import random_2d_perlin
from .perlin import PerlinAnomalyGenerator, generate_perlin_noise

__all__ = ["random_2d_perlin"]
__all__ = ["PerlinAnomalyGenerator", "generate_perlin_noise"]
Loading

0 comments on commit 07a68ff

Please sign in to comment.