Discussion:
Get Data from ROI
pyspy
2012-07-29 21:54:28 UTC
Permalink
HI,

i am trying to get acces to the Imagedata of an ROI Item. I tried to pass
an ImageItem to get_image_data (in guiqwt.cross_section which calls
get_image_from_plot in guiqwt.image). In the latter function it is coded:
items = plot.get_items(item_type=ICSImageItemType)

Therefore my attempt results in an AttributeError: "'ImageItem' object has
no attribute 'get_items'". This makes sens as there is no .get_items for an
ImageItem, yet ImageItem.types() includes ICSImageItemType.

Can someone help me out here? Thanks.

Loading...