Go to Post All I wanted was a game hint.... :( - JohnBoucher [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-12-2010, 00:30
lu190034052 lu190034052 is offline
Registered User
FRC #0005
 
Join Date: Dec 2010
Location: canada
Posts: 6
lu190034052 is an unknown quantity at this point
Post how to use labview control Axis camera distinguish distance and color

I need a program of labview for Axis camera, I am in a FRC team and I need a labview code to make the camera distinguish the distance of an object and colors, could someone help me?
Reply With Quote
  #2   Spotlight this post!  
Unread 24-12-2010, 05:22
BornaE's Avatar
BornaE BornaE is offline
Registered User
FRC #0842 (Formerly 39)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Gilbert, Arizona
Posts: 359
BornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant future
Re: how to use labview control Axis camera distinguish distance and color

This is not a trivial task. Can you post a picture of the Object you are trying to identify?
Also include a picture of the surrounding of the object.
__________________
-Borna Emami
Team 0x27
Reply With Quote
  #3   Spotlight this post!  
Unread 24-12-2010, 13:06
RoboMaster's Avatar
RoboMaster RoboMaster is offline
Alum, former programmer&co-captain
FRC #2472 (The Centurions)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Minnesota, Twin Cities
Posts: 268
RoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant future
Re: how to use labview control Axis camera distinguish distance and color

Look around in the Vision and FRC Vision palettes for basic stuff. You might be able to accomplish what you're trying with blob recognition and filtering.
If you really want to go high class, FIRST has let us use NI's vision software for making custom VIs for specific vision purposes. It's quite advanced but there is documentation lying around somewhere; look around NI's help community at ni.com/first.

Agreed, this isn't a walk in the park, prepare for some research. Usually FIRST gives us code specific to the game that will allow us to do this. In the past couple years the code they have given us was quite helpful if you used it right.
__________________
My engineering blog: noeticbrainwaves.blogspot.com

I'm not slacking, my code's compiling
...and I'm using LabVIEW
Reply With Quote
  #4   Spotlight this post!  
Unread 24-12-2010, 18:29
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: how to use labview control Axis camera distinguish distance and color

The NI Vision Assistant that RoboMaster mentioned is actually quite easy to use - at least, it's easier than building the VI yourself from scratch.
It lets you use images already stored on your computer, or you can hook up your axis camera and aquire images directly from that.
The image processing VIs can run on your computer as well as the cRIO, so that makes it easier to test.

One thing to note:
IMAQ uses the same memory space to store the image as it manipulates it. If you want to duplicate the image or extract multiple color planes, make sure to create a new memory space; otherwise the image you intended to preserve will get written over.
__________________
-- Marshal Horn
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Camera Distance Calcualtor for Labview zackcool123 Programming 3 09-02-2009 17:25
how to find distance using two color servo camera? Steelix4532 General Forum 4 06-02-2009 17:20
How do i find a variable and use it on Labview Chris11246 NI LabVIEW 23 21-01-2009 17:50
[FTC]: Vex color camera use programMORT11 FIRST Tech Challenge 1 11-03-2008 13:30
How do I get distance between Camera and the target? sjung9442 Programming 5 27-01-2006 09:44


All times are GMT -5. The time now is 21:21.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi