/
__coo_families.R
executable file
·126 lines (105 loc) · 1.79 KB
/
__coo_families.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
library(tidyverse)
library(Momocs)
cool <- apropos("coo_")
eval_f <- function(x) paste0(x, "(bot[1])") %>% parse(text = .) %>% eval %>% class
safe_eval_f <- safely(eval_f)
cool_classes <- map(cool, safe_eval_f) %>% map_chr("result")
names(cool_classes) <- cool
# coo_geometry
coo_align
coo_aligncalliper
coo_alignminradius
coo_alignxax
coo_baseline
coo_bookstein
coo_center
coo_centre # alias
coo_close
coo_down
coo_dxy # a way to set the 1st point on 0 0
coo_extract
coo_flipx
coo_flipy
coo_force2close # a bit rough
coo_interpolate
coo_jitter
coo_left
coo_rev
coo_right
coo_rotate
coo_rotatecenter
coo_sample
coo_sample_prop
coo_samplerr
coo_scale
coo_scalex
coo_scaley
coo_shearx
coo_sheary
coo_slice
coo_slide
coo_slidedirection
coo_slidegap
coo_smooth
coo_smoothcurve
coo_template_relatively # perhaps in coo_template?
coo_trim # combine with an "top, bottom, both" arg?
coo_trimbottom
coo_trimtop
coo_unclose
coo_untiltx
coo_up
# coo_descriptors scalar
coo_area
coo_calliper
coo_centsize
coo_circularity
coo_circularityharalick
coo_circularitynorm
coo_convexity
coo_eccentricityboundingbox
coo_eccentricityeigen
coo_elongation
coo_length
coo_perim
coo_rectangularity
coo_rectilinearity
coo_solidity
coo_width
# coo_descriptors along
coo_centdist
coo_perimcum
coo_perimpts
# coo_descriptors non-scalars
coo_boundingbox
coo_centpos # should be a df?
coo_chull
coo_chull_onion
coo_diffrange # coo_range_diff
coo_lw
coo_truss
coo_range
coo_range_enlarge
# coo_drawers
coo_arrows
coo_draw
coo_draw_rads
coo_listpanel
coo_lolli
coo_oscillo # deprecate for a proper oscillo
coo_plot
coo_ruban
# coo_others
coo_angle_edges
coo_angle_tangent
coo_intersect_angle
coo_intersect_direction
coo_intersect_segment
# coo_testers
coo_is_closed
coo_likely_anticlockwise
coo_likely_clockwise
# helpers
coo_check
coo_nb
coo_ldk