# Deblending around bright objects

**URL:** <https://www.rubin.community/t/deblending-around-bright-objects/3077>\
**Category:** Data Management\
**Created:** [July 24, 2018, 10:12am UTC](https://www.rubin.community/t/deblending-around-bright-objects/3077 "2018-07-24T10:12:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcoupon](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/jcoupon/32/642_2.png) [@jcoupon](https://www.rubin.community/u/jcoupon)\
**Post date:** [July 24, 2018, 10:12am UTC](https://www.rubin.community/t/deblending-around-bright-objects/3077/1 "2018-07-24T10:12:40Z")

</div>

I think it would be great to have the option to avoid bright objects during the deblending phase. I see in the deblender config the parameter `maskLimits` which prevents a footprint to be deblended if a given fraction of the pixels are masked.

But if my understanding is correct (it might not), it will (as in the case shown), also ignore all the nearby objects that are “connected” to the footprint.

Instead, it would be great to ignore the pixels _inside_ the mask but still deblend objects around (essentially removing the masked pixels from the footprint).

An alternative would be to do it during the detection phase, i.e. ignore pixel within bright object masks, but I don’t whether there’s an option to do that.

 ![44](https://us1.discourse-cdn.com/flex002/uploads/rubin/original/1X/4e200d1ae54dcd0883b30497cab2a3c43483b732.jpg)
