Comments (6)
Yes @Octopus136 .
from opencv.
@asmorkalov Sir, I would like to work on writing tests for adaptive threshold but when I went about understanding everything about it, I am bit lost. Can you guide me on how to write tests for adaptiveThreshold
.
from opencv.
@Dhanwanth1803 Hi, have you started working on it? I also have some thoughts about writing this test.
from opencv.
@asmorkalov @dkurt Sir, I need help.
In addition to accuracy tests for adaptiveThreshold
. I didn't find any test corresponding to
void cv::adaptiveThreshold( InputArray _src, OutputArray _dst, double maxValue, int method, int type, int blockSize, double delta )
from /opencv/modules/imgproc/src/thresh.cpp
So my doubt is should I go about writing a function named void test_threshold(...)
in /opencv/modules/imgproc/test/test_thresh.cpp
.
And, Can I take reference from static void test_threshold( const Mat& _src, Mat& _dst, double thresh, double maxval, int thresh_type, int extra_type )
.
And I think after this we can call the following similar functions as accuracy tests for adaptiveThreshold.
TEST(Imgproc_Threshold, accuracyOtsu) { CV_ThreshTest test(CV_THRESH_OTSU); test.safe_run(); }
from opencv.
@Dhanwanth1803, let's start with adding to test_thresh.cpp
. Use cv::threshold
as a reference. Please open PR once test passed locally for easier discussion.
from opencv.
@Dhanwanth1803, let's start with adding to
test_thresh.cpp
. Usecv::threshold
as a reference. Please open PR once test passed locally for easier discussion.
@dkurt okay sir. Will do.
from opencv.
Related Issues (20)
- Strange behaviour of cv2.add operation HOT 5
- Cannot search function in opencv 4.10.0-dev online doc HOT 1
- Support decompression of tiled JPEG2000 images
- Warnings building documentation HOT 1
- Matrix formatter does not work for 0d and 1d cv::Mat HOT 1
- cv::Mat reshape does not support 1d and 0d arrays HOT 1
- CMake gapi option WITH_FREETYPE seems to be ignored
- sepFilter2D insufficient shared (device) memory when using UMat
- OpenCV: Using setDefaultAllocator() with custom allocator calls allocate() but not deallocate() - why?
- VideoCapture with FFmpeg and CUDA Hardware Acceleration Returns Empty Frames in OpenCV 4.7.0 HOT 3
- not declared in this scope
- Compilation crashes after 4a9b0f2 HOT 8
- Charuco detection has slowed down considerably since 4.6.0 HOT 1
- SCALABLE RVV with debug mode encounters failing tests HOT 6
- cudnn 9.0 support... HOT 1
- The function countNonZero produces wrong output on SCALABLE RVV with Debug mode HOT 5
- cv2 missing "dnn" HOT 1
- Disable Tests for Unsupported ONNX Models in Darknet HOT 2
- TrackerNano lacks cuda support. HOT 1
- Drop old OpenVINO support
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 opencv.