Find out object in buffered image cature by JMF

hi friends ..
i doing one project in which i want to simulate real time object motion in java 2d ..
for this using web cam i success fully capture image and buffered in pixel array ....
now i want object coordinate to simulate it in 2d .. ..
imagine human motion . and i want simulate it in form of human skeleton ... so make a skeleton i want coordinate
and by change coordinate frame by frame .. i want to simulate it ..
so suggest some thing relevant ..
thanks in advance ..

user5228856 wrote:
the solution you give me l give me a all out report ,
what i need is
select <<>>
from <<>>
where object_name = owner.object_name
result set should return what all db user has select priv on the given object.site below contains desired code
http://www.petefinnigan.com/tools.htm

Similar Messages

  • How to find out resolution of an image?

    Hi, all
    Most common image formats (DIB, JPEG, PNG, TIFF and perhaps others) store the resolution of the image in pixels per inch (or other, similar units). I haven't found a way to find out this information using the Java libraries. Neither the AWT image classes nor the snazzy JAI classes seem to read & store this information, let alone make it public.
    Is there a way to determine the resolution, short of poking through the header of the image data myself?
    Thanks
    - rick

    Here's the solution (hopefully no one else ever has to track it down - the documentation is very well hidden by Sun).
                             ImageInputStream imageInput = ImageIO.createImageInputStream( fil );
                             Iterator it = ImageIO.getImageReaders(imageInput);
                             ImageReader reader = null;
                             while (it.hasNext()) {
                                  reader = (ImageReader) it.next();
                                  System.out.println(reader.toString());
                             reader.setInput(imageInput);
                             ImageReadParam param = reader.getDefaultReadParam();
                             BufferedImage bimg = reader.read(0, param);
                             IIOMetadata meta = reader.getImageMetadata(0);
                             org.w3c.dom.Node n = meta.getAsTree( "javax_imageio_1.0" );
                             n = n.getFirstChild();
                             while (n != null){
                                  if( n.getNodeName().equals( "Dimension")){
                                       org.w3c.dom.Node n2 = n.getFirstChild();
                                       String s1, s2;
                                       while (n2 != null){
                                            if(n2.getNodeName().equals("HorizontalPixelSize")){
                                                 org.w3c.dom.NamedNodeMap nnm = n2.getAttributes();
                                                 org.w3c.dom.Node n3 = nnm.item( 0 );
                                                 float hps = Float.parseFloat( n3.getNodeValue() );
                                                 xDPI = Math.round (25.4f / hps);
                                            if(n2.getNodeName().equals("VerticalPixelSize")){
                                                 org.w3c.dom.NamedNodeMap nnm = n2.getAttributes();
                                                 org.w3c.dom.Node n3 = nnm.item( 0 );
                                                 float vps = Float.parseFloat( n3.getNodeValue() );
                                                 yDPI = Math.round (25.4f / vps);
                                            n2 = n2.getNextSibling();
                                  n = n.getNextSibling();
                             }

  • SQL to find out Objects used by

    Hi,
    How can I find out the list of objects which are using an object? e.g. Table temp_1 is used by procedure p_test11 and function F_test22... Is there any way to find out the list of these to objects with their type?

    These dictionary table you can refer to.
    SQL> select * from dictionary where table_name like '%DEPENDENCIES%'
      2  /
    TABLE_NAME           COMMENTS
    DBA_DEPENDENCIES     Dependencies to and from objects
    USER_DEPENDENCIES    Dependencies to and from a users objects
    ALL_DEPENDENCIES     Dependencies to and from objects accessible to the user
    ALL_REFRESH_DEPENDEN Description of the detail tables that materialized views depend on for
    CIES                 refresh
    DBA_APPLY_VALUE_DEPE Synonym for _DBA_APPLY_CONSTRAINT_COLUMNS
    NDENCIES
    DBA_APPLY_OBJECT_DEP Synonym for _DBA_APPLY_OBJECT_CONSTRAINTS
    ENDENCIES
    TABLE_NAME           COMMENTS
    6 rows selected.

  • How to find out object / schema / database level replication is active

    Hi,
    I am an experienced DBA but new to streams and I am asked to support an existing streams configuration between two Oracle 10g databases. I was told it is bi-directional but one database is standby and it never took traffic. My questions are
    1. How will I find out whether it is a database or schema level replication? Any queries that I can run to find it out?
    2. How do I find out it is bi-directional and it iis current. What queries I can run to confirm?
    3. How will I find out the excluded objects? Any queries please...
    Thanks for the help
    Regards
    Rama

    http://www.morganslibrary.org/reference/dyn_perf_view.html#dyst
    SELECT name FROM dba_dependencies
    WHERE referenced_name = 'DBMS_STREAMS_ADM' AND name LIKE 'DBA%'
    UNION
    SELECT referenced_name FROM dba_dependencies
    WHERE name = 'DBMS_STREAMS_ADM' AND referenced_name LIKE 'DBA%';

  • Find out dimensional of loaded image

    I have loaded image file . I want to find out width and height of desire image. My code are give below.
    public function displayImage(imgPath:String,imgWidth:Number,imgHeigt:Number,imgXPos:Number,imgYPos:Number )
       var request:URLRequest = new URLRequest(imgPath);
       var loader:Loader = new Loader();
       loader.load(request);
       loader.x = imgXPos;
       loader.y = imgYPos;
       addChild(loader);
    I think we can find your image dimentional after converting into movie clip. But still, I do not know how to convert loaded image into movie clip. Hope you would solve this problem. At last thanks for looking this problem

    You can use loader info class for that.
    Add an event listener on the loader:
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
    Then:
    public function onComplete(ev:Event):void
                var loader:LoaderInfo=LoaderInfo(ev.target);
                trace(loader.content.width);
                trace(loader.content.height);
    Hope this helps

  • Finding out objects good candidates for reorganization ( datafile shrink)

    Hi Gurus,
    I need to find out what can objects are good candidates for reorganization to allow shrinking some datafiles. one of the challenges i have is to try and figure out how i can release some space from the tablespace in one of our environment .Please let me know if you have any scripts for this.

    Either on a tablespace by tablespace basis or as a general statement which of the following statements are more true than the other statements.
    1) More data is being INSERTED into the DB than being DELETED. In other words total disk space consumption is increasing?
    2) About the same amount of data in being INSERTED as being DELETED. In other words the amount of disk space consumed is at equilibrium.
    3) More data is being DELETED than being INSERTED. In other words less data is being held in the DB as time progresses.
    Which statement best reflects your database environment?

  • Need query to find out object Accessibility

    Hi Gurus,
    I am in need of a query that can show object accessibiliy .i.e
    given table can be accessed by which all oracle users.
    it should take into account grants given by roles.
    Please help.
    Regrads

    user5228856 wrote:
    the solution you give me l give me a all out report ,
    what i need is
    select <<>>
    from <<>>
    where object_name = owner.object_name
    result set should return what all db user has select priv on the given object.site below contains desired code
    http://www.petefinnigan.com/tools.htm

  • How to find out embedded raster image is Black&White or Color image?

    Is there any possibility to find out the embedded raster image is Black&White, Gray image (or) Color image in "illustrator cs3" without using color mode shown in "document info" pannel. Kindly advice me, the possibilities and solution. And also any scripts avilable for this?
    Thanks.

    Or you could select the embedded image, and open the Window>Document Info panel. Select Embedded Images from the fly out menu on the Document Info panel. This should give you the color mode and more info on the embedded file in question.

  • How to find out the objects are behind(not hidden) an image?

    Could you please advise me is it possible to find out if the texts (or) objects are behind (not hidden) an image (or) any tinted boxes using scripting via "illustrator cs3".
    Thanks for looking into this.

    Hi Maria,
    if an text or object are behind an another object, i think you need to test position of this text and his layer.
    for exemple:
    layers[0] a rectangular pathItems [100,100,200,200]
    if there is text or other object, it should be on layer[1] or [2] [3] ...[0+x] ( i didn't talk about sublayer, but it's same thing) and it should have same position than rectangular pathItems or included (x>100 && x<200 && y>100 && y<200) and it should have color.
    But in some cases, we will see the text if object is hollow / concave, and script will return "hidden"
    art.chrome

  • How can I find out the dpi of an image in Acrobat.

    How can I find out the dpi of an image in Acrobat. I have tried the pre-flight option but I really don't understand the pixels width x depth information that I get. I basically just want to know at dpi of a single image. Is there other program that will read my pdf file and tell me this information.

    Thank you, tylerdurdain! That was ridiculously difficult to find. Not sure what version of Acrobat you're using in your image, but for those using Acrobat Pro 11 (in Mavericks), it's buried under View > Tools > Print Production.
    That opens a panel on the right.
    To keep from having to chase it down this way each time, right click on "Output Preview" and choose "Add to Quick Tools Toolbar". That adds a button to the top right of the toolbar.
    Now you can call up the inspector with one click. Choose Object Inspector as tylerdurdain shows above, then click on the item displayed to get its properties.

  • How to find out image size (in pixels) of jpg and gif files

    this seems to work, though i doubt that it would very time:
                   Image img = Toolkit.getDefaultToolkit().getImage("car.jpg");
                   int w = img.getWidth(null);
                   int h = img.getHeight(null);
                   while(w <= 0 || h <= 0)
                      try{Thread.sleep(10);}catch(InterruptedException ix){}
                      w = img.getWidth(null);
                      h = img.getHeight(null);
                   JOptionPane.showMessageDialog
                      null,
                      filenames[i] + ": " + w + "x" + h,
                      "ImgSize",
                      JOptionPane.INFORMATION_MESSAGE
                   );please suggest a better solution.
    thanks

    >
    We've a requirement that we need to find out the size of a java object at run time, is there a direct java API to get the size of a composite object in memory?
    Here is my requirement: We are adding string objects (which is an xml string of considerable size) into a List. After reaching certain size limit (lets say 5MB) of the list i need to put this data into DB as a CLOB. So every time I add a string object to the list, I need to see if the total size of the list exceeds the limit and if yes, flush the results into DB.
    I am not sure if java has a direct API for this, if not what is the beast way to do it, it s critical requirement for us.
    It would be really great if someone could help us out.
    >
    Could you explain your actual requirement a little more fully.
    1. Is each individual string a separate XML string? Or is it just a fragment? Why would you just concatenate them together into a CLOB? That won't produce valid XML and it won't let you easily separate the pieces again later. So provide a simple example showing some strings and how you need to manipulate them.
    2. Are you using these xml strings in Java at all? Or are you just loading them into the database?
    For example if you are just loading them into the database you don't need to create a list. Just create a CLOB in Java and append each string to the CLOB. Before you append each one you can check to see if the new string will put you over your length limit. If it will then you write the CLOB to the database, empty the CLOB and start appending again to the new clob instance.
    If you explain what you are really trying to do we might be able to suggest some better ways to do it.

  • Algorithm to find the area and color  of the objects in an image

    Hello everyone,
    I have some problems in finding the segmented objects once i find the threshold , i want to find the area of the objects in the image . for example i have some lymphocytes in the image and i need to seperate them from the background by labelling them. can i seperate them by using the colour as well . please give some idea .
    my code till now is:
    int data = -1;
    try {
    System.out.println("Is the input a FloatImage ?");
    m_fi_in = (FloatImage)inputData[0];
    data = 0;
    catch (ClassCastException cce) {
    System.out.println("Not a FloatImage");
    data = -1;
    try {
    System.out.println("Is the input a Volume ?");
    m_vol_in = (Volume)inputData[0];
    data = 1;
    catch (ClassCastException cce2) {
    System.out.println("Not a Volume");
    data = -1;
    System.out.println(data);
    // For the FloatImage
    if (data == 0) {
    // For the Volume
    else if(data == 1) {
    System.out.println("Entering Volume for segmentation....");
    // Get target dimensions
    int depth = m_vol_in.getDepth();
    int height = m_vol_in.getHeight();
    int width = m_vol_in.getWidth();
    int region = 1;
    // Create a label structure
    // Consists of Image and region info
    m_label = new Label(m_vol_in);
    if(m_label == null) {
    System.out.println("Label could not be created");
    return false;
    // apply the threshold set by user
    float threshold = m_threshold.getValue();
    float maxi = m_threshold.getMaximum();
    float mini = m_threshold.getMinimum();
    // label the center of the volume in the region part of label as region 1
    m_label.setRegion(m_start_z.getValue(), m_start_y.getValue(), m_start_x.getValue(), region);
    System.out.println("Set starting voxel ("+m_start_z.getValue()+","+m_start_y.getValue()+","+m_start_x.getValue()+" to "+region);
    // Now process 8 partial volumina starting from a given point in the yz-plane in positive and then negative x directions
    // check the neighbours if they are already segmented and set the region in the target volume accordingly
    // do so for the whole yz-plane
    int x,y,z;
    int dir = 0; // the direction of the search. Only initialised here !
    System.out.println("Processing Volume in z++");
    for (z = m_start_z.getValue(); z < depth-1; z++) {
    for (y = m_start_y.getValue(); y < height-1; y++) {
    dir = 1;
    for (x = m_start_x.getValue(); x < width-1; x++) {
    checkRegion(m_label, z, y, x, threshold, region, dir);
    dir = -1;
    for (x = m_start_x.getValue(); x > 0; x--) {
    checkRegion(m_label, z, y, x, threshold, region, dir);
    for (y = m_start_y.getValue(); y > 0; y--) {
    dir = 1;
    for (x = m_start_x.getValue(); x < width-1; x++) {
    checkRegion(m_label, z, y, x, threshold, region, dir);
    dir = -1;
    for (x = m_start_x.getValue(); x > 0; x--) {
    checkRegion(m_label, z, y, x, threshold, region, dir);
    System.out.println("Processing Volume in z--");
    for (z = m_start_z.getValue(); z > 0 ; z--) {
    for (y = m_start_y.getValue(); y < height-1; y++) {
    dir = 1;
    for (x = m_start_x.getValue(); x < width-1; x++) {
    checkRegion(m_label, z, y, x, threshold, region, dir);
    dir = -1;
    for (x = m_start_x.getValue(); x > 0; x--) {
    checkRegion(m_label, z, y, x, threshold, region, dir);
    for (y = m_start_y.getValue(); y > 0; y--) {
    dir = 1;
    for (x = m_start_x.getValue(); x < width-1; x++) {
    checkRegion(m_label, z, y, x, threshold, region, dir);
    dir = -1;
    for (x = m_start_x.getValue(); x > 0; x--) {
    checkRegion(m_label, z, y, x, threshold, region, dir);
    // Apply result to output
    outputData[0] = m_label;
    else {
    return false;
    }

    search for cluster analysis
    spieler

  • How do i find out the dpi of a an image on my i mac

    Can anyone please tell me how I find out the dpi of an image on my intel iMac?
    I dont have Photshop. I just need to lnow what the dpi is and if its not the right size then maybe make it bigger (if thats possible)
    Thanks,
    P

    If you are looking for a free alternative to Photoshop look at
    Gimp
    http://gimp.lisanet.de/Website/Download.html
    You can't just resize an image using Preview.
    Resizing an image will change its dimensions, but not the DPI/resolution.
    Images on the Internet are usually at computer screen resolution of 72 DPI. Some images in the web might be at 150 DPI depending on the type of website it is.
    Just resizing an image will make the image worst as you are only making the available pixels in the image larger and more spread out causing an even blurrier image.
    You need an image editor that will increase the number of pixels in an image as you increase the size.
    This is called interpolation. You are adding artificial pixels to an image to boost its DPI resolution.
    These pixels are created from the surrounding existing pixels in an image.
    Done correctly, you can get a pretty sharp image from a low DPI image.
    Done incorrectly, you can make the image very ugly, blurry and look very out of focus.
    You minimize this effect by  increasing the DPI of an image in small increments. I use 50 DPI increments.
    Some users use even smaller DPI increments like 25 DPI or smaller.
    I have a certain amount of impatience, so I use a larger upscale amount. I still get pretty good results that are more than just acceptable. Some user are just more particular about how much detail and sharpness they want their final image to be. I feel increasing the resolution of an image to 300-350 DPI using 50 DPI increments is a good compromise. My own user preference.

  • How can you find out an individual image size from multiple images on a canvas

    This is probably a really really simple question but I can't for the life of me find how I can find out an individual image size from multiple images on a canvas. eg I have 3 photos i want to arrange 1 large and the other two next to it half the size. How can I edit individual image size on the canvas as when I select the image on a sperate layer I want to resize it just resizes the entire canvas and not the individual image
    Thanks

    I want to know they exact dimensions though. You can get them by dragging to the 0,0 corner and then reading off of the ruler scale on the sides but its fiddily as you have to zoom right in and work it out. I know in photoshop there is a ruler but is there any other way in Elements?

  • How to find out which objects are at the end of the datafiles

    My Scenario is having a tablespace of 65G but the data is 5G and that is at the end of datafile for that we are not able to resize the datafile our though is to find out what are the objects at that end of datafiles and will either alter move <owner.tablename> move or alter index <owner.index> rebuld online.
    For that how to find out which objects are at the end of the datafiles.

    >
    My Scenario is having a tablespace of 65G but the data is 5G and that is at the end of datafile for that we are not able to resize the datafile our though is to find out what are the objects at that end of datafiles and will either alter move <owner.tablename> move or alter index <owner.index> rebuld online.
    For that how to find out which objects are at the end of the datafiles.
    >
    You may want to copy this and add it to your toolkit
    See 'What's at the End of the File?' in this Tom Kyte article from the Sept 2004 Oracle Magazine
    http://www.oracle.com/technetwork/issue-archive/o54asktom-086284.html
    And this AskTom blog shows you how to generate a script containing ALTER statements toresize your datafiles to the smallest possible. You can 'pick and choose' from the ALTER statements to do what you want.
    Then of course, you can use techniques from this article by Oracle ACE, and noted author, Jonathan Lewis
    http://jonathanlewis.wordpress.com/2010/02/06/shrink-tablespace/

Maybe you are looking for

  • IPhone 4 stuck on upgrade "Waiting for iPhone..."

    Hi, i am trying to upgrade my iPhone 4, but it stuck on apple Logo with Progressbar, but no response from iPhone while iTunes show "Waiting for iPhone..." contineously. guide me how i can fix the problem, i am using iPhone3_1_6.1.3_10B329_Restore.ips

  • How can i split a long video in an iMovie event ?

    Hello, I have imported some old family films that were on small VHS tapes via an acquisition box (sorry for the bad english) model Elgato Video Capture. On these tapes there are films that somtimes are several months appart (for exemple tape "1989 -

  • Exchange password, what is it and why does my phone keep asking for it?

    For the last two days, my phone periodically wants me to enter an exchange password.  This is the first I ever heard of it so can't figure out what it is.n I though exchange was a Microsoft product so what's it doing on my Apple iPhone.  I just upgra

  • IPhone panel comies up all the time in iTunes

    I often leave my iphone docked and iTunes open but minimized during the work day. itunes generally plays music most of the day. Most of the time the iphone screen is dark and itunes is displaying the currentl playlist. Every few minutes, however, the

  • Playing videos on ipod photo

    I have saved videos on my ipod (60GB) but can not play them ; i tried mp4 and m4v... can anybody help?