Giter VIP home page Giter VIP logo

Comments (4)

binli123 avatar binli123 commented on August 11, 2024 2

I checked some recent stitching results obtained using this plugin with the Write to disk option via PyImagJ. They do not seem to have this artifact.

Single channel multiphoton:

image

A brighter example:

image

RGB image:

image
The yellow box marks the boundary of a tile.
The same image from the first example stitched with the the Fuse to display option in ImageJ:
image

Overall the transition between boundaries looks quite smooth.

A snippet of the code I used:

    params = {'type': 'Positions from file', 'order': 'Defined by TileConfiguration', 
            'directory':stitch_folder, 'ayout_file': 'TileConfiguration.txt', 
            'fusion_method': 'Linear Blending', 'regression_threshold': '0.30', 
            'max/avg_displacement_threshold':'2.50', 'absolute_displacement_threshold': '3.50', 
            'compute_overlap':False, 'computation_parameters': 'Save computation time (but use more RAM)', 
            'image_output': 'Write to disk', 'output_directory': temp_channel_folder}
    plugin = "Grid/Collection stitching"
    ij.py.run_plugin(plugin, params)

from stitching.

imagejan avatar imagejan commented on August 11, 2024

@schmiedc @ctrueden is this still the case?
People are using image_output=[Write to disk] in various examples, see e.g. https://github.com/uw-loci/automatic-histology-registration-pyimagej/blob/8ad405170ec46dccbdc1c20fbbeb6eaff47b8b76/pseudo_modality.ipynb and imagej/pyimagej#192.

If the outputs of image_output=[Fuse and display] and image_output=[Write to disk] differ, we should warn and recommend using the Fusion.fuse API directly where possible.

from stitching.

ctrueden avatar ctrueden commented on August 11, 2024

@imagejan I'm sorry, I don't know.

@binli123 Heads up: your workflows that use the Grid/Collection stitching's "Write to disk" feature might be writing out suboptimal data, compared to using "Fuse and display" in memory. Would it be easy for you to check this?

from stitching.

ctrueden avatar ctrueden commented on August 11, 2024

Great, thanks @binli123! I will close this then. We can reopen if anyone has a recipe to reproduce with the latest version.

from stitching.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.