draw_KroenerCarbo: Diagnostic plots for the Kroener & Carbo model

View source: R/draw.R

draw_KroenerCarboR Documentation

Diagnostic plots for the Kroener & Carbo model

Description

Implements an algorithm proposed by Kroener and Carbo to detect and delete falsely calculated shape descriptors caused by digitization issues. It is based on a theoretical relationship between circularity/sphericity and elongtaion. This relationship acts like a threshold for meausred pair of shape factor values. If they exceed the threshold, then something went wrong in image processing, for which low pixel resoultion is the most prominent reason. Consequently, such pair of values will be eliminated.

Usage

draw_KroenerCarbo(
  data,
  cisp,
  elon = "Elongation",
  model,
  col = c("black", "black"),
  col_line = "#00BEFF",
  pch = c(20, 4),
  cex = c(1, 1),
  legend = TRUE,
  ...
)

Arguments

data

A data frame that contains the measurement.

cisp

A character string to select the vector that contains circularity or sphericity values.

elon

A character string to select the vector that contains elongation values. Default is "Elongation".

model

Must be either "ce" for the Circularity-Elongation model or "se" for the Sphericity-Elongation model.

col

Here you can enter character values colors as a vector of form c(valid, invalid).

col_line

Here you can change the color of the theoretical curve. Default is lightblue.

pch

Here you can enter numerical values for point symbols as a vector of form c(valid, invalid).

cex

Here you can enter numerical values for point size as a vector of form c(valid, invalid).

legend

Logical. Should legend be drawn (TRUE) or not (FALSE)? Default is TRUE.

...

Other graphical parameters.

Author(s)

Uwe Schnepf

References

Kroener, S., Domenech Carbo, M.T., 2013. Determination of minimum pixel resolution for shape analysis: Proposal of a new data validation method for computerized images. Powder Technol. 245, 297 – 313.


UweSchnepf/MPA documentation built on July 1, 2022, 2:11 a.m.