GithubHelp home page GithubHelp logo

swq123459 / zernikemoment_subpixel_detection Goto Github PK

View Code? Open in Web Editor NEW
49.0 49.0 24.0 2.84 MB

a GUI for Subpixel precision Object size measurement

Home Page: https://github.com/swq123459/ZernikeMoment_SubPixel_Detection

License: MIT License

C++ 95.54% Makefile 1.91% C 2.56%

zernikemoment_subpixel_detection's People

Contributors

creatorgg avatar swq123459 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

zernikemoment_subpixel_detection's Issues

请问为什么会报错

l_method1 = math.sqrt((5 * ZerImageM40[i][j] + 3 * ZerImageM20[i][j]) / (8 * ZerImageM20[i][j]))
求l_method1的时候会因为计算结果是负数报错
请问是又哪些地方需要注意的么

运行时间过长

我跑了一下您的代码,挂了一个晚上都没有结果,请问是我计算机的问题还是说算法本身就要花很长时间?

请问矩形的拟合是如何实现?为什么有两根线呐?

大佬您好!我跟着您的模板走了一下,环境是win10+vscode+opencv。圆拟合那个可以拟合得出来,且效果很好。可是矩形拟合就会报错,想问一下大佬可能是因为什么原因?另外vecLine1和vecLine2是一定要有两个吗?如果可以的话麻烦大佬帮忙看下了

x坐标和y坐标的问题

大佬的这个函数里面的x坐标和y坐标搞混了,导致精度降了

void getCovPoint(Mat& matIn, vector& vecEdgePoint, int cannyL, int cannyH,int cannyCore)
{
Point2i pointTemp;
Mat matCanny;
Canny(matIn, matCanny, cannyL, cannyH, cannyCore);
for (int i = 0; i < matCanny.rows; i++)
{
for (int j = 0; j < matCanny.cols; j++)
{
if (matCanny.at(i, j) == 255)
{
pointTemp.x = i;
pointTemp.y = j;
vecEdgePoint.push_back(pointTemp);
}
}
}
}

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.