Giter Club home page Giter Club logo

Comments (6)

Dhanwanth1803 avatar Dhanwanth1803 commented on June 1, 2024 1

Yes @Octopus136 .

from opencv.

Dhanwanth1803 avatar Dhanwanth1803 commented on June 1, 2024

@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.

Octopus136 avatar Octopus136 commented on June 1, 2024

@Dhanwanth1803 Hi, have you started working on it? I also have some thoughts about writing this test.

from opencv.

Dhanwanth1803 avatar Dhanwanth1803 commented on June 1, 2024

@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.

dkurt avatar dkurt commented on June 1, 2024

@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 avatar Dhanwanth1803 commented on June 1, 2024

@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.

@dkurt okay sir. Will do.

from opencv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.