Trying to Automate distance measuring within an image.

Ok, The problem I am trying to solve is measuring the size of an object within an image over time. So far I have found enough information to understand how to implement edge detection to isolate the object from the rest of the image, but one thing I can't figure out is how I can measure the number of pixels from one edge to another edge. Does anyone know of any topic or api that addresses this issue? Sorry if I'm not clear I can clarify if you need me to.

Note: This thread was originally posted in the [Java Programming|http://forums.sun.com/forum.jspa?forumID=31] forum, but moved to this forum for closer topic alignment.

Similar Messages

  • Trying to create a password protected disk image in 10.8.4

    Trying to create a password protected disk image in 10.8.4. I follow steps in Apple:Support but I get an error saying "Resource busy"?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Is there a way to change the automatic optimization of the Thumbnail images in Webgallery?

    Is there a way to change the automatic optimization of the Thumbnail images in webgallery found in Photoshop (CS3 or Photoshop elements-- I have both)?  The thumbnails come out so blurry that it's embarrassing (for an art site). Thanks.

    Thanks for your response. Your websites look great!  You are to be complimented on your fine design work.
    I've been doing custom sized thumbnails, at around 300px, but they are still a little blurry, like when JPEGs are over optimized and some isolated areas look like they are churning, one shape melting into another like boiling water.  Then, I tried even larger thumbnails, and then shrunk them to a smaller size using HTML commands, hoping  that shrinking them smaller would help tighten up the blurry churning areas. They looked a little better, but the churning areas remained.  When I open up the individual thumbnails in Photoshop and I try using the unsharp mask or the sharpen function, it gets even worse.

  • How to only edit the Sky within an image?

    Hi. I'm trying to fathom how you can, say, change the saturation; brightness;..etc of one particular section of an mage instead of the changes being applied to the entire image. Say, I wanted to tweak the adjustments for only the sky within a landscape picture but to leave everything else alone...how would you achieve this?

    Thanks for the responses so far. This seems crazy. Here we have a Pro Application like Aperture yet it appears a user cannot do a relatively straight forward task of adjusting a particular area of an image.
    Dodge & Burn is ok but doesn't allow me to adjust colour for example?
    The colour eye dropper is ok but like you said if you alter the sky (blue) then you end up messing up other blue areas within the image unintentionally.
    I am familiar with 'Layers' within Photoshop and was hoping Aperture could do something equivalent. Are 'Stacks' similar to layers? Could you have multiple stacks with each stack addressing an individual aspect of an image then stamp them all into one?
    Back to my original question, my friend said Photoshop Elements allowed you to do what I want i.e. select just the Sky for editing by performing a 'Colour Cast' operation.
    Is Aperture missing something really obvious?

  • Trying to get a high quality still image

    Hi,
    I am trying to get a high quality still image from a 16mm film I completed years ago. I have had it transfered to digital format and brought it in to Final Cut Pro Studio 2. The distributor (Canyon Cinema) wants a high resolution image for the website. 600-dpi or better. When I create a still it comes out 72. How can I increase the resolution of the image for distribution on their website? Thanks to anyone who get guide me to the 21st century...

    DPI is essentially meaningless in the video world. DPI is a measurement for the print world only.
    But since video resolution equates roughly to 72 DPI, that's the best you'll get. Best to go back to the original film and pull a still from there.
    Or you could try one of those resolution enhancing plugins for Photoshop like Genuine Fractals.
    -DH

  • Raw editor automatic crop/RESIZE upon open image how to turn ON/OFF?

    Win 7 professional, 64 bit OS. PSE 10, Camera raw 6.7, sony a-700 and a-65 raw images taken at 16:9 RAW setting. I use the setting: 17.8x10 @240 dpi for most of my images in the production of HD Blue Ray movies. Previously(OTHER EARLIER VERSIONS)  I would crop my edited images after processing in the RAW editor, after "Open image" , in full edit mode of PSE 10. However, in previous versions of PSE I do not recall that this cropping/auto sizing automatically takes place when "opening Image". There are times when I would like to do a different crop to select different portions of the original image, especially with my 20+MPX camera images. The auto feature is very helpful/time saving but NOT ALWAYS. In preferences>GENERALTAB  I tried unselecting "ALLOW PHOPTOS TO RESIZE" but this did not stop the feature. How do I turn this feature ON or OFF (preferably easily). It would be a great preference/OR SELECTION  to set in RAW 6.7
    Thanks in advance for any help you can provide me,
    DANSY

    thanks for your input. my pictures are not cropped when opened viaFIX>FULL EDIT>OPENS IN CAMERA RAW.  The crop I have been referring to is when finished editing in ACR  and selecting "open image" this just to clarify my issue.So I did as instructed and found NORMAL was checked and clear crop was greyed out. However, I was still getting  the same results> a cropped image. However it occurred to me that I was selecting a RAW file from a "version set" that has versions cropped  to two different sizes ( 17.7x10 and 5x2.8 approx) so perhaps the raw image had some info in its data base that can cause the crop issue.Don't know.
    if my memory is correct I did not have this issue with previous version of PSE.(with A-700 camera)
    I then used some images from my new camera (A-65), opened in Camera RAW (recognizes image comes from this camera). NOW after editing{BUT NOT CROPPING} and opening image it shows up in FULL EDIT AND IS NOT CROPPED!
    The only thing left to do is shoot some images with my A-700 and see what happens when I repeat the procedure. That will take me a few days as I have to address other committments.
    Any further suggestions are most welcome as I don't think I have got to the root of the issue or am missing something I should know.
    If I don't solve it in the next few days, I will be travelling for 6 weeks (with new camera) and will have lots of pics to process. I hope I can solve the issue before I start processing with new camera files, else if the issue reoccurs with these files I'll just have to live with it.
    Is anyone aware of an ACR "handbook" publication by Adobe??
    Thanks again everyone,
    DAN28SY

  • Trying to create a surface  with multiple images with mouse events

    novice programmer (for a applet program)
    hi trying to create a surface i.e jpanel, canvas, that allows multiple images to be created.
    Each object is to contain a image(icon) and a name associated with that particular image. Then each image+label has a mouse event that allows the item to be dragged around the screen.
    I have tried creating own class that contains a image and string but I having problems.
    I know i can create a labels with icons but having major problems adding mouse events to allow each newly created label object to moved by the users mouse?
    if any one has any tips of how to acheive this it would be much appreciated. Thanks in advance.
    fraser.

    This should set you on the right track:- import java.awt.*;
        import java.awt.event.*;
        import javax.swing.*;
        public class DragTwoSquares extends JApplet implements MouseListener, MouseMotionListener {  
           int x1, y1;   // Coords of top-left corner of the red square.
           int x2, y2;   // Coords of top-left corner of the blue square.
           /* Some variables used during dragging */
           boolean dragging;      // Set to true when a drag is in progress.
           boolean dragRedSquare; // True if red square is being dragged, false                              //    if blue square is being dragged.                            
           int offsetX, offsetY;  // Offset of mouse-click coordinates from
                                  //   top-left corner of the square that was                           //   clicked.
           JPanel drawSurface;    // This is the panel on which the actual
                                  // drawing is done.  It is used as the
                                  // content pane of the applet.  It actually                      // belongs to an anonymous class which is
                                  // defined in place in the init() method.
            public void init() {
                 // Initialize the applet by putting the squares in a
                 // starting position and creating the drawing surface
                 // and installing it as the content pane of the applet.
              x1 = 10;  // Set up initial positions of the squares.
              y1 = 10;
              x2 = 50;
              y2 = 10;
              drawSurface = new JPanel() {
                        // This anonymous inner class defines the drawing
                        // surface for the applet.
                    public void paintComponent(Graphics g) {
                           // Draw the two squares and a black frame
                           // around the panel.
                       super.paintComponent(g);  // Fill with background color.
                       g.setColor(Color.red);
                       g.fillRect(x1, y1, 30, 30);
                       g.setColor(Color.blue);
                       g.fillRect(x2, y2, 30, 30);
                       g.setColor(Color.black);
                       g.drawRect(0,0,getSize().width-1,getSize().height-1);
              drawSurface.setBackground(Color.white);
              drawSurface.addMouseListener(this);
              drawSurface.addMouseMotionListener(this);
              setContentPane(drawSurface);
           } // end init();
           public void mousePressed(MouseEvent evt) {
                  // Respond when the user presses the mouse on the panel.
                  // Check which square the user clicked, if any, and start
                  // dragging that square.
              if (dragging)  // Exit if a drag is already in progress.
                 return;           
              int x = evt.getX();  // Location where user clicked.
              int y = evt.getY();        
              if (x >= x2 && x < x2+30 && y >= y2 && y < y2+30) {
                     // It's the blue square (which should be checked first,
                     // since it's in front of the red square.)
                 dragging = true;
                 dragRedSquare = false;
                 offsetX = x - x2;  // Distance from corner of square to (x,y).
                 offsetY = y - y2;
              else if (x >= x1 && x < x1+30 && y >= y1 && y < y1+30) {
                     // It's the red square.
                 dragging = true;
                 dragRedSquare = true;
                 offsetX = x - x1;  // Distance from corner of square to (x,y).
                 offsetY = y - y1;
           public void mouseReleased(MouseEvent evt) {
                  // Dragging stops when user releases the mouse button.
               dragging = false;
           public void mouseDragged(MouseEvent evt) {
                   // Respond when the user drags the mouse.  If a square is
                   // not being dragged, then exit. Otherwise, change the position
                   // of the square that is being dragged to match the position
                   // of the mouse.  Note that the corner of the square is placed
                   // in the same position with respect to the mouse that it had
                   // when the user started dragging it.
               if (dragging == false)
                 return;
               int x = evt.getX();
               int y = evt.getY();
               if (dragRedSquare) {  // Move the red square.
                  x1 = x - offsetX;
                  y1 = y - offsetY;
               else {   // Move the blue square.
                  x2 = x - offsetX;
                  y2 = y - offsetY;
               drawSurface.repaint();
           public void mouseMoved(MouseEvent evt) { }
           public void mouseClicked(MouseEvent evt) { }
           public void mouseEntered(MouseEvent evt) { }
           public void mouseExited(MouseEvent evt) { }  
        } // end class

  • Create e-mail link within an image

    I have an image that includes the contact e-mail address.  I'd like to make this an e-mail link.  It's situated in the corner of a larger image with other text, and would like to have just the address become the link, not the whole image. 
    I've tried a hotspot, with a link and then typed emailto:adress.  I thought I was on the right track, but when I preview it, it just pops up a new browser, but does not open up a new e-,mail.
    I'd also like to create my menu bar from text within an image (I'm creating in Fireworks first then importing CSS & Images).
    Would I then use the same method?
    Thanks.

    try "mailto:" instead of "emailto:"
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • Image compare hurt by "noise" around edges within digitized image

    Using 1411 IMAQ card and an NTSC color camera. Retrieving only luminance information. Snapping the same image under the same conditions twice in a row, I get a difference in the images. This occurs around the dark and light edges within the images. How can I best deal with this? Thanks.
    Attachments:
    image_a_30.bmp ‏302 KB

    I don't know what is causing the "noise" but it could noise from the cable, noise in the camera or just the way the CCD is going to work. Ideally you would want to take care of the problem in hardware if that is where it is coming from. However, in your case it doesn't look that bad and using a software filter takes care of it pretty good. I used Vision Builder and applied a 'Median Filter' of the 3rd order and got the attached image. In LabVIEW you would use the "IMAQ NthOrder.vi" to perform this operation. Hope that helps.
    Cheers,
    JR A.
    Application Engineer
    National Instruments
    Attachments:
    filtered.bmp ‏302 KB

  • My Lightroom CC always crash when it is trying to upload the preview of big images

    My Lightroom CC always crash when it is trying to upload the preview of big images like photo merge images from 3 or 4 RAW images together. Thank You. Marco

    When Lightroom first displays the image, it shows the JPG preview which includes your camera custom white balance settings. (This is probably also what you see in Finder)Then a few seconds later it renders the RAW image, with none of the JPG editing and with none of your camera settings applied. That is what you see in Lightroom.
    There is no way to turn this off.
    You then need to apply your own Lightroom edits to this RAW image to make it look pleasing.

  • Trying to automatically add a new row w/o mutating table error...

    I'm using Oracle 10g express. I'm trying to automatically add a new row with the same e_ID, (RDD + 6 months) as the updated row when RC is updated. I'm fairly new to Oracle, so I need some help on creating a trigger. If you need more details let me know. Thanks in advance.
    create table E
    e_id number(6,0) not null,
    constraint e_pk primary key(e_id)
    create Table ER
    e_Id Number(6,0) Not Null,
    SC Date,
    RDD Date,
    RC Date,
    Constraint ER_Fk Foreign Key(E_Id) References E(E_Id)
    );

    mookjais wrote:
    I'm using Oracle 10g express. I'm trying to automatically add a new row with the same e_ID, (RDD + 6 months) as the updated row when RC is updated. I'm fairly new to Oracle, so I need some help on creating a trigger. If you need more details let me know. Thanks in advance.
    create table E
    e_id number(6,0) not null,
    constraint e_pk primary key(e_id)
    create Table ER
    e_Id Number(6,0) Not Null,
    SC Date,
    RDD Date,
    RC Date,
    Constraint ER_Fk Foreign Key(E_Id) References E(E_Id)
    );Do you mean following(example)?
    create trigger after_insert_e
    after
      insert
    on  e /*This is table name*/
    referencing new as new old as old
    for each row
    begin
    insert into  ER(e_Id,SC,rdd,rc)
    values(:new.ed_id,sysdate,sysdate,sysdate);
    end;

  • How to automatically add watermark to uploaded images in BC?

    We want our customers to be able to upload images on our ecommerce site. Does Business Catalyst support automatic processing of the uploaded images, particularly adding watermark? Or do we need to use external service for this?
    Many thanks for your suggestions.

    Quick Answer - no.

  • Hyperlink within an Image

    Hi you all, I really cannot figurate out how to make a standalone image that could just being clicked and then send the browser to a web page.
    I've got a little logo designed in Illustrator CS3, in the attribute features I write the whole web address as http://www.web.com, Image Map: Rectangle, and then when I browse everything runs smooth, then I save my logo for Web and Devices. I save my image as a PNG. Then I have two files: the html file and within my Images folder the png file. I upload the two files to my Joomla site but up there the image is not click-able at all.
    Can I get from any CS3 program an image that could being just clicked and send the browser to a web without the html file? Something like embed my hyperlink in the image?.
    Hope I was clear enough about my concern.
    Thanks in advance for any help in this issue.
    Good day.

    function(){return A.apply(null,[this].concat($A(arguments)))}
    I write the whole web address as http://www.web.com, Image Map: Rectangle, and then when I browse everything runs smooth, then I save my logo for Web and Devices. I save my image as a PNG. Then I have two files: the html file and within my Images folder the png file. I upload the two files to my Joomla site but up there the image is not click-able at all.
    This page was created exactly the way you described, and as you can see, the link works. You have to understand that the directory path to the image, which Illustrator writes, is a relative path. By default, Illustrator creates an Images directory next to the HTML file, and places the PNG in that directory. (You can change this in the export options.) If after uploading to your site, there is no Images folder next to the HTML page, then the HTML page will not find the image.
    But you do not say the image is not appearing at all; you imply that the image is showing but the link is not working. If that's the case, then post a link or URL to the page so someone here can look at the source code.
    JET

  • Need to automate resizing of 1000s of images

    I have approximately 7000 images they are either 400 pixels tall or wide or 450 pixels tall or wide. This are product images and Amazon requires the images be 1000 pixels wide or tall. Is there a way to automate the process so PS recognizes longest side and it height/width and enlarges to 1000 pixels. If so, what is the magic formula?
    Thanks in advance for your help.

    Yes you would be better off staring with bigger image file.  Then all you need is a single step action that you batch.  The single step in the required action is menu "File>Automate>Fit Image" in the fit images dialog you enter 1000  for both width and height and Click OK.  The 1000 width and height gets recorded into the action step and no dialog is displayed when the action is used.  Once you have that action you batch it on your image file using menu "File>Automate>Batch" in the batch dialog you select which action set you fit image action is in.  You the select your 1000x1000 fit image action in that set.  You select which folder your large image files are in and you set which folder to save the resized images in.
    Batch should be faster then the Image processor for the image processor is a script and it uses the Automate Plug-in script Fit Image to do its resizing,  Batch is a Built in Photoshop Plug-in and should execute faster for it is doing less and is compiled code not an interpreted script

  • TS4062 restored iphone from icloud so I could have all my old photos but now I cannot get it to restore or sync with itunes either by cable or by wifi. I have tried with automatic download off/on, I have had red circles, hours of syncing, nothing, help!!

    restored iphone from icloud so I could have all my old photos but now I cannot get it to restore or sync with itunes either by cable or by wifi. I have tried with automatic download off/on, I have had red circles, hours of syncing, nothing, help!!

    Seems to be a common issue in discussions. Try this:
    http://support.apple.com/kb/ts1538
    And let me know if it helps,

Maybe you are looking for

  • UConnect 430N and iPod 4th Gen

    I have a 2012 Jeep Grand Cherokee with the uConnect 430N media center.  I have been wanting to use my 4th generation iPod for various podcasts that I don't want to put on the media center's hard drive.  The problem I have is that whenever I plug the

  • Java buffer overflow help

    class test      public static void main(String[]args) System.out.println(1.20+4.90-4.90);          System.out.println(1.20+4.90-4.90-1.20); please run the following program i have a similar problem with this buffer overflow. i am doing a cshier progr

  • Populating users and groups - design considerations/best practice

    We are currently running a 4.5 Portal in production. We are doing requirements/design for the 5.0 upgrade. We currently have a stored procedure that assigns users to the appropriate groups based on the domain info and role info from an ERP database a

  • After purchasing and downloaded GarageBand software, It won't work and start over and over to download the software

    After purchasing and downloading GarageBand on App Store the software won't start and switch to download over and over the software. It's virtually impossible to reach someone from Apple for support grrrrrrr.... So can someone could kindly give me a

  • Allow 2 way traffic through WRT54G

    I have a complex situation that I need help with. We have a phone system network using 192.168.x.0 255.255.255.0 that I need to hook up to a LAN at 192.168.2.x 255.255.255.0 and have two-way communication between the two subnets. I have this WRT54G c