cube_pro_seg | R Documentation |
Extracts all possible profiles for a cross-section surface, following a indicative cluster.
cube_pro_seg(cube, dir = "y")
cube |
The hyperspectral cube returned by the function |
dir |
Direction of the profiles. One of "x" or "y". See Details. |
This is a specific function designed to extract and align profiles of sediment disks cross-section images. The image segmentation should result in a single cluster containing the samples. If dir = "y", all columns will be sampled from top to bottom and if dir = "x" all rows will be sampled from left to right. It is important that the image has the proper orientation for the results to be meaningful since the profiles will be aligned at their start position (top for "y" and left for "x"). The objective is to extract depth profiles where depth is relative to the surface at each column (or row, if dir = "x").
A raster stack with the same wavelength as the input data, with profiles aligned at their start position.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.