calculate the HOG (Histogram of oriented gradients) for an image
The function is a modification of the 'findHOGFeatures' function of the SimpleCV package [ please consult the COPYRIGHT file ] The function takes either an RGB (it will be converted to gray) or a gray image and returns a vector of the HOG descriptors. The main purpose of the function is to create a vector of features, which can be used in classification tasks.
matrix or 3-dimensional array
the number of divisions ( cells )
number of orientation bins
This function takes either a matrix, a data frame or a 3-dimensional array and returns a vector with the HOG-descriptors (histogram of oriented gradients).
a numeric vector
1 2 3 4 5
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.