Skip to content

Commit 260de09

Browse files
authored
Merge pull request #41 from swarm-lab/develop
Merge develop branch with master branch in preparation for v0.6.0 release.
2 parents d1e7609 + 7014ea1 commit 260de09

File tree

293 files changed

+12843
-2538
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

293 files changed

+12843
-2538
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ on:
55
branches:
66
- main
77
- master
8+
- develop
89
pull_request:
910
branches:
1011
- main
1112
- master
13+
- develop
1214

1315
name: R-CMD-check
1416

DESCRIPTION

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: Rvision
22
Type: Package
3-
Title: Computer vision library for R
4-
Version: 0.5.0
5-
Date: 2021-02-19
3+
Title: Computer Vision Library for R
4+
Version: 0.6.0
5+
Date: 2021-03-21
66
Authors@R: c(
77
person("Simon", "Garnier", email = "garnier@njit.edu", role = c("aut", "cre"),
88
comment = c(ORCID = "0000-0002-3886-3974")),
@@ -18,14 +18,14 @@ Depends:
1818
R (>= 3.5.0)
1919
Imports:
2020
Rcpp (>= 1.0.1),
21-
ROpenCVLite (>= 4.50.0),
21+
ROpenCVLite (>= 4.51.0),
2222
methods,
2323
pbapply,
2424
stats,
2525
graphics
2626
LinkingTo: Rcpp, RcppArmadillo
2727
SystemRequirements: C++11
28-
RcppModules: class_Image, class_Video, class_Stream, class_VideoWriter,
28+
RcppModules: class_Image, class_Capture, class_VideoWriter,
2929
methods_Arithmetic, methods_Statistics, methods_Comparisons, methods_Logical,
3030
methods_OpticalFlow, methods_Blob, methods_Morphology, methods_Filters,
3131
methods_Display, methods_Draw, methods_Geometry, methods_Shape, methods_Transform,

NAMESPACE

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,29 @@ S3method(as.matrix,Rcpp_Image)
77
S3method(codec,Rcpp_Video)
88
S3method(codec,Rcpp_VideoWriter)
99
S3method(dim,Rcpp_Image)
10+
S3method(dim,Rcpp_Queue)
1011
S3method(dim,Rcpp_Stream)
1112
S3method(dim,Rcpp_Video)
1213
S3method(dim,Rcpp_VideoWriter)
1314
S3method(fps,Rcpp_Video)
1415
S3method(fps,Rcpp_VideoWriter)
16+
S3method(frame,Rcpp_Queue)
17+
S3method(frame,Rcpp_Video)
1518
S3method(getProp,Rcpp_Stream)
1619
S3method(getProp,Rcpp_Video)
1720
S3method(getProp,Rcpp_VideoWriter)
21+
S3method(length,Rcpp_Queue)
1822
S3method(max,Rcpp_Image)
1923
S3method(mean,Rcpp_Image)
2024
S3method(mean,list)
2125
S3method(min,Rcpp_Image)
22-
S3method(plot,OF_array)
2326
S3method(plot,Rcpp_Image)
2427
S3method(plot,blob)
2528
S3method(range,Rcpp_Image)
29+
S3method(readNext,Rcpp_Queue)
2630
S3method(readNext,Rcpp_Stream)
2731
S3method(readNext,Rcpp_Video)
32+
S3method(release,Rcpp_Queue)
2833
S3method(release,Rcpp_Stream)
2934
S3method(release,Rcpp_Video)
3035
S3method(release,Rcpp_VideoWriter)
@@ -45,6 +50,7 @@ export("%i>=%")
4550
export("%i|%")
4651
export(Image)
4752
export(LUT)
53+
export(Queue)
4854
export(Stream)
4955
export(Video)
5056
export(VideoWriter)
@@ -55,13 +61,16 @@ export(addWeighted)
5561
export(api)
5662
export(bilateralFilter)
5763
export(bitAnd)
64+
export(bitMax)
65+
export(bitMin)
5866
export(bitNot)
5967
export(bitOr)
6068
export(bitdepth)
6169
export(blur)
6270
export(border)
6371
export(boxFilter)
6472
export(canny)
73+
export(capacity)
6574
export(changeBitDepth)
6675
export(changeColorSpace)
6776
export(click)
@@ -75,6 +84,7 @@ export(connectedComponents)
7584
export(contourArea)
7685
export(convexHull)
7786
export(convexityDefects)
87+
export(countNonZero)
7888
export(destroyAllDisplays)
7989
export(destroyDisplay)
8090
export(display)
@@ -88,6 +98,7 @@ export(drawPolyline)
8898
export(drawRectangle)
8999
export(drawRotatedRectangle)
90100
export(drawText)
101+
export(empty)
91102
export(farneback)
92103
export(fillConvexPoly)
93104
export(fillPoly)
@@ -102,6 +113,7 @@ export(floodFill)
102113
export(fourcc)
103114
export(fps)
104115
export(frame)
116+
export(full)
105117
export(gaussianBlur)
106118
export(getPerspectiveTransform)
107119
export(getProp)
@@ -115,6 +127,7 @@ export(inpaint)
115127
export(invert)
116128
export(isBlob)
117129
export(isImage)
130+
export(isQueue)
118131
export(isStream)
119132
export(isVideo)
120133
export(isVideoWriter)
@@ -129,24 +142,31 @@ export(morph)
129142
export(multiply)
130143
export(nchan)
131144
export(ncol.Rcpp_Image)
145+
export(ncol.Rcpp_Queue)
132146
export(ncol.Rcpp_Stream)
133147
export(ncol.Rcpp_Video)
134148
export(ncol.Rcpp_VideoWriter)
135149
export(newDisplay)
136150
export(nframes)
137151
export(not)
138152
export(nrow.Rcpp_Image)
153+
export(nrow.Rcpp_Queue)
139154
export(nrow.Rcpp_Stream)
140155
export(nrow.Rcpp_Video)
141156
export(nrow.Rcpp_VideoWriter)
142157
export(ones)
143158
export(pget)
144159
export(pixelsInContour)
160+
export(plotOF)
145161
export(pset)
162+
export(queue)
163+
export(randn)
164+
export(randu)
146165
export(readFrame)
147166
export(readMulti)
148167
export(readNext)
149168
export(release)
169+
export(reset)
150170
export(resize)
151171
export(rotateScale)
152172
export(scharr)

NEWS.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Rvision 0.6.0
2+
3+
## New features
4+
5+
* We now have a changelog (yes, I know, finally).
6+
* A large portion of the code base has been rewritten for improving performance
7+
and facilitating code maintenance (hopefully).
8+
* In-place operations have been reworked to allow for saving results in target
9+
images for more flexibility while maintaining performance.
10+
* GPU support has been added wherever possible. Stupid-fast mode enabled on
11+
compatible hardware :-)
12+
* An experimental dynamic queuing system operating on a separate thread has been
13+
introduced to allow for reading frames in parallel with image processing on the
14+
main R thread.
15+
* New, hopefully more useful vignettes have been added.
16+
* More OpenCV functions are now accessible through Rvision (e.g., histogram
17+
equalization).
18+
19+
## Minor improvements and fixes
20+
21+
* The documentation has been fixed/improved in several places.
22+
* Minor bug fixes here and there.
23+
24+
---

0 commit comments

Comments
 (0)