Comments (2)
Do you get the mean value as float
? The return value of cv::meanStdDev is double
.
Mat mean = new Mat(), stddev = new Mat();
Cv2.MeanStdDev(src, mean, stddev);
Console.WriteLine(mean.At<double>(0));
Console.WriteLine(stddev.At<double>(0));
BTW, I added an overload method of Cv2.MeanStdDev. You can get mean value as Scalar.
7ea0b33
from opencvsharp.
Yes, float. Thanks :)
from opencvsharp.
Related Issues (20)
- Whether there are plans to implement open3D
- MatchTemplate results are inconsistent or incorrect HOT 1
- OpenCV Wrapper Bug: Zero Frame Rate and Count with Special Characters in Filename
- Does an LMSolver equivalent exist in OpenCvSharp?
- Need Help for Warpping and Deskewing
- Parameters for EstimateTransform(IEnumerable<Mat> images, Rect[][] rois)
- Upgrade to OpenCV 4.9 HOT 2
- Size.Zero deleted in 4.9 causing code breaking HOT 1
- Cv2.MinMaxLoc causes Memory leak HOT 4
- Hi I have a problem Exception Info: System.AccessViolationException at OpenCvSharp.Internal.NativeMethods.core_Mat_copyTo_toMat1(IntPtr, IntPtr)
- Linux ARM64 (Native bindings for Linux ARM64) HOT 6
- Unable to find an entry point named 'videoio_VideoWriter_fourcc' in shared library 'OpenCvSharpExtern'. HOT 15
- Feature Request EstimateAffine3D
- opencvsharp4 is missing NuGet package README file
- opencvsharp4.runtime.win is missing NuGet package README file
- opencvsharp4.extensions is missing NuGet package README file
- opencvsharp4.windows is missing NuGet package README file
- opencvsharp4.wpfextensions is missing NuGet package README file
- Setup HOT 1
- how to split r,g,b channel image from Mat data pointer HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencvsharp.