canman34222 Posted February 27, 2011 Report Share Posted February 27, 2011 Picture is convert from RGB to CIE Lab So I have a problem of connecting ( from pic) Help Me please . Thk so mush Quote Link to comment
GregSands Posted February 27, 2011 Report Share Posted February 27, 2011 (edited) You need to do something like this: Edited February 27, 2011 by GregSands Quote Link to comment
canman34222 Posted February 28, 2011 Author Report Share Posted February 28, 2011 thk so much Quote Link to comment
intern Posted June 5, 2013 Report Share Posted June 5, 2013 How did you design the element CIE L×A×Bcould yout ell me Quote Link to comment
intern Posted June 5, 2013 Report Share Posted June 5, 2013 or could you send be the code/vi if you ahve it? Quote Link to comment
GregSands Posted June 5, 2013 Report Share Posted June 5, 2013 The image above is a snippet, but here's the code if you can't work out how to use that. The VI that does the work is IMAQ RGB To Color 2.vi RGBtoLab.vi Quote Link to comment
intern Posted June 6, 2013 Report Share Posted June 6, 2013 Thank you so much.Can you recommend me a good place to find basic tutorials for vision. I have just started using this 3 days ago for my and I couldn´t figure out how to modify this for my program.I need to automatically take pictures every 10 minutes with a user defined exposure and convert them from RGB to LAB.Can you please help me out with this? Quote Link to comment
GregSands Posted June 6, 2013 Report Share Posted June 6, 2013 There are a whole lot of Vision examples provided in LabVIEW - look under Help/Find Examples. Quote Link to comment
intern Posted June 7, 2013 Report Share Posted June 7, 2013 Oh okay. Thanks a lot Quote Link to comment
intern Posted June 7, 2013 Report Share Posted June 7, 2013 (edited) Hello Greg Sorry again but in this one does the L out a out and b outwhat are they doing? are they storing the image somewhere. usually when I right click and click on help they give a description but there was nothing on this one. It does the work fine though when I connect it to an image display. Is there a way to get pixel by pixel value of luminance and store it in a text file? Edited June 7, 2013 by Nikhil Ratna Shakya Quote Link to comment
intern Posted June 12, 2013 Report Share Posted June 12, 2013 Ignore the previous comment.I figured that one out, but when I check the values of L with that here http://www.easyrgb.com/index.php?X=CALC#Result . They dont match. Quote Link to comment
GregSands Posted June 12, 2013 Report Share Posted June 12, 2013 There appear to be a couple of reasons they don't match. 1. LabVIEW returns L in the range 0-255, whereas it is more common to use 0-100 as EasyRGB does. 2. It looks as though that website does a Gamma correction when converting RGB to XYZ (see the formulas - notice it raises to the power of 2.4) whereas LabVIEW does it without correction. That will make a huge difference, and it's non-linear as well. You can always code up the formulas from the EasyRGB website if you want to use the same! But without a good understanding of color spaces and the acquisition of your particular images, I'm not sure you're really any better off. The formulae LabVIEW uses are hidden at the bottom of the Color Pattern Matching help page - took ages to find them! 1 Quote Link to comment
intern Posted June 14, 2013 Report Share Posted June 14, 2013 Oh okay thank you.I coded the VI according to the formula.Thanks so much Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.