plot_CrossSections
Plot the default cross sectional contours from a long bone sample.
This fuction takes a structure input argument, EXTRA, which can be the
fourth output argument of the longbone_Geometry
function and plots all
five cross sectional polygon in the a single figure. Unlike the
visualize_CrossSections
function, plot_CrossSections
does not
print a legend with CSG properties for each cross section.
Use this function to swiftly evaluate that a 3D model processed with the
longbone_Geometry
function does not contain any artifacts, which may
lead to degenerate closed polygons representing the computed diaphyseal cross
sections and as a result to incorrect values of CSG properties.
The input argument EXTRA can also be any scalar structure or a
structure array with the following fields, as long as they contain equivalent
values to those returned by longbone_Geometry
.
filename
poly2D_20
poly2D_35
poly2D_50
poly2D_65
poly2D_80
Use the plot_CrossSections
function to visualize the cross sections of
the large collection of long bones from European populations provided by the
csg-dataset
package. When EXTRA is a structure array, then
each element is plotted in consecutive order.
See also: longbone_Geometry, visualize_CrossSections
Source Code: plot_CrossSections