Applying blur to a region of a image

Hi,
how do I apply a blur effect to a region of a image/bitmap.
Lets say I have one big image 1024x768 and i want to apply a blur effect to a region of x100 y100 width100 height100.
Any hint please
Marc

Hi,
You can always take a snapshot of the area behind your thingy and apply it as the thingy's  blurred background(this also can work with dragging the thingy around). 
David.
ps: I assume thingy is the technical term for 'object placed above area requiring an effect'  .

Similar Messages

  • What values are stored in the alignment region of an image and how can they be set?

    I am calling a number of C++ functions with different variable sized LabView images at rates in excess of 20 images per second. I need to tell the C++ code developer what values to expect in the alignment region of the image. Right now I am creating an image with a zero border that is 32 byte aligned, so there is no alignment region and everything works fine.
    I would like to move to using normal LabView images, as it saves sereval steps and allows me to use a combination of LabView and C++ operations. I do not want to re-write all the C++ functions to be aware of the LabView alignment and border areas. I just want the alignment area and border area to be zero and process them like they were part of the image.
    I can set the border region to zero using Fill Image but I am not clear as to what the values will be in the alignment region, or if I can set them. Does Fill Image also fill the alignment region? Since the C++ code is being developed on a system without LabView, and I do not have the means to debug it on my LabView system, it is tricky to know what is in this region.
    In the ideal world, I would like it to be zero or to be able to set it to zero.
    Thanks in advance.
    Andrew

    Hi Andrew,
    The function IMAQ Fill Image allows you to set the border and all or part of your image to a certain pixel value that you define. One of the inputs to Fill Image is "Image Mask" which you can use to specify which pixels in your original image will be modified. This help document describes the Fill Image VI in detail and can provide some good information for you.
    Essentially, the locations of any non-zero pixels in your Image Mask are where the new pixel value will be set in your original Image. Does that make sense? So if you know where your alignment region is then you can use an image mask with Fill Image to set the alignment region and the border to zero. If you don't use an Image Mask, the Fill Image VI will assign the new pixel value to the entire original image. 
    Regards,
    Daniel H.
    Customer Education Product Support Engineer
    National Instruments
    Certified LabVIEW Developer

  • How can I save a region of an image into another image?

    How can I save a region of an image into another image? Should I use JAI?
    Java2d? Is there an example?
    Thank you.

    Here is what I try, but I find out I just get a black square for my output image, can you please tell me what am I missing?
              ImageIcon file=new ImageIcon("images/clouds.jpg"); // You can't open bmp files
                   // width, height looks correct:
                   System.out.println (" width" + file.getIconWidth());
                   System.out.println (" height" + file.getIconHeight());
                   BufferedImage bi = new BufferedImage(file.getIconWidth(), file.getIconHeight(),
                   BufferedImage.TYPE_INT_RGB);
                   int x = 0;
                   int y = 0;
                   BufferedImage subimage = bi.getSubimage(x, y, 40, 40);
                   File outputFile = new File("newimage.png");
                   ImageIO.write(subimage, "png", outputFile);

  • Find a region in an image

    hi everybody
    i need to find a red region in an image . but i don't have any idea to do this as fast as possible . can u give any advices. i just need to find the beginning and the ending points of a red painted region in an image (there is only one red region)
    thanks

    i wanted to mean the "fastest method" while writing " as fast as" :)

  • How to extract the license plate region from the image of cars

    HI, I want to extract the license plate region from the image of cars with vision assistant. I try to adjust the threshold value, remove small objects. But i still cannot get the perfect license plate region. I have attached 4 images that i am working now. I hope someone can help me to extract that region. Really thanks.
    Attachments:
    IMG_2029.JPG ‏150 KB
    IMG_2031.JPG ‏155 KB
    IMG_2089.JPG ‏130 KB

    Hi, I have attached my extrated images.. Please check them...
    Attachments:
    35.PNG ‏17 KB
    36.PNG ‏12 KB
    37.PNG ‏13 KB

  • Colors in a specific region in an image

    hi all;
    i have an image and a list of 4 RGB colors.
    i need to check a specific region of the image (a small sub-image) to see if it contains any of the 4 colors i have.
    what my best option here?
    any help would be great.
    thanks in advance.

    This can be easily done with a StringBuffer:StringBuffer sb = new StringBuffer("leone24");
    sb.replace(5,7,"31");
    String newString = sb.toString();

  • Applying Develop settings to new batch of images

    I recently processed a load of raw images, changing most of the settings in the Develop menu, including adjusting the tone curve.
    I have a new set of images I want to process in exactly the same way, but I can't seem to recover the settings from the first batch. It seems like this should be a fairly simple process - any tips?
    I have a .dcp profile that I assumed I would be able to apply, but it doesn't appear to do anything.

    Why not create a preset and then you can apply it to any batch of selected images or on import. Start by choosing one of your finished images and in Develop click on the plus sign to the right of presets in the left hand panel. Give it a name and save it as a user preset.

  • Why doesn't the "Command Number" keyboard shortcut apply the colored label to the selected image?

    Why doesn't the "Command Number" keyboard shortcut apply the colored label to the selected image?  The similar keyboard shortcut to assign stars works, but the shortcut to assign a label color doesn't?

    Just to be sure they haven;t been reassigned in your Aperture go to Aperture->Commands->Customize then in the search box in the upper right hand corner enter color.
    You should see the keyboard shortcuts and the corresponding add label commands.
    If they are set then quit Aperture move you preference file to the desktop and restart Aperture. The instructions for moving the preference file can be found at Aperture 3: Troubleshooting Basics
    Post back the results
    Message was edited by: Frank Caggiano - Added preference file move

  • Drawing Over Transparent Region of SplashScreen Image

    Has anyone been successful trying to paint over a transparent region of an image using the Java 6 SplashScreen ?
    I've got a PNG with a transparent background as my SplashScreen image, and I would like to paint over part of the transparent area. Whatever I try, I can't seem to accomplish it. I've played around with the Graphics2D setComposite and setClip, but I'm not having any luck. It paints over the non-transparent area, but not the transparent area. It's like there is a clip region for the image that I cannot seem to undo.
    Anyone have any suggestions?

    To expand on the problem, I tried doing the same thing just in a panel, like so:
    public class SplashTest {
         public static final File IMAGE_FILE = new File("SplashTest.png");
         public static void main(String[] args) {
              SplashScreen splashScreen = SplashScreen.getSplashScreen();
              Graphics2D g2d = splashScreen.createGraphics();
              g2d.setColor(Color.RED);
              g2d.fillRect(0, 200, 300, 100);     // draw red rectangle across bottom
              g2d.dispose();
              splashScreen.update();
              try {
                   Thread.sleep(3000);     // show splash for 3 seconds before exiting
              } catch (Exception e) {
                   e.printStackTrace();
              splashScreen.close();
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        try {
                             JFrame frame = new JFrame("Try it again");
                             frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                             final BufferedImage image = ImageIO.read(IMAGE_FILE);
                             Graphics2D g2d = image.createGraphics();
                             g2d.setColor(Color.RED);
                             g2d.fillRect(0, 200, 300, 100);     // draw red rectangle across bottom
                             g2d.dispose();                         
                             JPanel panel = new JPanel() {
                                  @Override
                                  protected void paintComponent(Graphics g) {
                                       super.paintComponent(g);
                                       g.drawImage(image, 0, 0, this);
                             frame.setContentPane(panel);
                             frame.setSize(300, 300);
                             frame.setLocationRelativeTo(null);
                             frame.setVisible(true);
                        } catch (IOException ioe) {
                             ioe.printStackTrace();
    }The rectangle shows up completely in the JPanel, which suggests the problem is somehow specific to the SplashScreen. For now I'm just going to edit the image so I'm not trying to paint over any transparent regions. But if anyone can shed any light on this, please do. :-)
    Edited by: Skotty on Jul 26, 2010 10:17 PM

  • Applying filters to specific region within frame

    Hi all,
    Forgive me if this is an obvious thing, but I'm trying to learn FCP quickly coming from Adobe Premiere. How do I select a specific area of a clip and then apply a filter to either that area, or everything else? For example, let's say I select an area using colour correction. Obviously if I invert the selection then, say, use the saturation slider I can pick out one colour and make everything else b&w, but what about if I wanted to use that region to, say, apply a blur filter to it? And also, is there a tool which allows me to select a regular region (say an oval) to do the same?
    Thanks,
    Sean

    Thanks Shane- I thought about doing it that way. Can you dynamically mask out everything but one colour in this way? In the PC setup we are getting rid of at work we use a bit of realtime hardware from Canopus (Raptor RT card) which enables region selection in a wide variety of ways. You can then apply filters inside the selection or outside, or both, and these can be different filters. That's the sort of thing I'm trying to work out.
    Sean

  • Apply 'blur' to script-generated path

    Hello All,
       I'm working on a scrpit for Illustrator which generates cycloidal curves (hypocycloid, epicycloid, rhodonea) and would like to explore my options for creating a blur across the path. The generated images will be saved as a PNG and then used in another program for an optical research application. So far, I have learned that it is not possible to access any of the effects through javascript. I also looked into applying a graphic style (as found in several other posts), however I need to have control over the amount of blur applied.
    As an alternative, I've been working with applying a radial gradient across the path (whcih is possible using javascript). This achieves an effect which is 'close enough' however. Here is an image of the result generated using a 'rhodonea' curve:
    My issue is: How do I blend the path at the intersections to get something like this (generated with the 'gaussian blur' effect):
    Thanks!

    Thanks for the reply. I had considered multiple graphic styles, but as it turns out, the radial gradient method appears to be much more accurate in terms of my modeling.
    I was wondering if it might be possible to break the path into multiple segments at each intersection, re-join, and then apply the gradient but so far that's not working out either. Illustrator won't let you join more than two anchor points (at least, not that I could find).
    These images will be dumped to PNG and then imported into Matlab for the simulation, so I may just end up performing the blur there instead (much easier, and I have full control over the parameters).

  • Sorting paragraph, apply style then next and (maybe) placing images...

    Hi everybody,
    I have to set a layout on several pages for a magazine, arranging pictures along with some text related.
    I have a text file of this kind:
    Text a/1 (should apply Heading style)
    Text b/1 (should apply Bodytext style)
    Text a/2 (should apply Heading style)
    Text b/2 (should apply Bodytext style)
    + Photo
    Text a/3 (should apply Heading style)
    Text b/3 (should apply Bodytext style)
    + Photo
    Text a/1 (should apply Heading style)
    Text b/4 (should apply Bodytext style)
    etc...
    I wish to sort the paragraphs, keep note of those where an image is needed, strip them out into a new frame on the pasteboard with the picture reference and apply to the main text column the styles in order.
    Let me explain better with some pictures...
    a) b) c)
    d) final)
    Is it possible, in your opinion?
    Thanks,
    Guido

    Okay, I created a small file with the text
    title
    subtitle
    body
    body
    body
    and the title style applied to the first line. I then ran your new 
    script, which I had to fix up a little because it got slightly messed up
    in the translation to e-mail text. And now it works!
    Let's see if I can get it into AppleScript...
    First of all, hmm, it's interesting that the script text in the forum
    has
    var style_name = "h1"
    with "h1" red, while the e-mail version I received has
    var style_name = "title"
    Maybe you changed your message after posting it? No matter, I carry on
    and here's the result:
    tell application "Adobe InDesign CS4"
       tell document 1
         set theStyle to paragraph style "1.Bold Head 1"
         set applied paragraph style of paragraph 1 of selection to theStyle
         repeat with i from 2 to count of paragraphs of selection
           tell selection
             set applied paragraph style of paragraph i to ¬
               next style of applied paragraph style of paragraph (i - 1)
           end tell
         end repeat
       end tell
    end tell
    This works the same as yours with the "title" style, but let's go
    one more:
    tell application "Adobe InDesign CS4"
       tell document 1
         set theStyle to paragraph style "1.Bold Head 1"
         set applied paragraph style of paragraph 1 of selection to theStyle
         repeat with i from 2 to count of paragraphs of selection
           tell selection
             set applied paragraph style of paragraph i to ¬
               next style of applied paragraph style of paragraph (i - 1)
           end tell
         end repeat
       end tell
    end tell
    This works for any style, so I only need one script! Option-n is 
    available as a QuicKeys trigger and I use option for other paragraph 
    style assignments, so I'll assign it to that. Thanks!
    Roy

  • A simple way to apply crop from photo book frame to image version?

    Hi
    Running MacOS X 10.8.5, Aperture 3.4.4
    I have the following workflow for photobooks creation (a custom photobook):
    0) Prepare an album with photos I'd like to create my book from.
    For 99% of my photos I have TIFF files as masters. Not RAW files.
    I use managed library.
    1) Create a book layout (place images, select different crop factors for frames, etc)
    2) Looking at specific page adjust photos using Aperture adjustments (exposure, color balance) to make images to looks similar on the page
    3) A the final step, apply some adjustments from external plugins.
    Here I have the question from subject:
    * The Aperture  sends the whole file to plugin (i.e. some of Nik collection plugins, but it might be a different plugin)
    * But on my photo book page I have a different crop factor (i.e. TIFF master is 2:3, on photo book page I frame it to 1:2)
    * As the result some of the adjustments I did in external plugin are not visible on the photobook page, which produces a different visual effect, which I don't want.
    Currently, to workaround this, I have to manually apply the same crop factor to image version, then make a version copy, open the plugin. Only after these steps Aperture will send the desired crop factor to external plugin.
    This is some sort of technical work which I need to do manually, no brain is involved here - I'm looking to some ways how to automate this.
    As the result, I'd like the crop factor from photo frame from Aperture custom book to be applied to image version.
    Any ideas on scripts/external programs are welcome.
    Thank you!

    Hi
    Running MacOS X 10.8.5, Aperture 3.4.4
    I have the following workflow for photobooks creation (a custom photobook):
    0) Prepare an album with photos I'd like to create my book from.
    For 99% of my photos I have TIFF files as masters. Not RAW files.
    I use managed library.
    1) Create a book layout (place images, select different crop factors for frames, etc)
    2) Looking at specific page adjust photos using Aperture adjustments (exposure, color balance) to make images to looks similar on the page
    3) A the final step, apply some adjustments from external plugins.
    Here I have the question from subject:
    * The Aperture  sends the whole file to plugin (i.e. some of Nik collection plugins, but it might be a different plugin)
    * But on my photo book page I have a different crop factor (i.e. TIFF master is 2:3, on photo book page I frame it to 1:2)
    * As the result some of the adjustments I did in external plugin are not visible on the photobook page, which produces a different visual effect, which I don't want.
    Currently, to workaround this, I have to manually apply the same crop factor to image version, then make a version copy, open the plugin. Only after these steps Aperture will send the desired crop factor to external plugin.
    This is some sort of technical work which I need to do manually, no brain is involved here - I'm looking to some ways how to automate this.
    As the result, I'd like the crop factor from photo frame from Aperture custom book to be applied to image version.
    Any ideas on scripts/external programs are welcome.
    Thank you!

  • Applying more than one effect to an image

    Hey,
    I'm really enjoying using Aperture to bring some life to some photos, but I have a question.
    How can I apply different effects to the same part of the picture without having to re-select that part again?
    Say I want to select a part of a picture and make it black and white, while the rest of the image stays in colour. Ok, so I select what I need and do this using the B/W effect brush - all good - but now I want to sharpen that exact same selection. Currently, I have to apply a new effect and re-select the part of the image again, but this can bring problems if it's a tricky part to select or has a lot of detail.
    Any ideas?
    Thanks,
    Matthew

    You will want a layers-based image editing app like GIMP, Pixelmator, Photoshop, etc.
    IMO all digital photogs need such an app in addition to an images-management app like Aperture.
    HTH
    -Allen

  • You SHOULD be able to apply batch changes just by selecting multiple images

    Don't get me wrong, i love lift/stamp. It's very helpful.
    BUT, I really hate the fact that in Aperture you can't just drag-select a group of images and then either apply adjustments to all of them, or –more often– keywords.
    Why does Aperture keep you from doing this?
    At the very least, you should have the OPTION in PREFS to do this. Or not.

    I'm sorry you are having difficulty.
    It's simple: you select multiple images, right?. One has a thick white border and the others have thin ones. But, even though you have multiple images selected, if you input keywords, or other metadata, or an adjustment from the Inspector, it only applies to the "primary" image.
    There should be an option to have that be the case... OR, if you want, to apply whatever adjustment from the INSPECTOR you choose... and have that be applied to those multiple images.
    "...why would anyone be likely to want to see each single adjustment step applied to a large number of images before settling on the preferred combination?"
    Because everyone's not you.
    I just shot 100+ table tops that were VERY similar lighting / angles / etc. And I needed to comp them out for the client ASAP. The technique I described would've saved me a lot of time. Instead I had to do ONE image of the mini-batches, and then lift/stamp the rest. When it would've been so much easier for me to drag-select the 8, or 15 in a group, and assign them all keywords at the same time, and do some adjustments. Bam. Quicker.
    Oh, and per the "what is the universe" question? You don't have to look any further than Apple's own operating system to see this "crazy" and "unique" technique in action: go to FINDER, select multiple items of folder (drag around them), and then CTRL-Click and choose a label color. Viola! ALL the items become that color.
    Like I said, I'm only suggesting Apple provide the OPTION of working this way. And it IS the norm in most operating system / program environments.
    In fact, watch the Lynda.com vid on Aperture 3: the MetaData portion, the guy drag-selects a bunch of images and says "...now, you'd THINK you could just enter some keywords for these similar images and have them stick... you'd be wrong. You have to use lift/stamp for that. For some odd reason."

