Keep CurvedLaneRoi as a property
The following discussion from !163 (merged) should be addressed:
-
@markovendelin started a discussion: (+1 comment) It seems to me that the
node_offset
was made to work by :- after each change, curvedlaneregion is serialized with offset taken into account
- on every time someone wants to access it, it is deserialized
I think it is rather large overhead to constantly write object into string and then load from there. Instead, I suggest to keep CurvedLaneRegion as GelImageLane property and deal with its initialization only when needed. Although, that would require fix of offset handling. As for serialization, that would have to be done on every change.