tischi / fiji-plugin-imageRegistration

Plugin for registration of 5D image data.
3 stars 0 forks source link

Not functioning as intended for example experimental data #8

Closed 7rebor closed 6 years ago

7rebor commented 6 years ago

Example data here.

This data has five dimensions, the channels were acquired simultaneously, so don't need any intra-transformations applied. XYZ dimensions differ inter-stack as they were re-assigned at each timepoint (i.e. drift of sample, but also user-defined limits were changed). Time intervals are not consistent (i.e. 1 day, 4 hours then 1 hour x 4), and fluorescence varies over time (not bleaching). Lastly, stack sizes were matched by buffering with blank slices at the end of the stack.

Unfortunately trying to register xyz along time sequence does not improve registration (if anything it is made worse in X, Y and Z).

Could you take a look at the data and see if you can produce a better alignment than the raw data? Maybe I am not using the parameters to their full potential

7rebor commented 6 years ago

I got the plugin working beautifully with my experimental data now

tischi commented 6 years ago

@7rebor

ah, cool! interesting! I just tried it with your data and did not get it too work :-) I wanted to say that it is due to local deformations (not only shift) and thus the algorithm could not find a match.

which settings did you use for this data set? would you mind sending me a screenshot of the successful settings?

7rebor commented 6 years ago

I used thresholding between 33000, 37000 (the image has odd grayscale values, I have tried to replicate the way I made the stack, but can't find out how...), with 1,1,1 pixel subsampling and using channel 0 as the reference. XY and Z dimensions were registered across time.

I have since removed that file to update it with an updated version with the correct grayscale values (not that it should matter) and also in the correct time sequence as I noticed the stacks hadn't been concatenated in the correct way.

Also, here is an example of what I can currently achieve with an IJ1 macro and a combination of StackReg/MultiStackReg, I use this as my target.

tischi commented 6 years ago

Yes, I noticed the grayscale issue as well. This is due to signed/unsigned 16 bit issues. Great you got it working! Are you 100% happy or is the "IJ1 macro and a combination of StackReg/MultiStackReg" still offering you some advantages?

7rebor commented 6 years ago

I think the ND registration tool works better than my long method - as far as I can see it provides everything I would want