Select region in image

Hi, I am displaying an image currently on a JPanel using the Graphics and BufferedImage class. Does anyone know of any method that i can use to select a region of the image. Also if the image has been scaled to fit the GUI, how will i know that the rectangle co-ordinates are accurate pixel representations ... Not sure if dat makes sense.
Thanx

You can use Robot to capture an image of the screen (or any portion), but it would probably be easier to simply draw to where you want the image, by passing the Graphics object you want to draw to into paint()

Similar Messages

  • Select region in image / panel

    Hi, I am displaying an image currently on a JPanel using the Graphics and BufferedImage class. Does anyone know of any method that i can use to select a region of the image. Also if the image has been scaled to fit the GUI, how will i know that the rectangle co-ordinates are accurate pixel representations ... Not sure if dat makes sense.
    Thanx

    You can use Robot to capture an image of the screen (or any portion), but it would probably be easier to simply draw to where you want the image, by passing the Graphics object you want to draw to into paint()

  • I am trying to use photomerge compose.  I open one standard jpeg image and one image that is my business logo in a png format.  When I select the png image, to extract the logo from it, it appears as all white and will not allow me to select the logo from

    I am trying to use photomerge compose.  I open one standard jpeg image and one image that is my business logo in a png format.  When I select the png image, to extract the logo from it, it appears as all white and will not allow me to select the logo from it.  It has worked in the past but I downloaded the update today and photomerge will not work correctly.  Any ideas?

    hedger,
    How do you expect anyone to help when we don't know a darned thing about the file, abut your setup, exact version of Photoshop and your OS, machine specs, etc.?
    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    a screen shot of your settings or of the image could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • When I try to move from one selected image to selecting a different image, lightroom (new install of Lightroom 5.5) will keep the previous image selected, so I always end up with two selected images - why?

    For example, I will select the first image in my grid view, then let's say I want to work on the fifth image. When I click on the fifth image, Lightroom leaves image one selected, as if I have held down the Command or the Shift key to select multiple images.  This is not what I expect. Then I am forced to command click the image I no longer want selected - this happens every time I try to move to any new image - the previous one(s) stay selected.  I have tried a reboot of my machine but still this happens.  Also, as a further bug, if I leave my grid with no images selected at all, after a few seconds Lightroom automatically selects the first two images in my library and highlights them - without my even pressing a key!  This is really weird behaviour. It's really frustrating as I like to use my keyboard arrow keys to move through my library of images, but when Lightroom keeps two images selected it just ping pongs between those two images.  I deselect and try to move on, and it again leaves the previous image selected!  By the way - I am not in Compare mode while this is happening - just in standard browsing of the library...  Help please!
    kind regards,
    oMac

    For example, I will select the first image in my grid view, then let's say I want to work on the fifth image. When I click on the fifth image, Lightroom leaves image one selected, as if I have held down the Command or the Shift key to select multiple images.  This is not what I expect. Then I am forced to command click the image I no longer want selected - this happens every time I try to move to any new image - the previous one(s) stay selected.  I have tried a reboot of my machine but still this happens.  Also, as a further bug, if I leave my grid with no images selected at all, after a few seconds Lightroom automatically selects the first two images in my library and highlights them - without my even pressing a key!  This is really weird behaviour. It's really frustrating as I like to use my keyboard arrow keys to move through my library of images, but when Lightroom keeps two images selected it just ping pongs between those two images.  I deselect and try to move on, and it again leaves the previous image selected!  By the way - I am not in Compare mode while this is happening - just in standard browsing of the library...  Help please!
    kind regards,
    oMac

  • In bridge i select a jpg image with cntrl r to open in camera raw but get "camera raw not avail"

    In bridge i select a jpg image with cntrl r to open in camera raw but get "camera raw not available"  camera raw editing requires that a qualifying product has been launched at least once to enable this feature.  I can open nef. in camera raw with no problem.

    Hm, what I suggested might actually be a possibility then...
    Close whatever version you have open first...
    I think Adobe installs shortcuts for both 32 and 64 bit Photoshop in the start menu.
    If you can't find the 32 bit Start menu entry, look for the 32 executable here (changing the CS version number to whatever yours is):
    C:\Program Files (x86)\Adobe\Adobe Photoshop CS5\Photoshop.exe
    -Noel

  • My iphone apps shows price in indian rupees but not in dollars. My selected region and address is USA? How can i change it to dollar again

    my iphone apps shows price in indian rupees but not in dollars. My selected region and address is USA? How can i change it to dollar again

    my iphone apps shows price in indian rupees but not in dollars. My selected region and address is USA? How can i change it to dollar again

  • How to directly write values in a selected region?

    Dear Experts,
    I'd like to directly write values in a selected region, such as PUT function in MS version.
    Because I would like to trigger the When statement by target account.
    Like:
    *When ACCT
    *IS Amount
    *REC (EXPRESS =  Qty * Price)
    *ENDWHEN
    Since I have to ensure the Amount account has already have data in oder to process this record, so did any experts have ever directly write values in a selected region?
    Thanks in advance.
    Best Regards,
    Sally Hsieh

    Hi,
    You can use MDX statements to write values directly to the selected scope of dimension members.
    The genereal syntax is,
    [DIM_NAME].[#MEMBER_NAME]=<<VALUE>>
    or
    [DIM_NAME].[#MEMBER_NAME]=[DIM_NAME].[MEMBER_NAME](Operator)[DIM_NAME].[MEMBER_NAME]
    Example,
    [P_ACCT].[#X]=1000
    [P_ACCT].[#X]=[P_ACCT].[Y]+[P_ACCT].[Z]
    EXPRESSION inside REC statement can be used in same way along. For arithematic operations in EXPRESSION you need to use LOOKUP for fetching the other values.
    Hope this helps,
    Regards,
    G.Vijaya Kumar

  • Selecting and Deselecting Images in Aperture

    Is there anyway to select images in Aperture and keep them selected until you deselect them? For example if I close Aperture I would like to be able to comeback and the images are still selected.

    No, Aperture won't remember your selection after quitting.
    You can get around this by creating a new album from selection, or a assigning a temporary keyword 'selected' which you can then filter for when relaunching aperture to select the same images again.

  • If you right-click an image you can select to "Block Images" from the site, but how do you reverse this choice?

    If you right-click an image on a web page you can select to
    "Block Images from [the url of the site]".
    This works well, particularly to make the page printer-friendly, but how do you reverse this choice to see the images again?

    You can see all permissions for the current page in Tools > Page Info > Permissions
    If it is from a different domain then use this:
    *A way to see which images are blocked is to click the favicon (<i>Site Identification</i> icon) on the left side of the location bar.
    *A click on the "More Information" button will open the Security tab of the "Page Info" window (also accessible via "Tools > Page Info").
    *Open the <i>Media</i> tab of the "Page Info" window.
    *Select the first image and scroll down though the list with the Down arrow key.
    *If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.

  • Adobe Premiere Elements 7 - Selecting Multiple Still Images for Time Stretch

    Hi,
    I have Adobe Premiere Elemetns 7. I would like to be able to select multiple still images on the timeline so that I can timestretch them all at the same time.
    I understand that you can do this when you drag the photos over to the sceneline, then get the dialog box that asks for the time duration or transition duration. I would like to do this after they have been placed on the timeline though.
    I would like to put say an hour of music on the music line, then drag over say 400 photos, then timestretch the photos such that thier time matches the music timeline. Smartsound does not seem to find the music on my computer to do this, I would like to use my own music.
    Any help would be appreciated, thanks.

    Tonight why don't you download the free 30 tryout of Premiere Elements 8, check out the feature of interest in particular, and determine if it is worth it. Check out it's stability in your computer environment. You do not have to uninstall Premiere Elements 7. When you install Premiere Elements 8, the installation process detects prior versions and tells you that you do not have to uninstall them, just use one at a time.
    Depending on how things go, get on the phone to Adobe Customer Service Monday morning and be pleasant but determined, express your need for the new feature(s), and request an exchange, the new for the old. As a last resort, request your money back for version 7.
    Please update us on your progress. But, in the back of your mind, keep the old thought of "be careful what you wish for". You may win one with the duration feature but lose some ground with stability and other features.
    ATR

  • Ability to Select non-Keyworded Images

    Working through importing images I stamp most on import. On rare occasion this is not applicable as they are so varied.
    FEATURE REQUEST:
    To make sure my library has all my photos keyworded I would like the ability to click under Keywords->Non-Keyworded. This would display all photos without any keywords.
    Thanks and hope this simple fix can be implemented.
    Wayne

    from Lightroom-Extra.com
    Find all untagged (non keyworded) images.
    1) make sure you are not using quick collection.
    2) Grid mode / Library / click all photographs.
    3) Select all displayed images Mac "Apple A". Then press B for a Quick collection.
    4) Deselect all images.
    5) Now Grid mode / keywords / and shift click all keywords.
    6) select all images in the grid, Mac "Apple A". press B to deselect from the  Quick collection.
    7) Grid mode / Library / select quick collection, they are all non keyworded items.
    or
    Shift select all Keywords in Keyword Tags.
    Select All in Grid. Cmd/Ctl-A.
    Go to All Photographs.
    Menu/Edit/Invert Selection
    You can then press 'B' to put them in Quick Collection to work on.
    After Keywording each one or selection of images, while still selected do 'B' to drop them from QC as done and go to the next.
    Richard Earney
    http://inside-lightroom.com

  • When adjusting the audio volume in a selected region, why does it give me a curved line instead of straight and why cant I change it like i can with a fade in our out?

    When adjusting the audio volume in a selected region, why does it give me a curved line as a transition instead of straight, and why cant I change the fade shape like i can with a fade in our out? When I slide thet volume all the way down it makes a very abrupt down curve. It's audibly noticdible.
    Thank you.

    Use the range selection tool and select the portion of the clip you want to change the volume on. Drag the volume line down and FCP will create keyframes which you can adjust as you want to get a fade shape.

  • Hi, Haven't used bridge in a while. How to you export a selected group of images to a contact sheet?

    Hi, Haven't used bridge in a while. How to you export a selected group of images to a contact sheet?

    Exact version?  Platform?
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers: 
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Unable to create federation in below two subscriptions due to error..."The required VM size or combination of VM sizes is not currently available in the selected region"

    Hi, We recently created new Azure subscriptions and Hosted Services, and now trying to create federations. We are getting and error "The required VM size or combination of VM sizes is not currently available in the selected region". What does this
    mean and how can we resolve this to create a federation successfully? BTW, we use a SQL VM and not a standard A1, A2 types VMs and we have already set the DisablePackageValidation flag to true in these subscriptions.
    Thanks,
    -ven
     

    Hi,
    This is a sql azure issue. You also post this question on SQL azure forum. From error message, you need make sure your VM region is in one location.
    see this:
    http://msdn.microsoft.com/en-us/library/azure/hh597470.aspx
    -Billgiee 

  • Select regions on track selection bug

    Sometimes it works, sometimes not. This appears to be related to comp tracks for some reason. Anyone else getting this?

    Could it be that you have "cycle" enabled? If so, logic will only select regions between the left and right locators.

Maybe you are looking for

  • Sparsebundle could not be created (error 45)

    I just bought my first ever Mac a little over 30 days ago and also purchased a 1TB Seagate FreeAgent GoFlex Home network storage system. I immediately installed the GoFlex software that included a full integration into Time Machine. This worked perfe

  • Newsstand for Yosemite?

    When will Apple do the right thing and release Newsstand for Yosemite? I thought the big hype around this new operating system waas to make information available across all ios platforms? I dont have a ipad anymore, and reading my mag subscriptions i

  • DIY film scanning

    I'm editing my documentary in FCPX using an SD 16mm transfer which was fine for editing, but now I want to re-transfer the footage in HD, 1080p,  I have more time than money and I've been looking into the DIY solution of scanning sections of the 16mm

  • PSE8 opening raw images for Nikon D3s

    I have downloaded a trial version of PSE8, which is supposed to open raw images from my Nikon D3s.  If the 5.6 update is installed, you are supposed to be able to open raw images from my camera.  However, I can't open any raw images.  Any suggestions

  • How do I uninstall the Firefox OS Simulator?

    I installed the Firefox OS Simulator on the Firefox desktop client. I no longer need it and wish to remove it, but I can't find a way to get rid of it. How do I uninstall the FF OS simulator?