focus-stack
focus-stack copied to clipboard
Request: add --no-align / what algorithm is used for alignment?
Hi, would it be possible to add a way to use no alignment to use other alignment algorithms. e.g. as parameter --no-align
Also, could you please tell me which alignment algorithm you use. And possibly add this information to the documentation for others.
As mentioned in https://github.com/PetteriAimonen/focus-stack#algorithms-used and https://github.com/PetteriAimonen/focus-stack/blob/master/docs/Algorithms.md, the algorithm used is OpenCV findTransformECC.
So far I have not seen cases where the alignment wouldn't work fairly well. If you have such test cases, please post them somewhere.
Ah sorry, I must have overlooked it.
So the parameter would be to test other alignment algorithms. I would like to test whether these bring better results.
Any such testing is better done by editing the source code. If some algorithm consistently produces better results, only then is there point considering replacement or option.
An option --no-align
is useful if one has already aligned images and want to compare the stacking results of different stacking tools.
It is also useful if one provides a frontend where aligning and stacking are done in different steps and the frontend provides different alignment or stacking tools by choice. (This will be the case in my project once I continue to develop it.)
Oh well. Not something I'm interested in adding, but I don't oppose a pull request.