pathology/transformation_pipeline/default_config.yaml (1 lines of code) (raw):
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
# Downsamples to generate are determined by computing pixel spacing of source imaging.
# Downsample list used is largest pixel spacing which is smaller than pixel spacing of
# imaging or the smallest pixel spacing if imaging has pixel spacing smaller than what is
# defined.
#
# dict key: value = (pixel spacing (mm/pixel)) : [list of downsamples to gen from source image]
#
# for reference for 40x = 0.00025 mm/pixel
#
# Note: This yaml defines only one downsampling list so it will match all images.
#
0.0001 : [1, 4, 16, 64]