Added glcm_img
to allow GLCM statistics to be computed for an entire unsegmented image.
The radiomics
package is no longer maintained, so with permission from the author, Joel Carlson, I’ve integrated the code for computing GLCM statistics into this library
Added:
kootenayOrtho
, an orthographic image of the area covered by kootenayCHM
, kootenayTrees
and kootenayCrowns
New function:
glcm
, for computing textural metrics of a segmented canopy. Thanks to Jean-Romain Roussel for providing code for this function.BACKWARD INCOMPATIBILITY WARNING
Although this can cause backward compatibility issues, I felt it was necessary to rename the following functions:
TreetopFinder
-> vwf
(stands for Variable Window Filter)
SegmentCrowns
-> mcws
(stands for Marker-Controlled Watershed Segmentation)
SpatialStatistics
-> sp_summarise
Reasons for the changes are:
In addition, I’ve made the following changes to vwf
(formerly TreetopFinder
):
maxWinDiameter
argument to 99. Note that this value sets the maximum width in cells of the widest allowable window diameter. As explained in the documentation, this argument is to prevent the function from gobbling up too much memory, and can be disabled by setting to NULL.minWinNeib
argument.TileManager
package. Although I had put considerable effort into adding this feature initially, I’ve realized that A) no one was using it, B) it is preferable for the user to manage tiles him or herself instead of having them managed “under the hood” by the vwf
function. Let me know if you thought this feature was useful and perhaps I can write a vignette suggesting preferable ways to manage a tiled CHM.Modified ‘SegmentCrowns’ function so that it can produce tree crowns in polygon format. The function will also calculate crown area, and filter out crowns that are not associated with a treetop point location.
Changed name of ‘TreeTopSummary’ function to ‘SpatialStatistics’. This reflects its new functionality, which allows crown maps to be inputted as well as treetop locations.