12-21-2015 11:38 PM
Hello.
I am trying to write a program that extracts all curves then calculates the radius of selected curve.
The problem is that I get different results when changing the Area Of Interest AOI.
Is there anyway I can overcome this problem?
Thanks in advance.
Modhi
12-22-2015 02:30 AM
12-22-2015 07:43 AM
In addition to posting your code, you should also provide an example (here a well-drawn picture might suffice) to explain what you mean by the following:
If we don't understand what you want to do, and can't see what you've already tried, it makes it difficult for us to "guess" how to provide help.
Bob Schor
12-22-2015 10:48 PM
12-22-2015 10:57 PM
Sorry for lack of information, I hope the provided would be enough.
Best regards,
Modhi
12-23-2015 07:50 AM
Sigh -- I see that you are a very new user to the Forum. Please, post code, not pictures of code. We need to be able to closely examine, and even execute, your code, which is very hard to do from a picture! [Note that a certain type of picture, called a Snippet, can be transformed into Code, but you didn't provide such a Snippet].
Please try again. If you have a Project with multiple VIs, compress its folder into a .Zip file and attach that. Otherwise, attach the VI file that you want us to examine.
Bob Schor
12-30-2015 12:55 AM
Hi again..
The software is suppose to take two pictures of a circled mass where the second is rotated 180 degrees, then the software decects all curves, calcualte the radius, calculate the decenteration (represented by the X difference Position and Y difference Position).
The problem is whenever I select an area which contains the wanted curve, different results are generated!
I didn't write the software from scratch but I am supposed to fix it.
Here is an example of different selection:
I chose drawn cirlces where the difference in coordinates are (2, 0)
Here is what happend with slightly different selection:
Attached the vi.
Thank you very much.
Best regards,
Modhi
12-31-2015 04:56 AM
I hope my latest reply was clear enough.
Appreciate your time and efforts.
Modhi