Bayer rg 8-bit - how many bits per pixel am I looking at?

I'm streaming video with IMAQdx from a GigE Vision camera that does Bayer 8-bit RG, among other formats. I appear to be receiveing 24 bpp from the video stream, though. Does LabView do any conversions on this data that would ramp the size up without me knowing? Or is my camera doing it?

IMAQdx will generally do some conversion on the various pixel formats sent by the camera to get them into a proper format for a Vision image datatype. For some pixel formats, this may mean swapping endianness, unpacking bits, or shifting the data around.
For a BayerRG8 format, the camera is sending a 8-bit mono image and the driver is going to (by default) automatically do the Bayer conversion to a color image. Other cameras might expose a pixel format directly of an RGB or YUV format, in which case it is the camera itself doing the bayer conversion before sending it to IMAQdx.
In this case, you could disable IMAQdx's Bayer decoding (turn the bayer decoding attribute to "Off" rather than "Auto") and get the raw 8-bit mono image if you want. Usually the monochrome image is fairly useless since it has the bayer pattern applied. Some cameras might have a monochrome mode available where they will internally debayer the image, then convert it back to monochrome so that the bayer filter is effectively removed.
What is your objective you are trying to do here? 
Eric 

Similar Messages

  • Want to use Adobe forms departmentally.  How many users per license?

    How many people can use Adobe Forms per license/how many computers can we download software to?

    Adobe FormsCentral is a web-based app so there is nothing to download - you access from the web browser.
    Each users who creates forms needs a license of FormsCentral. In a month or so you'll be able to by a team pack (5,10,25) at reduces prices for a larger group who wants to create forms.
    Randy

  • How many images per sec can I get from ImageIO.read(url) ??????

    Hello,
    In my program I read images from a url...I'm wondering how many images I can get with ImageIO.read(url) per second..
    Hereby is the code that I'm using:
    import java.awt.*; //Contains all of the classes for creating user interfaces and for painting graphics and images
    import java.awt.event.*;//Provides interfaces and classes for dealing with different types of events fired by AWT components
    import java.awt.image.*;//Provides classes for creating and modifying images
    import java.io.*;//Provides for system input and output through data streams, serialization and the file system
    import java.net.URL;
    import javax.imageio.*;//The main package of the Java Image I/O API.
    import javax.swing.*;//Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
    import java.text.*;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    public class getPic extends Component{
    private BufferedImage img;
        static int n=0;
        private URL url;
        private DateFormat dateFormat;
        private Date date;
        private String s;
        private String str1= ".jpeg";
        private String str2="C:\\Users\\";
        private String str3;
        private String str4;
          public getPic() {
         try {
                  url = new URL("http://"); //a url that gives a real-time image
                  img = ImageIO.read(url);
                } catch (IOException e) {
               System.err.println("Unable to read file");
    public void savePic(){
    try{
    n++;
    str3=str2.concat(Integer.toString(n-1));
                        str4=str3.concat(str1);
                        ImageIO.write(img, "jpeg" , new File(str4));
                    } catch(IOException e) {
                      System.err.println("Unable to output results");
    @Override
        public Dimension getPreferredSize() {
            if (img == null) {
               return new Dimension(100,100);
            } else {
               return new Dimension(img.getWidth(), img.getHeight());
        @Override
          public void paint(Graphics g) {  //http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Paint.html
            g.drawImage(img, 10, 10, null);//http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Graphics.html
        public static void main(String[] args) throws IOException {
           JFrame f = new JFrame(" Image without processing!!");
           f.addWindowListener(new WindowAdapter(){//http://java.sun.com/j2se/1.4.2/docs/api/java/awt/event/WindowListener.html
                @Override
                    public void windowClosing(WindowEvent e) {
                        System.exit(0);
        int i=0;
        for( ; ; ){
            i++;
            getPic pi = new getPic();
            pi.savePic();
            f.add(pi);
            f.pack();  //Causes this Window to be sized to fit the preferred size and layouts of its subcomponents.
            f.setVisible(true);
         try
            Thread.sleep(1000);
            }catch (InterruptedException ie)
            System.out.println(ie.getMessage());
    }Thank you in advance for your answers
    Joan

    Finally I solved my problem(getting as many images as possible from a url infinitely) using the above code:
    import java.net.*;
    import java.io.*;
    public class UserApplication {
        private static int n=0;
        String url;
      public void UserApplication(){
        public static void main(String[] args) throws Exception {
            UserApplication app= new UserApplication();
            for(;;){
            app.urlStr();
        private void urlStr(){
            try{
                url= "http://mplamplampla/frame.php/";
                HttpURLConnection con=(HttpURLConnection) ((new URL(url).openConnection()));
                BufferedOutputStream out = new BufferedOutputStream( new FileOutputStream("C:\\Users\\mpla\\Desktop\\" + n + ".jpeg"));
                con.setDoInput(true);
                con.setDoOutput(false);
                con.setRequestMethod("GET");
                BufferedInputStream in = new BufferedInputStream(con.getInputStream());
                int bt = 0;
                byte[] buffer = new byte[4096];
                while ((bt = in.read(buffer, 0, 4096)) > -1) {
                  out.write(buffer, 0, bt);
                in.close();
                out.close();
                System.out.println("Image " + n + " saved");
                n++;
                } catch (Exception e) {e.printStackTrace();}
    }

  • IOS: How many updates per year allowed?

    Hey Folks,
    Is there a hard limit to how many app updates that Apple allows in the course of a year?
    Any first-hand perspectives would be greatly apprectiated.
    Thanks much,
    Px

    I don't think there's a limit to the number of times you can update your app, Apple should allow every update as long as it's an improvement like new features or bug fixes etc

  • Netbooting - how many clients per server?

    Hello,
    I am looking in to having mac mini server (current version/dec 2012) to host about 60 clients, majority as netbooters, also maybe with a couple of extra remote VPN clients.
    However besides gigabit ethernet connection defined here as the requirement, there is no note of how many servers would I need for netbooting the clients?
    Does anyone have experience with this kind of setup? (similar to a kiosk environment)
    Thanks in advance.

    I would be concerned if more than 20 clients were trying to netboot at the same time.  Theoretically, you'd be okay with perhaps 200 clients as long as you could be sure that wasn't going to happen.
    Under normal conditions, ignoring maintenance and other unusual occasions ... are these clients booting
    once a day every morning, roughly at the same time as each other
    twice a day, but a random unsynchronised times, no more than 5 at a time
    only when power has been disconnected (rare)
    I gave three examples, but if you want to describe your situation more closely that may prompt someone familiar with that kind of setup.

  • How many CS per computer?

    I know the EULA states that you can install a product on 2 systems (as long as you are the only user, and not at the same time), but how many versions of products can you put on?
    Here's my situation:  I have Design CS5, and was thinking of upgrading to Production CS5.5, but I was wondering if I could keep Design CS5 on my system (or my other system) as well?  Or, does my upgrade cancel out my CS5 license and use?
    Thanks in advance.
    Mordechai

    Hey there, see this other forum thread for information on the use of your previous version once you upgrade
    http://forums.adobe.com/message/2730787#2730787

  • Photoshop CS5 - Current Users of 10 bits per pixel color

    Hello,
    I'm looking for feedabck from anyone who currently has a full 10 bit display pipeline using Photoshop CS5.  I've got a question in on another thread about info on 10 bpp hardware support but I wanted to also start a new thread to get comments from users who are already there.
    First and foremost I would like to know what graphics card you are using, and second your monitor and the color space you're using.  Info on drivers, calibrations tools you may have used on the monitor, performance differences you may have found going from 8 bit to 10 bit, your OS, etc. would also be appreciated.  Of particular interest would be anyone who has been able to get a non-workstation graphics card working with 10 bits all the way through.  I believe this is only possible with DisplayPort, although I have seen information that workstation level cards can do it over DVI.
    Please!! no Luddite style comments/questions about "why anyone would want to do this", or "what a pain it will be", or how "8 bits sRGB color is perfectly adequate and wonderful" for everyone.  I've essentially been there and done that in terms of reading these comments and I have less than zero interest in hearing any of them, no matter what your level of experience.  If I stated this as strongly as I would like I'm sure I would violate forum rules on language, so please respect my wishes here and start another thread to bash 10 bpp or wide gamut color in general.
    I'm only interested in getting tips on what is needed to make it happen.  Others who are not there yet but with legitimate interests in 10 bpp color feel free to expand on my questions.
    Thanks.

    I don't have a 10 bit pipeline myself, BUT...
    I did run across one interesting tidbit with regard to using OpenGL with Photoshop through ATI video drivers...
    A while back, as I was developing a plug-in that uses OpenGL, I observed that the ATI Catalyst driver (for my Radeon HD 4670 card) was choosing a deeper format for textures than what was requested (16 bit half-float instead of 8 bit integer) but only when my plug-in was running as part of Photoshop.  When I ran the plug-in in another app it did not do this - it stayed with an 8 bit texture depth instead.
    It turns out (confirmed by an ATI engineer) that the video drivers were actually detecting the application being Photoshop and making different decisions - presumably to increase the quality of the display specifically for Photoshop to support the high quality 10 bit color pipeline you seek.
    More info here:  http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=281068
    The key thing here is that prior to this discovery I never suspected that a video driver might do things differently depending on what application is calling it.
    Good luck putting together a system that gives you that higher quality display.  I'll be keenly interested in reading about your discoveries here.
    -Noel

  • ProRes - how many Gigabytes per hour?

    I'm wanting to use ProRes for a project. I'm not sure I'm understanding the articles written about it - which state it has less of a storage footprint than SD? I'm trying to calculate how much storage space I'll need for a project that may have more than 100 hours of material ... if I convert everything to ProRes?
    All ears,
    Ben

    Got my very own Aja calculator. Thank you. To know what the ProRes will require do I set the calculator to NTSC 8 bit (the only SD format I can see in the choices)?
    Then you don't have the latest one. The latest one lists PRORES as an option.
    the idea of capturing 5-10 hours (in ProRes)
    Can't do that with DV and VHS without a capture device. And HDV as ProRes requires special steps.
    then 'rendering' out (in ProRes) only the selects to create a new 'media' folder for all the material we might actually USE in the edit... am I being naive?
    You are being naive. Sorry...you are throwing around concepts and ideas with no real understanding of them, nor ability to follow them thru. NO capture card...no ProRes. HDV as ProRes, yes, but that's it. BetaSP requires a capture card too.
    You need to figure out a LOT of things here...especially if you will be working with HD and SD sources. A lot of ducks to get in a row. And you will need to start investing in more hardware if you want to get serious about this. Or you can capture as DV and use Compressor to upconvert later...and spend weeks doing it.
    There is WAY too much to go into on a forum post...
    Shane

  • Re: How many frames per second (fps) has 3120 clas...

    I've read in other sites that it performs 15 fps, but I'm not sure...
    Solved!
    Go to Solution.

    not possible to record at less than 15fps. there is no way that the 3120 classic supports video recording of 640x480, or even 320x240 for that matter. i have a N78, and it records 640x480 at 15fps, its a bit choppy at times since its not 30fps recording like other N series, but it does the job reasonably well. there's no 30fps recording on Series40 devices as of yet, so 15fps will have to do for now . but 6303 looks good
    please throw some kudos our way, it would mean a lot to us
    If you found this or someone's comments helpful or like what that person has to say, please give some Kudos to their post!

  • How many users per country and their names and cities in abap ?

    Hi,
    i want to build a list of my users on PRD per country and their names in an abap programm.
    Do you have any code for that ! Will be pleased to hear  from you.
    Thanks
    Kumar
    Moderator Message: You might be a Basis chap, but that doesn't mean we will do your work for you. Take the help of a ABAPer and get it done.
    Edited by: kishan P on Nov 21, 2010 6:42 PM

    Hi,
    i am just looking for an abap code as i am not a developer. I am a basis chap, i searched in sapnet, but nothing of the sort i am looking for. All RSUSRXXX reports are of general nature. Will be pleased to hear from ABAPERS or basis guyes who have
    faced this problem and solved.
    Thanks in adv.
    Kumar/Germany

  • 8ft x 4ft poster...but how many dots per inch for images?

    I've read a online somewhere a while back that the bigger the end product, the less the amount of dots per inch needed. is this true? if so, when do I start changing from 300dpi for A3 sizes to smaller DPI's on larger size prints?
    is there a way to calculate this? I'm always thinking it might for spending less ink on the larger size prints, etc
    and what should I use for a 8x4ft poster when:
    1. people are gonna see it up close
    2. when the closest they get would be about 4-5 feet away
    with this particular poster, people are gonna be up close.
    thanks for any info

    Was DYP wrote:
    hummm....I would'nt want to work on an 8ft x 4ft banner at s/s size on a 21" inch screen, each to his/her own I guess.
    I don't see where that would make any difference in working with the file, but it sure makes it convenient for printing. I work on lots of full size banners all the time. The only time a make them less than full size is when I am working on something bigger that 18' which is IDs maximum size.
    But doing them half size at 300 dpi is fine to. You just need to be careful that your graphics are not to low a resolution or you will be in for some surprises from IDs output, especially if you trying res-up when printing.
    I was really trying to suggest its easier to move around on screen if the artwork is not size for size.
    I guess everyone has their own particular way of working. I don't even produce A2 output at s/s size. I'll do that at either A4 or A3.
    I agree with the low res graphics. I don't seem to have any issues with just supplying 300dpi for any sized output to be honest. I've produced largish exhibition stands and A4 hand-outs from the same file. Seems to work ok for me.

  • In Creative cloud for teams, how many activations per license?

    Just want top make sure I purchase the correct number of licenses for my team.

    Hi Peter,
    Every license permits 2 activations.
    You can install and activate the license on 2 machines.
    Regards,
    Sheena

  • CFMAIL Any Faster In CF8? How many mails per minute?

    Hi there,
    We are currently running CF 7.02 and are considering
    upgrading to 8.
    I've seen lots of articles extolling the speed increases in
    CF8 over 7 etc. but I wondered if there was much of a performance
    increase in regards to CFMAIL?
    We send out vast quantities of emails every day and at busy
    times CFMAIL struggles to keep up. Mails seem to be sent out quick
    enough to our mail server but it seems to be the physical process
    of creating the cfmail files ready for sending that is a little
    slow.
    I think I read somewhere that under CF7 CFMAIL could create
    about 600 CFMAIL files a minute. Does anyone know what the figure
    is for CFMAIL under CF8?
    Or does anyone have any real world experience of CFMAIL
    speeding up or slowing down following an upgrade from CF 7 to 8?
    If this is still slow does anyone have any experience of
    using third party, dedicated, products to do what CFMAIL does? The
    mails we send are stored as entries in our SQL DB and we currently
    use CFMAIL to query the DB and produce html and plain text emails
    from these entries. Is there anything that we coul use to do that
    and take CFMAIL out of the loop?
    Cheers,
    Tem

    Hi there,
    We are currently running CF 7.02 and are considering
    upgrading to 8.
    I've seen lots of articles extolling the speed increases in
    CF8 over 7 etc. but I wondered if there was much of a performance
    increase in regards to CFMAIL?
    We send out vast quantities of emails every day and at busy
    times CFMAIL struggles to keep up. Mails seem to be sent out quick
    enough to our mail server but it seems to be the physical process
    of creating the cfmail files ready for sending that is a little
    slow.
    I think I read somewhere that under CF7 CFMAIL could create
    about 600 CFMAIL files a minute. Does anyone know what the figure
    is for CFMAIL under CF8?
    Or does anyone have any real world experience of CFMAIL
    speeding up or slowing down following an upgrade from CF 7 to 8?
    If this is still slow does anyone have any experience of
    using third party, dedicated, products to do what CFMAIL does? The
    mails we send are stored as entries in our SQL DB and we currently
    use CFMAIL to query the DB and produce html and plain text emails
    from these entries. Is there anything that we coul use to do that
    and take CFMAIL out of the loop?
    Cheers,
    Tem

  • ASM how many Gigs per disk group for performance.

    We are migrating from a file system based database 1Tbyte 10.2.0.3 on IBM AIX to a database on Solaris 9 10.2.0.3 with ASM.
    Our old system functioned well by breaking up the IO into 15 file system 72.5 GB each over three SAN arrays.
    We have no experience of ASM and are wondering if we should break up the IO in a similar way for performance or just have one large disk group? There must be advantages/disadvantages one way or another. Looking for advise.
    Thanks very much in advance for any help.

    ASM performs striping automatically so you don't need to care about creating multiple disk groups for performance. But if you have different disks in terms of speed and size, then create individual groups for each disk.
    http://youngcow.net/doc/oracle10g/server.102/b14231/storeman.htm#i1014729

  • How to get how many lines a formatted string has

    ih, is there a way to get by formula code the object's number of lines once it has been formatted by the format editor checking the the Can Grow check with 0 as maximum number of lines?
    The Can Grow check can offer you to enter the Maximum number of lines the object can grow...so...the object's number of lines somewhere is stored in order to confront it with the number one has entered in Maximum number of lines' input box.
    thank you in advance

    Hello,
    No or maybe, the problem is is when you select 0 it's unlimited, CR simply fills the first line and continues on until no more test to display. Then it determines how much space is left over for the rest of the report sections and so on...
    Possibly you could use the String Length function and divide by the page width:
    numbervar mynumbervar;
    mynumbervar :=  2 / tonumber(Length ({Command2.ROW_UNIT_NAME}));
    2 is the width of the field object in inches and then you also have to determine how many characters per inch the font is going to use.
    There are 1440 twips per inch and if your font is set to 10 then it's something like 1440/10 ( although you need to determine how many characters per inch the font really uses. This can vary depending on the font, most are not fixed width so it's only an estimate..
    Anyways, why do you need to know? CR will simply set the space required?
    Or are you wanting to have the same space all the time and try to determine what that is? If so then you'll also have to set it globally because the format will be evaluated for each time it prints.
    Don

Maybe you are looking for

  • Can I use the same itunes for my ipad and iphone?  Will the computer erase my other device information?

    Can I use the same itunes for my ipad and iphone on my computer?  Will the computer erase my other device information?

  • CS5 (64 or 32) unable to process panorama

    New computer (Dell XPS Windows 7).  Solid state hard drive.  8 gig RAM.  New installation of PS via CD with updates. All removed and reinstalled. A transfer of files from Lightroom via Photo > Edit In > Merge to Panorama in PS...  opens PS5 but it im

  • Opening PDF in iBooks

    Ever since downloading and using Dropbox app on iPad and iPhone 4S, I can no longer open a pdf file from safari or email attachment  and read a PDF in iBooks. My only options to open in are Dropbox and Go Daddy apps. I can't figure out how to return

  • How do you submit an online form?

    I am using Contribute to edit our webpage, it has been fine for what we've needed so far, but that has been very basic stuff. We're now wanting to add an online employment application that can be submitted (directly emailed) to out HR department. I'v

  • FCP ISL theoretical question

    Hi, I' ve got a theoretical question about the behaviour of ISL at Cisco MDS switches: I heard, that during a transfer (a continuous sequence of frames) between a target and an initiator (each of them are on seperated switches, which are connected wi