Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@sepperliu
Copy link
Contributor

toBufferedImage
Modifying the original array copying method here can double the speed.

@asmorkalov asmorkalov self-requested a review April 3, 2024 06:59
@asmorkalov asmorkalov added this to the 4.10.0 milestone Apr 3, 2024
Copy link
Contributor

@asmorkalov asmorkalov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll try to reproduce some Java samples with the patch and return back with feedback.

toBufferedImage
Modifying the original array copying method here can double the speed.
Copy link
Contributor

@asmorkalov asmorkalov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Tested manually with Ubuntu 18.04, Java 11 and sample samples/java/tutorial_code/highgui/trackbar/AddingImagesTrackbar.java

@asmorkalov asmorkalov merged commit bf7208e into opencv:4.x Apr 4, 2024
@asmorkalov asmorkalov self-assigned this Apr 4, 2024
@sepperliu sepperliu deleted the patch-1 branch April 5, 2024 03:56
@asmorkalov asmorkalov mentioned this pull request Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants