Re: LabVIEW 3D Picture Control Evaluation Software -- Gone?
David A. Moore wrote: software, but when I patch it together, I get to a page saying that the document is being reviewed. Since I'm actively working in this area, and will be displaying some results at NI Week, it would be nice to get a copy Could it be that someone read somewhere (i wonder where?) about complaints that the OpenGL render does not install on Mac and decided to re-release it for multiple platforms? Michael Aivaliotis
Re: LabVIEW 3D Picture Control Evaluation Software
Christophe Salzmann wrote: NI release a nice OpenGL render for LV 7.1, see The doc says ... and will work with Windows NT/2000/XP only... Well, as far as the Mac support. I would guess that it must be a corporate strategy. Plain and simple. Any release (of any software) on a new platform, requires a replication of internal resources. It's a matter of cost vs. benefit. The highest percentage of Mac users I've ever heard of (worldwide) is about %12 (that's generous). How much of that is in test and measurement? I don't know, but I'm sure NI does. NI is in test and measurement. Is the Mac? Until NI decides to expand beyond test and measurement into more mainstream markets, i don't see much more support for the Mac. Of course my previous paragraph will gather the wrath of the Mac users in this forum. I think I hear storm clouds coming... Long reply follows... I'm not a Mac user, however personally, I would like to see more support for Linux. Of course there are a few pioneers out there that are on the bleeding edge with Linux and other Os's, however (like with the Mac), support for all of this MUST come from NI corporate. It must be mandated from the top-down. You wrote about Mac users being marginalized. Actually, I think that it is LabVIEW that is being marginalized. One example: The current support for LabVIEW in web and mobile applications is zero. The current incarnation of Remote Panels is not a practical web application. The future predictions indicate that the computer (or mobile device) will become one big web browser. In the always connected world your application will be served up to you. The question then becomes, what are you running on the back-end? You will be surprised to see the domination of *nix systems (Unix, Linux etc.). Thank You Michael Aivaliotis
Re: Varying light intensities on a picture
OpenG has a little toolkit that allow change of brightness and contrast of an image. It might not be sufficient for what you want to do, but that could get you started http://www.openg.org/tiki/tiki-index.php?page=Image%20Processing PJM
Re: Varying light intensities on a picture
Hi Brian, If you put the picture into a picture control, then you can get an invoke node of that control and access the picture as an array of values. There, you can change certain values of the array to produce the change you desire. Hope that helps! Jeremy L. National Instruments
Picture zoom distortion
Hello, I'm using LabVIEW 7.0 and W2k. My problem is about picture control and his zoom factor function. When the zoom factor is too high (ie 20), the display is deformed: a pixel is not square. Moreover, the distortion depends on the position of the scrollbar: at the center of the picture, a pixel has a size of 20*20 (normal!) but at top-center, it has a size of 20*10 and of 10*20 at left-center!!! By the fact that I need to know the position of the mouse on the picture to display the pixel value, the pointed pixel does not correspond to the pixel which the value is displayed. Regards.
picture to png
Is there no way to get the contents of a picture and save it to an image file? I know about using an Invoke Node and the Get Image method, but that's not what I'm after. It's easy enough to draw stuff outside the visible area of a picture control and Get Image won't capture that. I've got limited screen space to display the image I'm building but I'd like to save all the data to an image file for the end user to do with as they please. I could just make a sub-VI with a humongous picture control and save the image, but that lacks elegance. Has anyone found a better way? Thanks, Jason -- Jason Corwin [EMAIL PROTECTED] (858) 592-4025
RE: picture to png
Hi, Try this: http://labview.brianrenken.com/downloads.shtm There is a nice Subvi that fit your needs(Picture to file). written by Brian Renken Guillaume Perron Concepteur logiciels/Software developper ITF Technologies Optiques (514) 748-4848 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Monday, May 17, 2004 1:50 PM To: [EMAIL PROTECTED] Subject: picture to png Is there no way to get the contents of a picture and save it to an image file? I know about using an Invoke Node and the Get Image method, but that's not what I'm after. It's easy enough to draw stuff outside the visible area of a picture control and Get Image won't capture that. I've got limited screen space to display the image I'm building but I'd like to save all the data to an image file for the end user to do with as they please. I could just make a sub-VI with a humongous picture control and save the image, but that lacks elegance. Has anyone found a better way? Thanks, Jason -- Jason Corwin [EMAIL PROTECTED] (858) 592-4025 Confidentiality Warning: This message and any attachments are intended only for the use of the intended recipient(s), are confidential, and may contain privileged information. If you are not the intended recipient, you are hereby notified that any review, retransmission, conversion to hard copy, copying, circulation or other use of this message and any attachments is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, and delete this message and any attachments from your system. Thank you. Information confidentielle: Le présent message, ainsi que tout fichier qui pourrait y être joint, sont envoyés à l'intention exclusive de son ou de ses destinataires; ils sont de nature confidentielle et peuvent constituer une information privilégiée. Nous avertissons toute personne autre que le destinataire prévu que tout examen, réacheminement, impression, copie, distribution ou autre utilisation de ce message et de tout fichier qui y est joint est strictement interdit. Si vous n'êtes pas le destinataire prévu, veuillez en aviser immédiatement l'expéditeur par retour de courriel et supprimer ce message et tout document joint de votre système. Merci.
using picture ring with multiple controls
I am using a picture ring with 21 pics in it.each pic represent a state, I am using a flat task structure to execute this states. the question is how can I increment the picture ring from inside every single state/task? regards Luis
Re: Integrate IMAQ Vision picture into frontpanel
Hello, This two dimensional array can be displayed in an Intensity Graph on a LV6.1 front panel. This solution works for me. I've already tried it out. I really thank you very much. Greetings Felix
Re: Integrate IMAQ Vision picture into frontpanel
Hello This solution works for me. I've already tried it out. I really thank you very much. I've tried a little more, with some logical operations (and or ...) of grayscale pictures, sometimes, theres color in the displayed result-image. Something must be wrong. Any Idea? Felix
Integrate IMAQ Vision picture into frontpanel
Hallo, I hope I'm in the correct newsgroup here. I've just begun to work with Labview. I'm working on several little demonstration programs, to show the principles of image acquisition. Now I'm searching for a possibility to integrate the pictures in the format that is used by the IMAQ vision library directly in the front panel. Til now I have not found a solution to that problem. Is there someone who could give me a tip, how to solve this problem. If theres only a high complicated solution, then no need to reveal it, because I'm just a beginner, and so not yet able to understand complicated solutions. I thank you all Felix Leo
Re: Integrate IMAQ Vision picture into frontpanel
Hello, If you are using a previous version of LabVIEW but you have IMAQ Vision (which it sounds like you do), you can display the image in a WindDraw window. Here is an example that demonstrates the use of the As I'm using the version 6.1 I've found that solution with the window already. The thing I'm searching for seems to be the possibility of the version 7. So for the moment I have to do with the window.solution. Thanks Felix
Re: Integrate IMAQ Vision picture into frontpanel
I've tried a little more, with some logical operations (and or ...) of grayscale pictures, sometimes, theres color in the displayed result-image. Something must be wrong. Any Idea? The logic on the image and the display of the image are really unrelated. You can take a color image and display as grayscale at any point or take a grayscale and apply a false color colortable at any time. Anyway, I suspect that your logic operations are working fine. The intensity graph always maps the data to the range of 0-255 and applies a color table. It does this for integers as well as floats. If the color ramp of the color table contains color, that would explain it. If it is totally gray and you are seeing color, it may be a bug in the intensity graph. If this doesn't help, either post again with more information about how the intensity graph is setup, or try turning on interpolation on the intensity graph. Greg McKaskle
Re: Changing the brightness and contrast of an image displayed in a picture control
Would you mind sharing the name? Ben
Re: Changing the brightness and contrast of an image displayed in a picture control
The ActiveX component is called ImageX by Fath Software. I am also using their VideoCapX to capture images.
Re: Changing the brightness and contrast of an image displayed in a picture control
My Image Toolbox VIs can load and manipulate images, Compatible with LabVIEW picture control. And only costs half the price of ImgX. http://www.geocities.com/gzou999/imgtool.htm George Zou http://gtoolbox.yeah.net
Re: Changing the brightness and contrast of an image displayed in a picture control
Thank yu Terry! I award you four stars because you you have provided a faster and easier solution than I originally proposed. Maybe next time we can help you. Ben
Re: Integrate IMAQ Vision picture into frontpanel
Your other option is to use IMAQ Image to Array. This converts the Image data into a two dimensional array of U8's, I16's, or Floats, depending on the type of image that was originally created. This two dimensional array can be displayed in an Intensity Graph on a LV6.1 front panel.
Re: Changing the brightness and contrast of an image displayed in a picture control
Pretty much, yes. If you want to play around with image analysis, have a look at the free ImageTool software from http://ddsdx.uthscsa.edu/dig/itdesc.html - the brightness contrast adjustment tool in this program illustrates the idea very neatly. (Mac users of course should get NIH Image from http://rsb.info.nih.gov/nih-image/ )
Re: Changing the brightness and contrast of an image displayed in a picture control
THanks for the link I will chase it down. I did mention that this topic interests me and did not claim to be an expert, didn't I? Thank tmh! Ben
Re: Changing the brightness and contrast of an image displayed in a picture control
In all the image analysis packages I've seen, the basic brightness and contrast adjustment functions use a simple straight-line relationship between the old and the new intensity - basically z = a + b.z0 where z0 is the old intensity and z is the new intensity value. 0 b 1 would give reduced contrast, b 1 would increase contrast; to change brightness but not contrast keep b = 1 and change a. For RGB images you just process R, G and B identically. A fairly easy task IMHO!
Re: Changing the brightness and contrast of an image displayed in a picture control
I believe you have more experience in this area than I do! I believe I agree with you re: brightness. Before I get caried away, maybe you can help with what I understand as contrast. TO simplify lets just talk grey-scale. If I look at the video signal the brightness is my DC level. Contrast is the amplitude. Is this consistent with your understanding? Ben
Re: Changing the brightness and contrast of an image displayed in a picture control
This is no easy task! The simpler of these two request would be the brightness. To make a color brighter would involve shifting the color value in RGB space toward white (255,255,255). This shift in color values can not be a fixed amout for all three components (RGB) but should be scaled based on the original color and its distance in color space from white. I believe brightness will be the easier part because it involves only comparing a single pixel color with white and adjusting. Contrast is more complicated because it will involve shitfting some of the colors toward white and others toward black. So... The image Toolkit just may be worth it cost! Ig you write this yourself, please share what you find. The world of images and color are both subjects that interest me. Trying to help, Ben a href=http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101RPAGEID=261HRedirected=TrueHUserId=101_3529RFORMNUMBER=6;Ben Rayner/a a href= http://volt.ni.com/niwc/common.jsp?page=products_certification_cldnode=10638; Certified LabVIEW Developer /a www.DSAutomation.com
Re: Integrate IMAQ Vision picture into frontpanel
Hi, Felix, I believe what you are asking is how to display images on a LabVIEW front panel. If you are using LabVIEW 7, there is now an embedded front panel control that you can use for image display. This control is found in the following location on the Controls Palette: Controls Vision Image Display. If you are using a previous version of LabVIEW but you have IMAQ Vision (which it sounds like you do), you can display the image in a WindDraw window. Here is an example that demonstrates the use of the WindDraw window: a href=http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DB9156A4E034080020E74861p_node=DZ52490p_source=External;Developer Zone Example: High-level Grab in IMAQ Vision Display/a I hope this helps! Best wishes with your application. Best regards, Dawna P. Applications Engineer National Instruments
Re: Integrate IMAQ Vision picture into frontpanel
Hello Felix: First, is that you have to remember that ordinarily LabVIEW does not come with IMAQ or Vision tools as a single package and so you have to learn them separately but ultimately integrate them together in application. There is a set of toolset called picture control (early version in LV4.1 to LV5.1?) you can begin from. Assuming you have good grasp of image file types then start downloading NI examples that enables you to read an image, convert them to a matrix form (spreadsheet) and back or into different format. If you have a scanner that can save in TIFF,PNG,BMP or JPEG you could use those files to read them into your routines.
Re: how to enlarge the picture in the picture control at the ...
Hi, In 6.1, since there is no zoom property, you will have to use the draw area size property that I believe you are already using. Good luck. Feroz
Re: I want to make a arrow picture blink when The Load cell is travelling down
Ah ha , This is exactly what I am trying to do , thanks for the help.
Re: I want to make a arrow picture blink when The Load cell is travelling down
nice to hear this .
Re: I want to make a arrow picture blink when The Load cell is travelling down
Dear Skegsy- You will not be able to use the customize control function to modify the indicator's disabled state. Because you're, in effect, changing the image display of a Boolean indicator, there is no 'disabled' state for the indicator. A 'true' or 'false' value is always being passed to the indicator, so it can only have two displays. One thing you may want to try is using a property node. Within the function block, [right-click] on the icon for your indicator and select [Create][Property Node]. Now, [right-click] on the button and select [Change all to write]. Finally, [left-click] on the lower half of the property node and select Visible from the pull down menu. With this property node, you can make the indicator visible or non-visible based on a Boolean input. If you wire a Boolean into the node, a true value will cause the indicator to appear and a false value will cause it to disappear. If you put this property node inside your function loop with a boolean test respective to your desired action, you can effectively control the appearance of your arrow indicator. Hope this helps. Please let me know if you need anything else. Kind Regards, Joe Des Rosier National Instruments
picture move in front panel
Dear all, I have a jpg picture. I need to write a program to make the picture move up down on the front panel. What function can I use for changing the location of the picture file on front panel? thanks
Re: how to enlarge the picture in the picture control at the ...
Dear Feroz: thank you for your enuthunisis very much! what you say just is what i try to do! but it is only partly solve my question,you see ,i only have lv6.1,i haven't much money to enhance the lv7.0,in china ,it will cost 7666 yuan to enhance the lv 6.1 to lv 7.0. but i really thank for your help,my english is not well,welcome you to beijing ,greatwall,you know?
Re: how can lv6.1 use it's picture control to enlarge picture's length and width
dear expert Ben: thank you for your enuthusis help! but i didn't know:who is George Zou? are your spell right? i have search the code library,can not find george zou! i am sorry,in china ,no one can solve this ,i believe!
Picture.
Hello, people mate!! I would need to know if it is possible to remove the window case in the picture.ctl. I mean, I would like to show a picture less window case. RGRDS. Daniel Moyano
Re: how can lv6.1 use it's picture control to enlarge picture's length and width
you are right! i try to access Geogre zou's http://gtoolbox.yeah.net; ,but failed,web error,is it expired? or have deleted? pyj
RE: Picture.
Daniel, You can make the frame transparent using the coloring tool. -Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Alejandro Moyano Sent: Monday, February 16, 2004 3:49 PM To: Info-LabVIEW Mailing List Subject: Picture. Hello, people mate!! I would need to know if it is possible to remove the window case in the picture.ctl. I mean, I would like to show a picture less window case. RGRDS. Daniel Moyano
Re: Picture.
At 20:49 -0300 02/16/2004, Daniel Alejandro Moyano wrote: I would need to know if it is possible to remove the window case in the picture.ctl. I mean, I would like to show a picture less window case. Color the boarder transparent. -Scott
Re: how can lv6.1 use it's picture control to enlarge picture's length and width
Hi pvi, It's me again. I have wanted to develop VI's to do this for a while but I have not had a chance. I believe the George Zou of Gtoolbox fame has done this and this functionality is included in his toolbox. I do not believe there are any LV functions available that will et you do this out of the box (pun intended). I believe you will have to devlop this fuctionality yourself. I would start by type casting a flattened pxmap as a 2-d array of U32's IF POSSIBLE. Like I said, I have not stuck my head in this hole YET. What you will need to do to enlarge your image in the X axis is figure out how many columns of pixels you have to add and use the adjacent pre-existing pixels to dicate the color of the new pixels. This is no easy task! I thnk George is the only one that has figured this out! Post with more Q's as they come up. This topic is of interest to me. Trying to help, Ben
Re: how to enlarge the picture at the same scale(proportion)...
To answer your first question: To change the size of only the Picture you can use the Draw Area Size like you already have. However if you want to move the other controls around the picture, you may need to use their Position Properties. On to question 2: All of the VIs you are discussing come with the NI-IMAQ driver and NI=92s Vision package. To use those VIs you will need to have the IMAQ driver and have purchased our Vision software. a href=3Dwww.ni.com/visionMachine Vision/a and then you can click on the Machine Vision Software link to learn more about the package. Evan National Instruments
Re: how to enlarge the picture at the same scale(proportion)...
Hi Pyi, To answer your first question if you alter the vi properties (right click on the front panel icon) and select window size there is a scale all objects tick box at the bottom this shouls solve this issue.The imaq question I believe is a separate package which you need to buy. Hope this helps, Nick
Re: The best way to print a picture control from LabVIEW
So, what is the best way to print a picture control in a high quality? I think you are on the right track, but I believe there is a limit on the Scale to Fit option in printing. It will only scale the image by 4x, to 288 dpi. For now, try making your picture something smaller, like 280x10 x 280x7 and try that out. If that solves it, you might want to make a formal request to have the heuristic number increased. Greg McKaskle
Re: The best way to print a picture control from LabVIEW
Hello Greg thank you for the answer. Can I ask you also to go back to our last conversation and read my answer. Or better I enclose it here: Hi Greg again I hope you will rad this message, though it is written after some time we have finished our converstion. In previous post, you write that the polar plot will render my plot depending on the device it is sending the plot to. You give an example that if my device is a printer, the polar will render plot with 600dpi resolution. That would work for me very well, but I need to ask you how make my printer the device that polar plot will write to. For now I can print my polar on screen and then print the front pannel (good resolution), or save the picture to graphic file and print fron report or etc (poor resolution). In case I could render the image directly on the printer I would obtain the best quality what so ever, but I do not know how to make my printer a output device for a polar plot. kind regards Pawel
The best way to print a picture control from LabVIEW
Hello I need to print the Picture control (BW) in the high resolution (300 dpi). I need to create a picture so it fits 300 dpi without any resizing. I calculated it like follows. My picture shell have 10 inches x 7 inches. With a 300 dpi it gives dimensions: 3000x2100 pixels. The problem is that when I make this kind of picture I can not print the front pannel (or I can but at 4 pages), even though I asked it to fit the front pannel. That means that the actual plot is not 300 dpi. How to make it 300? So, what is the best way to print a picture control in a high quality? thanks in advance Pawel
SV: [A,W] Picture func, fill
.. Bruce Ammons [mailto:[EMAIL PROTECTED] wrote: .. How about using Draw Multiple Lines with Fill True? That should fill in your polygon for you. .. Thanks Bruce. You were completely right. The moral must, once again be: There is no substitute for reading the manuals, even though info-labview comes close! :-) Have a nice day. knut University of Tromsø, Medical Faculty, Medical Physiology, N-9037 Tromsø, Norway Tel. +47 776 44692, Fax. +47 776 45440
RE: [A,W] Picture func, fill
Knut, How about using Draw Multiple Lines with Fill True? That should fill in your polygon for you. Bruce -- Bruce Ammons Ammons Engineering www.ammonsengineering.com (810) 687-4288 Phone (810) 687-6202 Fax -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Knut Steinnes Sent: Thursday, January 22, 2004 2:52 AM To: [EMAIL PROTECTED] Subject: [A,W] Picture func, fill Dear folks, I have an application where I need to draw a few areas upon a picture and calculate the ratio between these areas. I'm using 7.0 PDS and the Picture functions. Reading a picture and drawing some closed polygons in a Picture object does work well. However, the filling procedure is more akward. The algorithm always corner itself before finishing the closed polygon. (It is following the inner edge so creating 'islands' is unavoidable) Any hints about how to fill an area? Maybe it can be done by searching line by line...or buying the Vision module, but the app is to 'simple' for that. Knut University of Tromsø, Medical Faculty, Medical Physiology, N-9037 Tromsø, Norway Tel. +47 776 44692, Fax. +47 776 45440
[A,W] Picture func, fill
Dear folks, I have an application where I need to draw a few areas upon a picture and calculate the ratio between these areas. I'm using 7.0 PDS and the Picture functions. Reading a picture and drawing some closed polygons in a Picture object does work well. However, the filling procedure is more akward. The algorithm always corner itself before finishing the closed polygon. (It is following the inner edge so creating 'islands' is unavoidable) Any hints about how to fill an area? Maybe it can be done by searching line by line...or buying the Vision module, but the app is to 'simple' for that. Knut University of Tromsø, Medical Faculty, Medical Physiology, N-9037 Tromsø, Norway Tel. +47 776 44692, Fax. +47 776 45440
Import picture.
Hello nice people!! I would need to know if it is possible import *.gif files to customize control buttons pannel. I couldn't do it yet. Could somebody help me. Tks. Rgrds. Daniel Moyano