Re: Stacking centered on comet nucleus
Posted: Sat Jan 28, 2023 2:11 pm
Hi Jean-Francois,
yes, the tuning is quite important here. To detect the comet, SharpCap needs to separate the image into three parts
1) Background
2) Stars
3) Comet
We need to get rid of the first two and be left with only the comet - once that is done the position can be calculated based on the center of brightness.
Stars are eliminated using a median blur on a copy of the image - you need to pick a size (in pixels) that is significantly bigger than the biggest stars, but significantly smaller than the brighter parts of the comet.
After the stars are removed, SharpCap calculates 100% - (Detection Threshold value) and finds the brightness level corresponding to that centile of the image histogram - that level is the comet detection threshold. Pixels below the threshold are set to black, pixels brighter than the threshold have the threshold subtracted from them. This should leave a frame where everthing is black except for the area around the comet nucleus.
The best bet for setting up is to turn on live stacking, select 'Highlight Stars' and then select 'View : Individual Frames' rather than 'View : Stack' - that way you see the calculated comet position for each frame as you adjust the values.
cheers,
Robin
yes, the tuning is quite important here. To detect the comet, SharpCap needs to separate the image into three parts
1) Background
2) Stars
3) Comet
We need to get rid of the first two and be left with only the comet - once that is done the position can be calculated based on the center of brightness.
Stars are eliminated using a median blur on a copy of the image - you need to pick a size (in pixels) that is significantly bigger than the biggest stars, but significantly smaller than the brighter parts of the comet.
After the stars are removed, SharpCap calculates 100% - (Detection Threshold value) and finds the brightness level corresponding to that centile of the image histogram - that level is the comet detection threshold. Pixels below the threshold are set to black, pixels brighter than the threshold have the threshold subtracted from them. This should leave a frame where everthing is black except for the area around the comet nucleus.
The best bet for setting up is to turn on live stacking, select 'Highlight Stars' and then select 'View : Individual Frames' rather than 'View : Stack' - that way you see the calculated comet position for each frame as you adjust the values.
cheers,
Robin