IMAQ - SGL in RGB? JPG, save the AVI recording problem...

Hi all..

Currently, I am working on a project concerning the treatment of the infrared image...

I'm currently building saving Image Photo and recording function avi video...

What I have to do is save the image with the color palette selected to user in format JPG and AVI...

The problem is my image data type is gray (SGL) and the only support of "IMAQ AVI write Frame.vi / writing file (JPG)" the image of U8 and U32 RGB type...

I am trying to cast the type, but since we don't have the vision of labview license... so I don't have the "Imaq Cast Image.vi" to treat the good cast...

Is there some way could solve my problem?

Thanks for any help...

Read Eric

Hello StussyHooot.

I am pleased that help you.

This is a vi that converts an 8-bit image in an RGB image, based on a color palette.

Concerning

Tags: NI Hardware

Similar Questions

  • I need to implement Drag N Drop between two tables that saves the two records

    I need to implement Drag N Drop between two tables that saves the two records on a third page, using drag 'n drop.

    Check out this video http://baigsorcl.blogspot.com/2011/01/drag-and-drop-collection-in-oracle-adf.html

  • Save the contact sheet problem?

    Suddenly, I have a problem of registration plates of contact by selecting files in bridge of CP (2014) using Photoshop tools, contact sheet II command to make the contact sheet.

    It prints well but when I try to save it I get the following response (I check permissions and all permissions are set to read and write):

    > > can not save as "ContactSheet - 001.psd" because the file is locked, you don't have the necessary permissions, or another program is using the file. Use the "Get Info" command in the Finder to make sure that the file is unlocked and you are allowed to access the file. If the problem persists, save the document to another file or duplicate in the Finder. < <


    I use a MacBook Pro with the latest Mavericks retina and Photoshop and bridge are updated in the subscription of the photographer creative cloud.


    Any thoughts greatly appreciated...


    Tom

    Try to change the folder, disk or to make sure that the file you are trying to record are not the file name exists and is locked. You can save the document multilayer else where?

  • On the audio recording problems

    Hi all

    I have a problem with regard to save audio files in Labview.

    In my program, I acquire the audio signals of the soundcard of the PC constantly and save them in a queue. After that certain prerequisites are activated, these audio signals in the queue is stored in a .wav file. This program works well, except a problem, which is the time lag in this .wav file. For example, I save a sound segment for about 30 seconds, but after the backup, this .wav file is just 21 long s. It contains all of the original recorded segment, but the time axis is compressed, which sounds like played fast. I searched all day and could not find any information about it.

    These sounds record and save functions are part of a comprehensive program, and I'm sorry that I can't give a single vi on it. I add the numbers below and I hope it helps. I am also willing to provide any additional information.

    PS: I have reviewed the incompatibility caused by approximation of the "t0" (published in http://forums.ni.com/t5/LabVIEW/Time-mismatch-with-Sound-Input-Read-VI/td-p/1385404 ) and compensate for that during the savings phase. (see figure 2)

    Thank you very much for the help!

    Hi, Vans,

    Thank you for your response.

    For your questions.

    1. I'm using Labview 2011 sp1 on Windows 7/Xp. I tested the program on desktop computers and laptops. I don't know about the types of sound card, but given that this problem occurs on several different computers, I think that this is not the problem of sound cards.

    2. for the sound card sampling frequency, in fact I checked that. I read signals of waveform of the 'read.vi of sound entry' and the term 'dt' is equal to 1 on the sampling frequency. So I think that the sampling rate of the sound card is correct.

    In fact I have just solved this problem by myself, but the solution is pretty weird. I think there are two reasons that caused this problem.

    1. when I receive tones of "read.vi of sound input", I first save them in a queue. Once the acquisition is completed, I save all the signals in the queue to a .wav file. But I'm going to do to overcome the overlapping sound and the gap caused by the "t0" reconciliation, a waveform signal re - organize before saving it, as below. According to my knowledge, I think that this 'dt' in the resulting waveform (indicated by the arrow) must be the same as before, but in fact it is not, and it becomes 1.

    2. Thus, to solve the first problem, I manually change the term "dt" once again as below. After the change, I'm sure that the "dt" is back to the correct value. But then is the strange thing is I saved the same signal waveform in two different ways, using "his write.vi file" and "file its writing simple.vi" respectively. The first method is the one I have used before and it caused the problem I posted here. The second works. In my program, I put as 16 kHz, 16 bits/sample, and 1-channel sampling rate. The file .wav from the first method has a strange flow 705 bps and the wave from the second method file has the right bitrate which is 256 bits/s.

    I tested the program of hundreds of times and each time he acted like I described above. I don't know if anyone has ever faced the same problem as me, but I hope that my solution can be useful for others. And I also hope to be useful to improve your LabView products.

    Thank you for your time.

    Best regards

    Sun87

  • Let fall speed when starting to save the AVI with camera basler GigE

    Hi all

    I use 2 cameras GigE of Ace basler at 60 frames per second to capture of animal locomotion. I randomly experience this kind of problem. When I start to save in a start/stop button and save videos in the HDD sometimes lower at 20-14 fps frame rate and a framework to skip 2 or 3. After that, the pace has become stable at 60 frames per second.

    Here are the parameters and specifications of the overall program:

    -J' use a loop of producer/consumer (I've ever known a fill of the queue even when the rate of drop occur)

    -J' fixed bandwidth of the card Intel GigE from 100 to 500 for each camera

    -sent packet size = 8000

    -firewall disabled

    -execution of vi in higher mode

    I observed that the dropping of the pace occur when the vi run for a while without interaction with the operator (the operator configure other settings in another computer, so the vi only acquire the video without saving)

    I have attached the vi

    Thank you for your help

    Alex

    Hi Eric and Isaac

    Finally, the problem was similar to that indicated by Peter Westwood in his post 'lost GigE frames/buffers '. I discovered that the problem occur with the version of labview 2012. Indeed, I tried with the 2011 version and I have it all fall. So, I'm doing the same thing that Peter is "I changed the program, so that keeps an account number of buffer (incrementing the number of buffer on each bucket) and specifies the number of buffer to the VI Grab." "It works well, even on the occasions when the loop of the acquisition is sometimes momentarily delayed for up to a second or more, i suspect, Windows to write the contents of the disk the disk buffer, or do some other household.

    So even if the fps drop the program acquire the right frame and in the video I do not see any image ignored

    Best regards

    Alex

  • Save the CS6 - records under the strata

    I recently downloaded CS6 and when I save art that he recorded as a Strata - I have the small logo of strata in the upper part of the art. When I opened the file that appears as an .ai file in the title opens in Strata 3D.  However, it will open as an illustrator if I open the file in the Illustrator file.

    Someone had this problem yet?

    Thank you

    Ron

    Do a Get Info on a file HAVE. In the dialog box go down on open with and navigate to your AI App. don't forget to check the box that says change all Like This.

  • Unable to save the family settings, error: the system cannot find the specified file 80070002 error code.

    Original title: Family Safety filter configuration problem.

    Hello.

    I got family safety works very well before a reinstall of Windows 7 Professional.  After I install windows essentials, I connect to my microsoft account, now I'm trying to set up the filter, monitored accounts are already checked, the only option is to save.

    When I click Save I get this

    The system cannot find the specified file 80070002 error code.

    I've tried everything.  Uninstall, reinstall Windows Essentials 2012.  First of all, I did a partial install with just the film and the family.  Uninstalled.  Re-installed full.  Always the same question.  I even tried to install Windows Essentials 2011.  No change.

    Help, please.  I appreciate it.

    Thank you

    GISIGER

    Hi Greg,.

    Thanks for the reply.

    Run the System File Checker tool.

    Use the System File Checker tool to repair missing or corrupted system files

    http://support.Microsoft.com/kb/929833

    Also reset Windows update components and check if this solves the problem.

    Refer to this link:

    http://support.Microsoft.com/kb/971058

     

    Important: Follow the steps in this section carefully. Serious problems can occur if you modify the registry incorrectly. Before you modify it, Save the registry restore problems.

    Keep us informed on the status of the issue.

  • Data sheet says Camileo P10 save as .mov but the device saves as AVI.

    I just rec'd a P10 as a gift for Christmas.

    Looking at the specifications on the data sheet in line and also that the sources say that the P10 records video in .mov files but the unit I can only save as in the form of .avi files. However the box itself says that it records jpg images and video as avi (H.264)

    And I had to search the Internet for a long time to find a safe codec file CoreAAC Audio (FF) to allow Windows Media Player read the AVI with sound.

    That's happened? Why this change?

    NB I found a plug technique in line which says that the camera had the .mov and .avi formats. If this is true how access us a menu that can allow us to switch between file formats?

    Hello

    The .mov is an abbreviation of Quicktime. QuickTime is a multimedia technology from Apple.
    The .avi format is defined by Microsoft. AVI is the format most common for audio/video data on the PC it is Microsoft's answer to Apple's QuickTime technology.

    AVI is a very powerful architecture and newer codecs like DivX or XviD can have a quality similar or even better than DVD, AVI files.

    The said user manual supported file formats are Jpg for pics and MOV videos.
    It is strange why the P10 recorded in .avi...
    However, it is avi and mov supports the same properties.

  • Save the façade in PDF or JPG format

    Hello

    Someone out there who have no idea how to do this?

    I want to save the appearance of the front of my VI as JPG or PDF, or BNP, do not use PrtSc ctrl

    I know that I can use call node to save a chart as a BMP file, but I can do the same thing with the look of the façade

    Below is the cover I want to make a picture, automaicly by pressing a button in Labview without leaving the program.

    smercurio_fc wrote:

    I'm not sure I understand. You use the Front Panel method: Get Image? That returns image data, and you can wire that directly to the functions of three graphics (BMP, JPG or PNG). With respect to the PDF, you must have installed a PDF printer driver. Search the Forum, as has been requested before many times, and various programs have been suggested.

    Just to...

  • Save as Image JPG of the Playbook

    Hello

    I want to save the image bitmap Air application in JPG image. I use the JPEGEncoder Adobe. The app works well in the Simulator and also real playbook. He asks for the save image dialog box and the name of the image on the playbook, but the image is not saved on the playbook. The same code works fine on the desktop and records the images accurately.

    I am using Flash CS5

    package
    {
        import com.adobe.images.JPGEncoder;
        import flash.display.Bitmap;
        import flash.display.BitmapData;
        import flash.display.Sprite;
        import flash.events.IOErrorEvent;
        import flash.events.MouseEvent;
        import flash.net.FileReference;
    
        public class Main extends Sprite
        {
            private var testBitMap:BitmapData;
            private var bitmap:Bitmap;
            private var file:FileReference;
            private var jpg:JPGEncoder;
            private var btnSprite:Sprite;
    
            public function Main()
            {
                testBitMap = new BitmapData(320,240,false,0x0000FF);
                bitmap = new Bitmap(testBitMap);
    
                btnSprite = new Sprite();
                btnSprite.addChild(bitmap);
                addChild(btnSprite);
                btnSprite.addEventListener(MouseEvent.CLICK,btnDown);
            }
    
            private function btnDown(e:MouseEvent):void
            {
                trace("clicked");
                jpg = new JPGEncoder(100);
                file = new FileReference();
                file.save(jpg.encode(testBitMap),"flash.jpg");
                file.addEventListener(IOErrorEvent.IO_ERROR,error);
            }
            private function error(e:IOErrorEvent):void
            {
            }
        }
    }
    

    Any ideas what goes wrong or any other solution to save the creation as image on Playbook?

    Thank you

    Patrice

    Nice try but that is the wrong syntax, suggest that you can find a tutorial on the parameters and features of the playbook

    access_shared

    It is the correct syntax.

  • My photoshop only save the file to copy. What should do? I need JPEG or JPG

    My photoshop only save the file to copy. What should do? I need JPEG or JPG

    You have probably some layers other than just a background, or you have certain paths or additional channels. Make sure you flatten the image and delete all channels and additional paths.

  • Modification of metadata in a re exported jpg - save and degrade the jpg?

    In the choice of photos for my PhotoShelter site, I do the following:

    • I do a collection that contains possible choices, modify the collection in the final choice.
    • I then export the final selection in jpg format to PhotoShelter. export sends them to a specified folder recognized by LR. LR recognize jpg files in the folder and retains the metadata associated with the original raw file.
    • I go to the library Module and to rework the metadata within this folder. in other words, I re - write the metadata title and legend, which makes them appropriate for my site.
    • When I check 'Show in Finder' I don't see the jpg, not an xmp file. This suggests that the metadata are incorporated in the jpg and metadata change caused a jpg re - write and register again. Is this the case?

    I would like to avoid re - save a jpg file.

    Thank you for your help - melody

    I just tested and confirmed the metadata record in file with JPEG's lossless (i.e. without recompression of image data). You will need to manually update the JPEG file with the new keywords using CTRL + S.

  • How to save png or jpg in the library of Cloud?

    I have the idea that you simply move the objects of applications and it is in the library. However, if you wanted to Sage png, JPG, which are the exported on, PSD? It seems that if you import the png and jpg in, PSD or INDD and make them slide library, he adds that if the asset has been created in this program. Web browsers don't support not add them to the library - only when you purchase or download stuff on the market. You can add them through Bridge.

    At a time I remember being able to do this and use the asset in any application, but it seems that the feature is gone. Any help would be appreciated.

    And run an error that says "image type is prohibited" appears when you try to attach a screenshot here. So I hope that someone understands what I'm looking for help with.

    I do not work for Adobe. Generally, you will find personal Adobe in the forums.

    (1) "it seems that if you import the png and jpg in, PSD or INDD and make them slide library, he adds that if the asset has been created in this program.» This is how work CC libraries. For example, if you place a JPEG file in InDesign, and then drag the JPEG as well as InDesign libraries CC illustrations he does not keep a link to the JPEG file. You should incorporate the JPEG format in the InDesign file. When InDesign copies to a library, it includes a file of extract (useful for back into InDesign, where it can be restored) and a PDF file (useful if you place it in Illustrator or Photoshop).

    Then to circle back to your original question, "How do I save png or jpg in the...» Library? "You open them in Photoshop and let them slide to the library.

    (2) ' the web browsers don't support not add them to the library - only when you purchase or download stuff on the market. " You cannot add them by bridge. "Web browsers or bridge are currently part of a CC library workflow. As the diagram at the beginning of the first reference I gave you has pointed out, library workflow is based on the implementation of CC CC desktop applications and mobile applications and use the work in mobile applications and desktop applications.

    (3) "and run an error that says"image type is prohibited"appears when you try to attach a screenshot here.» You are running within the limits of the Jive, which is Adobe software licenses to run the forums. Only files such as PNG or JPEG can tie in the window using the "camera" icon image.

  • JavaScript, close and save the changes without dialogue of JPG quality

    I'm working on a script that exports the images in Illustrator and resize them in Photoshop to be at the right height/width/dpi that we need. I send the command through BridgeTalk and resizing works great, but when I try to use doc.close (SaveOptions.SAVECHANGES); PS stop on each image with a JPEG quality dialog box.

    jpg_options.jpg

    Is there anyway around this dialogue? I know that I can make a record under, but that forces JPG as the file type and sometimes we export png using the same script, then it becomes a much more complicated script if I add conditions and to save the options for the types of files and send them via the deck. I just want to save what he was already of file format and keep moving forward. Is there a force save that overrides dialog boxes? I also tried a line of code to disable (displayDialogs = DialogModes.NO) dialog boxes, but this does not work either. Is it possible to get around this problem or I have to go the other way and make the conditional script and use Save as. The annoying part is that it works perfectly for the png! Thanks in advance for any help!

    When I run your code on a jpg document that had been saved by Photoshop in the past.  Here I open a jpg file that has been saved by Photoshop and use to adapt the image to resize the image and to run your code, close "app.activeDocument.close (SaveOptions.SAVECHANGES)" I don't get no quality POPUP dialog.  It must be because your file was saved by the Illustrator in jpeg format with the Photoshop doesn't know what quality the jpeg file.

  • Is it possible when you save the psd file to put an automatic jpg file saved at the same time?

    My job is to prepare images for print viewers and window facilities.  My clients need to approve in advance the photos before printing.

    I generally save my psd files, but because the files are very large in this format I usually save another copy in a jpg file which has a much smaller file size.  This makes it possible for me to add to a presentation and and send them to my client.

    Is possible when you save the psd file to put an automatic jpg file saved at the same time?  Or that I always have to do it manually?

    Use the Image Processor in Photoshop or install the free Dr. Brown Services.

Maybe you are looking for