Open
Description
Hi @tpietzsch !
I am currently working on some neighborhood operations code, especially for imagej-ops. I need to access the span of an existing RectangleShape
, but neither Shape nor RectangleShape have a simple way to access it.
I guess you can probably get the span over the bounding box of the neighborhood, but that does not seem very nice.
Ideas:
Common for all shapes is a bounding box. What would you thing of a method to retrieve this bounding box/interval for example?
Another idea could be to have every Shape subclass provide getters for their parameters. Not all shapes have a span, obviously.
If you tell me, how you would want a solution to this to look, I could implement it.
Greeting,
Squareys (Jonathan)
Metadata
Metadata
Assignees
Labels
No labels