cross.parallel: cross.parallel

View source: R/cross.parallel.R

cross.parallelR Documentation

cross.parallel

Description

Detect pairs of scratches which are parallel and/or that cross each other.

Usage

cross.parallel(big_matrix, image.ico, Type)

Arguments

big_matrix

matrix: a matrix with stored coordinates (4) of the sampled marks (coordinates 1 and 2 for the lenght; coordinates 3 and 4 for the width)

image.ico

Ico.object: class Ico image

Type

character: scars type

Value

numeric: matrix with number of pairs of parallel and/or scratches that cross each other

Author(s)

Antonio Profico, Flavia Strani, Pasquale Raia, Daniel DeMiguel

Examples

## Not run: 
# A. brevirostris case-study
#load sampled scars
data("A_br_sam")
#load working area
data("A_br_war")
class<-autom_class(A_br_sam,A_br_war$image)
criss_cross=cross.parallel(A_br_sam,A_br_war$image,class$Type)
criss_cross
# C. elaphus eostephanoceros case-study
#load sampled scars
data("C_el_sam")
#load working area
data("C_el_war")
class<-autom_class(C_el_sam,C_el_war$image)
criss_cross=cross.parallel(C_el_sam,C_el_war$image,class$Type)
criss_cross

## End(Not run)

MicroWeaR/Micro2 documentation built on July 4, 2023, 12:02 a.m.