GreatAttractor / imppg

ImPPG (Image Post-Processor)
GNU General Public License v3.0
84 stars 9 forks source link

Save image sequence alignement as setting #22

Open davidedelvento opened 11 months ago

davidedelvento commented 11 months ago

https://github.com/GreatAttractor/imppg#7-image-sequence-alignment says

The output files are saved under names suffixed with _aligned. FITS files are saved as FITS, the remaining formats: as TIFF files.

This is highly undesirable for long sequences. During yesterday's eclipse I have generated 3300 images and they are in NEF (Nikon's RAW image format). I already need to duplicate them to TIFF since ImPPG does not support NEF, having to duplicate them again to do the alignment is a huge pain. It should be very easy to just store an x-y pairs for each image and be done with that only, no? Bonus points if we can find a format that is compatible with other software, e.g. as if it were a pixelshift image which RawTherapee suppors (but not sure if there is a PP3 corresponding field for it, I can't find the PP3 specifications at the moment)

GreatAttractor commented 11 months ago

I already need to duplicate them to TIFF since ImPPG does not support NEF, having to duplicate them again to do the alignment is a huge pain.

Could you clarify what mean by "duplicate them again to do the alignment"? Is it about ImPPG always performing the translation and saving translated images, instead of just generating translation info?

It should be very easy to just store an x-y pairs for each image and be done with that only, no? Bonus points if we can find a format that is compatible with other software

Yes, definitely. I could start with producing a simple CSV output (more precisely, give the user the option to output T-xy info and/or translated images). Please update the issue whenever you have concrete ideas about other formats.

davidedelvento commented 11 months ago
 Could you clarify what mean by "duplicate them again to do the alignment"? Is it about ImPPG always performing the translation and saving translated images, instead of just generating translation info?

Yes that is exactly what I mean.

more precisely, give the user the option to output T-xy info and/or translated images

This is wonderful, it will ease the workflow for large image sequences immensely. Thank you.

I could start with producing a simple CSV output. Please update the issue whenever you have concrete ideas about other formats.

CSV is a good start. For other reasons, I am indeed looking at what other software do and what other formats allow (or not). Since you will be looking at LibRaw as discussed in the other ticket, that is one thing to keep an eye for: if LibRaw allows a format-independent way of saving the T-xy information as part of the RAW sidecars (or at least of the ones that support that).