readlif icon indicating copy to clipboard operation
readlif copied to clipboard

[Bug/Docu]Image Info is not attribute

Open phigjm opened this issue 1 year ago • 1 comments

I try to access the Series Name of the images.

I can view the Series name via ImageJ ImageJ example

The documentation recommends this code:

for image in new.get_iter_image():
    for frame in image.get_iter_t():
         frame.image_info['name']

Running the code results into a AttributeError: 'Image' object has no attribute 'image_info'

How can I access the name of my Image Series?

phigjm avatar Jan 09 '24 21:01 phigjm

Sorry I just found a solution: The series name can be accessed via: image.info['name']

I'm not sure if you want to update the doc or if this is relevant for anybody else.
If not we can close this issue.

phigjm avatar Jan 09 '24 22:01 phigjm