This becomes limiting if one wants to annotate image segments. To implement this, we currently need to go via the table or have to check whether segment instanceof TableRow and then go via this.
Maybe this could be solved differently, e.g., by adding set and getsegmentFeature methods that could internally link to the corresponding tableRow?
Currently an ImageSegment looks like this:
This becomes limiting if one wants to annotate image segments. To implement this, we currently need to go via the table or have to check whether
segment instanceof TableRow
and then go via this.Maybe this could be solved differently, e.g., by adding
set
andget
segmentFeature
methods that could internally link to the correspondingtableRow
?cc @K-Meech