interactive_objectDetection {biopixR}R Documentation

Interactive object detection

Description

This function uses the objectDetection function to visualize the detected objects at varying input parameters.

Usage

interactive_objectDetection(img, resolution = 0.1, return_param = FALSE)

Arguments

img

image (import by importImage)

resolution

resolution of slider

return_param

if TRUE the final parameter values for alpha and sigma are printed to the console (TRUE | FALSE)

Details

The function provides a graphical user interface (GUI) that allows users to interactively adjust the parameters for object detection:

The GUI also includes a button to switch between two detection methods:

Value

Values of alpha, sigma and the applied method.

References

https://CRAN.R-project.org/package=magickGUI

Examples


if (interactive()) {
  interactive_objectDetection(beads)
  }


[Package biopixR version 1.1.0 Index]