get_boundaries: Get coordinates of boundaries of fields

Description Usage Arguments Value

View source: R/mines.R

Description

Determines the x and y ranges of each field

Usage

1
get_boundaries(im, eps = 0.1, prob = 0.8)

Arguments

im

- the image from which to determine boundaries (must have exactly one color channel)

eps

- the highest value to treat as black

prob

- the ratio of number of 'black' pixels in a line to the length of the line

Value

An object (list) of class 'bounds' containing 81 elements, each having a $x and $y attributes giving, respectively, the x and y range of the boundaries.


Blaza/ssoftveR documentation built on May 6, 2019, 11:19 a.m.