Save D image with line-scan camera.
Hi guys,
my work needs to use a line-scan camera to generate 2D image. A scanner is used to achieve the object scanning (so, the object is still). I have already acquired the image with the program similar to the example LL Trigger Ring, but I don't know how to save the 2D image on disk. Besides, do you guys know any other good source where I can find more labview examples (I only know the NI find the example)?
Any suggestions or idea would be appreciate!
Thank you in advance.
Attachments:
My labview program.JPG 52 KB
You can save the image to the disk using IMAQ Write File 2. You can find (and post) additional examples on the Developer Community. If you have more questions, please let me know. Hope that helps!
John B.
Embedded Networks R&D
National Instruments
Certified LabVIEW Developer
Similar Messages
-
Vision system design using 2 Basler line scan cameras
I would like to use 2 Basler line scan cameras (models L100 or L200) that I checked on the NI site as being approved. I would like to know how to acquire image data from 2 cameras at the same time and log this to the computer database.This is a high speed web application.
Jack,
You shouldn't have any problem. You will need to use two PCI-1422 or PCI-1424 cards, since each card can only handle a single camera. You can use the RTSI bus to synchronize the two cameras. You will probably need an encoder for timing signals.
I am not sure what information you want to log to a database. If you are planning on storing the images, it could slow down your system, depending on the size of the images.
Bruce
Bruce Ammons
Ammons Engineering -
Hello,
I got a new camera and Photoshop and Lightroom won't open Raw images with my new Camera Canon 6D help! I use Photoshop CS5 extended version. and Lightroom 3Good news and bad news:
The bad news is that you need CS6 or higher to open 6D RAWs. (The 6D didn't get support until Camera Raw 7.3; 7.0 premiered in CS6.) You can choose to upgrade (I'd recommend skipping CS6 and go straight for CC 2014 for $10/month) *OR*...
...the good news is that the DNG Converter can help you convert your RAWs into DNGs for use in CS5 and Lightroom 3. -
How to save/export image with 3D grid
I am in CS6 with the 3D workspace selected. I need to export/save the image with the grid viewable. I know this is possible as I have seen it on a few other images. The catch is I need it 300 dpi so I cannot just screen shot as png.
I don't understand what's the problem? Can you please elaborate? Show some code snippets and tell where you stucks on.
-
How do I send a command to a Line Scan camera?
Hi,
I am using the Measurement & Automation Explorer and I would like how to send a camera setting to a line scan camera that uses NI-IMAQ. Any one have any suggestions?
-ChrisWhat I am trying to do is send a serial command to the camera using the Measurement & Automation Explorer. I am also using the PCIe - 1429 framgrabber. Any know how to acheive this? Is this even possible using the NI software?
-Chris -
How can I save an image with background transparency as an eps in photoshop?
I have to submit an eps of my logo and I would like it to have a transparent background. I have googled this many times, followed all of the suggestions and I'm still having trouble.
Follow the help text in PhS CS2. I have shown importat guidelines by bold text:
"To save a path as an image clipping path
Draw a work path that defines the area of the image you want to show.
Note: Paths are vector-based; therefore, they have hard edges. You cannot preserve the softness
of a feathered edge, such as in a shadow, when creating an image clipping path.
In the Paths palette, save the work path as a path.
Choose Clipping Path from the Paths palette menu, set the following options, and click OK:
For Path, choose the path you want to save.
For Flatness, leave the flatness value blank to print the image using the printer’s default value.
If you experience printing errors, enter a flatness value to determine how the PostScript interpreter
approximates the curve. The lower the flatness value, the greater the number of straight lines used
to draw the curve and the more accurate the curve. Values can range from 0.2 to 100.
In general, a flatness setting from 8 to 10 is recommended for high-resolution printing
(1200 dpi to 2400 dpi), and a setting from 1 to 3 for low-resolution printing (300 dpi to 600 dpi).
If you plan to print the file using process colors, convert the file to CMYK mode.
Save the file by doing one of the following:
To print the file using a PostScript printer, save in Photoshop EPS format, DCS, or PDF format.
To print the file using a non-PostScript printer, save in TIFF format and export to Adobe InDesign,
or to Adobe PageMaker® 5.0 or later. "
An image with clipping path contains everything outside the path as transparent.
Tested actually by PhS CS6.
Photoshop is not the right tool. Better use Illustrator or InDesign (ID for logos which are not too complex).
Graphical objects in IL or ID reside on a transparent background without any selection or clipping path
(PostScript concept).
Best regards --Gernot Hoffmann -
Hey Guys,
This sounds like such an elementary issue that I should be able to figure out. But basically I have some images (psd) that I imported into Final Cut and I have put basic motion on all of them. Everytime I export the video I end up with lines on the images. I don't understand why, because these images weren't shot with a camera that shoots in lines...I've tried applying de-interlace, image stabilizer, and flicker filter and nothing seems to solve the issue. Any ideas?Joseph
DV NTSC video is interlaced. Probably you are giving a heavy and/or fats movement to the still. If you want to chek the interlacing effect while editing, view your canvas at 100% magnification. Anyhting below that FCP will show you just a field. Play the still movement frame by frame and you must see there the interlacing lines.
What's the final delivery format? If it's DVD then you have nothing to worry bevause TVs manage fine interlaced video and that's the way to be. If you are exporting to a web QT file format, then probably must deinterlace it while exporting.
After all think that we are not seeing your timeline and sometimes it's difficult to guess from here what's happening !
Hope that helps !
Alberto -
Save an image with partial transparen​cy
There appears to be no way to preserve alpha channel information when saving an image out of labview, even when using the IMAQ vision functions. That is to say, you can create a partially transparent image using labview, but you can't save it to disk. Is this correct?
global variables make robots angryThe issue boiled down to bad documentation. LabVIEW is cool,
but I really can’t wrap my head around how, given the very limited amount of
documentation, so much of it could contain goofy mistakes. The documentation
says that LabVIEW can’t handle a 32-bit image, and that it can only render
transparency as a binary mask.
Attached is a VI that demonstrates how to create partial
transparency in LabVIEW by building a 32-bit image with an alpha channel.
LabVIEW has no problem saving it out as a PNG. You can’t display it properly
with the picture indicator, but you can display it properly with the 3d picture
control. You have to ignore the documentation and switch the image bit depth
value to 32 and order the image data as groups of 4 bytes, alpha, red, green,
blue for each pixel.
Also, if you create a binary picture mask to be used with a
picture indictor, you need to add an extra column of bytes for no identifiable
reason. You’ll find that when LabVIEW reads in a PNG with an alpha channel, it
reads it in properly and creates a binary mask. You can save it out properly
and alpha channel info is preserved. The mask will be larger than expected
because of the weird extra column of bytes that isn’t mentioned in the
documentation. For instance, if you load a 600 x 400 PNG with an alpha channel,
the mask will be 30400 bytes long instead of 30000 bytes that would be expected
if the description of how the binary mask works was right.
Please note that there are two separate data structures (the
32-bit image data with an alpha channel and the binary mask with the weird
extra column) that are described incorrectly in the documentation for all of
the picture function help pages. Note that there are several lines in each affected
help page that need to be corrected.
I like LabVIEW because it’s great for communicating with NI
hardware, it’s easy to do parallel computing and it’s super easy to make a nice
GUI. I’ve used LabVIEW to write real-time target tracking software that works
on a wide range of targets in real video and I’ve used to it write a real-time
3D simulation using real imagery and real video including ground imagery,
transparent cloud imagery and real video of explosions. So, even though the
function libraries are not terribly robust, I know that LabVIEW has a good deal
of potential as a platform for serious programming work. I only started using
LabVIEW less than two years ago, so that should tell you that LabVIEW is fairly
intuitive to use.
However, I’m a little disappointed and frustrated with it
because I keep getting burned by poor documentation and silly bugs that eat up
programming time. LabVIEW is expensive software, and while the function
libraries are nice, they are somewhat limited. I think that National
Instruments should either offer much more functionality or do a better job
documenting and debugging the existing function libraries (of add-ons and
toolkits, too) in order to justify the cost of LabVIEW software.
Message Edited by Root Canal on 11-02-2009 05:33 PM
Message Edited by Root Canal on 11-02-2009 05:35 PM
Message Edited by Root Canal on 11-02-2009 05:37 PM
global variables make robots angry
Attachments:
transparency.zip 724 KB
nope.png 62 KB
32 bit with alpha channel small.png 599 KB -
Importing images with Lightroom 2 & Camera RAW 4.5
The following query has been raised with Adobe Technical Support (5 days ago and I am still waiting for a response/reply. They claim to reply within 24 hours but they have not on this occasion......they seem to be ignoring me
Perhaps a fellow user can help to identify or resolve the problem.
Operating System:
Windows XP Professional (Service Pack 3)
Software:
Adobe Design Premium CS3 (10.0.1); Photoshop Lightroom 1.4 (which was working fine) and Lightroom 2 (on trial and not working particularly well)
I am using a trial download of Photoshop Lightroom 2 (with Camera RAW 4.5 in Photoshop CS3).
I am having a few problems with editing Lightroom 2 images in Photoshop CS3 but I understand that Adobe is currently investigating a solution to this problem.
I have also noticed another potential problem since I have started to import images from a computer drive to Lightroom 2 and converting the Manufacturers RAW files to DNG (with the option to leave the files at their current location/drive).
My RAW and JPEG files open ok in Camera RAW (v 4.5) for basic editing and subsequently to Photoshop for more detailed work. The problem is that all my images are now opening as Smart Objects by default in Photoshop CS3, as opposed to opening as a Background layer". (I have not knowingly opted to use the Open as Smart Object option.
I am not entirely sure how this came about but I have also lost the capacity to edit images with empty Levels adjustment layers or percentage (%) grey fill option).
I am able to highlight the respective layer and create the empty Levels adjustment layer, change the blend mode to either Multiply or Screen, fill the Layer Mask with Black (Alt & backspace), change the opacity level as desired, select the brush tool and change the foreground colour to white to enable the applicable Dodge or Burn processes.
Unfortunately, it does not function irrespective of the preferred opacity level. The Dodge or Burn feature is static with no effect on the image.
I cannot recall any settings to open all files as Smart Objects in Photoshop CS3 but would welcome some help in identifying such a setting if it exists. Alternatively, I would welcome any other suggested methods of correcting the above difficulties.
The same difficulties are evident when I try to use the Dodge or Burn features via the Edit and Fill option with a percentage of Grey and the Overlay Blend Mode.
The "Common Denominator" of the above difficulties appear to be Lightroom 2 and Camera RAW 4.5 (individually and or collectively) and now I am stuck between a rock and a hard place.
Are any other users experiencing similar issues or have any suggestions about how I might correct or resolve these problems? ......
I am not afraid of hearing or accepting that the "Dummy Factor" has played some part or how I may release myself from the said "Dummy Factor".....any help is welcome help.
Adobe Technical Support seems to be ignoring me......I wonder why?
Regards
Bob WallaceEssentially you are wrapping the raw image data into a special type of layer, a "smart object". You can then revisit and fine tune the Camera Raw conversion as often as you want and take advantage of working directly on the raw data in its pre-Photoshop purity. You can also apply to this smart object layer a number of Photoshop adjustments and filters - and again redo and fine tune them as often as you wish.
You'll find them explained in a number of recent books. I know Scott Kelby is keen on them, there are examples on Russell Brown's site, and my own book last year on B&W strongly advocated their use.
Have a play.
John -
How to save a image with JSF and get your URL
Hi
I need to save a image to my file system and get your URL. I�m working with JSF.
Ex.:
1� Save a image Cup.jpg on the server
2� Get your URL
result: http://www.mysite.com/images/Cup.jpg
Thanks!!!I don't understand what's the problem? Can you please elaborate? Show some code snippets and tell where you stucks on.
-
Can you auto save an image with webcam?
Is there a way to automatically save an image from the webcam to a folder without having to click a button, or can you make the button take the image and save it to a folder as well, without a pop up saying "choose the folder to save to"?
answered in your other post on same subject
-
How do I save an image with hyperlinks so it can be put in an e-mail?
I designed an e-mail and used the slice tool to insert hyperlinks. Now I want to save it so that it can be put in the body of the e-mail with the hyperlinks active and usable. Any suggestions?
Thanks!
BIWhen you preview the image from the save for web dialog box, it will open your browser to see the image. It also will have the necessary html code needed for the links to work. Just copy that html code and add it to your email code with the image.
-
How do I save an image with an incremented filename?
I am new to LabVIEW and am working on acquiring and saving many 12 bit images. So far I have a File Dialog box to allow me to select the path to save the file. After I select the path, how can I make each image acquisition filename after that increment by an integer and save automatically (i.e. image1, image2, image3, etc)?
jpyung wrote:
Thanks Warren for the VI. I'm new to labview so please bear with me. Just to make sure I understand what's going on in this VI, the first time the program runs, the "error" case structure runs, and then subsequently, the "No Error" diagram runs?
The error case should only run if there has been an error. I've attached a demo program (LV v7.1.1). Put it into the same folder as the "Generate Next Filename" vi and run it or watch it run. If you don't change it any before running it, the first time it is run it will create a subfolder in the folder containing the VI and then add 10 sequentially-numbered text files to it. The next time it is run, it will add the next ten files in the sequence and so on.
Message Edited by Warren Massey on 03-13-2006 01:46 PM
Attachments:
Demonstrate next-file-name generation.vi 44 KB -
How to save Buffered Image with variable transparency in a file.
Hi,
I need to save BufferedImage (type ARGB) in a file.
Transparency in this image is a function of position. Who knows, what would be the best suggestion for type of file to store this image (probably not JPEG) and which package would be appropriate. A sample of code would be higly desirable. Please help, thank you in advance.Your can use the ImageIO-API if your software runs under JVM1.4 or you must use the JAI (Advanced Imaging API) ...
-
How to save an image withe hyperlinks (NL)
Can someone tell me how i add hyperlinks to a part of my image. I created segments, but when i wan to save it for the web, the image saves itself in many gifs files. Can someone help me
It works this way because the web works this way. Images themselves cannot hold interactive data. It's all in the HTML and CSS code.
Mylenium
Maybe you are looking for
-
I have an HP OfficeJet 7210 all in one printer, have loaded Printer Pro and had a successful test while in Printer Pro. When I try to print and email I get NO AIR PRINTER message, How can I connect my printer to my IPad and print emails.
-
Hi, For what functionality session is used in ATG, i.e what is the use of session in ATG. and how is it achieved in ATG???? Components : session scoped Repository : Transient properties Session cookies: ???? Regards
-
How to install realplayer plug-in into safari,
Hi, i'm using safari for window (WinXP), as at IE i could use video download from real-player but can't at safari, how can i install real player plug-in into safari? so safari also can having the same option for video download
-
Help Will Not Install ITunes 7.3
This is a problem I can install ITunes at all cause it can not unistall the older version, this is frustrating, I tried to uninstal the old one and it can not be found. Help...What do I do? Thanks..
-
How can i generate correct SOAP-ENV:Fault in ABAP function module?
We have clients consuming some functions from our SAP server, these functions are made available as web services. When a client passes wrong parameters to our functions we'd like to generate reasonable SOAP fault (using correct error code and error m