Page History
...
ROI Type | Functionality | Parameters | Is-a Dependency | Comments |
---|---|---|---|---|
Pixel | single pixel mask | position | ||
Line | pixels along line | position1, position2 | Q: width? | |
Rect | position(T,L), size (W,H), rotation | |||
Ellipse | position(center), size (W,H), rotation | |||
PolygoneClosed Poly-line | position[N-points] | |||
Arche | 3-points like in AMI2 | |||
Q: Circle? | position and radius | |||
Q: Square? | position, size, rotation | |||
Q: Polygone? | ||||
Q: Anything else? |
Behavior
Q: how many handles per ROI - minimal or in each corner?
Q: how to add ROI to image
- select ROI type from GUI - draws default ROI - then move and re-shape it (like in ami2 or Chuck's app) - intuitive but needs more clicks...
- select ROI type from GUI - then click and drag on image - less intuitive but less number of clicks (like in Power point, AutoCAD)
Q: what is the most convenient control behavior?
- mask on/off - shows image with/without ROIs
- in regular case ROIs are shown by boarder lines only
- on mouse click close to ROI boarder line > control points shows-up/disappears for one ROI at a time
- click and drag handle to change ROI position/size/rotation or see a menu of actions
- bottom to convert ROIs to mask
Q: how many handles per ROI - minimal or in each corner?
Q: how to add ROI to image
...
Implementation pattern
- factory for control handles
- factory for ROIs
...
Overview
Content Tools