Maybe you are looking for

  • Airport Extreme and 500 Gig drive

    I have 27 MacBook's in a mobile lab connected to a brand new Airport Extreme. The Airport Extreme serves up a 500 Gig drive that (during my tests) I can connect to flawlessly. My laptops all have the user, "Student." In the dock on the Student accoun

  • PL/SQL Webservice in jdeveloper 10.1.3.2.0

    Hi I am very new to Creating Web Services. As I got a requirement to develop a Web Service using PL/SQL. I have gone the posting but could not able to find a document which will give me step by step instructions to create and deploy and test the PL/S

  • Very large file sizes

    I'm saving 1-track GB songs, with 2 effects (mulitband compressor, graphic EQ). The files are running around 100+ MB per minute (one 6 minute song is 1.5 GB!). I know GB is a hog, but is this normal for 1 track (stereo)? mahalo

  • Can't start up AXI4 BFM simulation, XPS 14.7

    I created some template peripheral which works in hardware. I want to simulate it now in BFM. The BFM simulation model creation tick was marked during the peripheral creation in wizard. And appropriate files were created as well. I did compile the HD

  • INVENTORY & ORDER MANAGEMENT Tables join conditions required

    Hi All, I have to create one view, it has to display item_number, item_description,quantity_in_warehouse and pendingquantity_in_salesorder. query is based on INVENTORY & ORDER MANAGEMENT Tables. i have written below query, it is not giving expected o