MultiTemplateMatching-Fiji icon indicating copy to clipboard operation
MultiTemplateMatching-Fiji copied to clipboard

ListImage plugin not macro-recordable

Open LauLauThom opened this issue 3 years ago • 1 comments

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");

LauLauThom avatar Nov 24 '21 14:11 LauLauThom

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

imagejan avatar Feb 23 '22 15:02 imagejan