image-js / image-js-typescript

Temporary repository to work on the migration of image-js to TypeScript
https://image-js.github.io/image-js-typescript/
MIT License
5 stars 5 forks source link

Implement `smartAlign` #424

Open opatiny opened 9 months ago

opatiny commented 8 months ago

We have the issues that the images can have different sizes in stacks, so we have to be able to align images that don't entirely overlap, which is different from the align function already implemented.

Remark: once we are able to align images that don't overlap entirely, the algorithm should also handle the case where they do overlap. Hence this new algorithm should replace the old align -> see how to entirely remove the old algo?