Skip to content

Merge 3.4 - #14033

Merged
alalek merged 33 commits into
opencv:masterfrom
alalek:merge-3.4
Mar 12, 2019
Merged

Merge 3.4#14033
alalek merged 33 commits into
opencv:masterfrom
alalek:merge-3.4

Conversation

@alalek

@alalek alalek commented Mar 11, 2019 •

Copy link
Copy Markdown
Member

#13875 from allnes:optimization_fuse
#13956 from komakai:java-mat-class-improvements
#13979 from alalek:issue_13772
#13986 from alalek:perf_ignore_ovx
#13988 from raymanfx:gstreamer
#13993 from liuyuns:issue_13963_thresh_nms_yolov3
#13997 from alalek:imgproc_dispatch_cvtcolor
#13999 from addyi:fixAndroidLintingErrors
#14013 from alalek:imgproc_dispatch_filter
#14015 from saskatchewancatch:issue-13921
#14022 from alalek:core_fix_neon_intrinsics

Previous "Merge 3.4": #13983

buildworker:Win64 OpenCL=windows-2
#buildworker:Custom=linux-1,linux-2,linux-4
docker_image:Docs=docs-js
#docker_image:Custom=javascript
#docker_image:Custom=powerpc64le
docker_image:Custom=ubuntu-openvino:16.04
#buildworker:Custom=linux-2
docker_image:Custom=ubuntu-vulkan:16.04
buildworker:Custom=linux-4
#docker_image:Custom=fedora:28
#docker_image:Custom=ubuntu-cuda:16.04

alalek and others added 30 commits March 5, 2019 16:26
According to the gstreamer docs [1], the GstMessage pointer returned by
gst_bus_pop() is nullable, meaning NULL is a valid return value.

Previously, gst_is_missing_plugin_message would throw an assert when its
message object parameter would fail the GST_IS_MESSAGE macro check,
crashing the entire process (unless running in a try-catch block of course).

Instead of relying on valid messages, check if the message object itself is
valid before passing it to other gstreamer functions.

[1] https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstBus.html#gst-bus-pop

Signed-off-by: Christopher N. Hesse <[email protected]>
…3 cfg file.

Currently the thresh is hard-coded to be 0.2 and nms_threshold as 0.4.
Lab/XYZ modes have been postponed (color_lab.cpp):
- need to split code for tables initialization and for pixels processing first
- no significant performance improvements for switching between SSE42 / AVX2 code generation
* fix android lint error in BaseLoaderCallback (LongLogTag)

Lint Error that was causde by the to long TAG:
BaseLoaderCallback.java:31:
Error: The logging tag can be at most 23 characters,
was 31 (OpenCVLoader/BaseLoaderCallback) [LongLogTag]
Log.e(TAG, "Package installation failed!");

* add requested "OCV" prefix for android logging
* Expose more C++ functionality in the Java wrapper of the Mat class
In particular expose methods for handling Mat with more than 2 dimensions
* add constructors taking an array of dimension sizes
* add constructor taking an existing Mat and an array of Ranges
* add override of the create method taking an array of dimension sizes
* add overrides of the ones and zeros methods taking an array of dimension sizes
* add override of the submat method taking an array of ranges
* add overrides of put and get taking arrays of indices
* add wrapper for copySize method
* fix crash in the JNI wrapper of the reshape(int cn, int[] newshape) method
* add test for each method added to Mat.java

* Fix broken test
@alalek

alalek commented Mar 12, 2019

Copy link
Copy Markdown
Member Author

👍

@alalek
alalek merged commit 8c0b071 into opencv:master Mar 12, 2019
@alalek alalek mentioned this pull request Mar 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants