Capturing a color...

I'm working on a program that'll import a bitmap, then capture, pixel by pixel, the color in hexadecimal code. (The picture would be black and white.)
It would do this in a bracket of, for example, 10 by 16 pixel squares, then store the information.
It would then take this information, and average the values so that I could print a 10 by 16 pixel square of the "average shade of gray" of the captured pixil information.
My main question is, how can I take this pixel-by-pixel color info from a given bitmap file?
Thanks in advance for any guidance.
I'm quite new to java, having taken one semester high school course, so bare with me :-|
Message was edited by:
Orthopterai_the_Escalefter

http://java.sun.com/j2se/1.5.0/docs/api/java/awt/image/BufferedImage.html

Similar Messages

  • Video Capturing in Color - MSI-8872

    Hi,
    I recently bought an MSI-8872 card (Geforce4 Ti 4600 with VIVO) and I am having trouble capturing video in color when I try to capture from anything that is not my old N64. If I try to capture from my VCR or my DVD player, I get only black and white images. I already tried the whole switching between Composite and S-Video thing, but nothing changes when I select one option or the other.
    I have all the latest drivers installed (nVidia Detonator 40.72 and nVidia WDM drivers 1.19) and I already tried to capture using many different programs (Virtual Dub, Digital VCR, Windows Movie Maker, etc). I was wondering if anyone could help me with this problem.
    Thanks

    I talked to some people, apparently a composite to minijack adapter shouldn't be hard to find, so then I'll be able to test audio.
    As for video being black and white, I had time to do a preliminary test on my system, and Intervideo did indeed make a black and white clip.  Windows Movie Maker did color, although the first frame was black and white for some reason.
    Now, I think that Windows Movie Maker only does wmv, which means it wouldn't be useful for making VCDs and such as WinProducer is, in theory.  I haven't had time to check this out and won't until after finals week after this one.
    I also have not yet installed the Winproducer patch, but from the description on the MSI download page it shouldn't be related.
    I also plan to test out VirtualDub.
    Needless to say, the program didn't crash for me as another forumer was complaining about in one of the other threads, but it does seem to have limited functionality thus far.

  • Application capture, but colors are off

    Hi all, someone in my group is doing an application capture
    and the screen is coming out blocked in black and pixellated, any
    thoughts?

    Not enough information, jono54. Sorry, but ...
    1) Are the black areas seen on full-motion slides, or on
    static backgrounds?
    2) What color depth is the
    recording PC set to, as in 8bit, 16bit, 32bit color?
    3) What kind of graphics adapter is being used in the
    recording PC?
    As you can tell, aside from the possibility of a full-motion
    (FM) issue, I'm leaning toward the problem being with the graphics
    hardware - or software - on the machine doing the recording ...
    Thanks for more information ...
    Larry

  • Signature capture - change color?

    Using Preview in Lion (10.7.x) it is possible to capture one's signature to digitally sign a PDF.
    Is it possible to insert the captured signature in a DIFFERENT color? It always inserts as black. When first inserting the signature, it is possible to change the color. However, the color returns to black after being saved.
    Any ideas?

    It doesn't seem to be possible on Preview as is. However there is a way around which isn't too complicated (atleast for me). Once you've signed in the colour of your preference and it looks good on the screen, do the following:
    1. On the top menu, go to File>Take Screen Shot>From Selection. It will prompt you to make a selection.
    2. At this point, select the entire page of your document. Make sure to select the entire page to maintain the original page dimensions. If the original page is portrait, rotate it so you can see the entire page on your screen without minimising it too much. This will open a new file in preview with your screen shot selection.
    3. Now save this new file. By default it saves it in png format, however you can select pdf as the format to save in. If you had to rotate the page as I have described in step 2, you can rotate it back to it's original layout 
    The quality of your signature will be exactly how you see it, if at the time of selecting the screenshot, your view is zoomed to 100% or close to it (that is why I suggest rotating portrait pages to landscape).
    Hope this helps!

  • How do I capture illustration color to paste in full bleed area for children's book?

    I am using InDesign CS5 and Photoshop CS5 and have scanned full color illustrations into Photoshop. I am preparing 7x10 saddle stitch and casebound books with the illustrations which need at a 1/8" bleed area. My problem is the illustrations have key elements right up to the edge of them. I need to add complementary colors to fill in the bleed area around them so I don't lose any of the originals. What is the best way to do this?  Also, I need to copy colors from the illustrations and make separate pages of the colors to import into InDesign. What is the best method to do this? The colored pages will be the background with story text on them and reside opposite to the illustrations.  Thank you for any help you can give me!

    I usually do adding bleed area for illustration in PS even if it's have to be just plain color because sometimes even if color exactly the same it still prints little different (somehow).
    First thing i do is make illustration 100% 300dpi to size which are used in Indesign. In that case there is no need to additional calculation for bleed area (usually just +5mm).
    Then i convert Bakcground layer to Layer 0 (double click on Bakcground layer in Layer panel, press OK)
    Then Image/Canvas Size Relative and enter bleed area size.
    Then CTRL+click on Layer 0 (that's make selection).
    Then Select/Inverse.
    Then Select/Modify/Expand +2.
    Then Edit/Fill Content-Aware (if you have at least CS5 else use stump etc to fill).
    Then Deselect and with stamp/brush etc. make it all look more natural. Sometimes it's better use Content-Aware Fill by smaller selection.
    For getting color use Eyedroper with Sample Size 3 or 5 and click on area which color you like. Then in tool panel double click on colorbox with your color and will apear dialog with all color information.
    You can see those on Info panel but there is information for all posible colormodes (except greyscale).

  • Regarding Capturing of Standard colors in Webdynpro ABAP

    Dear All,
    how to capture standard colors of WDUI_TABLE_CELL_DESIGN into internal table and binding tht internal table to a drop down list index...........?
    Regards,
    Adi..

    create context node Designs attributes Design with type WDUI_TABLE_CELL_DESIGN
    use GET_DOMAIN_VALUES method to get the domain values for the type and fill the node with the result.
    Place Drop Down by Index on the layout and bind with the Attribute.
    Instead you use Drop Down By Key, it will automatically read the Domain Values
    Abhi

  • Z1 viewfinder colors don't match captured footage on TV and FCP

    Hi.
    I shoot underwater on a Sony Z1 and white balance using the viewfinder to what seems a satisfactory result. However, once captured, the colors of the footage on both the Z1's LCD and its viewfinder simply do not look like the colors in FCP or on any monitor (neither broadcast monitor, nor regular TV).
    This is especially exasperating on days when the water has a greenish tint. When I white balance to make it more blue, it does appear blue in the viewfinder while shooting, but then turns out as green on tape (like it actually is).
    I'm not able to shoot colors properly if I can't rely on what the viewfinder shows me. We've checked the Z1 manual and tried all sorts of things (color extract etc), but the only thing one seems to be able to do about viewfinder colors is adjust saturation and brightness. Not hue or such. Anyone know details about Z1 color settings?
    Or could this have to do with the capture settings? I shoot 1080i50 and use the same HDV-1080i50 Easy Setup in FCP.
    We want to avoid color correcting the HDV material too much in post, so I'm trying to get the best result whilst shooting.
    Any ideas gratefully appreciated.

    I think Zeb means match the image on the LCD to that on the monitor.
    However, remember that underwater you have two issues to contend with: the LCD image has to pass through your underwater camera housing, through water and your mask before you see it. All that affects colour.
    Seconds, more importantly, the deeper you go, the further towards the blue end of the spectrum your ambient light shifts. You need to white balance regularly, not just once. When you change depth, when lighting conditions change etc.
    Take a look here: http://www.kenstone.net/fcphomepage/white_cardsdouglas.html
    Useful info on Warm White cards.
    And here:
    http://www.timsaxon.co.uk/Uwvideo.html
    For filter info.
    Basically, ignore your LCD as a reference for colour and make sure you white balance regularly. Whatever setup you do on the surface will change the moment you're in the water.
    Edit: Also, to make life easy, consider topping each shot with an underwater reference chart and correct to that in post:
    http://www.bhphotovideo.com/bnh/controller/home?A=details&Q=&is=REG&O=productlis t&sku=330876

  • NO COLOR in video captures

    Situation 1: VHS with RCAout connection, GF 5700 video card. The video is captured in black and white.
    Situation 2:  DVD player with S-video cable. The video card capture in color. That is OK.
    Situation 3: DVD player with RCA cable. The capture is again in black and white
    I'm using Movie Maker, in "properties" the color configuration is not enable and is not possible to do it.
    The VHS player doesn't have S-video out.
    Question ?
    How can I do to capture video color from a VHS with RCA connection only ? Somebody could give me an Idea ? 
    Thanks a lot 
    Raul

    Ah well theres the problem 
    Theres plenty of software out there that will do a better job. However, if you want to stick with Media Maker, check that you have the latest version (v2.0 I believe) from Windows Update.

  • Change CSS colors in PSVI (Training and Event Management) ???

    Hello All,
    We're implementing Training and Event Management (PSVI). In EPD, the interface has some color issues. Namely, the background and color in a column is so dark, it's very difficult to read. (<a href="http://www.durhamcountync.gov/web_mgt/SAP/PV7I_color_issue.jpg">Screen Capture of Color Issue</a>)
    I've searched on CSS, PSVI, Training and Event Management... and found all kinds of things. But, nothing on how to edit these color settings.
    Is it through the ITS Theme Editor, an edit of a config/ CSS file on the portal server, edit to ABAP code in R/3? sigh. I'm at a loss.
    Thank you for any wisdoms you can provide.
    Ian

    Hi Rick,
    Thank you for your help.
    The problem occurs in function module RH_OBJECTKEY_BUILD. Following raise is the problem.
        loop at bor_keyfields where bor_object_type = bor_object_type.
          read table structure_key with key
                                   fieldname = bor_keyfields-reffield
                                   binary search.
          if sy-subrc = 0.
            bor_objectkey+bor_keyfields-offset(bor_keyfields-ddlength) =
            hr_record_key+structure_key-offset(structure_key-leng).
          else.
    *     FATAL ERROR!!!! BusObjectKey do not refer Infotypekey of DDIC!!!
            raise problem_to_build_borkey.*
          endif.
        endloop.
    If found SAPNote 1066444 but the recommanted SP is already imported?!
    Can you help me??

  • Hi8 Video Capture

    I'm trying to capture Hi8 video in my Macbook Pro 17 (OS 10.5.8). I have connected my Hi8 tape deck
    (which does not have time code) to the Macbook Pro via an ADVC100 analog to DV convertor..
    When I open the Final Cut Express capture window color bars appear in the preview area with an overlaying
    black bar containing the words "Preview Disabled" even with the tape deck running or in pause. Clicking on "NOW"
    in the capture window simply brings up a black window rather than showing video coming out of the Hi8 deck as
    seen on another monitor.
    If I have the Hi8 deck in Pause and click the "NOW' button followed by unpausing the deck "a split second later" then
    video capture does take place. Waiting longer than a split second does not work.Getting this timing just right is very
    difficult, and usually takes several attempts. Clicking "NOW' after unpausing the deck also does not work.
    Any suggestions about enabling the preview window so that I don't have to use this trial and error approach to capturing
    Hi8 video?

    Are you using the DV Convert capture setting in FCE?  And as you've discovered, the tape must be playing when you hit the NOW button - not the other way around.
    -DH

  • Coping Color Coded Text from PLSQL Editor

    Does anyone know a way to capture the color coded text from the Reports PLSQL editor so it can be pasted into MS Word? A normal copy and paste does not copy the color and I would like the color coded text as part of the report documentation.
    Thanks

    The correct subject is:
    Copying Color Coded Text from PLSQL Editor

  • Color Adjustment Advice Request

    Good Evening
    I am requesting help with correcting some color issues with this image of one of my acrylic on canvas paintings.  I am NOT having color issues with any of the other photos I have taken of my other paintings, just this one.  (I calibrated my monitors with ColorMunki Display the other day.)
    The image below was saved as a web version for posting here.  It was originally a .NEF that I converted to a .TIF and I even tried saving it as a .JPG and viewing it outside of PSE.  I have not yet tried to correct the black portion or anything else yet in this particular copy of the image below.
    This particular image is one of probably 100 I have taken.  I have tried various light sources and three different cameras.  The third camera is a Canon D3200 and I have tried many, many different settings, this image was taken with this camera.  The strange thing to me is not even this "good" camera shows the greenish color even in the camera view window or on the camera LCD screen.  Again, this is the only subject so far I am having this difficulty with.
    The bluer areas are possibly the best I can do as far as being representative of the original painting.  THE ISSUE IS THE "GREEN" AREAS.
    I can not get them to be a good/acceptable representation of the color of the original painting.
    I have tried many various tools and adjustments and still can not attain a result I am satisfied with.  I am still learning the PSE program and perhaps I just have not hit upon the tool or combination of tools I need.
    I'd like to select ONLY the areas that are supposed to be the green color/tone/hue?  and adjust them to make them more vivid/bright? Especially the area to the left of the eye which in this image appears almost blackish.  In the original those areas are not blackish, they are the greenish like the other areas that are supposed to be greenish.  These green areas here appear too dull and washed out.
    I have tried the MAGIC WAND but I don't think I'm adjusting it correctly.  I either get too much area or too little.  I have tried contiguious and not contiguous.  Is this indeed the best tool for this job?  Also, which tool should I be using or adjustment should I be making to obtain what I am looking for?  The ADJUST HUE SATURATION?  THE BRIGHTNESS CONTRAST?  Which one?
    If more clarification is needed I'll be here all night to provide it.
    THANK YOU SOOO MUCH for any assistance.
    P.

    Good morning everyone
    Have you ever been asleep and then have an idea pop into your mind as you are waking up?  I did, this morning.  But I don't know what to do with it or if I should bother.  Maybe someone has some input for me?
    (I did speak with a technical support person at Nikon yesterday who tried to help me.  He gave me guidance on various settings for my camera that should have helped me get better results.  I was to take multiple pictures with different settings and email them to him.  I did take the photos, approximately 40 of them at all conceivable settings, including the settings he specifically suggested.  I did this OUTDOORS and INDOORS.  The outdoor lighting was supposed to be, according to everything I have read, ideal...cloudy day.  None of the images are acceptable to me.  Not in the camera LCD screen, which I KNOW is not where one should make ultimate decisions about their images, nor on my computer monitor.  The images appear on my computer monitor as they do in the camera LCD screen by the way.
    I also decided to PRINT a number of the images hoping that this would isolate the issue.  The images printed out pretty much exactly like the images in the LCD monitor and the computer monitor.  I KNOW I SHOULD GIVE UP AND JUST BUY THE DEVICES AND SOFTWARE THAT ARE OUT THERE TO FIX THIS ENTIRE ISSUE, I JUST DIDN'T REALIZE I PROBABLY NEEDED THEM.  I INITIALLY THOUGHT PROPERLY CALIBRATING THE MONITOR WAS ALL THAT NEEDED TO BE DONE.  I HAVE LEARNED AS I HAVE GONE ALONG THAT THERE ARE OTHER CALIBRATIONS THAT SHOULD BE DONE AND I WILL PURCHASE THE NECESSARY ITEMS.  I JUST WANT TO SEE WHAT I CAN DO IN THE MEANTIME WITH WHAT I HAVE AVAILABLE.  AND I STILL WONDER WHY THE CAMERA IS DOING SUCH A POOR JOB WITH THE COLORS AS WELL, AT LEAST I'M THINKING THERE IS AN ISSUE WITH THE CAMERA TOO?)
    SOOO, back to my idea.  When I woke up I thought to myself, I wonder how the images would look if I SCANNED the painting with my extra printer's scanner bed? The painting is small enough, this will help me figure out what is happening.  Hmmmm.
    I scanned in millions of colors, billions of colors, various adaptive light settings, color correction on, color correction off, etc. etc.  The results were just as bad as what I am getting from the camera(?). I put this in BOLD because now I'm not so sure that is an issue with the camera.  Read on if you so desire
    Then another idea popped into my head.  My mother, who is an artist/architect as it happens, had sent me as a present a while back a box of 100 PANTONE Postcards (I don't snail mail anymore and I wonder if this was a hint, they are all pre-addressed).  Most of the postcard is the color and a name of the color and its appropriate number/code?
    I scanned five color cards, chosen to represent as much as possible the colors in the painting.  I scanned them to my monitor.  I am viewing as .tif which is the setting I used to scan them.  They are off slightly? from their actual colors
    I wondered if the issue is just with my monitor, so I then PRINTED the image file out on the Pixma using the proper media choice for Canon Pro Platinum paper so that the correct ICC profile would be utilized.
    The colors are still off.  Especially the GREEN, Pantone 3278, which on the post card is a pretty, cheerful, lively green.  On the monitor and in the print it appears as a yucky, duller, muddier, darker green.  (I just don't know how to describe color, sorry.)
    The BLUES aren't  so great either.  The Pantone colors listed on the cards for the blues are Pantone 18-4525 Caribbean Sea, Pantone 291,Pantone 18-4530 Celestial, and Pantone 18-4330 Swedish Blue.
    This whole situation indicates to me that ALL the other colors in all my other work that I THOUGHT were as accurate as they should be, are not.
    WHERE DOES THIS LEAVE ME AT THIS POINT?
    1) Should I have posted this in another forum?  Printers and Monitors I suppose.  But just thought this would be a continuation of the thread I started.
    2) Should I try to find the appropriate HEX code conversions for the colors and use them to tweak the color settings menu that I saw somewhere and was too afraid to use?
    3) NOT in anyway spend any more time on this at all until I purchase the other devices and software?
    4) Give up entirely because this is as good at is going to get?
    5) Still wondering about the accuracy of my camera in capturing the colors the way they are in life?
    Sigh...what do you all have to say...be gentle
    Regards,
    P.
    PS.  I hope it is okay to post this in the other couple of forums I am a member of because they have been helpful too

  • Problem with Bayer Color using GuppyPro

    I'm working on a study where we are using cameras to capture video inside a moving vehicle. We are using the Guppy F033C and the Guppy Pro F125C cameras. With the F033C camera we have had great success using the Bayer Color menu to properly capture the color video. However, we are having difficulty with the Pro f125C. The Auto Calculate Gain sets each color of RGB at the same number so the image is gray. Adjusting the RGB sliders changes the entire color of the video image with one broad color instead accurately representing the image in color. Changing the Bayer Color Pattern has no effect on the color of the image with the F125C, as it does with the F033C. We are using the NI Measurment and Automation explorer, and the NI-IMAQdx IIDC Digital Camera Driver.

    The top image is the functional F033C with which we have no problems.
    The Bottom is the Pro F125C that is giving us trouble.

  • Phase One color cast in Bridge

    Hi all:
    I know there are a lot of photographers in this forum, so I'm hoping one you can help/enlighten me.
    We just received IIQ images from a photography, shot on a Phase One P45.
    When previewing in Bridge CS5, I'm seeing a strong blue cast over the images.
    This is the first time we've ever gotten IIQ files that previewed in Bridge with such a heavy cast, and I'm wondering if something wasn't processed right before the files were delivered to us? I have a general knowledge of RAW, but not sure what happens to them before they get delivered. From what I read, it's possible that the photos should have gone through Capture One color management software before being handed to us as processed IIQ files?
    Is that the case? Has anyone ever experience this in Bridge and if so, can it be "fix"?
    Thanks,
    Lisa

    Has anyone ever experience this in Bridge and if so, can it be "fix"?
    Without having experience with Capture One or Phase One files I know that Adobe Camera Raw 6.x (comes with CS5) does support the IIQ files from Phase One P45 so Bridge should have no trouble in viewing those files.
    First put your mouse on that file and with right click menu choose purge cache for selection and see if this brings some light. If not Open the file in Camera Raw (double click or right mouse click choose open in Camera Raw. This should open the file in ACR and see if you still have the color cast and if the white balance is set to normal expected values.
    If still a color cast either contact the photographer or set the color temperature values to your wishes

  • Making adjusted color settings the camera default

    Hey guys,
    I calibrated my monitor last night and now I'm working on calibrating my camera.
    I just went though shooting a Gretag color chart with my camera and adjusting aperture's "color" dialog box to make the external chart and the now captured chart match as closely as possible. How would I go about setting these slider settings as the default? I've tried "Set as camera default, but something tells me its not capturing the colors I have changed. When I import new images the color setting preset is not automatically applied.
    Ideas?

    Can't help you with the presets, I have never used them. About the calibration, I have the notion that one always has to calibrate the light source together with the sensor, so any camera calibration you perform is only valid for one given light source.
    When I care about exact reproduction (and not just artistic effect) I just shoot a grey card. This only 'calibrates' the overall hue. But I don't think it possible to much else with a calibration by hand (not using sensors and algorithms as with hardware display calibrators).

Maybe you are looking for

  • Use mask to show one bullet point at a time

    I have content in multiple bullet points of text. The background is a texture. I'd like to use mask to show the text in sync with audio. It works but the text is the color of the mask. I have bullet point itself in a different color. How can I mask t

  • How to create a Tip for a field in a Descriptive Flex Field in Self Service

    How to create a Tip for a field in a Descriptive Flex Field in Self Service ? Example : For Address Each Address Line should have one Tip. What should I do ? Thanks, John

  • Firefox Not Displaying Web Page Content.

    When going to some web pages with an initial welcom/subscribe pop up window, such as http://www.mustangmonthly.com/techarticles/mump_0702_ford_mustang_distributor_rebuild/viewall.html the background window does not show any content(although it does s

  • Recommended size of photos

    Just started using iM 8 on my 1.8 Dual G5 (Yes, it installed and works although it appears a little slowly)! Question: What is the size that photos need to be to insure they will import and display properly? I dragged a couple of photos from an exter

  • Extracting Planning Outline

    Hi John, I know that extracting the outline directly from Planning is not possible with ODI but it is easy with essbase. But All the properties will not get extracted when doing it from essbase outline extractor. For example, the datatype property. I