Skip to contents

Main Utility - central processing

central processing functions

load_image()
load image as HSV or RGB-array
extract_pixels_HSV()
Extract pixels from image which fall inbetween lower- and upper bounds.
rectangularRange_HSV()
find pixels with color-values lying between upper_bound and lower_bound
rectangularRange_HSV_cpp()
'C++'-implementation of rectangularRange_HSV()
rectangularRange_HSV_iteronce_cpp()
optimised 'C++'-implementation of rectangularRange_HSV()

Conversion & Modification

modification or conversion of objects

Evaluation

analysing results

adjacency()
add 4D-adjacency-grouping to pixel.idx-object
diagonal_adjacency()
add 8D-adjacency-grouping to pixel.idx-object
retrieve_adjacency_coords()
return coordinates by cluster_id from pixel.idx
convert_pixels_to_area()
convert pixel counts to an area based on the known area of an identifier-dot.
validate_mask_edges()
Check for a given mask pixel.idx-object if its edges are clean

Display

display image-arrays

get_indicator_image()
wrapper around change_pixel_color_HVS() for the intention of clarity.
plot_indicator_image()
Plot indicator-image for a given spectrum
plot_array_as_image_sRGB()
plot an rgb-array via graphics-package

Internals

Internal functions and helpers

norm_to_range_01()
normalise a vector to range 0-1
limit_to_range()
replace values outside of boundaries with respective boundary
get_unique_list_elements()
compare two lists and return all keys that are not present in both.
reassign_integers_by_frequency()
takes a cluster-range of integers and reassigns them based on their frequency
remove_key_from_list()
remove keys from a list by name
objs()
wrapper around object.size()
.main_args()
pseudo-function to define default parameter documentation

Loading and Attaching

functions related to loading and/or attaching this package

.onAttach()
Title
.onLoad()
onLoad-routine: Initialises package configuration
.onUnLoad()
onUnLoad-routine: Tears down package configuration