Description Usage Arguments Details Value Note Author(s) See Also Examples
NOT CALLED BY USER. The mapMethod is utilized by the getBound function to find the up.left and low.right pixil coordinates of a given figures plotting bounding box
1 2 | mapMethod(automap.method,
temp)
|
automap.method |
Method to detect upper and lower bounds. Current options are "mode" or "median" |
temp |
binary matrix indicating where tif images differ, output from getBounds |
The mapMethod function takes output generated from the
getBounds
function. This output is a comparison of two
pixmapRGB objects as a logical matrix, 0 if equal and 1 if
different. The map method finds the areas of difference, calculating
the upper left and lower right figure boundaries. These boundaries are
used in converting R plot coordinates to pixil coordinates.
The boundary regions currently can be calculated by two techniques
"mode" or "median".
Median will take the central location of the regions found.
Mode will take the median of the longest row and column to find the location
of each region.
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
, automapPts
, getBounds
1 | # not called by user
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.