justadudewhohacks / justadudewhohacks/opencv4nodejs

cv.min and cv.max bindings

Open
#668 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5.1k
Forks
826
PR merge metrics
No merged PRs in 30d

Description

Hi there,

Great job with opencv4nodejs!

Feels wrong to ask for more, but any thoughts to implementing cv.min() and cv.max() that compare 2 img-arrays and return an img containing the min or max values across all pixels respectively.

Here are the original docs:
https://docs.opencv.org/2.4/modules/core/doc/operations_on_arrays.html#min
https://docs.opencv.org/2.4/modules/core/doc/operations_on_arrays.html#max

You already have cv.mean cv.sum cv.median, so I wonder if cv.min() and cv.max() are declared elsewhere or were replaced by different functionality?

If not, is there a way to reproduce such functionality without doing something unseemly like iterating through pixel-by-pixel?

I also tried to look in your docs at but https://opencv4nodejs.herokuapp.com/docs/ but it seems like it's down.

Anyway, thanks a lot for the fantastic work!

Cheers.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.