Can anyone help me out to find the diameter of the hole using imaq vision?
have to measure the diameter of the holes and generate the report in the format given belowI have also enclosed the image to be processed)
example:
HOLE SPECIFICATIONS PLATE NO. 1
X Y DIAMETER X Y
C 8.4 3.79 3.122 8.472 3.675
D 8.51 3.54 3.117 8.579 3.647
F 0 0 1.089 0 0
H 4.08 9.474 1.083 4.045 9.731
J 3.78 9.86 0.845 3.698 9.957
can anyone help me out to solve it,, Thanking you in advance!
Attachments:
03260005.JPG 103 KB
Hello.
I have some suggestions for the image processing component of your application. I have attached a Vision Assistant script to this post (Vision Assistant 7.1) which performs essentially the following steps. These steps could be followed in any programming environment and should yield decent results:
Extract the Luminance plane from the RGB image (simply to get it into 8-bit mono format for the thresholding. Could be done with a color threshold VI).
Threshold the image so that the bright components are left and the dark is set to 0.
Perform a particle filter to remove the particles that are too large (the surrounding area).
Perform a particle analysis on the remaining particles, which should be the holes in the
plate only. Set the particle analysis to return the Location of the 'Center of Mass X' and 'Center of Mass Y,' and the perimeter (diameter).
This type of processing would allow the plate to be rotated, have different patterns, etc. and you should still be able to get the information about the holes.
Hope this helps.
Regards,
Colin C.
Applications Engineering
Colin Christofferson
Community Web Marketing
Blog
Attachments:
ExampleHoleScript.scr 2 KB
Similar Messages
-
I am frustrated with the new update and the ICloud. Any program i open, or website I am in, closes suddenly, an returns to the Home page. Also the keyboard is very slow. None of this existed until I did the two updates. Can anyone help?
MaryAmanda wrote:
Does anyone know anything about onsite specifics?
I'm wondering where the onsite warranty can be in effect. Like, can it be used in ANY city in the US? Can it be used only in metrololitan areas? What is a metro area in Lenovo's eyes?
Does anyone know where I can get better and accurate info on the onsite warranty? Like a coverage map would be very helpful. Because why should I spend the money on it, if I can't access it?
Looking forward to more info...thanks.
There is no coverage map as such.
I live in what is considered a rural area and had techs driving 60-70 miles one way to get to me, never an issue.
Obviously, YMMV.
In my not-so-modest experience, both onsite and accidental damage upgrades are worth every penny if one intends to keep their ThinkPads for an extended period of time.
Good luck.
Cheers,
George
In daily use: R60F, R500F, T61, T410
Collecting dust: T60
Enjoying retirement: A31p, T42p,
Non-ThinkPads: Panasonic CF-31 & CF-52, HP 8760W
Starting Thursday, 08/14/2014 I'll be away from the forums until further notice. Please do NOT send private messages since I won't be able to read them. Thank you. -
Hi there can anyone help me out. I have Apple TV and I am trying to connect wirelessly through a zyxel wireless hotspot gateway, I know a tad extreme but a friend had one free, anyway I can find the router but no Internet connection?
The only people who can possibly assist you with this is Apple Customer Relations, call your local Apple contact number and ask for Customer Relations then explain your situation clearly and politely (be firm but don't rant).
You might want to investiage what the local laws are regarding defective goods and 'fit for use' definitions on warranties etc. Consumer Protection can be a useful tool to use or bargain with if needed ... -
I just got an iPhone 4S model number MD439LL/A still have the box that it came in along with other info. I can not find Siri. I have looked in settings>general and settings>general>restrictions. Can anyone help me out?
That model is an iPhone 4, not a 4S.
http://support.apple.com/kb/HT3939 -
AirPort can"t be installed on this disk. The version of Mac OS X on this volume is not supported. Can anyone help me out?
Can you clarify what exactly you are trying to do that generates this message?
IF....you might be trying to install AirPort Utility on your Mac....you already have the most recent version on your Mac.....and you cannot install an earlier version than you already have.
Check Finder > Applications > Utilities > AirPort Utility -
I have my itunes stored on my external hard drive of my IMac.
I have started to put my Digital Copies to my IMac with external hard drive, then on my MacBook Pro I can see the movies, but if I close out my IMac, I can't access my movies on my laptop???
Can anyone help me out here? Thanks.I have my itunes stored on my external hard drive of my IMac.
I have started to put my Digital Copies to my IMac with external hard drive, then on my MacBook Pro I can see the movies, but if I close out my IMac, I can't access my movies on my laptop???
Can anyone help me out here? Thanks. -
hey guys,i tried to install the latest version of itunes but when i try to open it,it just comes up windows error 2 apple application support was not found,can anyone help me out and tell me what i need to do pls ?
If you run into the "another installation" message even after the reboot of the PC (which is an excellent idea by HTP ProXy), reregistering your Windows Installer Service is worth a try.
First, launch a command prompt as an administrator. In your Start search, type cmd then right-click on the cmd that comes up and select "Run as administrator".
At the command prompt:
Type %windir%\system32\msiexec.exe /unregister and hit enter.
Type %windir%\syswow64\msiexec.exe /unregister and hit enter.
Type %windir%\system32\msiexec.exe /regserver and hit enter.
Type %windir%\syswow64\msiexec.exe /regserver and hit enter.
Restart the PC and try another reinstalll. -
I'am getting an update error when am trying to upgrade to newer version (4.3.2)..the error message content shows that i tunes could not back up the i pod,because the back up was corrupt or not compatible with ipod..can anyone help me out to fix this issue
Hi,
Try here: http://support.apple.com/kb/HT1808.
Hope this helps!
---likeabird--- -
I am stuck. I can not figure out how to get the microsoft office that is on my (admin) profile dock onto the dock for the other users on my mac. Can anyone help me out?
ebony --
So, when you open your main Applications folder, there is no Office app there?
It's in your Users>Applications folder? -
I just got the iPhone 5. It's completely synced and working. All my contacts are loaded. However, caller ID is not working when I receive a call or a text. Can anyone help me out with this?
Well, assuming all of the above, Notifications, etc., it just might be time for a visit to the Apple tore genius center for a session with the techs. See if it is a fault in the hardware or just an iOS reinstall is the answer.
One more thing you could try, backup so you have a record of content, then restore to factory conditions be an Erase All Contents and Settings. Then restore from the backup you just made. That has helped some with WiFi problems, may be it would work with your problems.
But with that behavior of another app with problems, the geniuses looks like a less stressful thing to do. -
I have a macbook Pro i7 mid november 2010. I am wondering if i can exchange my notebook with the latest one. Can anyone help me out with this query please.
You can sell your existing computer using eBay, Craigslist or the venue of your choice. You could then use the proceeds to purchase a new computer.
-
Can't remember how to reverse the order of tracks in a playlist.....can anyone help me out? Thanks.
Were you able to figure it out?
-
i m working in an organization where web-sense is installed to block all irrelevant sites, i have installed itunes but it does not run a window pops up with message 'itunes is not connected to the network' can anyone help me out?
There's a whole lot to read in your post, and frankly I have not read it all.
Having said that, this troubleshooting guide should help:
http://support.apple.com/kb/TS1538
In particular, pay attention to the mobile device support sections near the bottom, assuming you have already done the items above it. -
In the game in clash of clans its not letting me purchase, can anyone help me out?
In the game of clash of clans it isn't letting me purchase gems, can anyone help me out?
What happens when you try?
-
I was just listening to my iPod shuffle and it stopped working. I plugged it into the computer to sync it and it won't sync. The little light don't come on on my nano. I've turned it off and on, pushed the play/pause and nothing. Can anyone help me out here?
How long have you left the iPod to charge? It can take up to 30 minutes before it shows any signs of life. Did you use the instructions in this article to properly reset the Shuffle?
Resetting iPod shuffle
B-rock
Maybe you are looking for
-
MacBook to TV connection -- HELP!
I have a MacBook 6.1, which I have connected to my Sony TV using the mini-display-port with an HDMI. This set-up has worked for a couple years now, but it stopped working when I got back from vacation this week. The TV registers no connection whatsoe
-
How do I add shadow to a title, such as, NEW YEAR'S NEEDS, while in Pages? I also don't know how to set a new folder for documents of the same type such as, "Sermons," or "Lessons." Any help will be greatly appreciated. Donnie
-
Printing problem HP Photosmart B210a
Hello, I have a major problem with my brand new HP printer. Hopefully someone will help me out. I have installed my new printer and I am unable to print wirelessly. I have done all possible resets, my Mac is updated I have latest drivers from HP. Whe
-
My daughter has an iphone 4 and forgot her passcode - what to do
I looked on-line and all the sites I have gone to say that restore or reset using itunes doesnt work for an iphone 4
-
MD04 - Exception Message 20 = Cancel Process
After MRP Run through MD02. Then in MD04 screen after firming the planned order, it has an expection message 20 . How to correct this. What are all the implecations if I convert it to production order. With best regards, jk