Description Usage Arguments Details Value Note Author(s) See Also Examples
NOT CALLED BY USER. The getBounds function is utilized by the automapPts function to compare two tif images for differences
1 2 3 4 | getBounds(channelClr,
tif.fin,
tif.dot,
automap.method="mode")
|
channelClr |
Which color channel to compare: "red", "blue", "green" |
tif.fin |
Path file name to tif image of plots without additional bounding point |
tif.dot |
Path file name to tif image with the given figure's additional bounding points displayed |
automap.method |
Method to detect upper and lower bounds. Current options are "mode" or "median" |
This function is used by the automapPts function to retrieve up.left and low.right pixil coordinates of a figure. getBounds will check a certain channel (red, green, or blue) of two rtiff/pixmap pixmapRGB objects. It creates a logical matrix 0 if equal and 1 if different. This matrix gets passed into the mapMethod function to determine location.
A list with up.left and low.right bounding coordinates in pixils or NA if could not map correctly
NOT CALLED BY USER. INTERNAL HELPER FUNCTION
Lori A.Shepherd, Daniel P. Gaile
makeImap
, rtiff
, pixmap
,
automapPts
, mapMethod
1 | # not called by user
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.