Title vs ID in ImageJ macros

Hello,
I was wondering, what are the advantages of using IDs over tiles or titles over IDs for the selection of images in FIJI macros?

getImageID()
getTitle()

I personally prefer IDs but I curious to learn about other peoples preferences and opinions.

Thank you

1 Like

I think IDs are unique, titles maybe not. However, if a script outputs an ID, I don’t know which window it refers to. So for debugging it’s inconvenient. That’s why I prefer working with titles…

2 Likes

Hi
Personally I like to follow the advice given by Herbie on this theme:

Greetings

1 Like