fiji / register_virtual_stack_slices

Fiji package for registering and transforming arbitrarily large sequences of images
https://imagej.net/Register_Virtual_Stack_Slices
GNU General Public License v3.0
18 stars 12 forks source link

Record macro does not capture it #10

Open FerdinandoPucci opened 3 years ago

FerdinandoPucci commented 3 years ago

Hi,

Thank you for developing this, it works great! Unfortunately when trying to implement it in IJ macros using record macro, the recorder does not capture anything. Fixing this or adding a clear documentation of how to use it in IJ macro language would be very appreciated!

Best

FerdinandoPucci commented 3 years ago

Somehow (latest update?) I found the recorder to show the following:run("Register Virtual Stack Slices", "source=[Y:/mIHC/SLN mIHC-Cohort 1/61-P16 pos/Registered_Regions/ROI01/] output=[Y:/mIHC/SLN mIHC-Cohort 1/61-P16 pos/Registered_Regions_RVSS/ROI01/] feature=Similarity registration=[Similarity -- translate + rotate + isotropic scale] advanced initial_gaussian_blur=1.60 steps_per_scale_octave=3 minimum_image_size=64 maximum_image_size=1024000 feature_descriptor_size=8 feature_descriptor_orientation_bins=8 closest/next_closest_ratio=0.92 maximal_alignment_error=25 inlier_ratio=0.05 feature_extraction_model=Similarity registration_model=[Similarity -- translate + rotate + isotropic scale] interpolate");

However, the macro call still cannot pass the reference image filename, which needs to be manually selected from the popup window that appears when running the macro (even in batch mode).

Thank you for making RVSS more macro friendly!

FerdinandoPucci commented 3 years ago

@iarganda please check Mendel fork: https://github.com/rmd13/register_virtual_stack_slices/releases/download/3.0.7.2/register_virtual_stack_slices-3.0.7-recompile.jar It works in passing the ref img to the macro call, however, the overall plugin does not work in the latest fiji version. Thank you!