A Robust and Simple Method for Filling in Masked Data in Astronomical Images

IF 3.3 3区 物理与天体物理 Q2 ASTRONOMY & ASTROPHYSICS
Pieter van Dokkum, Imad Pasha
{"title":"A Robust and Simple Method for Filling in Masked Data in Astronomical Images","authors":"Pieter van Dokkum, Imad Pasha","doi":"10.1088/1538-3873/ad2866","DOIUrl":null,"url":null,"abstract":"Astronomical images often have regions with missing or unwanted information, such as bad pixels, bad columns, cosmic rays, masked objects, or residuals from imperfect model subtractions. In certain situations it can be essential, or preferable, to fill in these regions. Most existing methods use low order interpolations for this task. In this paper a method is described that uses the full information that is contained in the pixels just outside masked regions. These edge pixels are extrapolated inwards, using iterative median filtering. This leads to a smoothly varying spatial resolution within the filled-in regions, and ensures seamless transitions between masked pixels and good pixels. Gaps in continuous, narrow features can be reconstructed with high fidelity, even if they are large. The method is implemented in <monospace>maskfill</monospace>, an open-source MIT licensed Python package (<ext-link ext-link-type=\"uri\" xlink:href=\"https://github.com/dokkum/maskfill\" xlink:type=\"simple\">https://github.com/dokkum/maskfill</ext-link>). Its performance is illustrated with several examples, and compared to several alternative interpolation schemes.","PeriodicalId":20820,"journal":{"name":"Publications of the Astronomical Society of the Pacific","volume":"724 1","pages":""},"PeriodicalIF":3.3000,"publicationDate":"2024-03-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Publications of the Astronomical Society of the Pacific","FirstCategoryId":"101","ListUrlMain":"https://doi.org/10.1088/1538-3873/ad2866","RegionNum":3,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"ASTRONOMY & ASTROPHYSICS","Score":null,"Total":0}
引用次数: 0

Abstract

Astronomical images often have regions with missing or unwanted information, such as bad pixels, bad columns, cosmic rays, masked objects, or residuals from imperfect model subtractions. In certain situations it can be essential, or preferable, to fill in these regions. Most existing methods use low order interpolations for this task. In this paper a method is described that uses the full information that is contained in the pixels just outside masked regions. These edge pixels are extrapolated inwards, using iterative median filtering. This leads to a smoothly varying spatial resolution within the filled-in regions, and ensures seamless transitions between masked pixels and good pixels. Gaps in continuous, narrow features can be reconstructed with high fidelity, even if they are large. The method is implemented in maskfill, an open-source MIT licensed Python package (https://github.com/dokkum/maskfill). Its performance is illustrated with several examples, and compared to several alternative interpolation schemes.
在天文图像中填充遮蔽数据的简便稳健方法
天文图像中经常会有信息缺失或不需要信息的区域,例如坏像素、坏柱、宇宙射线、遮挡物体或不完美的模型减法产生的残差。在某些情况下,对这些区域进行填充可能是必要的或可取的。现有的大多数方法都使用低阶插值来完成这项任务。本文介绍了一种利用遮挡区域外的像素所包含的全部信息的方法。使用迭代中值滤波法向内推断这些边缘像素。这使得填充区域内的空间分辨率变化平滑,并确保屏蔽像素和良好像素之间的无缝过渡。连续、狭窄特征中的间隙即使很大,也能高保真地重建。该方法在 MIT 授权的开源 Python 软件包 maskfill 中实现 (https://github.com/dokkum/maskfill)。我们用几个例子说明了该方法的性能,并将其与其他几种插值方案进行了比较。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Publications of the Astronomical Society of the Pacific
Publications of the Astronomical Society of the Pacific 地学天文-天文与天体物理
CiteScore
6.70
自引率
5.70%
发文量
103
审稿时长
4-8 weeks
期刊介绍: The Publications of the Astronomical Society of the Pacific (PASP), the technical journal of the Astronomical Society of the Pacific (ASP), has been published regularly since 1889, and is an integral part of the ASP''s mission to advance the science of astronomy and disseminate astronomical information. The journal provides an outlet for astronomical results of a scientific nature and serves to keep readers in touch with current astronomical research. It contains refereed research and instrumentation articles, invited and contributed reviews, tutorials, and dissertation summaries.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信