How to extract X,Y-coordinates after Particle Analysis

Hi there,
I'd like to use Particle Analysis for a kind of motion detection. My problem is I can't get the information out...
How do I get the X- and Y- coordinates (center of mass) of a particle (of a certain areal measurement in case there are more than one particle)?
For example:
Area between 100 and 150... What is X and Y
Thanks for help

Hello seasoo,
Have a look at the attached vi.
For your analysis, the IMAQ Particle Analysis Report vi will be appropriate. To get all the values you use the FOR loop except if you have a prior knowledge of the number of particles you will get. You then use the values as needed - compare to your range.
Use the IMAQ Particle Filter 3 to isolate particles based on your criteria.
Hope that helps.
Attachments:
oval 1.jpg ‏25 KB
Untitled 1.vi ‏110 KB

Similar Messages

  • How to get a single particle image after particle analysis in vision development toolkit

    Hi all,
    After a long time I am here again to find out some solutions regarding image processing. I have an RGB image with a number of particles in it. For processing I have made it binary image and then particle analysis function is used. It is showing all the required measurements of each particles. But as well as I also need the image of each particle individually, that may be in an array so that I can get those one by one using for loop. Is it possible to do? I have no idea how to do it. Please help.

    Hello,
    Normal recovery which you are doing, examines the content
    of the environment's log files and uses this information
    to ensure that your database files are consistent relative
    to the information contained in the log files. Normal recovery
    starts with any logs used by any transactions active at the
    time of the last checkpoint, and examines all logs from then
    to the current logs. Normal recovery also recreates your
    environment's region files. This has the desired effect of
    clearing any unreleased locks that your application may have
    held at the time of an unclean application shutdown.
    You can turn on verbose error messaging as that should
    provide additional information on what is causing the
    Invalid argument error.
    For that take a look at:
    DB_ENV->set_errfile
    http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/env_set_errfile.html
    Please post any additional messaging from that.
    It that sheds no light on the problem, please post a
    small, stand-alone test case which reproduces the problem
    and I can take a further look.
    Thanks,
    Sandra

  • How to select the particles after using the Particle Analysis

    Can I select the particles after the particle analysis directly, like chosing #1, #2 ..., or should I run the particle filter using the measured parameter?

    Hello Ishi,
    I now have a much better idea on what you are trying to do.  If you run the IMAQ Particle Analysis Report VI on the thresholded image that contains particles, an array of clusters will be returned that will contain specific information for each particle including the area, number of holes, bounding rectangle coordinates, center of mass, orientation, and dimensions. 
    To find out which particle is which in the image, index the Particle Reports (Pixels) output of this VI, unbundle the cluster to extract the Bounding Rectangle cluster, and then pass it to the Rectangle input of an IMAQ Overlay Rectangle VI.  This VI will overlay a bounding rectangle onto the image to show where the particle is located.  You can specify which particle you want highlighted by changing the array index of the Index Array VI that is responsible for extracting a specific cluster of particle information from the Particle Reports output of the IMAQ Particle Analysis Report VI.
    Regards,
    Mike T
    National Instruments

  • How to split the particle analysis report in order to extract one particular information(for eg. orientation)??)

    hi .. i need to extract the orientation and centroid information from the particle analysis report (image processing is done in NI Vision and then converted to labview vi) for further processing. However once processing is done in Vision ,after converting to labview vi the particle analysis report comes as 1D array of size 1 and thus am unable to extract one particular information from the report. Plz help!   

    duplicate

  • How to extract pick details after pick release with OPM Modules

    Hi, Can someone show me how to extract pick details (for third party warehouse) after pick release released in OPM modules?
    I remembered that I can access interface tables MTL_TXN_REQUEST_HEADER and MTL_TXN_REQUEST_LINES to extract pick detail. But it seems that in OPM modules, it does not use these two tables. Any help are greatly appreciated.
    Calvin

    Hi,
    This problem Could happen when you referesh quality or test system.
    Your delta setup for the related master and transaction data needs to be reinit.
    What happens is when you init. the delta and subsequent delta is all maintained in your source system
    please check Notes 852443,424848,834229
    Hope this helps
    Thanks
    Teja
    Message was edited by:
            Teja badugu

  • How to get top left stage corner coordinates after resize?

    hi,
    is there maybe a way to get top left stage corner coordinates
    after resize?
    or maybe get original stage size before resize? so i can
    calculate it.
    i know that you can collect the width and height before it is
    resized but is it possible after?
    --- sorry for the double post ---

    i donno exactly but try like this ,
    data: i_logo  type bds_typeid.
    data: lr_logo type ref to cl_salv_form_layout_logo,
    lr_content     type ref to cl_salv_form_element.
    i_logo = 'MY_SAP_LOGO'.
    IF i_logo is not initial.
    create object lr_logo.
    lr_logo->set_left_content( i_logo ).
    lr_content = lr_logo.
    endif.
    cl_salv_form_content=>set( lr_content ).

  • Open Hub: How-to doc "How to Extract data with Open Hub to a Logical File"

    Hi all,
    We are using open hub to download transaction files from infocubes to application server, and would like to have filename which is dynamic based period and year, i.e. period and year of the transaction data to be downloaded. 
    I understand we could use logical file for this purpose.  However we are not sure how to have the period and year to be dynamically derived in filename.
    I have read in sdn a number of posted messages on a similar topic and many have suggested a 'How-to' paper titled "How to Extract data with Open Hub to a Logical Filename".  However i could not seem to be able to get document from the link given. 
    Just wonder if anyone has the correct or latest link to the document, or would appreciate if you could share the document with all in sdn if you have a copy.
    Many thanks and best regards,
    Victoria

    Hi,
    After creating open hub press F1 in Application server file name text box from the help window there u Click on Maintain 'Client independent file names and file paths'  then u will be taken to the Implementation guide screen > click on Cross client maintanance of file name > create a logical file path by clicking on new entiries > after creating logical file path now go to Logical file name definition there give your Logical file , name , physical file (ur file name followed by month or year what ever is applicable (press f1 for more info)) , data format (ASC) , application area (BW) and logical path (choose from F4 selection which u have created first), now goto Assignment of  physical path to logical path > give syntax group >physical path is the path u gave at logical file name definition.
    however we have created a logical path file name to identify the file by sys date but ur requirement seems to be of dynamic date of tranaction data...may u can achieve this by creating a variable. U can see the help from F1 that would be of much help to u. All the above steps i have explained will help u create a dynamic logical file.
    hope this helps u to some extent.
    Regards

  • Can anybody tell me how to extract sales value and cost value for an materi

    dear all,
    Can anybody tell me how to extract sales value and cost value for an material sold .
    All the values of cost value and sale values are getting  stored in bseg-wrbtr field .
    How to identify them uniquely.
    Or there is another way to find the sale and cost values.
    Regards
    Mave

    Hi Mave!
    Normally there is no condition change, when something is sold.
    But sales price depends on sales conditions (not only price, but also surcharges, discounts, taxes - if customized).
    Nevertheless, after selling you have a invoice document, where correct values <i>should</i> be stored (see VBRP fields mentioned above). If here is a problem, then customizing of price determination is in question, not a programming of user-exits with MARD selection for costs (or some other tries to get a price).
    When you specify your requirements more in detail, you might get better answers - but currently only general hints are possible ('see in invioce / G/L accounts').
    Regards,
    Christian

  • How to extract the historical data from R/3

    hi
    I am extracting data from R/3 through LO Extraction. client asked me to enhance the data source by adding field. i have enhanced the field and wrote exit to populate the data for that field.
    how to extract the historical data into BI for the enhanced field. already delta load is running in BI.
    regards

    Hi Satish,
    As per SAP Standard also the best way is to delete whole data from the cube and then load the data from set up tables as you have enhanced the data source.
    After data source enhancement it is supported to load normally because you don't get any historical data for that field.
    Best way is to take down time from the users, normally we do in weekends/non-business hours.
    Then fill the set-up tables; if the data is of huge volume you can adopt parallel mechanism like:
    1. Load set-up tables by yearly basis as a background job.
    2. Load set-up tables by yearly basis with posting periods from jan 1st to 31st dec of any year basis as a background job.
    This can make your self easier and faster for load of set-up tables. After filling up set-up tables. You can unlock all users as there is no worries of postings.
    Then after you can load all the data into BI first into PSA and then into Cube.
    Regards,
    Ravi Kanth.

  • How to Extract particular field from a string ( Mapping)

    how to exteract the particular field from the given string:
    ProcessEmp this element has a below string subfields.
    <ProcessEmp>&lt;?xml version="1.0" encoding="utf-8" standalone="no"?&gt;
    &lt;Employee PersonnelNumber="11111" FirstName="String" MiddleName="String" LastName="String" Department="String" Group="" SapUserID="10flname" EmailAddress="[email protected]" DefaultPassword="*" Status="Success" /&gt;</ProcessEmp>
    how to extract only PersonalNumber, department, EmailAddress from above ProcessEmp into 3 diff fields.
    Thanks
    dhanush.

    Hi,
    You are receiving XML message within a field. To access a particular field from that XML message, you could create a User Defined Function, as suggested by many already.
    You could write UDF using some of the String operation functions. This could include following:
    1. If you need to access field Employee PersonnelNumber, you could get last index of that within string using function lastIndexOf(String str). Pass string "Employee PersonnelNumber="" for this function.
    2. This function would return an index of rightmost occurance of this string.
    3. after this you could get the index of next occurance of ", as the value of field is within quotes. You could use function indexOf(int ch, int fromIndex) for getting the same. You would pass Character as " and index as the one received by previous function.
    4. Now you have index for starting and ending point of value string for desired field.
    5. After this you could use substring(int beginIndex, int endIndex) function by passing first and second index values to retrieve the needed string, which contains value of field.
    Hope this would be helful.
    Thanks,
    Bhavish
    Reward points if comments found helpful:-)

  • How to extract my music file from my ipod???

    I have had this Ipod for about 3 years and I am ready to buy a new one. But I have all my music in this Ipod. Does someone know how to extract this music so that I can feed my new Ipod?

    You can't directly transfer music from iPod-to-iPod.
    You can transfer your current iPod's music to your computer, then transfer that to your iPod.
    There are a few different methods of transferring music from your iPod to your computer (on a Windows).
    Method 1 - Manually transfer your iPod songs to iTunes using MacMuse's post. See it here -> iPod songs to computer (MacMuse post)
    Method 2 - Add your iPod's folder into the iTunes library (via iTunes). Read this post here -> Using iTunes settings to transfer iPod songs to iTunes
    Method 3 - Use a third-party program to get the transferring done. For a Windows computer, CopyPod should work good. Also, you can try out YamiPod
    After this, you can connect your new iPod, and transfer the songs from the iTunes library to your new iPod.
    I hope that info helps you.
    -Kylene
    If any post helps or solves your problem, please click the "Solved" or "Helpful" buttons on top of that post. Thank you for helping the boards!

  • How to extract the data

    data source is 0FI_AP_4 how to extract the data from R3 to bw

    Hai<b> Anand</b>...
    If you also Create a DataSource in R/3 Extract it Using the Transaction code <b>RSA3</b> and Please Replicate DataSource in BW.....
    Replication is Easy in BW....
    Just Click on Right from the SourceSystem and Click the option " <b>Replicating DataSource</b> "....
    The Datasource will be replicated in BW after Clicked.....
    <i><b>Assign points If It Helps </b></i>
    <u><b>BalajeeKannan</b></u><u></u><i></i>

  • How to extract the details of the stored procedures in the database?

    Dear all,
    How to extract the details of them?
    Bst Rgds,
    Edward

    Hi Wa-Man Edward Chan,
    Following is the PLSQL Block Which Will Give Package, Procedure, Function Source
    set verify off
    undefine which_object;
    undefine which_line;
    declare
    Shows lines with context of:
    VIEW
    FUNCTION
    PROCEDURE
    TRIGGER
    PACKAGE SPECIFICATION
    PACKAGE BODY
    The script uses to temporary tables ERROR_TABLE_TEMP and ERROR_CLOB_TEMP created with:
    CREATE GLOBAL TEMPORARY TABLE ERROR_TABLE_TEMP(line number, text varchar2(4000));
    CREATE GLOBAL TEMPORARY TABLE ERROR_CLOB_TEMP(TEXT CLOB);
    v_offset number:= 5; -- Controls how many lines before and after the line in focus are to be shown
    v_obj_name varchar2(100);
    v_obj_type varchar2(100);
    v_obj_type_new varchar2(100);
    v_obj_line number;
    v_counter number := 0;
    v_text varchar2(32767);
    v_subtext varchar2(1000);
    v_from number;
    v_len number;
    v_marker varchar2(10);
    v_found number;
    v_line_from number;
    v_line_to number;
    v_long_text clob;
    procedure ins_line (p_text in varchar2) is
    begin
    v_counter := v_counter + 1;
    insert into error_table_temp(line,text)
    values (v_counter,p_text);
    end;
    begin
    delete error_table_temp;
    select ltrim(rtrim(upper('&which_object'))), nvl(to_number('&which_line'),0)
    into v_obj_name, v_obj_line
    from dual;
    begin
    select decode(object_type,'PACKAGE','PACKAGE BODY',object_type)
    into v_obj_type
    from user_objects
    where object_name = v_obj_name
    and nvl(v_obj_line,0) > 0
    and rownum = 1;
    exception when no_data_found then
    ins_line('ERROR: Object/line not found');
    return;
    end;
    ins_line(v_obj_name||' ('||v_obj_type||')');
    if v_obj_type in ('PACKAGE BODY','PACKAGE','FUNCTION','PROCEDURE') then
    v_obj_type_new := v_obj_type;
    ins_line('----------------------- PROGRAM LISTING -------------------------');
    for code in (select trim(text) text, lpad(line,4,' ')||' '||decode(line,v_obj_line,'>>>>> ',' ') marker, type
    from user_source
    where name = v_obj_name
    and line between v_obj_line-v_offset and v_obj_line+v_offset
    order by decode(type,v_obj_type,1,2),line) loop
    if v_obj_type_new != code.type then
    ins_line(null);
    v_obj_type_new := code.type;
    v_counter := -100000; -- In order to show specification before body
    ins_line(v_obj_name||' ('||v_obj_type_new||')');
    ins_line('----------------------- PROGRAM LISTING -------------------------');
    end if;
    ins_line(code.marker||code.text);
    end loop;
    elsif v_obj_type = 'VIEW' then
    select text
    into v_text
    from user_views
    where view_name = v_obj_name;
    v_line_from := v_obj_line-v_offset;
    v_line_to := v_obj_line+v_offset;
    v_obj_line := v_obj_line -1;
    ins_line('------------------------------- PROGRAM LISTING -------------------------------');
    for i in v_line_from..v_line_to loop
    begin
    if i = v_obj_line then
    v_marker := '>>>>> ';
    else
    v_marker := ' ';
    end if;
    if i = 0 then
    v_from := 0;
    v_len := instr(v_text,chr(10));
    else
    v_from := instr(v_text,chr(10),1,i);
    v_len := instr(v_text,chr(10),1,i+1) - v_from;
    end if;
    v_subtext := substr(v_text,v_from+1,v_len-1);
    if v_len > 0 then
    ins_line(lpad(to_char(i+1),4,' ')||' '||v_marker||v_subtext);
    end if;
    exception when others then
    null;
    end;
    end loop;
    elsif v_obj_type = 'TRIGGER' then
    ins_line('----------------------- PROGRAM LISTING -------------------------');
    delete error_clob_temp;
    execute immediate 'insert into error_clob_temp (text) '||
    'select to_lob(trigger_body) '||
    'from user_triggers ' ||
    'where trigger_name = '''||v_obj_name||'''';
    select text
    into v_long_text
    from error_clob_temp;
    v_obj_line := v_obj_line-1;
    v_line_from := v_obj_line-v_offset;
    v_line_to := v_obj_line+v_offset;
    for i in v_line_from..v_line_to loop
    begin
    if i = v_obj_line then
    v_marker := '>>>>> ';
    else
    v_marker := ' ';
    end if;
    if i = 0 then
    v_from := 0;
    v_len := dbms_lob.instr(v_long_text,chr(10));
    else
    v_from := dbms_lob.instr(v_long_text,chr(10),1,i);
    v_len := dbms_lob.instr(v_long_text,chr(10),1,i+1) - v_from;
    end if;
    v_subtext := dbms_lob.substr(v_long_text,v_len-1,v_from+1);
    if v_len > 0 then
    ins_line(lpad(to_char(i+1),4,' ')||' '||v_marker||v_subtext);
    end if;
    exception when others then
    null;
    end;
    end loop;
    end if;
    if v_counter = 0 then
    ins_line('*********** NO CODE FOUND ***********');
    else
    ins_line(null);
    end if;
    exception when others then
    ins_line('*********** ERROR: NOT POSSIBLE TO SHOW THE CODE ***********');
    ins_line(' FEJL: '||sqlerrm);
    end;
    set linesize 4000
    set heading off
    set feedback off
    set verify on
    select text
    from error_table_temp
    order by line;
    set linesize 80
    set heading on
    set feedback on
    Prashant

  • How to extract controlfile from backup set?

    Hi
    If I use this "INCLUDE CURRENT CONTROLFILE" in backup command direct to tape and no catalog, How to extract controlfile from backup set from tape?
    Thanks,
    Taohiko
    Edited by: taohiko on Sep 17, 2009 7:54 AM

    yes
    list backup of controlfile
    will show you where controlfile backup piece reside with backup piece name
    after then
    restore controlfile from 'backup_piece_naem_with_its_full_path_from_above_command_result';Khurram

  • How can i recover my voicemails after updating my iPhone?

    How can i recover my voicemails after updating my iPhone?

    When one restores an iPhone from its own backup, visual voicemail is also restored. However, when one restores a new iPhone from a backup from a previous phone, the voicemails fail to restore. This occurred between my 3G to 4s, and again from the 4s to a 5s. Restoring the 4s once from its own backup resulted in voicemail recovery.
    My only explanation is that when a different SIM card is used, voicemails cannot restore as one would otherwise expect. Perhaps voicemails are inexplicably tied to their SIMs. Unfortunately, newer models of iPhones tend to use exceedingly different sizes, rendering one possible fix unpursuable. iBackupBot is the other possible solution: you can extract the voicemails from the backup and restore them onto the new iPhone individually.

Maybe you are looking for

  • An error occured while generating SSRS report.Please advice.

    unable to connect to the remote server a connection attempt failed because the connected party dd not properly respond after a period of time, or established connection failed because connected host has failed to respond 69.172.201.134:8080

  • Xbox and 5.1 so

    I have creative Inspire 5200 5. speakers and the Sound Blaster Audigy 2 ZS Platinum Pro. Using the xbox advanced av pack, I have connected an optical spdif from the xbox to the optical in on the front of the external I/O hub. I have tried numerous se

  • How to Calculate Seniority of an Employee in Time Evaluation????

    Hi All, I am working on Carry Forward of the Vacation Quota from one year to the next. The number of hours of the Vacation Quota that an Employee could carry forward to the next year is based on the Seniority of the employee. My question to you all i

  • What HFM Table contains the Hyperion Financial Reporting Modify Date

    Does anyone know the name of the HFM table that contains the Hyperion Financial Reporting Modify Date field of a Report? Thanks! Edited by: user2609991 on Sep 1, 2009 8:49 AM

  • How to access hard drive on mac pro desktop from laptop?

    I sold my Mac monitor and wireless keyboard. Now I want to sell my Mac Pro Desktop, but I need to wipe the hard drive first. How can I turn it on and access the drive from my Mac laptop?