multi-template-matching / MultiTemplateMatching-Fiji

Fiji plugin for object(s) detection using template(s) matching
https://multi-template-matching.github.io/Multi-Template-Matching/
GNU General Public License v3.0
35 stars 7 forks source link

ListImage plugin not macro-recordable #9

Open LauLauThom opened 2 years ago

LauLauThom commented 2 years ago

The multi-file input is not correctly recorded, it returns the File object identifier. run("Template Matching ListImage", "template_files=[Ljava.io.File;@6b113364 image_files=[Ljava.io.File;@2db91c40 flipv=false fliph=false method=[Normalised 0-mean cross-correlation] n_hit=4 score_threshold=0.4 max_overlap=0.8000001 show_images=true add_roi=true show_table=true");

imagejan commented 2 years ago

This is an issue with the macro recording in general, as File[] inputs are currently just recorded with their toString method, which for arrays returns the object identifier.

I see you opened https://github.com/imagej/imagej-legacy/issues/200 for this already.

Also related: https://github.com/scijava/scijava-common/issues/118