dot-isolating_trace: Isolating Traces

.isolating_traceR Documentation

Isolating Traces

Description

Takes two envelopes and sets all other pixels to 0 (black)

Usage

.isolating_trace(imageMatrix, topEnv, bottomEnv)

Arguments

imageMatrix

The processed Image matrix with import_process_image()

topEnv

Upper envelope for one trace (scaled to your matrix correctly)

bottomEnv

Lower envelope for one trace (scaled to your matrix correctly)

Details

NOTE: topEnv is less then bottomEnv because indexing 0 is at top of image for matrix scaled

Value

matrix of the one trace on black(NOTE: still in origional spot on plot)


Bott-binc/magnetoPackage2020 documentation built on Oct. 12, 2024, 7:49 p.m.