From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ROI coordinate and IMAQ Extract Contour

Solved!
Go to solution

Hi everyone,我利用webcam擷取影像,

並經過二值化(binary image)、影像邊緣偵測(edge detection),

取得物體的ROI coordinate。

 

How to use ROI coordinate at IMAQ Extract Contour ?

 

I've attached the VI. 

Thanks for any help,

Znhan Wu.

Download All
0 Kudos
Message 1 of 4
(2,192 Views)
Solution
Accepted by Elson9988

您好,

我看了您的编程。关于您的编程是有使用 IMAQ Extract Contour.vi, 我方也是发现了一样的报错。 

Error - 1074395720。这个报错是关于ROI设置的问题。但是我看到您已经有使用 MaskToROI, 应该没问题的。我也尝试了,您的使用是正确的。

我尝试把error 忽视掉,看到的测试如附件的图。是否是您要的结果?

您可以尝试把Error忽视。请参考:https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P85KSAS&l=zh-CN

 

0 Kudos
Message 2 of 4
(2,132 Views)
Solution
Accepted by Elson9988

您好,

我看了您的编程。关于您的编程是有使用 IMAQ Extract Contour.vi, 我方也是发现了一样的报错。 

Error - 1074395720。这个报错是关于ROI设置的问题。但是我看到您已经有使用 MaskToROI, 应该没问题的。我也尝试了,您的使用是正确的。

我尝试把error 忽视掉,看到的测试如附件的图。是否是您要的结果?

您可以尝试把Error忽视。请参考:https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P85KSAS&l=zh-CN

 

0 Kudos
Message 3 of 4
(2,132 Views)

这是附件截图。

0 Kudos
Message 4 of 4
(2,130 Views)