These are chat archives for thunder-project/thunder
data = thunder.images.fromtif(...), see the documentation so that your data loads correctly. Once you have that you would need a reference image, maybe a
reference = data.mean().toarray()to start with. Then
from registration import CrossCorr algorithm = CrossCorr() model = algorithm.fit(data, reference) shifts = model. transformations registered = model.transform(data)
tobinary(...)). But the output of the
thunder.imagesobject so you can pass it to NMF.