noah-peeters / ChimpStackr

free, multi-platform focus stacking software
GNU General Public License v3.0
74 stars 8 forks source link

Command line interface #148

Open ivo-bloechliger opened 11 months ago

ivo-bloechliger commented 11 months ago

Dear Noah (presumably) First of all thank you very much for providing the stacking software, I use it to photograph mushrooms. To integrate it to my workflow, I came up with a command line interface to ChimpStackr. It's quite a hack and neither properly decoupled nor integrated with the GUI, but it does the job for me.

It's just a single file. If you think it's useful, feel free to integrate it. If you think it needs more work, let me know what should be done, and I might look into it.

Warm regards Ivo

ivo-bloechliger commented 2 months ago

All output formats that cv2 supports are now supported, and are selected by the file extension of the output file (cv2.imwrite does all the work).

The only thing left (I guess) is optional CUDA support, which I cannot test for the lack of any meaningful graphics card.