-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
img before objects in order, start adding doc page
- Loading branch information
1 parent
5bc499f
commit 31616ca
Showing
2 changed files
with
27 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
## Analyze Stem Objects | ||
|
||
Primary, or stem, objects identified during workflows that examine the [mmorphology](morphology_tutorial.md) of | ||
plants or plant organs can have specific characteristics measured about the stem segments of a skeleton. These measurement | ||
|
||
**plantcv.morphology.analyze_stem**(*img, obj, mask*) | ||
|
||
**returns** analysis_image | ||
|
||
- **Parameters:** | ||
- img - RGB or grayscale image data for plotting. | ||
- obj - Single or grouped contour object. | ||
- mask - Binary image to use as mask for moments analysis. | ||
- **Context:** | ||
- Used to output shape characteristics of an image, including height, object area, convex hull, convex hull area, | ||
perimeter, extent x, extent y, longest axis, centroid x coordinate, centroid y coordinate, in bounds QC (if object | ||
touches edge of image, image is flagged). | ||
- **Example use:** | ||
- [Use In VIS Tutorial](vis_tutorial.md) | ||
|
||
|
||
- **Output data stored:** Data ('stem_angle', 'stem_height', and 'stem_length') | ||
automatically gets stored to the [`Outputs` class](outputs.md) when this function is ran. | ||
These data can always get accessed during a workflow. For more detail about data output see [Summary of Output Observations](output_measurements.md#summary-of-output-observations) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters