Skip to content

Performing detection and instance segmentation of galaxies in images of overlapping galaxy pairs

Notifications You must be signed in to change notification settings

sowmyakth/galaxy_separation_mrcnn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Separating overlapping galaxies with Mask R-CNN

Most observed astronomical objects have some overlap with neighboring objects. However, scientific measurements require isolated galaxy images. We explore the application Mask Region-based CNN (Mask R-CNN) to separate images of overlapping astronomical bodies ("deblending").

This repository is a part of a research project in progress. This code uses the Python 3, Keras, and TensorFlow implementation of Mask R-CNN to perform instance segmentation on images of overlapping galaxy pairs. The out-of-the-box implementation of MRCNN is optimized for performing images on the MS COCO Dataset.

Our dataset image size is 120x120 , much smaller than the 800x800 for training the MS COCO dataset. Thus the RPN anchor sizes were reduced in proportion in order to be able to detect features with scales desired here.

Training Data

The network was trained on simulated overlapping galaxy images with varying degrees of overlap. The galaxies were simulated using WeakLensingDeblending Package as sersic bulge + disk profiles. Segmentation maps are regions with pixel values above a threshold value for each galaxy.

The trained network is able to detect individual galaxies in the overlapping pair images along with producing a segmentation mask and bounding box. An example is shown below: image of overlapping galaxies input to network with the true segmentation mask and bounding box(left) and the network predictions (right).

Ongoing Work

  • Make network accept images with variable number of color channels (1-6).
  • Modify network to output images of each galaxy.
  • Train on more complicated overlaps: Increase number of objects & types of objects.
  • Modify network for astronomical images: varying background noise, varying distortion (PSF) across images and color channels.

About

Performing detection and instance segmentation of galaxies in images of overlapping galaxy pairs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages