Determine median value of a ROI in an image

Hi
I'm trying to determine the median value of a region of interest from
an image that has an embedded bayer pattern.  The bayer pattern is
RGGB.  Using IMAQ Extract, I extract out only the green change (for
example) - which is every 2nd column and every 2nd row.  This works
fine.   Next I convert the image to an array and use the optional
rectangle input to select for my ROI.  This doesn't work.  It is
selecting every 2nd row and every 2nd column to create my ROI.  Why?
Is there a better way to do this?
I'll attempt to attach my vi...
Thanks,
sau

I think my original vi was too big.  The image is 2048 x 1536.  The ROI portion didn't work when the image was that big.  I'm sending a vi that uses a smaller 9x9 image instead and the ROI portion works here.  Any ideas why?  Is there a limit to the image size?
Vi in labview 7.1
Message Edited by sau on 03-02-2006 04:08 PM
Attachments:
Untitled12.vi ‏76 KB

Similar Messages

  • Abort Could not determine a value for variable 0DAT from the authorizations

    Hi All,
    I encountered an error '/ Abort Could not determine a value for variable 0DAT from the authorizations\' when executing my query on a multiprovider in BW 3.5.
    Can anyone help me in finding a solutionn to this issue.
    Thanks,
    Kartik.

    Hi Kartik,
    I am sorry as that note is for NW2004s. Please check if 0DAT variable installed from a business content? if not then I think thats the cause of the problem.
    Hope this helps,
    Bye...

  • Cannot determine a value for an exit variable in the Formula fn w/p empty

    Hi All,
    We have an exit variable Z_EX_AR_VAR, the would read a hierarchy node input variable (Z_HN_AREA), which is furthur based on a hierarchy input variable (Z_HR_AREA), and wouuld return the first leaf of it.
    We have implemented a input ready query based on this exit variable and it is getting the first node and is input ready and saves the data to the database.
    It works well in the query when we have filtered the characteristic with the hier and hier node and the exit variables.
    We need to use the same value to be used in the Fox function.
    As per the requirement, the Fox function has to process the zero (empty) records.
    So, we have customized formula function to process emptry records.
    And in the function of type formula function that processes empty records, we have used the following statement.
    DATA AR type ZAREA.
    AR = VARI ( Z_HN_AREA, HIENM=Z_HR_AREA, 1).
    We are getting the following error message:
    Cannot determine a value for the variable Z_HN_AREA.
    Planning function ended with errors.
    What is that we are doing wrong here. Is it with the 'Process Empty Records' function that cannot read the variable.
    How come this variable is working in the query and it is not working in the FOX.
    We have done the variable to variable binding in the WAD also. Still the same problem.
    Any ideas? Thanks in advance.
    Best Regards,
    - Shashi
    Thanks in '

    Hi All,
    Michael Wolf from SAP confirmed that we cannot use VARiable read functions in the customized Formula function that processes the zero (empty records) as he spoke to SAP AG about the issue.
    Hence we have made a work around by creating a valid record using a dummy key figure in the Custom Formula function that processes empty records so that in the next step, the regular Formula function would get executed, where we could access the variable values by using VARV, VARI functions.
    Thanks,
    - Shashi

  • Unable to determine the value of component  ''! Workflow error, please help

    Hi All:
        I am getting the error "Unable to determine the value of component  ''" and workflows are not getting processed. I found OSS notes 879100 related to this issue but I am new to workflow and not sure where to start from! Here is the notes description:
    The workflow WS20500025 ('Service Connection Order Processing') encounters an error directly after being started. The following error messages are displayed in the workflow log:
    SWP102: Error at start of an IF branch
    WL821: Work item 000000100012: Object FLOWITEM method EXECUTE cannot be executed
    SWF_RUN535: Error '9' when calling service 'SO_OBJECT_SEND'
    SWF_RUN534: Problems occurred when generating a mail
    WL863: Notification of completion cannot be generated
    SWF_EXP_001073: Unable to determine the value of component 'QUOTATION'
    SWF_EXP_001072: Error in the evaluation of expression '<???>' for item 1
    SWF_RLS_001101: Operator 'GT': The value of the left operand cannot be determined
    SWP085: Error when starting work item 000000100012
    SWP010: Error when evaluating the IF condition for node 0000000075
    Other terms
    Service connection processing, service connection workflow
    Reason and Prerequisites
    This is due to a program error.
    The checks in the workflow Basis have been made stricter. A query of the type 'Quotation.number > 0' now causes an error if the container element 'Quotation' is not set. This is always the case if the workflow is is running without quotation prcessing, for instance.
    Solution
    The error is corrected in the next Support Package.
    If you want to implement the corrections manually in your system, change the condition in step 000075 of workflow WS20500025 as follows:
        &IS-U: Kundenangebot& EX
    and &IS-U: Kundenangebot.Verkaufsbeleg& > 0
    Save and activate the workflow.
    I am new to workflow and not sure where to start from! Could someone please help me with this? Rewards assured.
    Thanks.
    Mithun

    ANy ideas? Please help me if anyone knows the answer.
    Thanks.
    Mithun

  • Dynamic determination of VALUES of an Attribute in a Mail-form

    Hi All,
    We have created a Mail Form with ceratin attributes. We have assigned a target group to a campaign.
    now, the requirement is to determine the VALUES of the attributes dynamically for the BPs in the target groups.
    please help me what should be done to meet this rquirement.

    Hi there,
    I believe the following link demostrates the whole process including your requirements:
    [http://wiki.sdn.sap.com/wiki/display/CRM/NavigationtotheCRMUIComponentfromMailFormorSmartFormsHyperLink|http://wiki.sdn.sap.com/wiki/display/CRM/NavigationtotheCRMUIComponentfromMailFormorSmartFormsHyperLink]
    Please reply if this helps.
    Regards,
    Vinamra.

  • How to determine the value of a Standard Value in a routing operation

    Dear Experts,
    Kindly guide me on how to detemine the value of my Standard Value in the  operation of my routing, or in the phase of my Master Recipe.
    I mean what determines the value that I enter for the Standard Values: Machine  and Labor in the phase of my Master Recipe?

    Hi,
    In the Routing / Master Recipe, the standard values are based on the lot size.
    For Example, if you have the lot of 100 KG, then in recipe the machine time will be 2 hr and labor time will be 2 hours, it means to make 100 KG we require 2 hrs of machine and 2 hrs of labor.
    Normaaly all production manager / supervisor will have the date for the hours. The system will calculate will respect to batch / lot size.
    If you have order for 1000 KG, then the system will assign 20 hrs for Machine and 20 hrs for labor.
    This will be used for Capacity planning and Costing.
    Capacity plan here your requirement is 20 hrs for machine and labor. If you have a reacto which wil run for 24 hrs a day, then the order will be completed in a day.
    Costing is concerned, all std. valur key will be assigned with an activity type in work center / Resources and the prices for activity type / cost center will be maintained in KP26.
    Based on the cost and hours, the system will allocate cost for the order (it will be planned cost). When you are confirming the order you will enter the actual time for the operation, then that will be your actual cost.
    Pl do a sample test scenario in your sand box, and surely you will understand more.
    The data for Routing / Recipe will be provided by the production manager of the plant and activity price will be provided by the finance team.
    Thanks,
    JK

  • How to determine the values for Model Parameters in Forecasting

    Hello Gurus,
          On basis we will determine the values  for the Model Parameter values (Alpha, Beta, Gamma, Sigma).
    Thanks,
    Siva.

    Dear Siva,
    the values are dependent from the forecast stratey and forecast model.
    The forecast strategy determines the method or the techniques that are used to create the forecast. You set the forecast strategy in the forecast profile.
    There are some settings that you must make for certain forecast strategies. The table below shows you which settings these are. You make these settings either in the univariate forecast profile or under the Model and Parameters tabs of the Forecast view on the demand planning desktop.
    Model initialization is the process by which the system determines the necessary model parameters for the chosen forecast model. These parameters are in following link:
    http://help.sap.com/saphelp_scm50/helpdata/en/ac/216b74337b11d398290000e8a49608/frameset.htm
    I hope this helps you further.
    Regards,
    Tibor

  • How to determine the value of  -D__SUNPRO_CC?

    Could any body tell me how to determine the value of -D__SUNPRO_CC? Iam now using Sun Studio 9.
    Thanks in advance.

    The C++ Users Guide describes all the predefined macros set by the compiler.
    The __SUNPRO_CC macro is a 3-digit hex number. The first digit is the C++ compiler major version number, which is 5 for all releases from WorkShop 5 in 1998 through the current release, Sun Studio 10. The second digit is the minor version number, increasing by 1 for each release in the major release series. The 3rd digit is a place holder for the very rare (none since 1994) cases when we have a micro version number. It is zero in current releases.
    The current compiler release is C++ 5.7, so __SUNPRO_CC is set to 0x570.
    You can see the macro setting by running
    CC -dryrun -c foo.cc
    and look for the -D__SUNPRO_CC =0xNNN on the ccfe command line.

  • Determine Max Value from Lower level?

    Hi,
    I have requirement to determine maximum value from lower levels. Please post your ideas to resolve this requirement using BEx Query designer.
    Level_A1         MAX (KF1 of lower level - B1 to B2 or C11 to C1n + C21 to C2n)
        Level_B1     MAX (KF1 of lower level - C11 to C1n)
             Level_C11     KF1
             Level_C12     KF1
             Level_C13     KF1...
             Level_C1n     KF1   
        Level_B2     MAX (KF1 of lower level – C21 to C2n)
             Level_C21     KF1
             Level_C22     KF1
             Level_C23     KF1...
             Level_C2n     KF1
    Thank you very much…
    BW User

    Did you try @ancestval http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/frameset.htm?ancestval.html
    Regards
    Celvin
    http://www.orahyplabs.com

  • Replication Error: Determination of values for application was interrupted

    Hello,
    We are setting up a CRM 5.0 system, with an ECC 5 backend. We try to replicate the condition customizing (object DNL_CUST_CND). When I look in the object monitor the object gets status green after running. But in SLG1, the log shows over 200 warnings and 3 critical errors with message:
    Determination of values for application was interrupted
    Message no. CND_MAP837
    There is not more information available and I can't find anything relating to this message here or in OSS. Does anyone have a clue what the cause of this error could be?
    Thanks in advance,
    Jeroen

    Hello Jeroen ,
    You may find  the warning message bcos all the R/3 fields may not be available in
    CRM system. thus those condtion tables may not be mapped and inactive status.Check whether the condtion tables used in ur scenario is available in active status in CRM.
    Regarding the  data exchange of condtion the follwing oss notes will be helpful:
    1. 314542.
    2. 441485 this note containst the  message relevant to you (CND_MAP837) .
    Please check the above notes and try to analyse ur issue.
    Regards
    Bala

  • Encountering problems getting the median value for specific rows alone.

    Consider the following columns:
    Call Value
    0.49
    0.65
    1.22
    1.29
    1.34
    1.64
    1.8
    2.25
    3.86
    4.32
    5.12
    Median 1.64
    Quartile 1
    0.49
    0.65
    1.22
    1.29
    1.34
    Expected Median 1.22
    BO Returns      
    The first column in the table contains call values. The median of all the call values is 1.64. BO displays this value as is (correctly). In case of obtaining the median for Quartile 1, BO returns a null value instead of 1.22.
    Can anyone please tell me what needs to be done in BO to achieve this value 1.22?

    Hi Rajiv,
    Following is the syntax of the formula for median values.
    The Syntax is as follows:
    number Median([measure]), where measure is any measure object.
    Example
    Median([Revenue]) returns 971000 if [Revenue] has the values 736431, 971000, and 5476652
    Please note that the Median function in BusinessObjects works differently from the Median function in Microsoft Excel.
    For odd number of rows in the report, the Median will take the middle value and for even number of rows in the report, the Median will take the two middle values and calculate the Average of them.
    Regards,
    Sarbhjeet Kaur

  • BC4J VSM - Unable to determine the value of OC4J_HOME

    I'm on step 8 of the "Configuring the application" section and I'm getting the error "Unable to determine the value of OC4J_HOME" after running bc4j2oc4j.bat.
    Seems that the instruction assume that the OC4J_HOME is already set, so I set a system variable OC4J_HOME to C:\oracle\JDev903.1\j2ee\home. I then re-run bc4j2oc4j.bat and get the same error and now I'm totally lost.
    Also, given that I using W2K and want to get the BC4J-VSM app deployed to 9iAS, not the stand-alone server, should not the OC4J_HOME be set to 9iAS?
    Need some help.
    Thanks,
    Bill G...

    Hi Neelesh,
    I have set the OC4J_HOME as you suggested and then ran the bc4j2oc4j script. I then started JDeveloper, opened the VSM workspace, created db connections, made sure that Struts Commons classpath is pointing to jars in <JDEV_HOME>/jakarta-struts/librebuilt, then Rebuilt VSM-BC4J.jws. Then tried to run the VSM app within JDeveloper and I get the error listed below from the browser as the app tries to load.
    Bill G...
    500 Internal Server Error
    java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
         void org.apache.struts.action.ActionServlet.<clinit>()
              ActionServlet.java:375
         java.lang.Class java.lang.Class.forName0(java.lang.String, boolean, java.lang.ClassLoader)
              native code
         java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader)
              Class.java:195
         com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletInstanceInfo com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.loadServlet(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].util.ByteString)
              HttpApplication.java:1890
         com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletInstanceInfo com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.findServlet(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].util.ByteString)
              HttpApplication.java:4355
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.initPreloadServlets()
              HttpApplication.java:4455
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.initDynamic(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplicationConfig)
              HttpApplication.java:662
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.<init>(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.Application, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpSite, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplicationConfig, java.lang.String, java.lang.String, boolean)
              HttpApplication.java:435
         com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.Application.getHttpApplication(java.lang.String, java.lang.String, boolean, long, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpSite, boolean)
              Application.java:695
         com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpServer.getHttpApplication(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplicationReference, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpSite)
              HttpServer.java:676
         com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpSite.getApplication(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].util.ByteString)
              HttpSite.java:388
         boolean com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.ApplicationServerThread, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletRequest, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
              HttpRequestHandler.java:407
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(java.lang.Thread)
              HttpRequestHandler.java:259
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run()
              HttpRequestHandler.java:106
         void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
              PooledExecutor.java:803
         void java.lang.Thread.run()
              Thread.java:484

  • Abort Couldn't determine the value for 0P-KEYD2 from Authorizations

    Hi All,
    When attempting to open a query, i'm encoutered with an error like "Abort Could not determine a value for variable 0P_KEYD2 from the authorisations".
    Last month it was working fine, and working fine in Quality enviroment also.
    If anyone come across such situation or any ideas, Please help me out in this regard.
    Awaiting to see replies for this.
    Regards,
    PRK.

    Dear PRK,
    I'm facing exactly the the same problem - which solution did you finally find.
    Regards,
    Axel

  • The value should be set for Base image URL and Image file directory

    Hi experts
    Now customer has the following issue.
    XML Publisher concurrent request, using RTF layout template with LOGO, does not generate the LOGO for Excel output.
    but in output formats PDF, it is shown normally.
    from the debug log, we can found the following error message
    ======
    [051812_054716051][][ERROR] Could not create an image. Set html-image-dir and html-image-base-uri correctly.
    ======
    so I tell the customer to do the following action plan.
    1. in XML Publisher Administrator resp > Administration expand the HTML Output section.
    2a. enter a value for 'Base image URI'
    2b. enter a value for 'Image file directory'
    Customer set the value as following and retest this issue,but he found the issue is not solved.
    Base image URI: /u01/r12/ebssnd/apps/apps_st/comn/java/classes/oracle/apps/media/XXSLI_SONY_LIFE_LOGO.gif
    Image file directory: /u01/r12/ebssnd/apps/apps_st/comn/java/classes/oracle/apps/media
    I verified 'Base image URI' and 'Image file directory' settings:
    1) Change output type to HTML.
    2) Click the Preview.
    but the image is correctly displayed on HTML, so I think the issue is caused by user's uncorrectly setting of the base image URL and/or image file directory
    but could anyone give me some advice on which value should be set for Base image URL and Image file directory
    Regards
    shuangfei

    First thing to do is to edit the post and use some tags to format the code as it is unreadable and too much!
    Read the FAQ (https://forums.oracle.com/forums/help.jspa) to find out how to do this.
    Next we need to know the jdev version you are using!
    As the code is generated I would first try to generate it again after the db change.
    Timo

  • Trim Down The ROI of an image

    Hello folks,
    i am working on a image processing project which involves template matching.
    Thanks to the guidance of the LabVIEW experts i have been able to complate the template matching and implement a state machine.
    i am trying restrict my Region Of Interest (ROI) of the image with which i will match the stored template.
    i have also enclosed the image. i wish that i can just select the face of the person by feeding  in the co- ordinates.
    As usual it is not working.
    Suggestions to improve the VI are welcome 
    Thanks in advance
    Jalashwa
    Attachments:
    image test.vi ‏72 KB
    DSC_0095.JPG ‏1964 KB

    As i wrote if the EXIF data is missing or incomplete then there isn't any information to be gotten from the image.
    regards
    BTW what EXIF viewer did you use? ExifTool by Phil Harvey is a very comprehensive tool for exploring digital images. It is a command line program and a bit intimidating at first but if there is anything to be gotten from the image it will find it.
    Message was edited by: Frank Caggiano

Maybe you are looking for

  • MS Access, ODBC and SPs returning ref cursor

    I have some functions and procedures in a package returning ref cursors that work fine in my C++ batch applications. I would like for the GUI to be able to call these as well. Unfortunately, we are using Access as the front end (for now), and we have

  • Can't put music into Podcast

    Ok. I'm new to this. Probably NOT doing something right. I'm creating a podcast and want to use a music bed. When I try to drag/drop an MP3 from iTunes into a new track, I get the message that the music file is being installed, but it doesn't show up

  • How to filter in URL using NW04s WAD?

    Greeting Web Template Gurus, I am working in NW04s SP12 WAD (Web Application Designer) and I am trying to use the filtering criteria in my URL...  <bwurl>&FILTER_IOBJNM=0PLANT&FILTER_VALUE=1000.  I have brought in the Filter Pane in the Web template

  • Scanner sharing not possible

    I have two scanners (Canon Canoscan 3200 F, Lexmark X1190) connected to a PowerMac G4 (Mac OS X 10.4.11) via Firewire (the Canon) and USB (the Lexmark). In Image Capture I set up to share both the scanners. They appear on my MacBook Pro which is conn

  • Lenovo ThinkPad W530 replacement keyboard

    Hi, I am looking to buy a replacement keyboard for my Lenovo ThinkPad W530 notebook. I'm looking for a US English keyboard. Can anyone recommend an online retailer? I am having trouble with the Lenovo website itself. Thankyou, Steven.