Go to Post Just because we don't cheer, doesn't mean we don't have fun. ;) - JVN [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 30-01-2016, 12:02
gbear605's Avatar
gbear605 gbear605 is online now
Scarebear
FRC #1768 (Nashoba Robotics)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: United States
Posts: 31
gbear605 is an unknown quantity at this point
Image cropping using NVision

We have a 180 degree camera that we want to get an image from. We have it working using a basic camera server (the code that is demonstrated in SimpleVision sample project). To have a 180 degree field of view, the camera has the following view (the white space is the actual part that the camera sees)



When we are at a reasonable image size to stream on the network (320x340), the camera itself makes it so the pink square is all that we can see of the output. Our problem is that we need to see stuff that is in the white area of the circle below the pink square. What we are thinking we could do to solve this is to get the 1920x1080 image on the RoboRio and then use NIVision to crop it to an area below the pink square so we can see what we want to.

However, NIVision appears to have almost no documentation. What is the correct way to crop an image using NIVision?

Last edited by gbear605 : 30-01-2016 at 12:04.
Reply With Quote
  #2   Spotlight this post!  
Unread 02-02-2016, 10:21
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,748
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: Image cropping using NVision

The NIVision documents are installed here ... C:\Users\Public\Documents\National Instruments\Vision\Documentation

The CVI documents are what you are looking for. You may also be interested in the Concepts document, though it isn't in that directory and I don't seem to have a viewer for it. You can find a pdf of it by searching the NI site.

Greg McKaskle
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


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

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