How can I convert a 680x480x2 array of values into binary and then joining adjacent elements to make a 640x480 array?

I am obtaining data from a camera and getting 10-bit data in Labview. I want to convert the element values to binary and then join adjacent elements to create an array half the size of the original. 

Hi cowboy,
well 640×480 is not exactly half of 680×480×2...
- You have to read the specs of your camera. Then you should know how to combine the values.
- When you get 10bit values you probably need I16 datatype to store the values. Unless you also decrease the color resolution to 8 bit you are still stuck to 640×480×2 byte per image...
- To join numbers you should have a look at the numerics->data manipulation function palette
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome

Similar Messages

  • How can I convert my Open Source document files into Word document files? I cannot download Pages since my Macbook Air does not have the most recent software.

    How can I convert my Open Source document files into Word document files? I cannot download Pages since my Macbook Air does not have the most recent software. I downloaded open office to my mac to try and save money. It worked well for a while. Now I get this pop-up message that asks me to "Reopen" and when I select the option, nothing happens. I cannot save my documents anymore and I cannot convert them to word. Help!

    dwb wrote:
    Does OpenOffice output Word documents by default or do you have to select it manually?
    You have 17 options to save as in Open Office, one of which is .doc  files,  yes it needs to be saved manually.
    You may be able to default to DOC, but have not tried same.
    Since Open Office is 99% same as Word, I use it, or Word, either one.  Open Office is a bit less buggy than Word 11'

  • How can i convert a window media player file into a format playable on ipod

    hey guys can you tell me how can i convert an widdow media player file into a format that can be played on my ipod, i used videora ipod converter but it can't convert the window media player file

    the program you show change wma to mp3, but the mp3 file can't be understanded by the iPod, how can i change a wma file to a format understanded by the Ipod?

  • How can I create an csv/excel file using pl/sql and then sending that file

    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.

    968776 wrote:
    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.You are trying to do it at a wrong place..
    Whay do you want database (pl/sql) code to do these things?
    Anyhow, you may be interested in :
    {message:id=9360007}
    {message:id=9984244}

  • When playing my i-tunes library through my hi-fi via Airport Express, how can I get i-tunes to play a single album and then stop, without continuing on through my entire library. It's a problem that doesn't occur when I'm listening through my i-pod.

    When playing my i-tunes library through my hi-fi via Airport Express, how can I get i-Tunes to play a single album and then stop, without continuing on through my entire library? It's a problem that doesn't occur when listening on my i-pod.

    Hey everyone in Apple world!
    I figured out how to fix the flashing yellow screen problem that I've been having on my MBP!  Yessssss!!!
    I found this super handy website with the golden answer: http://support.apple.com/kb/HT1379
    I followed the instructions on this page and here's what I did:
    Resetting NVRAM / PRAM
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    I went through the 6 steps above twice, just to make sure I got rid of whatever stuff was holding up my bootup process.  Since I did that, my MBP boots up just like normal.  No flashing yellow screen anymore!!   
    (Note that I arrived at this solution when I first saw this page: http://support.apple.com/kb/TS2570?viewlocale=en_US)
    Let me know if this works for you!
    Elaine

  • How can I remove a person's face from a photo and then replace the spot with a person's face from another photo?

    How can I remove a person's face from a photo and then replace the spot with a person's face from another photo?

    In Editor, go to the expert tab.
    Open picture B, the one you wish to select the "replacement" face from to add to another picture.
    Use one of the selection tools, e.g. selection brush, lasso tool, to select the face. You will see an outline ("marching ants") once the selection is complete
    Go to Edit menu>copy to copy the selection to the clipboard
    Open picture A, then go to Edit>paste
    Use the move tool to position the face from picture B to cover the face on A
    In the layers palette you should see picture A as the background layer, and face B on a separate layer

  • How can I find my playlists in this new interface?  And then, how can I transfer newly purchased songs to a playlist?

    how can I find my playlists in this new interface?  And then, how can I transfer newly purchased songs to a playlist?

    iCloud does not store messages for you to see/access at icloud.com.  It does back up messages so you can restore your iPhone if it ever needs to be reset to factory default.  A backup is an image of all your data on the iPhone, and if you delete some messages, then they won't be part of any further backups.
    If two people use the same iCloud account, then their devices are kept in sync, just like a single user's multiple devices are kept in sync.  It's usually a good idea to have separate accounts for two people, since it's rarely the case that they want each phone to be an exact replica of the other.
    Your iphone syncs contacts, events, camera roll, and many other things without the use of a computer.
    Read about icloud here...   http://www.apple.com/icloud/

  • How can I convert a string of hex values to a hex format string programatically?

    Is there a way to convert a string of the following format:
    1400010107070D0305006A01 ........           ("Normal display" string)
    programatically to:
    1400 0101 0707 0D03 05006A01 ..........      ("Hex display" striing)
    I need to do this in order to calculate a CRC16 value.
    See attached VIs
    Thank you.
    Solved!
    Go to Solution.
    Attachments:
    CMM_SN_MULTI.vi ‏50 KB
    CMM_CRC16_Calculator.vi ‏23 KB

    You can iterate over the string and use the String to Hex VI. If you work with two bytes of the string at a time you can get a U8 array of the desired binary values. Then when you are complete you can either work with the byte array of convert it back to a string using Byte Array to String.
    EDIT: GerdW typed faster than I did.
    Message Edited by Mark Yedinak on 03-18-2010 02:55 PM
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • How can I save an app's data to my computer and then put it on a different device

    I just made a new Apple ID on my iPod Touch 4thGen because my old one wouldn't let me buy anything grrrrr.  So i made this new account to be able to buy things (even though i am not pleased that the old account had $10 left on it, grrrrr).  I put $10 on this new account and went into Clash of Clans to buy some gems.  Well since I had downloaded Clash of Clans with my old Apple ID it would not let me buy anything with the new account unless I redownloaded the app, but I do not want to do this because I would lose all my progress.  So this brings me to my question, how can i get my app data back on my device after deleting it and still have the app functioning properly?
    May I add that I called Apple Support on this and as soon as I asked my question, the person on the other line said the whole thank you for calling apple and then hung up!  SCREW YOU APPLE CUSTOMER SUPPORT YOU ARE ABOUT AS USELESS AS WINDOWS!!!!!!!!

    Yo can't. apps are locked to the account thatpurchased them and in-app purchases can only be mad with the account that originally purchased the app.
    You will have to recover use of the first account
    How do I change or recover a forgotten Apple ID Password?
    If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. SeeChanging your Apple ID password if you'd like more information.
    If necessary:
    Forgotten Security Questions/Answers
    You need to contact Apple by:
    1 - Use the Express lane and start here:
    https://expresslane.apple.com
    then click More Products and Services>Apple ID>Other Apple ID Topics>Forgotten Apple ID security questions.
    or
    Apple - Support -form iTunes Store - Contact Us
    2 - Call Apple in your country by getting the number from here:
    http://support.apple.com/kb/HE57
    or           
    Apple ID: Contacting Apple for help with Apple ID account security
    3 - Use your rescue email address if you set one up
    Rescue email address and how to reset Apple ID security questions
    For general  information see:
    Apple ID: All about Apple ID security questions
    If you have not uses any of the $10 you redeemed to the new account, you can likely get that refunded by contacting iTunes
    Contact iTunes

  • How can I attach comments to a photo in iPhoto '11 and then have it show when I forwarded it via email?

    I'd like to send photos to friends with comments comments about the photo. How can I do that? I'm using iPhoto '11 with Leopard.

    Depends...
    Most easy: simply attach the pic to an email and write the comments in the email
    Most complex: Use the Description field in the Info Pane to write you comments, export the shot (File -> Export), checking the box at 'Titles and Keywords', and then email that. But be aware that the comment will be written to the IPTC metadata and the receiver at the other end will need an app that understands that.
    Regards
    TD

  • How can I get JavaScript to detect if flash is installed and then load a different URL?

    Hi, I've made two versions of the same site, one in flash and one in HTML, but I want the browser to detect what version of flash is installed, if any and then load the appropriate version of my site. I used to have it so that it displays a HTML message within the same window dependant on the whether the user has the right flash version or not and that used to work perfectly, so I think it must be to do with the changes I made to the if and else statements within the checkFlash() function.
    Here's how I've made it so far:
    <head>
         <script language="javascript"> AC_FL_RunContent = 0; </script>
         <script language="javascript"> DetectFlashVer = 0; </script>
         <script src="scripts/AC_RunActiveContent.js" language="javascript"></script>
         <script language="JavaScript" type="text/javascript">
              var requiredMajorVersion = 9;
              var requiredMinorVersion = 0;
              var requiredRevision = 24;
              var flashContent;
              function checkFlash() {
                   var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
                        if (hasRightVersion) {
                             window.open("http://www.yahoo.com");
                        else {
                             window.open("http://www.google.com");
         </script>
    </head>
    <body onLoad="checkFlash()">
    </body>
    but the checkFlash() function isn't working for some reason, please help, much appreciated.

    terryfoster wrote:
    Thanks Nancy O. Your post answered a few questions alas not the one I was after.
    I have a div with overflow hidden.
    Within this I wanted my content to slide in from the left to a positoin on the screen.
    I found the effect I am after on a site - www.hullwebsites.com but I cannot afford to buy a control which is licenced on a per use basis.
    So I am trying to come somewhere close with code of my own or a solution where I pay once for a single developer licence.
    Terry
    Sounds like you need a simple jQuery effect:
    <!DOCTYPE HTML PUBLIC>
    <html>
    <head>
    <meta http-equiv="charset=UTF-8">
    <title>Untitled Document</title>
    <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
    <script>
    $(document).ready(function(){
    var slide = $("#slideIn");
    slide.animate({left:'60px'}).delay(2000);
    slide.animate({left:'-1000px'});
    </script>
    <style>
    #slideIn {
    position: absolute;
    width: 400px;
    top: 50px;
    padding: 20px;
    left: -1000px;
    background-color:#CCC;
    text-align: center;
    </style>
    </head>
    <body>
    <div id="slideIn">
    Hello!
    </div>
    </body>
    </html>

  • With iDVD, how can I create a DVD that auto plays on insert and then loops?

    I want to burn a presentation using idvd which will be played at an exhibition. how do I create a dvd without menu that auto plays upon insert and then loops?
    Thanks
    Message was edited by: Host <to clarify Subject>

    To create a OneStep DVD:
    Connect your DV camcorder to your computer and set the camera to VTR, VCR, or Play mode. Turn on your camcorder if it doesn't turn on automatically.
    Open iDVD and click the OneStep DVD button. (If iDVD opens to a recent project, choose File > OneStep DVD.)
    Insert a recordable DVD disc.
    iDVD rewinds the tape in the video camera and captures the video.
    ------------or-------------
    To burn a OneStep DVD from a folder:
    Choose File > "OneStep DVD from Movie."
    Locate the movie you want to add in the dialog that opens, then click Import.
    Insert a blank DVD disc into the optical drive.
    This kind of disc is sometimes called "kiosk mode" and is a good way to create demos or other presentations that play automatically and require no user interaction.

  • Array of objects into dataset and then to datagrid

    I have discovered amfphp (
    http://amfphp.org). It's a really
    cool way to move complex data objects from php to flash and back.
    quote:
    So I am successfully creating an array of items from my
    database...an item that would otherwise be created like this:
    items = array();
    item[0] = new Object();
    item[0].id = 7;
    item[0].name= "Item 1";
    item[0].styleNumber = "001";
    item[1] = new Object();
    etc.
    I put DataSet and DataGrid objects on my stage called
    productDataSet and productDataGrid, respectively, and tried this:
    quote:
    this.productDataSet.items = re.result;
    trace('dataSet length:' + this.productDataSet.getLength());
    this.productDataGrid.dataProvider =
    this.productDataSet.dataProvider;
    the trace appears to work correctly--several hundred
    items--and the dataGrid shows my object property names (albeit in
    reverse order) and the DataGrid appears to have several hundred
    items in it but there is NO DATA THERE. All the list items are
    blank.
    I've had a bit of luck working with the component inspector
    creating bindings and stuff but I'm hampered by my incomplete
    understanding of how it works. All the tutorials I've found
    instruct me to import an XML sample to create a schema. Since I
    have no XML i cannot one.
    I want to do just a couple of things:
    1) put my data in the DataSet properly, ideally in one fell
    swoop--i *think* i've done this correctly above
    2) attach the DataGrid to the DataSet so that when i sort or
    filter the data set, the datagrid shows the results and when i
    select an item in the DataGrid, the DataSet knows that is the
    currently selected item.
    3) hide the 'id' field in the data grid and display
    user-friendly names for the columns: "Style Number" rather than
    "styleNumber".
    Any help would be much appreciated. I *think* this is all
    about understanding schemas but I don't really know.

    That *is* a very interesting article. Unfortunately, it
    doesn't mention anything about DataSets. I haven't had any trouble
    getting my data into my flash application. I've also been able to
    put it into a DataGrid pretty easily (although not quite as
    elegantly as that example did).
    The problem is that I'm having issues when I introduce a
    DataSet for filtering. I can't get the data from the DataSet into
    the DataGrid like I want it. I haven't been able to hide the 'id'
    column of my data and the column names unfortunately are *exactly*
    what the Object property names are. I was hoping to put
    user-friendly column headers on their like 'Product Name' rather
    than 'name' or 'Style Number' rather than 'styleNumber'.
    Also, the concept of a schema is still somewhat beyond me. I
    tried changing the schema for my productDataSet to this and I got
    the data to display. I added 'name, 'styleNumber', and 'id'
    quote:
    <-->dataProvider : Array
    <-->deltaPacket : DeltaPacket
    <-->items : Array
    <-->selectedIndex: Number
    <-->name : String
    <-->styleNumber: String
    <-->id : Integer
    I have tried radically different shemas (schemae?) that seem
    to also get the data in there but I don't really understand what
    i'm doing here and I feel like I'm asking for trouble not knowing
    how this stuff really works.
    And, like I said before, i want to hide certain information
    that's in the DataSet so that it doesn't get displayed. I'd also
    like to Have some user-friendly names rather than the actual
    field/property identifiers.

  • How can I convert an image created in Photoshop into a format that Java's ImageIO library will take?

    Hi all,
    I've been trying to write an image resize tool to use the Lancoz resample algorithm to resize images to a high standard in Java.  The library with the algorithm/filter in it is mortennobel's image scaling library and it takes a buffered image as an input and returns the resized image as desired.  However the trouble I’m having is that the ImageIO library in Java, a standard library, which converts images given to its read method to buffered images doesn't accept certain images created in Photoshop and so it throws an exception.  My library needs to be fully automated to process possible thousands of images at a time and so manually converting them by resaving them as JPEG's is really feasibly.  Is there some way I can convert these images from Adobes Exif format to standard JFIF format?  I've tried simple inserting the APP0 marker from a JFIF image in-between the SOI and APP1 marker but the ImageIO library still failed.
    The above image is a screenshot of the binary in hex of one of the images that cause an Invalid Format exception when passed to ImageIO.
    Any help you could offer me with this would be much appreciated.
    Kind regards and thank you,
    Alexei Blue
    Science Warehouse.
    NB: I previously posted this post in Developers but was told to post it in a Photoshop forum so apologies if this is the incorrect formum

    The image scaling library does have a BiCubicFilter in it so I'll experiment around with them and see what happens.  As for the imageIO library I think it accepts Exif image types, but still for some reason it just doesn't like Adobe Photoshop types.  Maybe its the colour map it doesn't like I just can't seem to work out what's wrong which is slightly frustrating but looking round to see if I can find an answer

  • How can i convert a picture to white on black mode and save the picture in that mode?

    I have a background picture that i use for my iphone ( http://smileys-4-eva.deviantart.com/art/Free-texture-Paint-splatter-186579258 ) (this is the image.) and when i got to the accessibility in the general settigns and turn on White on Black the image changes and i really like what it looks like and i want to save this image so i can set it as my iphone background. i thought of taking a photo of the screen of my iphone but then when i turn white on black mode off the picture goes back to normal.
    If anyone could change this picture for me or tell me how that ould be amazing.
    Thank You

    iPhoto or some other Image Editing software.

Maybe you are looking for