Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add static utility class for scripting API #59

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

imagejan
Copy link
Member

I've been using this utility class StitchingUtils for a while now, e.g. when I need to stitch multi-series images that are not being read correctly via Bio-Formats, or for images that are loaded into memory already in scripting workflows, to avoid writing new files and relying on a TileConfiguration.txt file.

This adds the following static methods:

  • computeStitching(images, positions, dimensionality, computeOverlap) returning the translation models for each tile,

as well as:

  • fuseTiles(images, models, dimensionality, fusionType) and
  • fuseTiles(images, models, dimensionality) performing the actual fusion (with blending being the default fusion method).

As there seems to be some community interest in having more accessible stitching API (e.g. in the discussion of imagej/pyimagej#35), I thought it might make sense to migrate these utility methods upstream from faim-ij2-visiview-processing into this repository.

@StephanPreibisch, @ctrueden let me know what you think.

@ctrueden ctrueden requested a review from StephanPreibisch May 25, 2020 15:51
@ctrueden
Copy link
Member

I think it would be great to add. @StephanPreibisch OK if we merge it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants