Change contrast on an image

hi i am tryin to change the contrast of an image using lookup operation i am using a sinosuidal function for the look up table but the problem is that the original image doesnt retorn to its origin any help will be welcome
//return cambiaBrillo1(contraste, img);
byte[] lut = new byte[256];
for (int i = 0; i < 256; i++)
double scale = i + (contraste * Math.sin( (0.0245 * i) - 3.14));
if (scale > 255.0)
scale = 255.0;
else if (scale < 0.0)
scale = 0.0;
lut[i] = (byte) scale;
LookupTableJAI lookup = new LookupTableJAI(lut);
ParameterBlock pb = new ParameterBlock();
pb.addSource(img);
pb.add(lookup);
return JAI.create("lookup", pb);

OK. I see the solution now. I had a theme selected to add opening titles. The border set on the pic-in-pic image looked the same colour as that theme. So I set the theme to No Theme and the image's border went away.

Similar Messages

  • Why when i convert to black and white and change, contrast, exposure etc and get it right in preview i open it and its brighter and looks different to the preview?

    The images also look different in preview and when i upload them to adobe Revel but when i put them back in photoshop they look Ok.

    I convert, in raw to black and white and add sharpness and clarity theirs and a few other options Temp etc if need be. Then i open them into photo shop as black and white. There i place around with the exposure setting but as you do it you have the preview button clicked so you see what the finished photo will look like. When i hit change normally the photo changes and looks like it was in the preview.But now with out changing any settings in photoshop, as i change the photo the preview is different when i click ok to make the changes. This comes and goes in photoshop and its getting a bit frustrating as i do a lot of black and white photos and have been doing for years but i am having this problem over the last 6 months.
    No i haven't changed colour settings i have photoshop on the preset settings.
    'Preview" when you are changing contrast etc their is the preview option so it shows in photoshop what the changes will be. But what i see when i am changing it is different when i open it. make be a point brighter or not as contrasty as i see it as i am changing the settings.

  • Why exporting slide show to QuickTime raises contrast and darkens images?

    I've been creating slide shows in iPhoto, then exporting them to QuickTime to create QT.mov files which contain dissolve transitions and later add soundtracks using QTPro. Lately, when I've exported the images to QuickTime, the resulting images in the QT.mov file are invariably darker and more contrasty than the originals in iPhoto; in many cases unacceptably dark.
    It appears that QuickTime modifies the images when it exports them.
    I've experimented in PhotoShop, and discovered that to make the original Jpeg image match the modified QT version I have to increase the "Contrast" slider +11, and decrease the "Brightness" slider about -8 to -12 (in whatever units PhotoShop sliders are calibrated in). This is an enormous amount of change to the images! Since darkening the image increases the color saturation, every image has some color shift. Black skin tones shift to a heavy red/brown, and shadow details block up unacceptably.
    It seems that QuickTime is "auto correcting" the images; automatically applying the sort of tweaking that makes a lot of snapshots look "snappier".
    Of course, I've already spent hours correcting my images in PhotoShop, and they're just perfect (IMHO) when I feed them into iPhoto.
    iPhoto itself doesn't change anything.. the images are unmodified during the importing, editing and preview of the slideshow; it's only when it's exported to QuickTime that the images are ruined.
    I'm hoping that there's some knowledgable soul out there in CyberSpace who knows a way to turn this hidden "auto-correcting" feature off.
    G5 dual 2.3Ghz   Mac OS X (10.4.6)   Terabytes of disc space.

    iPhoto can make two different types of slide show movies. It would help to know which you're making.
    One is made via the File/Export to QuickTime movie and makes a 4 track file with a simple fade effect. These use the Photo-JPEG codec.
    The other is a 30 fps "video" using H.264 video codec via the "Share" menu.
    A third method (rarely used) is to Export to iDVD. This makes an absurdly high data rate MPEG-4 video. This is also found under the Share menu.
    The MPEG-4 video codec also includes an "automatic" gamma correction feature which compensates for the gammas difference between Mac's and PC's.
    Try one export to iDVD. Include your audio track prior but use a high quality (.aiff) sound file. No need to actually "burn" the DVD. You can even close iDVD after it opens. You'll find the new movie in your Users Movie folder.
    Open it with QT Pro and export to a new .mov file. Adjust the data rate to something more reasonable and add some audio compression.
    If the colors still look too dark you can use the built in Filters in the Export dialog. You can adjust B&C or HSL or even use ColorSync Profiles that can help correct the image quality (if needed).

  • Contrast of an image

    Hi guys,
    can anyone tell me what how can I learn more about the contrast of an image? What should I really do is to change the contrast of an image little by little. Can you give me a hint?
    Thanks for your attention
    Maddy

    Look at the Java Advanced Imaging api, it supports contrast functions.
    regards,
    Owen

  • How to change the default BC image that shows in the address bar?

    Does anyone know how to change the default BC image that shows in the address bar? I want to swap it out so the client logo shows next to their URL.
    Thank you!

    Hi,
    If you are trying to change the favicon for your site,
    You can do it from Site Manager-> Page template -> Default Template
    Look for the code   <link type="image/x-icon" href="/Path for your image" rel="icon" />, and Click save.
    Now where you will use this template, it will display your favicon for that webpage instead of BC favicon. You can define it on Page directly if you are not going to use template.
    Please let me know if you have any doubt.

  • How to block changes of desktop background image

    I manage a 30-computer Mac lab in a public high school and I would like to prevent users from changing the desktop background image.
    As far as I know, there are two ways to change the desktop background image: through System Preferences and by right-clicking an image and selecting Set Desktop Picture.
    Blocking System Preferences is easily done through Parental Controls.
    But how do I prevent the right-click, Set Desktop Picture method of changing the desktop image?
    You can imagine the kinds of images that end up as desktop backgrounds in a high school computer lab.

    You might try going to System Preferences > Keyboard > Keyboard Shortcuts. In the left pane select Services, then uncheck the item "Set Desktop Picture" under Pictures in the right pane. Once that's done, block that prefs pane.

  • How can I change the default cover image in iTunes?

    Good evening everyone!
    I've scoured the web for this info but can't seem to find it. Is there a way to change the default cover image in iTunes to one of my choosing? You know the one I'm talking about right? The transparent CD cover with the musical note in the middle of it... the one that shows up when iTunes can' find appropriate cover art for your music. I have another image I'd like to use instead, as I've never liked the default image at all. The one I have to replace it is an image of a blank CD case. Kinda cool and would look infinitely better than the default in my opinion.
    Has anyone done this before? If so, can you describe to me how it's done, or point me to somewhere on the web that describes how? Many, many thanks in advance Have a great weekend!!!

    I understand what you mean - I too, would like to see some variability in the 'default'. Besides having a single default, I would step that up to a default that changes with genre and media: ie. I could see using a sax for Jazz; a microphone for a Podcast, etc.
    I don't have the answer to your question yet, but I think I'm going to crack open the iTunes package to see what default images there are embedded in there.

  • How can i change the title and image of  published exe

    Hi ,
    I have published a fla file in exe format .
    how can i change the title and image of this exe? do I ve to
    use some of the available softwares in the market? cant i do the
    customised setting in the flash player itself?

    On Fri, 4 Apr 2008 06:21:15 +0000 (UTC), "mFlexDev"
    <[email protected]> wrote:
    > I have published a fla file in exe format .
    > how can i change the title and image of this exe?
    I beleave the easiest way is to use PEResourceExplorer,
    Resource
    Hacker or similar software to modify EXE resources, such as
    window
    title and window icon.

  • How do I change the size of images for a collage?

    I am trying to create a collage in Photoshop CS4.  I have found info on this and know that I need to create the background layer and then drag the images I want onto the background layer, then free transform the images to make them the sizes that I want.  However, when I do this the image becomes distorted.  Is there some way to make the images smaller and still retain the integrity of the image?  As it works now the people in my images are getting stretched out one direction or another.  Any information, or direction to information would be greatly appreciated!!  Thanks!

    I'm not the most experienced yet, so there may be an easier way.  But, first, the images and the background should be the same resolution...which you can check/change by going to Image-->Image Size.  Then after dragging to your background use the free transform from the corner, while holding down the shift key.  This will keep it proportional.

  • Image size changes when moving an image between Lightroom and CC.

    Image size changes when moving an image between Lightroom and CC.
    I opened a .dng image in LR and then opened it in the Develop module.  I clicked on Crop Overlay and then on the ‘As Shot’ drop down menu (the lock is closed) and cropped to 11 x 17 and clicked ‘Done’-.
    I click Cntl-E and the image opens in CC.  There I click on Image > Image Size and the Image Size  is 13.288 inches by 20.533 inches.
    Why does the image size change?
    I believe there is a menu to control the size of the image and I've looked everywhere I can think of in LR and CC, I googled various descriptions and I checked two of Scott Kelby's books, but I just can't figure out how to keep the image a consistent size when moving between LR and CC.
    Help!...Please?

    The penny will drop soon or maybe the cloud will lift.
    In Lightroom all editing is undoable/nondestructive.
    Hence a crop of 3x2 is not inches, centimetres, pixels or anything else. It is jst a ratio. When a file is exported, either to PS or disk, then the crop ratio has size determined in respect of pixels and inches or cms.
    So my 6000x5000 pixel image I will crop to 3x2 that leaves (before exporting) a 6000x4000 file.
    Now when exported it can be set to export at
    100pixels per inch and will end up at 60x40" when printed.
    200pixels per inch will end up at 30x20"
    300ppi will end at 20x13.3"
    You will notice in the Crop Tool there are no size denominations such as inches or centimetres as an image file only has pixels and the determination of size is done through exporting or printing.
    Hope that helps somewhat..

  • HT2946 Why is the contrast of my images totally different when processed and then opened in CS4?  Does anybody else have this issue?

    Why does the contrast in my images processed in Aperture look markedly different when opened in CS4?  The images look fab on the screen in Aperture - even if these are then opened in CS4 from Aperture they look different  - much flatter.  This is a new issue.  I am a wedding photographer and an album processed in Aperture has been sent back by my wedding album printer saying the images all lack contrast!  Can anybody shed any light on this!  I have checked colour spacing etc! 

    I Also have this problem!!
    In my situation, the screen simply started exhibiting the same symptoms a few weeks ago (early February) for no apparent reason.  At first I thought the screen was dead, but discovered the heat solution by accident.  Now I turn it on and keep it from going to sleep until I go to bed.  Thank goodness the battery is still awesome on this thing.
    I bought it new and still has the original screen, I keep it at home (never below 62 degrees).  Coincidentally, this happened a day or two after the expiration of the warranty!!  Any help figuring this one out would be eternally appreciated.
    iPad mini retina Wi-Fi, iOS 8.1.3

  • How can I change picture data to image data

    I have an array that I am displaying in a picture control as an 16-bit data type. How can I change this into an Image data type with out saving it first?

    Sean,
    Use IMAQ ArrayToImage, which will take your array and convert it to an IMAQ image.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • How can i change the mouse pointer image?

    Hi friends!!
    It's possible to change the mouse pointer image in Swing?
    Thanks a lot.

    There's a setCursor() method on the frame component.

  • Changing the size of images displayed when a thumbnail is clicked

    In an Aperture gallery, how do I change the size an image is displayed when a thumbnail is clicked. There are sliders for changing the size of the thumbnail; I can't find an adjustment anywhere for the size an image is displayed when the curved arrow in the upper left hand corner is clicked.
    Help!
    --Kenoli

    Hi Kenoli,
    In an Aperture gallery, how do I change the size an image is displayed when a thumbnail is clicked.
    Do you mean "double-clicked"? In "Browser" mode, when I click on a photo, nothing changes. However, when I double-click on a photo, it switches to "Viewer" mode.
    However, I'm missing the curved arrow that you mention. I can't find any photos with a curved arrow over them in any mode. In fact, the only overlays are the badges in the lower right.
    Can you be a little more specific about exactly what mode you are in?
    nathan

  • Changing the default jdk images

    Hi ALL,
    Could any one please tell me where are the default jdk icon images stored for example the jchechbox etc. Can i replace any of the images for example if i want to change the default JCheckBox image,can i do that ?
    Thanks,
    Viral Doshi

    Hi Torgil,
    I am actually trying to get the checkbox icon exactly
    as it is shown in the windows os(Which has a white
    background and a black tick).Now even if i use the
    windowslookandfeel of swing ;it is painting an icon
    which has a gray background and a black tick).On my machine the windows look and feel paints Swing checkbox icons are identical to Windows own checkboxes (white background, black tick). How do you set the look and feel?
    I am
    able to paint the background white but i don't want
    to do that.I can use other images for the icon but
    again it involves a performance issue.
    What makes you think the performance would be noticably affected? Have you tried it?
    Is it possible by any means to show the exact windows
    icon wihtout painting and setting icons.? Is it
    possible to use native methods to call MFC components
    like a windows checkbox ? How will affect
    performance. ?I'm sure you can do that, but I'm afraid I have no idea how.

Maybe you are looking for

  • Low-latency prio queue for udp traffic, but not matching ACL?

    Hi, I have an OpenVPN service running behind an ASA for which I would like to prioritize the packets. The OpenVPN service connects to a remote OpenVPN service on 1194/udp, and accepts traffic on udp/1194 for yet another OpenVPN server. Here's what I

  • BUG: preview report template errors with ORA-01002

    I've checked on my local install and on apex.oracle.com. I go into the Templates of Shared Components and filter on the Report Templates. Although the preview icon is displayed to allow me to preview the template, I always receive "ORA-01002: fetch o

  • Load Balancing in OSI Layers

    Hi, Can anyone explain about how load balancing happening in each layer of OSI Model ? Thanks , Prakalathan.

  • OWA iview

    Hello all, When accessing the Outlook Web Access(OWA)2003 by url, it works fine.  But when I tried to create the url iview and pointing to the same owa url, it does not work.  Did I miss any other configuration? can i integrate the whole OWA into the

  • Need advice for form deployment

    We are using approx. 500 forms in an LC Update1 environment. This forms have been deployed under the resource tab in workbench and used by a formportal, built by the customer. We are going to move to ES3 and my question is where should we put the for