Cargando…

Introducing Hann windows for reducing edge-effects in patch-based image segmentation

There is a limitation in the size of an image that can be processed using computationally demanding methods such as e.g. Convolutional Neural Networks (CNNs). Furthermore, many networks are designed to work with a pre-determined fixed image size. Some imaging modalities—notably biological and medica...

Descripción completa

Detalles Bibliográficos
Autores principales: Pielawski, Nicolas, Wählby, Carolina
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Public Library of Science 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7067425/
https://www.ncbi.nlm.nih.gov/pubmed/32163435
http://dx.doi.org/10.1371/journal.pone.0229839
_version_ 1783505399669850112
author Pielawski, Nicolas
Wählby, Carolina
author_facet Pielawski, Nicolas
Wählby, Carolina
author_sort Pielawski, Nicolas
collection PubMed
description There is a limitation in the size of an image that can be processed using computationally demanding methods such as e.g. Convolutional Neural Networks (CNNs). Furthermore, many networks are designed to work with a pre-determined fixed image size. Some imaging modalities—notably biological and medical—can result in images up to a few gigapixels in size, meaning that they have to be divided into smaller parts, or patches, for processing. However, when performing pixel classification, this may lead to undesirable artefacts, such as edge effects in the final re-combined image. We introduce windowing methods from signal processing to effectively reduce such edge effects. With the assumption that the central part of an image patch often holds richer contextual information than its sides and corners, we reconstruct the prediction by overlapping patches that are being weighted depending on 2-dimensional windows. We compare the results of simple averaging and four different windows: Hann, Bartlett-Hann, Triangular and a recently proposed window by Cui et al., and show that the cosine-based Hann window achieves the best improvement as measured by the Structural Similarity Index (SSIM). We also apply the Dice score to show that classification errors close to patch edges are reduced. The proposed windowing method can be used together with any CNN model for segmentation without any modification and significantly improves network predictions.
format Online
Article
Text
id pubmed-7067425
institution National Center for Biotechnology Information
language English
publishDate 2020
publisher Public Library of Science
record_format MEDLINE/PubMed
spelling pubmed-70674252020-03-23 Introducing Hann windows for reducing edge-effects in patch-based image segmentation Pielawski, Nicolas Wählby, Carolina PLoS One Research Article There is a limitation in the size of an image that can be processed using computationally demanding methods such as e.g. Convolutional Neural Networks (CNNs). Furthermore, many networks are designed to work with a pre-determined fixed image size. Some imaging modalities—notably biological and medical—can result in images up to a few gigapixels in size, meaning that they have to be divided into smaller parts, or patches, for processing. However, when performing pixel classification, this may lead to undesirable artefacts, such as edge effects in the final re-combined image. We introduce windowing methods from signal processing to effectively reduce such edge effects. With the assumption that the central part of an image patch often holds richer contextual information than its sides and corners, we reconstruct the prediction by overlapping patches that are being weighted depending on 2-dimensional windows. We compare the results of simple averaging and four different windows: Hann, Bartlett-Hann, Triangular and a recently proposed window by Cui et al., and show that the cosine-based Hann window achieves the best improvement as measured by the Structural Similarity Index (SSIM). We also apply the Dice score to show that classification errors close to patch edges are reduced. The proposed windowing method can be used together with any CNN model for segmentation without any modification and significantly improves network predictions. Public Library of Science 2020-03-12 /pmc/articles/PMC7067425/ /pubmed/32163435 http://dx.doi.org/10.1371/journal.pone.0229839 Text en © 2020 Pielawski, Wählby http://creativecommons.org/licenses/by/4.0/ This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
spellingShingle Research Article
Pielawski, Nicolas
Wählby, Carolina
Introducing Hann windows for reducing edge-effects in patch-based image segmentation
title Introducing Hann windows for reducing edge-effects in patch-based image segmentation
title_full Introducing Hann windows for reducing edge-effects in patch-based image segmentation
title_fullStr Introducing Hann windows for reducing edge-effects in patch-based image segmentation
title_full_unstemmed Introducing Hann windows for reducing edge-effects in patch-based image segmentation
title_short Introducing Hann windows for reducing edge-effects in patch-based image segmentation
title_sort introducing hann windows for reducing edge-effects in patch-based image segmentation
topic Research Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7067425/
https://www.ncbi.nlm.nih.gov/pubmed/32163435
http://dx.doi.org/10.1371/journal.pone.0229839
work_keys_str_mv AT pielawskinicolas introducinghannwindowsforreducingedgeeffectsinpatchbasedimagesegmentation
AT wahlbycarolina introducinghannwindowsforreducingedgeeffectsinpatchbasedimagesegmentation