-
Notifications
You must be signed in to change notification settings - Fork 198
Description
Startrails work for most people, but some people struggle getting trailed stars. The startrails documentation along with the allsky-config get_brightness_info command help users determine what Brightness Threshold to use, but some people still struggle.
This Issue is a catch-all for ways to improve startrails generation and make it even easier to find the right settings to use.
See this Discussion for many more posts on this topic.
-
1. Add an option in the WebUI to only look at nighttime images. This would use the capability in # 2 below to create a list of nighttime-only images. The default should probably be "Yes", although in general I don't like adding things that "break" existing functionality, which this could do if a user's startrails used some daytime images due to their Angle, Latitude, and Longitude. I think this is not very likely though. A correctly-set
Brightness Thresholdshould eliminate daytime image, but only looking at night images will make processing go faster (possibly twice as fast). Accepting a list of images would also make it easy to implement things like a user-specified start and stop time for image to process. -
2. Add an option to pass a list of images to process to the
startrailscommand, rather than process all images for a 24-hour period. This would also allow using images from multiple nights or directories. The images in the list would default to a specified directory unless the image name began with/in which case it would signify a full pathname to the image. -
3. Add
allsky-config compare_startrailsto create a list of 50 or so nighttime images, then call thestartrailscommand with a bunch of different Brightness Thresholds using that image list, so a bunch of different startrails are created for the user to look at and compare. It could even let the user know which setting resulted in the most images being used. This would automate what the startrails documentation tells the user to do manually.
A WebUI "helper" page would have a form where the user would enter the desired test settings. Submitting the form would create the startrails and display a link to view them. -
4. When created at end of night, if no images were used, i.e., none were below the threshold, the
startrailscommand should exit with code EXIT_PARTIAL_OK which results in a System Message in the WebUI suggesting the user runallsky-config compare_startrails(or go to the web page described in # 3 above). This would make it easy for users to know what happened, and if we're lucky, reduce the number of "Startrails don't work" posts here and in Facebook (which almost all have the same, canned answer...). -
5. UPDATE: this probably isn't needed if the "mean brightness" generated while capturing the image is passed to the
startrailscommand, since the brightness determined by thestartrailscommand when using a mask should be the same as the "mean brightness".
Add an option to the WebUI for the user to specify an optional mask thestartrailscommand would use when determining the average brightness of an image, and hence whether or not to include the image in the startrails. Currently the whole image is used in calculating the average brightness, which means the brightness of buildings, trees, black borders, and other non-sky objects are included. This in itself probably isn't that bad, but it means the average brightness of an image can't be compared to theTarget Meansetting, which uses only the central portion of an image (which is likely to be only sky).
A future Allsky release will allow users to specify a mask that the auto-exposure algorithm would use when determining mean brightness, and that same mask could be used by thestartrailscommand, thereby allowing theBrightness Thresholdto be compared to theTarget Mean. -
6. For each startrails created at the end of night, save the data it produces (Minimum, Maximum, number of images used, etc.). This would allow looking for trends (what impact does the Moon have on the numbers?) and would allow creating a video of all startrails using daily startrails images that have trailed stars. The
allsky-config get_startrails_infocommand could use that list to determine better average numbers - it currently only looks in /var/log/allsky.log` which may only contain a few entries (and for the first day after an Allsky upgrade it won't contain any). -
7. UPDATE: this isn't needed when # 8 below is implemented, since the database entries will have the fields listed in this item.
When called from endOfNight.sh, have thestartrailscommand save information about every image it looks at, including the mean brightness and brightness threshold. It would save the info to a file in the same directory as the startrails file, i.e.,~/allsky/image/DATA/startrails, rather than in the database to keep it from getting too big. This would be handled in thegenerateForDay.shscript. -
8. Information on every image taken should be saved in the new database. This includes exposure time, DAY / NIGHT flag, mean brightness, and other info. Every module like Star Count that creates per-image data should update the image's database entry. When determining which images to include in a startrails, the database would be queried for all images that meet certain criteria. That list would then be given to the
startrailscommand per number 2 above.