Skip to content

Commit

Permalink
add argument docs to patchify_all
Browse files Browse the repository at this point in the history
  • Loading branch information
rwood-97 committed Dec 19, 2024
1 parent 0ed4fcc commit ee8940d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mapreader/load/images.py
Original file line number Diff line number Diff line change
Expand Up @@ -1235,6 +1235,8 @@ def patchify_all(
Directory to save the patches.
If None, will be set as f"patches_{patch_size}_{method}" (e.g. "patches_100_pixel").
By default None.
skip_blank_patches : bool
If True, any patch that only contains 0 values will be skipped, by default ``False``. Uses PIL.Image().get_bbox().
add_to_parents : bool, optional
If True, patches will be added to the MapImages instance's
``images`` dictionary, by default ``True``.
Expand Down

0 comments on commit ee8940d

Please sign in to comment.