I am new to Fiji and programming. So I got some trouble understanding the ImageJ documentation.
Nevertheless, I am trying to write a macro.
I used the RoiManager to calculate Rois for an image stack and used the getRoisAsArray command to get access to the different Rois. The problem is that I don’t understand how the RoiManager defines the different Rois. The are displayed as an array: [Traced, x=‘int’, y=‘int’, width=‘int’, 'height=‘int’]. If I am right this represents a Rectangle?
But the Rois I can see in the image look more like they consist of many Rectangles. If this assumption would be correct, wouldn’t there have to be an array defining one Roi consisting of many arrays, each displaying the rectangles, which are included in the specific Roi?
I would be very happy if someone could enlighten me.
Thanks in advance,