10-15-2012 08:59 AM
Hello together,
I want that all rectangles touching annulus should removed, that means these rectangles aren't usable for the program.
Please see the attached image.
Many thanks in advance
Greetings
LV2012
10-15-2012 10:04 AM
What have you tried so far? People here will help you solve your problem but they wont do the work for you
10-15-2012 10:13 AM
@zäpfle wrote:
Hello together,
I want that all rectangles touching annulus should removed, that means these rectangles aren't usable for the program.
Please see the attached image.
Many thanks in advance
Greetings
LV2012
The picture really reminds of a wafer.
10-16-2012 12:25 AM
Hi Akiel
I don't want that people do me work and if someone have a solution I will never forget to give kudos.
and now back to the important thinks:
I took this picture with a camera. The target is only a checkerboard pattern (you can see it in the picture). I attached the program. This work is my attempt, but I have no idea, how I can delete the objects, which touching the annulus (for example objects 3,9,16,24).
I hope someone has a idea or a approach, so that I can try to solve the problem.
Thanks in advance
Greetings zäpfle
LV2012
10-16-2012 01:01 AM
@zäpfle wrote:
Hi Akiel
I don't want that people do me work and if someone have a solution I will never forget to give kudos.
and now back to the important thinks:
I took this picture with a camera. The target is only a checkerboard pattern (you can see it in the picture). I attached the program. This work is my attempt, but I have no idea, how I can delete the objects, which touching the annulus (for example objects 3,9,16,24).
I hope someone has a idea or a approach, so that I can try to solve the problem.
Thanks in advance
Greetings zäpfle
LV2012
When you find the rectangles, can you obtain some sort of "match/accuracy/area" value?
For rectangles that is intersected by the outline circle, that match would probably be worse than those fully inside.
Threshold those values and normalise based on for example the area of the rectangle.
Remove the rectangles below the threshold value.
Br,
/Roger
10-16-2012 03:22 AM
Sorry, but I don't really understand the way with the threshold.
The program find the rectangles (with the properties: Object center, Bounding Box etc.) and the circle (with Center, radius etc.)
If I could indentify the rectangles, which intersected by the outline circle, I could delete this rectangles. Unfortunately I don't know a solution.
greeting zäpfle
10-16-2012 03:34 AM - edited 10-16-2012 03:37 AM
Hi Peter,
still you don't understand the problems with crossposts!
You already were given a possible solution! Did you try that idea given in the German forum?
For English readers:
As Peter knows the center of the boxes and also the center/radius of the circle he could easily calc the distance of each box to the circumference. Then it's an easy decision...
As he also knows the bounding box of each rectangle he could just check for outlying points: if any of the bounding box points is outside the circle the rectangle intersects the circumference!