PHOG_features: Calculate PHOG features

View source: R/pictplot.R

PHOG_featuresR Documentation

Calculate PHOG features

Description

Calculate PHOG features

Usage

PHOG_features(
  im,
  level = 3,
  n.bin = 8,
  is.orientation = TRUE,
  starts.horizontal = TRUE,
  clockwise = FALSE,
  level.weight = c(1, 1, 1)
)

Arguments

im

an image

level

number of PHOG pyramid levels

n.bin

number of orientation/direction bins

is.orientation

TRUE for orientation (0-180 degrees), FALSE for direction (0-360 degrees)

starts.horizontal

if TRUE, the first bin is centered at 0 degree

clockwise

direction of rotation

level.weight

relative weights to each level for calculating self-similarity

Value

a data frame

Examples

PHOG_features(regatta)

tsuda16k/pictplot documentation built on March 1, 2023, 8:44 p.m.