Giter Site home page Giter Site logo

Comments (1)

m-albert avatar m-albert commented on August 27, 2024

Hi @max-brambach,

as discussed elsewhere, this section of the configuration in the template script can be used to specify how to treat the illuminations and views.

# list of pairwise view indices to perform registration on
# registration_pairs = [[0,1]]
registration_pairs = None
registration_pairss = [registration_pairs] *len(filepaths)
# optionally, specify the meanings of indices
# occuring in the list of pairs
# this can be used to fuse illuminations independently
# to do so, use view_dict, which is a dictionary containing
# the indices as keys and dictionaries as items, such as:
# >>> view_dict[0] = {'view': 0 # view 0 within the file
# 'ill' : 1 # illumination 1 within that view
# }
# another example:
# >>> view_dict[0] = {'view': 0 # view 0 within the file
# 'ill' : None # like this, both ills of this view are fused
# }
# observation: - illumination 0 comes from left
# - illumination 1 comes from right
# - rotating in positive direction (in angles)
# brings left to the front
# so it makes sense to register like this: (view, ill)
# (0,1),(0,0)
# (0,0),(1,1)
# (1,1),(1,0)
# (1,0),(2,1)
# etc.
# four view example:
# view_dict = {i:{'view':i,'ill':None} for i in [0,1,4,6,7]}
# if ills of all views should be averaged, set view_dict to None:
view_dict = None

In my experience, treating illuminations as separate views only slightly improves the image quality of the output, and fusing them into single views (i.e. without specifying view_dict or 'ill' = None) before multi-view fusion is much more performant when dealing with many views.

from mvregfus.

Related Issues (8)

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.