Deteccion de color Red Blue o Green y obtener sus coordenas
Hola estoy haciendo un trabajo el cual consiste en lo siguiente
diseñar un programa en Labview que el usuario indique uno de los 3 colores (PRIMARIOS R G B) posibles donde la camara debera centrarse en ese color enviando
las coordenas a 2 servomotores y esto tendra que ser controlados por medio del contro fuzzy,
algunas sugerencias?
Que tal rockshow16,
Gracias por utilizar los foros de National Instruments como recurso de información para tus proyectos.
Una opción que se me ocurre es extraer los planos R, G y B de tu imagen a Color para así tener la información más seccionada y haciendo un análisis en cada una podrás hacer análisis de cada uno de estos colores o de estos planos. Esto lo puedes llevar a cabo con el vision assistant de LabVIEW. Para esto necesitas el visión acquisition y el vision development module, que son complementos de LabVIEW para temas de visión.
Te comparto un link donde podrás ver información de esta herramienta
http://physics.ucsd.edu/neurophysics/Manuals/National%20Instruments/NI%20Vision%20Assistant%20Tutori...
De hecho también se tienen herramientas para reconocimiento de colores tanto en el vision development module y con el vision builder, que es una plataforma de desarrollo de aplicaciones de vision que no requieren de programación. Te comparto un tutorial de esta plataforma
http://www.ni.com/pdf/manuals/373379h.pdf
Saludos y espero la información te sea de ayuda.
Saludos!
Omar I.
Applications Engineer
National Instruments
Similar Messages
-
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
package Exp4;
import java.awt.Color;
import java.awt.GridLayout;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import javax.swing.JComboBox;
import javax.swing.JFrame;
* @author Gursimran
public class combox extends JFrame implements ItemListener{
public combox()
JComboBox cb;
setLayout(new GridLayout(10,10));
cb= new JComboBox<>();
cb.addItem("Red");
cb.addItem("Green");
cb.addItem("Blue");
add(cb);
cb.addItemListener(this);
setVisible(true);
setSize(400,400);
public static void main(String[] args)
combox obj=new combox();
@Override
public void itemStateChanged(ItemEvent e)
if(e.getItemSelectable().equals(0))
this.getContentPane().setBackground(Color.red);
else if(e.getItemSelectable().equals(1))
this.getContentPane().setBackground(Color.green);Please post the exact error message you get.
-
My screen is changing colors (Red, blue, gray). Any clue?
My screen is changing colors. (Red, Blue, Grey). Any idea? I could press on the back of the screen for a while to correct this but it doesn't seem to work now. Thanks.
I would take it to an Apple Retail Store or an Apple Authorized Service Provider (AASP) for evaluation, or call your nearest Apple Contact Center. Visit the Genius Bar at the Apple Retail Store, make a reservation.
-
I go to New Levels > Levels> RGB> (red, blue, green).. the mouse won't click on red, blue, green, and levels keeps reverting back to just the RGB levels. I have the full version, I just installed on a new computer, and input the serial number without problems at install. Very dissapointed as I can't edit anything without doing simple levels editing. PLEASE HELP
See:
* http://kb.mozillazine.org/Images_or_animations_do_not_load
Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
* Don't make any changes on the Safe mode start window.
See:
* [[Troubleshooting extensions and themes]] -
help!!!
Unless you purchased the optional AppleCare+ extended warranty,
Apple will exchange your iPod for a refurbished one for (USA) $99 for 16 GB 5G and $149 for the other 5Gs. They do not fix yours.
Apple - iPod Repair price
A third-party place like the following maybe less. Google for more.
iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
Replace the screen yourself if you are up to it
iPod Touch Repair – iFixit -
Strange graphics pixels - red, blue, green. They move & dissappear - help!
Some of my top bar icons are obscured/replaced by thouisands of red, blue, and green pixels. The entire dashboard widgets are obscured the same way. It comes and goes. Sometimes if I drag a windown or cursor over it it goes bacxk to normal. Macbook Pro, 15", OSX Lion, using a 23" cinema display. Graphics problem is the same on display and macbook screen. See image for example. Reboot doesnt help. I appreciate anyone's insight.
Probably a hardware fault, but to make sure, boot from your recovery partition (command-R at startup.) If you don't get the same thing there, boot in safe mode (shift key at startup.)
-
Start up and stuck with the flashing color (red green blue yellow...)
I just bought Macbook pro(My first time with Mac product) today, and when i unbox the MBP it was have a good start everything is ok, than I test the DVD drive to make sure it work or not, than i put the VCD to it. it was stuck (with the flashing color). than i dont'know what to do. I press the shutdown button around 10s the pc is shutdown...I open it again and eject the VCD, than I was stuck with flashing color (red green blue yellow...) i have try to restart many time buy pressing the button but still the same. than i keep it away for about 1hour than I open it again It was WORKING AGAIN the same as I first started, than I restart, but the same problem happen again (flashing color (red green blue yellow...).
1. I have tried to boot from DVD that come with the MBP holding C but nothing happen
2. I have tried to reset PRAM (Command-Option-P-R) not work
So what wrong with that?
Could anyone help me to fix this out?
Thank youSolida wrote:
the flashing is the Macbook pro screen it Flashing Loop, sometime red, than suddenly change to green than yellow than loop again and again.
Notice when it first start up I see APPLE LOGO than the waiting animation round. than the random screen flashing color is happened.
Three options:
1. Call AppleCare.
2. Go to an Apple Store.
3. Go to an Apple Authorized Service Provider (AASP) -
Color{red:255 green:0 blue:0} is not working?
In the following code I tried to use Color{red green blue} to set the color of rectangle
is not working for me. Is there any thing wrong with my code? But if I use Color.RED
then it works. I can't figure out why setting color using Color{reg, green, blue} does not
work.
import javafx.ext.swing.*;
import javafx.scene.geometry.*;
import javafx.scene.*;
import javafx.scene.paint.*;
SwingFrame {
background : Color.WHITE;
width : 600
height : 400
visible : true
content: Canvas {
content: [
Rectangle{x:10 y:50 width: 580 height: 200
stroke: Color{red:255 blue:0 green:0}}
// Rectangle{x:10 y:50 width: 580 height: 200 stroke: Color.RED}
}Thanks for qucik reply. And your suggestion worked.
Could you please point me to the location of documentation for this?
Thanks
Edited by: swamyv on Oct 13, 2008 1:44 PM -
1 color solid color to red/blue/green constants
Hi,
Does anyone know how to convert 1 color.
lets say ORANGE.
its red value = 16448250
its green value = 29535
its blue value = 16711680
is there a way to know what ORANGE and its red/blue/green value?
i guess to do something like this?
thanks in advance
Message Edited by krispiekream on 03-16-2010 11:52 AM
Best regards,
Krispiekream
Solved!
Go to Solution.Try the Color to RGB VI:
Misha -
Currently working on a project where I shot various video tributes in front of a green screen. When using the keyer in FCPX, the resulting image is represented by a black background instead of a green one. I'd like to change that color to blue, tan or something else so that when I apply a picture in a portion of the background, the remaining background looks fine. More specifically, I plan to put images over the right shoulder of each person in the video. The image will only take up about 1/4 of the background and the rest of it currently just looks like a black screen. Thanks in advance for any advice.
Tom now I have another follow-up. So i have the original green screen with the keyer applied which, emptied the background. Now I've applied a color generator below that in the timeline and it generates a color. How do I now go back and add the photo in the upper right corner of the clip? Ultimatly the goal is to have the subject, with the color backdrop and a photo above their right shoulder.
-
Red blue & green pixels stuck on in four coners of the iPhone 3G
4-8 stuck red blue green pixels stuck on in each corner of the iPhone 3G. You can see them when you flip between icon pages & in photos, browser etc. In other words, as you slide from the springboard page one of apps to page two the pixels stay stuck on in the same place as the images drags across?
Is that maybe from pressure, maybe sitting on the iPhone?Hi ciscomemorynet,
You might be able to fix it with a web app like: http://www.apple.com/webapps/utilities/stuckpixelfix.html
If the issue persists, the iPhone may need repair/replacement. This article: http://www.apple.com/support/iphone/service/faq/#repair8 provides service options.
-Jason -
Red, Yellow and Green button are grey. "Show All" button disappears
I'm having two issues that I can not figure out.
First the red, yellow and green buttons are grey not colored. They still work but they do not show the correct color.
The second problem is that the "Show All" button in system preferences is not visible until I float over the are where it should be. The button still works but is not visible.
I can not figure out what happened or if the two situations are related.
Any thoughts?
-RichNot sure on your other issue yet, but here's a suggestion for those buttons.
Open System Preferences and click the Appearance option. Is it set to Graphite? Switch to Blue.
I'll see if I can find a solution for your other problem as well!
Edit: Can't hurt to try removing the preferences file and see if that fixes things.
Click *Macintosh HD*, then Users> Library> Preferences. Delete--or move to the desktop--the com.apple.systempreferences.plist file. Restart your computer. Any changes?
Try another user account as well to see if the button reappears.
~Lyssa -
Red Blue issue with published DeskI Report in InfoView
Hi everyone,
i'm expieriencing a strange behaviour with my published DeskI Reports.
I'm using logos in my report and they work just fine... in my full client. As soon as I publish them to InfoView and open them up in the browser, then somehow the color red and blue interchange. Red becomes blue and vice versa...
My System consists of:
BOE R 3.1 SP2
Win Server 2008
DeskI and WebI
Has anyone expirienced the same issues?
Thanks and kr,
NilsHi Stratos,
so far everything is just fine. Hope you are doing great too.
my IE version is: 7.0.5730.13
Tomcat version: 5.5.20
If I click on the logos in InfoView, nothing happens.
I tested 3 different ways to implement them:
1) via link; pictures shows up, but again with the red blue issue
2) as an object; pictures shows up; also w/ the red blue issue
3) inserted a cell, and pasted the picture in it, pictures shows up; also w/ the red blue issue
The strange thing is, that this issue only appears in the browser.
Thanks,
Nils -
I have a Mac Air. I use the mail application al the time. THe red, yellow, and green buttons disappeard. i have to force-quit now to close mail.. How do i get the buttons back? thanks.
Mail window may be in the Full Screen mode.
Move the mouse pointer to the top right corner of the Mail window and hold it there.
Menu bar should drop down and click the blue double arrow icon.
Full Screen toggle shortcut: control + command + F -
How to distinguish 'visited' sites with a color, Red?
I have my 'visited' links set to red and unvisited links set to blue. After 'visiting' a link, the color remains blue instead of changing to red. I recently, like a few days ago, installed 4.0.
Make sure that you not run Firefox in (permanent) [[Private Browsing]] mode.
* You enter Private Browsing mode if you select: Tools > Options > Privacy > History: Firefox will: "Never Remember History"
* To see all History and Cookie settings, choose: Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
* Uncheck: [ ] "Permanent Private Browsing mode"
Maybe you are looking for
-
OSX 10.8.5 + Pro Tools 10: Very strange issues - Firewire audio interface
I'm facing weird issues on my new system. When I received my new iMac, I firstly used Migration Assistant. It didn't work well so I did a clean install. I installed the Digi003 drivers first, then PT, then all the plugins. Everything is up to date. I
-
Error while creating Resource Related Billing
Hi, I've created service notification from IW51 and then service order for the same. I've created confirmation for the order from IW41. Now when I'm attempting to create resource related billing document in DP90 referring the service order, the syste
-
Tried all the steps from the Knowldege base and ran the Clean script CS4but still the issue persists, installed the License Recovery Tool still the same problem
-
Consuming web service with with a custom class parameter in web dynpro
Hi, I have developed a web service. It is tested an it runs fine. The webservice is retrieving and returning Data Transfer Objects (POJOS). I have made the model-context binding, then the view controller - component controller binding with the input
-
How to remove dock icon on Mac when main stage is hidden?
I'm trying to implement a "minimize to system tray" functionality, where when the user closes the app's window, it disappears from the task bar and can be retrieved from the system tray. This works great on Windows and Linux, but on the Mac, the wind