mcr_autoconstrain: Automatic peak detection

Description Usage Arguments Value Examples

View source: R/classify_image.R

Description

This function automatically determines the position of peaks and their half-height-width in brightness density distribution of an image. This is key input information necessary to assign brightness-niveaus to certain (mineral) phases an can be used in mcr_herd_minerals

Usage

1

Arguments

x

an image loaded with mcr_load_image

Value

A tibble containing the positions of peak maxima and half-height-width both to the left and to the right of the peak

Examples

1
2
3
myimage <- mcr_load_image(system.file("extdata", "testim.png", package = "mincountr"))
mcr_autoconstrain(myimage)
 

htcosti/Mincountr documentation built on Nov. 4, 2019, 1:47 p.m.