05-28-2014 07:29 AM
Hi there. I have two markers. One is stationary and other one is moving(app.jpg). How can I find centers and angles shown in picture(app.jpg)?
Solved! Go to Solution.
05-28-2014 07:40 AM
Use a threshold and then do a particle analysis. You will be able to find the centre and angle
05-28-2014 08:13 AM
Check the vi and the attached image
05-28-2014 08:26 AM
A Mistke in my prev vi. Please find the attached corrected vi
05-29-2014 01:17 PM - edited 05-29-2014 01:23 PM
@muks wrote:
A Mistke in my prev vi. Please find the attached corrected vi
It works perfect with the picture you attached, thank you very much. What are the outputs shown in 1,2,3 and 4. I think 1 is centers of the rectangles. What about the others? And I need to implement this to real world via Basler GigE Vision cam. Is it possible or is it too slow for real world applications? At my real application, there are 2 maybe 3 markers on a wall or column. My goal is when they affected by some external effects like earhtquakes etc. find how much they affected?
05-30-2014 01:34 AM
Hi Butterworth,
try to implement a counter for measuring the cycle-time for one image acquisition and processing. (http://digital.ni.com/public.nsf/allkb/6F6B9F4E149C80578625652800784764) Then you can estimate the theoretical possible frames per second. What type of camera you use? Basler Ace? I don´t know what exactly you want to do, but the camera is relativly fast (exposure time), taking photos of falling objects - of course you need enough light- is no problem for this entry-level camera. But the number of frames per second is limited.
Paul
05-30-2014 03:24 AM - edited 05-30-2014 03:26 AM
@Meisspa wrote:
Hi Butterworth,
try to implement a counter for measuring the cycle-time for one image acquisition and processing. (http://digital.ni.com/public.nsf/allkb/6F6B9F4E149C80578625652800784764) Then you can estimate the theoretical possible frames per second. What type of camera you use? Basler Ace? I don´t know what exactly you want to do, but the camera is relativly fast (exposure time), taking photos of falling objects - of course you need enough light- is no problem for this entry-level camera. But the number of frames per second is limited.
Paul
Hi Meisspa, my camera is Basler ace2500-14gc. I will use cycle-time measurement tool that you said. My project is finding the parameters in attached image.
05-30-2014 06:17 AM
Hello Butterworth,
I think in theory your project should work. I see some problems by the so called "Nyquist–Shannon sampling theorem". You wrote something about earthquakes - for examples your markers (for example on a building AND theoretically your camera itself is not influenced by the earthquake) start to vibrate by a frequency of 30 Hz you have to take 60 pictures per second as a minimum rate to use the result for calculating the frequency and the magnitude of the event. If you just want to measure the static deformation after the trigger event, it is of course a lot easier. The basler ace2500-14gc is only making 14 Frames per second maximum, so maybe a little bit to slow.
Best regards,
Paul
05-30-2014 09:06 AM
@Butterworth wrote:
@muks wrote:
A Mistke in my prev vi. Please find the attached corrected vi
It works perfect with the picture you attached, thank you very much. What are the outputs shown in 1,2,3 and 4. I think 1 is centers of the rectangles. What about the others? And I need to implement this to real world via Basler GigE Vision cam. Is it possible or is it too slow for real world applications? At my real application, there are 2 maybe 3 markers on a wall or column. My goal is when they affected by some external effects like earhtquakes etc. find how much they affected?
Those are just array manupulation. Can you give the details of the camera?
05-30-2014 09:13 AM
@Butterworth wrote:
@Meisspa wrote:
Hi Butterworth,
try to implement a counter for measuring the cycle-time for one image acquisition and processing. (http://digital.ni.com/public.nsf/allkb/6F6B9F4E149C80578625652800784764) Then you can estimate the theoretical possible frames per second. What type of camera you use? Basler Ace? I don´t know what exactly you want to do, but the camera is relativly fast (exposure time), taking photos of falling objects - of course you need enough light- is no problem for this entry-level camera. But the number of frames per second is limited.
Paul
Hi Meisspa, my camera is Basler ace2500-14gc. I will use cycle-time measurement tool that you said. My project is finding the parameters in attached image.
the scope now looks different