Surface normal orientation #50
Replies: 2 comments 1 reply
-
I'd say forget about the original axis. They have no connection with the desired target coordinate system. If you scan a scroll or other object in another orientation the relationship of the object to the scan's axis is arbitrary. Some user defined landmarks like the scroll core are needed. Until that is thought out and implemented I think the convex proposal would be good to have for the segments that are being produced and used in the vesuvius challenge. If the bounding box is available, the center point of that would also serve as a reference point for the normal (probably worse results, but cheaper to compute). Do the simple thing first, it might turn out to be the right thing after all :). |
Beta Was this translation helpful? Give feedback.
-
Fixed in #48. |
Beta Was this translation helpful? Give feedback.
-
The surface normals for segmented surfaces are determined primarily by the connectedness of the original segmentation. That is, if you draw an initial segmentation from left-to-right, it will have inverse normals of the same segmentation drawn from right-to-left. In essence, the sign of the surface normal is arbitrary geometrically.
It would be good to auto-orient the normals in a consistent manner within the same volume so that things like
vc_layers
operate in consistent orientations with no manual intervention. The proposal in #48 uses the mean of the segmentation point set to determine the sign of the segmentation normals, which is probably good for convex surfaces (i.e. scrolls) but maybe not so good for flat ones (books, codices, etc.) Still, I think we can generalize the concept by allowing similar auto-orientation w.r.t. volume landmarks, like the axes of the bounding box.Beta Was this translation helpful? Give feedback.
All reactions