Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/image-processing/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Image processing 很难找到圆的半径_Image Processing_Geometry_Grayscale_Edge Detection_Hough Transform - Fatal编程技术网

Image processing 很难找到圆的半径

Image processing 很难找到圆的半径,image-processing,geometry,grayscale,edge-detection,hough-transform,Image Processing,Geometry,Grayscale,Edge Detection,Hough Transform,我在求这个圆的半径时遇到了问题。我将原始图像转换为灰度,并执行了边缘检测操作。 我使用Aforge.net API将circuler Hough变换应用于此边缘图像。但是在应用Hough变换之前,我需要给出我想要找到的圆半径。问题是我需要找到车轮的圆半径或直径。有人有什么想法吗 private void Hough(Bitmap xx) { HoughCircleTransformation circleTransform = new HoughCircleTransformation(

我在求这个圆的半径时遇到了问题。我将原始图像转换为灰度,并执行了边缘检测操作。 我使用Aforge.net API将circuler Hough变换应用于此边缘图像。但是在应用Hough变换之前,我需要给出我想要找到的圆半径。问题是我需要找到车轮的圆半径或直径。有人有什么想法吗

private void Hough(Bitmap xx)
{
    HoughCircleTransformation circleTransform = new HoughCircleTransformation(35);
    // apply Hough circle transform
    circleTransform.ProcessImage(xx);

 }

你需要一个三维的Hough空间,由center-x,center-y和circle-radius参数化。然后,您最可能的位置和半径将作为3D Hough空间中的最大值给出。恐怕这超出了ImageJ的功能范围,但是手工编写代码应该很容易。

您需要一个三维Hough空间,由中心x、中心y和圆半径参数化。然后,您最可能的位置和半径将作为3D Hough空间中的最大值给出。恐怕这超出了ImageJ的能力范围,但是手工编写代码应该很容易。

也许这可以为您服务:(在Mathematica中)


也许这对你有用:(在数学中)


我可以通过C#使用Mathematica吗?我的意思是我可以像使用RGE一样使用Mathematica api吗?@user是的,你可以,但是Mma很贵。同样的函数在OpenCV中免费提供。我可以通过C#使用Mathematica吗?我的意思是我可以像使用RGE一样使用Mathematica api吗?@user是的,你可以,但是Mma很贵。同样的功能在OpenCV中免费提供。