Go to Post Either way, I'll stay a FIRSTer for life. =) - Adare180 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-03-2011, 22:02
jeleser's Avatar
jeleser jeleser is offline
Registered User
AKA: Justin Eleser
FRC #2080 (Torbotics)
Team Role: Coach
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Hammond, LA
Posts: 50
jeleser is just really nicejeleser is just really nicejeleser is just really nicejeleser is just really nice
Labview Camera Image Flip

This is my first year working on electronics/programming, and we're looking at mounting our camera upside down. I just wanted to double check that this addition to the Begin VI (bottom left, rotate 180 degrees) would correctly flip the camera image, as it would be rather agitating to arrive at competition and find that this doesn't work....
Click image for larger version

Name:	Begin vi 1 FLIP.JPG
Views:	169
Size:	36.6 KB
ID:	10317
__________________
Team 2080 Torbotics
2010- General build, Pit scouting
2011-2012- Electronics/Programming, Driver
2013- Electronics/Programming, Drive Coach
  #2   Spotlight this post!  
Unread 01-03-2011, 22:10
Dkt01's Avatar
Dkt01 Dkt01 is offline
Programming Mentor
AKA: David
FRC #1756 (Argos)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Peoria, Il
Posts: 145
Dkt01 will become famous soon enough
Re: Labview Camera Image Flip

I'm not 100% sure, but that won't likely do anything. If you just need the image flipped, try adding that block to the dashboard. The camera code in the dashboard is easily manipulated, plus it won't slow down the c-rio.

If you need the image flipped for image processing, put the block in the vision processing vi. You should be able to connect the image in/image out to the feed from the camera.
  #3   Spotlight this post!  
Unread 01-03-2011, 23:38
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,820
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Labview Camera Image Flip

That won't work where you've placed it.
It only works on an actual image, not on an IP address string.

I agree that would work in your dashboard program. There isn't any image processing on the cRIO for the video stream back to the Dashboard, but it's simple to add to the Dashboard logic.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #4   Spotlight this post!  
Unread 01-03-2011, 23:46
whytheheckme's Avatar
whytheheckme whytheheckme is offline
Registered User
AKA: Jacob Komar
no team
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Providence, RI
Posts: 1,320
whytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond repute
Send a message via ICQ to whytheheckme Send a message via AIM to whytheheckme Send a message via MSN to whytheheckme Send a message via Yahoo to whytheheckme
Re: Labview Camera Image Flip

Adding the video flip to the dashboard LabView works, but it eats up SO MUCH CPU, and will barely run on the original classmate. If you're coding in c++/java, there is a command you can call when you initialize the camera to flip it for you before it gets sent to the dashboard.

Jacob
  #5   Spotlight this post!  
Unread 02-03-2011, 09:57
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,820
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Labview Camera Image Flip

There's also an easy way in LabVIEW to tell the camera to handle a 180 degree rotation if you want to do it that way.
Greg McKaskle posted an easy way to do, it in another thread. You can just check his recent posts or ask and we can direct you if you have trouble locating it.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #6   Spotlight this post!  
Unread 02-03-2011, 10:17
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Labview Camera Image Flip

It was described here.

Greg McKaskle
  #7   Spotlight this post!  
Unread 02-03-2011, 17:33
Dkt01's Avatar
Dkt01 Dkt01 is offline
Programming Mentor
AKA: David
FRC #1756 (Argos)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Peoria, Il
Posts: 145
Dkt01 will become famous soon enough
Re: Labview Camera Image Flip

Our cameral was mounted upside down last year last-minute, and we tried flipping the camera on the classmate. It seemed to work perfectly fine on last year's classmate. If you have troubles with processing speed, you could decrease the update speed or use one of the other solutions above.
Closed Thread


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


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

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