calculate_and_visualize_GVI {greenR} | R Documentation |
Calculate and Visualize Green View Index (GVI) from an image
Description
This function reads an image, performs superpixel segmentation (using the SuperpixelImageSegmentation library), calculates the Green View Index (GVI), and returns a list containing the segmented image, the green pixels image, and the calculated GVI.
Usage
calculate_and_visualize_GVI(image_path)
Arguments
image_path |
The path of the image file to be processed. |
Value
A list containing the Green View Index (GVI), the segmented image, and the green pixels image.
Examples
## Not run:
# Example usage with an image located at the specified path
result <- calculate_and_visualize_GVI("/path/to/your/image.png")
## End(Not run)
[Package greenR version 0.0.1.3 Index]