Distributed Image Filtering

Hi,
I needed some subject for my project at the University and I thougt that "Distributed Image Processing" would be something easy for a project in distributed systems. I wanted to have some image on the server, cut it into smaller pieces and send it to remote servers so they could filter it (for example: sharpen or blur ). After filtering they would send it back to the main server and put it back together. Of course I don't take into acount the edges and the problems with them.
I've been looking for some information for a week and I haven't done much progress in this field. The first thing is that images cannot be to large because I got an error about/of having to small size of heap(i know that i can increase it) but it's not the biggest problem.
I don't know how to cut them and send them to the servers. Clas BufferedImage is not proper for this kind of operations. I've read about JAI and its class TiledImage but I have no idea how to operate on those Rasters returned by this class operations. The 3rd thing is serialization, I need some object which would implement Serialization to sent it through web RMI.
Do you have any ideas, tips how could I do it? Is it possible to make it in simple way?
I'm a new person on this forum
Best regards to everyone and thanks for any clues
Jakub

Hi,
I needed some subject for my project at the University and I thougt that "Distributed Image Processing" would be something easy for a project in distributed systems. I wanted to have some image on the server, cut it into smaller pieces and send it to remote servers so they could filter it (for example: sharpen or blur ). After filtering they would send it back to the main server and put it back together. Of course I don't take into acount the edges and the problems with them.
I've been looking for some information for a week and I haven't done much progress in this field. The first thing is that images cannot be to large because I got an error about/of having to small size of heap(i know that i can increase it) but it's not the biggest problem.
I don't know how to cut them and send them to the servers. Clas BufferedImage is not proper for this kind of operations. I've read about JAI and its class TiledImage but I have no idea how to operate on those Rasters returned by this class operations. The 3rd thing is serialization, I need some object which would implement Serialization to sent it through web RMI.
Do you have any ideas, tips how could I do it? Is it possible to make it in simple way?
I'm a new person on this forum
Best regards to everyone and thanks for any clues
Jakub

Similar Messages

  • Image Filters for InDeasin CS

    I have been running InDesign CS 3.0 for years and suddenly it asks for Image Filters and Avast blocks these siting malicious files. Does anyone have a solution?
    InDesign still runs on a computer that never sees the Internet.

    You cannot attach to the forums, you need to come back to the web page and use the camera icon to embed the images in a  post, like this:
    I find it more likely thatyour unconnected machine is not suffering from Avast finding a false positive, either because it isn't running, or becasue it hasn't received the same defective update. ID would not be looking for new versions of image filters on startup. If there were any, they would only be installed as part of a program update, and there hasn't been one of those for CS3 for years. ID does load existing plugins into memory, though as it starts up, and it sounds like Avast has taken a dislike tothe image filter plugins.
    In case you haven't caught the undercurrent of what I'm saying, the problem is most likely Avast, not anything to do with ID.

  • Image filters for LabVIEW

    Hi,
    I'm looking for image filters in LabVIEW similar to PhotoShop or Paint Shop
    Pro filters.
    Do you know something about that?
    Miguel.

    Miguel,
    The IMAQ Vision toolkit has some simple filters available. Most of them are also available in Vision Builder. However, any "high-tech" filters like the ones in PhotoShop would have to be developed from scratch.
    I have some experience designing image filters. I would be glad to discuss any specific filters you are trying to achieve. I can be contacted at [email protected]
    Bruce
    Bruce Ammons
    Ammons Engineering

  • Error When Distributing Image

    After updating my image this month to include patches, I've had a distribution point failing on the transfer.
    The image transfers successfully to my other 11 distribution points, but is failing on one. As a note, I can distribute smaller packages (software up to 1GB) successfully, but cannot distribute images.
    Image Size: 7.8GB
    Free Space of DP: 18GB
    PkgXferMgr.log shows the error below:
    ExecStaticMethod failed (80041001) SMS_DistributionPoint, AddFile SMS_PACKAGE_TRANSFER_MANAGER 4/2/2015 9:25:56 AM 6596 (0x19C4)
    CSendFileAction::AddFile failed; 0x80041001 SMS_PACKAGE_TRANSFER_MANAGER 4/2/2015 9:25:57 AM 6596 (0x19C4)
    ExecStaticMethod failed (80041001) SMS_DistributionPoint, AddFile SMS_PACKAGE_TRANSFER_MANAGER 4/2/2015 9:25:57 AM 6596 (0x19C4)
    CSendFileAction::AddFile failed; 0x80041001 SMS_PACKAGE_TRANSFER_MANAGER 4/2/2015 9:25:57 AM 6596 (0x19C4)
    CSendFileAction::SendFiles failed; 0x80041001 SMS_PACKAGE_TRANSFER_MANAGER 4/2/2015 9:25:57 AM 6596 (0x19C4)
    CSendFileAction::SendFiles failed; 0x80041001 SMS_PACKAGE_TRANSFER_MANAGER 4/2/2015 9:25:57 AM 6596 (0x19C4)
    Sending failed. Failure count = 1, Restart time = 4/2/2015 9:55:57 AM Eastern Daylight Time SMS_PACKAGE_TRANSFER_MANAGER 4/2/2015 9:25:57 AM 6596 (0x19C4)

    Is there anything changed or unique about the problem DP? Is the DP in a secondary site? Is it at a location with a slow link?
    Jeff

  • Faster image filters

    Hello,
    As the VolatileImage class allow us to render images faster than BufferedImage,
    I wanted to know if there was a way to filter images faster than with ImageFilter classes.
    I ask that beacause I want to create some image effects for video game programming,
    and I find the ImageFilter classes are time consuming.
    Thank you in advance

    Miguel,
    The IMAQ Vision toolkit has some simple filters available. Most of them are also available in Vision Builder. However, any "high-tech" filters like the ones in PhotoShop would have to be developed from scratch.
    I have some experience designing image filters. I would be glad to discuss any specific filters you are trying to achieve. I can be contacted at [email protected]
    Bruce
    Bruce Ammons
    Ammons Engineering

  • Hello , need more core image filters

    Hey folks first post here, but would like to say thanks to all for the great info -you folks put this noob at ease . I need an app or plug in that can do lightning fx, im using gimpshop and am told that photoshop plugs work with gimpshop ? Well i have to say gimpshop is great and free wich blows me away ,now i know i need to up my ram all the way but it seems to be the only image editor that does not over tax the ram !!! I have 1GB ram and have used live quarts -image trix and even the core image funhouse thats bundled in the developers tools -and they all seem to eat ram fast .A layer or two and filter next thing i know it slows down or wont respond , and i look in the console logs i keep geting these wormy v-ram message any idea what the **** that is ?
    core duo 17'' in   Mac OS X (10.4.7)   1 GB ram

    This is incorrect. There are in fact more filters in FCE4 than in earlier versions. I notice that you have a G4. If this is the computer you're using many of the newer filter will not work with that machine unless you have an upgraded graphics card, though I'm not sure you can get one that will do it for that. That might be one reason you appear to see fewer filters, but all the old filters should be there are well, except for a one or maybe two that were removed because they never worked properly.

  • Slow Image Filtering

    I need to aplly a multiply filter (src*dest) to these iamges
    image=(BufferedImage)sprite.getSprite(spriteName);
    multi=(BufferedImage)sprite.getSprite("degra.jpg");
    for i...
    for j..
    color=image.getRGB(i,j)*multi.getRGB(i,m);
    image.setRGB(i,j,(int)color);
    but is soooo slow. Could someone help me?.

    Take a look at this thread. It specifically has to do with adding colors, but it should give you the general idea
    http://forum.java.sun.com/thread.jspa?threadID=640347

  • Distributing Images Problems...

    I'm unable to create a background or place my inserted image behind text.  What is going on?

    Pages 5 has over 90 other features removed:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=b14426a2c5af2 65f2213d98ee45f08d7&mforum=iworktipsntrick
    Pages '09 should still be in your Applications/iWork folder.
    Export your Pages 5 files to Pages '09 or Word .docx and trash/archive Pages 5.
    Then rate/review Pages 5 in the App Store.
    Peter

  • Can't update MAC filtering in ServerAdmin/NetBoot at the Image level

    Strange business here.
    I have one NetBoot image, set as Default. It's enabled and diskless. Clients can NetBoot to it just fine - no problem. It's great.
    I have two NetInstall images, created successfully with the System Image Util. They're both enabled... but no matter what I do, clients don't see 'em and won't install from 'em.
    I think it has to do with filters at the Image level, but I'm not sure:
    On the NetBoot image - the one that works fine - the image filters are set to (model filter) "Allow Any Apple Computer" and (Mac Address) "Allow only clients listed below (deny others)." Thing is, nothing is listed under MAC address filtering... so WHY is this working for the clients? and why are the NetInstall images not working? They have the same Image-level filters in place.
    In fact, on the Image filter pane, no matter what I change, the changes aren't saved - when I click "OK," then go back into the pane, it's blank again.
    Everything's on the same subnet; there's no funky networking going on or anything like that. NetInstalls work(ed) fine from my Tiger server. Note that my DHCP resides on a separate Windows server. Since I've been able to NetBoot and NetInstall from my 10.4 machine, I'm not inclined to think the DHCP is at fault here.
    Oh - and one other tasty tidbit: in the Log files I see "can't open /etc/bootptab". This isn't entirely surprising since I went to /etc and there isn't a file or directory there by that name...

    Per image MAC address filtering, sadly, does not work. Although I don't believe it will interfere with anything, you're probably best off just leaving that action out of your workflow.
    Server level filtering works fine. If you need MAC address filtering, you'll have to do it there.
    One quick thing you can try... toggle something on the image (enabled state for instance) and click "save". This may reset bootpd if it has cached old data.

  • Pixelated images on some Android browsers when scaling is started with 1%

    Hi,
    I am VERY new to Edge. I have an animation with SVG graphics. When their size is scaled from initially 1% to 100% the images appear very pixelated in some Android (Android version >= 4.2, I think) browsers.
    Why is that? What can I do?
    Thanks,
    Ropo

    Hi,
    We have addressed the SVG Pixilation issue which is observed on browsers when any SVG content is animated with "scale up" transform within Animate in the latest Edge Animate CC 2014 build available now on Creative Cloud.
    To solve the problem we are scaling up the container div by a factor of 10(which is by default) and then using image filtering to reduce the resolution based on the inverse scale. However, the Property Panel will show this inverse transform scale since that is the transform scale applied to the SVG element.
    Do try out this feature and let us know your feedback on the same.
    Thanks and Regards,
    Sudeshna Sarkar

  • Monitoring progress when performing filter operations on images

    Hi,
    I am working on Java2D and making some image filters using classes like ImageFilter etc. Now For simple filters I want to get the progress status while the filteting is in progress, so that I can show a progress bar in the GUI.
    For this I do not have much idea. I think we can use the ImageConsumer interface, so that if the class implementing that interface list itself as an image consumer with the filter operation. Here is two way I have tried implanting this:
    1st way:
    Class MyConsumer implements ImageConsumer
    int width,height;
    int percentProgress;
    Public image processImage(Image srcImage, ImageFilter filter){
    FilteredImageSource fis: new FilteredImageSource(srcImage.getSource(),filter());
    //should we do this?
    fis.addConsumer(this);
    //or this?
    srcimage.addConsumer(this)
    Image destImage = this.createImage(fis);
    return destImage;
    //implementing methods of imageConsumer
    //we get the width and height of the new destImage (or do we get the dimension of the srcImage here??)
    public void setDimensions(int width, int height){
    this.width=width;
    this.height=height;
    public void setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int off, int scansize){
    // Is this the correct way of obtaining the progress????
    progressPercent=(y*100)/height;
    //We also have empty implementation of other ImageConsumer methods after this
    --------------------------------------------------------------2nd way, let?s say we use a smooth filter and replace the processImage(..) method above with the one below (the other methods being same):
    Public image processImage(Image srcImage){
    float[] SHARPEN3x3 = {      0.f, -1.f, 0.f,
                                -1.f, 5.0f, -1.f,
                                0.f, -1.f, 0.f};
    BufferedImage dstbimg = new
                  BufferedImage(iw,ih,BufferedImage.TYPE_INT_RGB);
    Kernel kernel = new Kernel(3,3,SHARPEN3x3);
    ConvolveOp cop = new ConvolveOp(kernel,
                                    ConvolveOp.EDGE_NO_OP,
                                    null);
    //should we do this?
    dst.addConsumer(this);
    //or this?
    srcImage.addConsumer(this);
    cop.filter(srcImage,destImage);
    return destImage;
    }Now I do get a progressPercent. But when the percent is 100%, the destimage does not return, that means the operation is not yet complete.
    So is this the correctw ay, or is there any other way to know the progress of the flter operation.
    Also I extended the ImageFilter class and overrode its setPixel method as:
    public void setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int off, int scansize){
    int progressPercent=(y*100)/height;
    System.out.println("progress in image filter:"+progressPercent);
    //I simply print out the progress and let the super perform the filter operation
    super.setPixels(x, y,w, h, model, pixels, off, scansize);
    //should I do this below? This calls the imageconsumer's setpixels
    //that I implement in the MyConsumer class
    consumer. setPixels(x, y,w, h, model, pixels, off, scansize);
    }I observe that the setPixel method of MyImageFilter is called several times even for the same scan lines, and even after percentProgress is 100%, the process runs again for 2-4 times. So the filtering operation scans the lines several times to finally perform the filtering, and as such the percentProgress is incorrect.
    Can anybody guide me. Is this approach okay and needs to be modified a bit, or there is a different approach to obtain the progress from a filter operation?
    I would finally want the same progress from other operations like LookupOp, ConvolveOp, AffineTransformOp, ColorConvertOp, RescaleOp.
    Thanks in advance
    Tanveer
    DrLaszloJamf, are you there? I am sure you are one of them who can help me in this.
    anyone can send me a private message too at [email protected]

    Please somebody let me know how to get the progress of imagefilter operation using convolveOp.filter(...) or Filteredimagesource. I waant to display the progress i a JProgressbar.

  • LMS 4.2 possibility to md5 checksum all ios images in repository?

    Hi,
    Recently we upgraded a switch with an image from the repository in LMS. After the installation of the image it seemed corrupt.
    My question now is : Can we do a MD5 checksum on all the images in the local repository to verify that all images are ok to use?
    Kind regards
    Steven

    Hi,
    I know this is a really old thread but I have a question regarding the MD5 checks.
    I am using a freshly installed Prime LMS 4.2.5 and I would like to know is the LMS is checking the file checksum of the IOS copied to a router/switch to make sure it's integrity is good? Or it is still not implemented? I am asking this because I see the SNMP OID 1.3.6.1.4.1.9.9.10.1.1.4.2.1.1.3 (ciscoFlashFileChecksum) in the traffic between LMS and the devices but I don't see any evidence in LMS job about this integrity check (neither in the telnet session commands).
    [Update I] Just to inform you - if you ran into the same problem:
    I opened an SR with Cisco to ask them about this and a nice engineer made a thorough investigation and the result is: during a deployment job LMS 4.2.5 does MD5 verification on the image copied on the device (but from another SR I know that the Prime Infrastructure 2.2 does not do MD5 verification on the image copied on the device, only when importing the image to the repository).
    [Update II] Bug for this PI problem: PI (Version 2.2 and above), while distributing image into device, validates successful image copy by validating a copy prompt from the device - so only checking the size of the image, not the MD5 hash.. https://tools.cisco.com/bugsearch/bug/CSCut63077
    Waiting for a reply:
    Norbert

  • HOW TO MAKE IMAGE TRANSPERANT

    Hello All,
    I have two images one as background and another one is to
    place on background image.
    Upper one I need transperant. How to write code to
    make image transperant?
    CAN ANY ONE HELP?
    Sharmila.

    If you want to do on the fly image transparencies then you want to look in the java.awt.image package. There is are some pretty powerful image filters in here and after the initial learning curve, it isn't terribly complex to create your own image filters. For a school group project we created a logic puzzle game based on a shareware program alreay out there. The shareware program had a tileset format that we wanted to use in our application, but the transparencies weren't set up correctly. We ended up adding the transparencies on the fly. I wish I had the piece of code handy but I can remember enough to point you on the right path.
    If you subclass java.awt.image.ImageFilter and override the two setPixels() methods, you can provide any manipulation you need to. Basically the image producer will pass in the pixels in one huge byte (or int) array top left to bottom right order. What we did, was get the color out of the first pixel and make that our transparency color. The byte method has two bits per color while the int method has 8 bits per pixel. The color is divided into r(ed), g(reen), b(lue), a(lpha) (I can't remember if alpha was first or last, a little expirimentation will tell you). The alpha is opaque at one extreme and fully transparent at the other extreme. Loop through the array and if the color is the same as your first pixel then set the alpha to 0 (or was it 15/255?).
    Good luck!

  • How do I place a particular image for ex. .png or .jpg in postscript file?

    Hi all,
    Can some one help me out by telling how to place a image with in postscript file, I see some binary code in .ps file which are stated in examples.
    Is there any way to encode/decode the image in to this binary format and place it in .PS file.
    Regards,
    Ravi Nandan

    Adobe has published a downloadable Technical Note #5095 (JPEG Source Vendor List) that includes an Appendix titled "Printing JPEG-Compressed Files", which includes sample code.
    This would be a good place to start.
    Then, depending on the PostScript Language Level of the interpreter you are using:
    Another Technical Note #5603 (Filters and Reusable Streams) has a much more extensive explanation of the PostScript Language Level 3 filters, including GIF and PNG image filters.

  • Flash making rotated images crunchy

    greetings Flash gurus,
    anytime i rotate a bitmap image, it gets VERY crunchy. the
    edges are especially noticeable (although it is clear that the
    entire image gets affected). this happens even with high quality
    mode set for the resulting swf. the resulting bitmap looks like it
    has been sent back to to 1990, rotated by some cheap process, and
    then returned to 2008. :( seriously, is Flash no better at
    interpolating images than this ?
    (yes i know that Flash was originally designed as a vector
    engine (I am an old Flash user getting back into it) ... but the
    image handling looks no better than when i first used images with
    Flash back in the day)
    i am really hoping that someone here can tell me how to
    improve this image rotation/scaling issue -- please tell me there
    is a setting somewhere that allows me to turn on "high(er) quality"
    bitmap interpolation... an entire project depends on this !
    thank you very much in advance.

    Hi Dave, thanks for your input.
    (what follows is not addressed to you, but rather to Adobe,
    hopefully for the benefit of the Flash community at large... )
    with all of the other feature additions and optimizations
    that Flash has had over the last 4-5 years (video support, image
    filters, actionscript 2 & 3, data remoting, etc.) it just
    surprises me that this has not yet been addressed. it is SO
    basic...
    in fact, smooth bitmap interpolation is one of the most basic
    visual requirements that any pixel-conscious developer (or viewer)
    would expect. YES it impacts performace, but give the developer the
    OPTION of choosing between (or balancing) performance and
    smoothness. (Adobe are you listening?)
    right now my test anim (with crunchy bitmaps) runs
    super-smoothly up to 100 fps (the bitmaps are quite small). it
    would be perfectly OK if it only played back at 30 or even 20 fps
    but *with* smoothly interpolated (rotated) bitmaps.
    if Adobe hasn't added this kind of optimization in by now, i
    hope they realize what an eyesore it is and implement a modern
    interpolation solution sooner rather than later.

Maybe you are looking for

  • CO-OM-CCA: Actual - Line Items DSO Object

    Hi Friends, As per SAP NOTE 55356, we are going to introduce 0CCA_O09 DSO between 0CO_OM_CCA_9 (Delta)--> 0CCA_C11 Cube Data Flow to extract current data. The DSO needs to be operated in mode "Overwrite" in order to delete redundant data by the ODS O

  • Regarding ECC 6.0

    Hi Experts, Program is exeuting syntatically fine, but, when executing its show, time exceed error in ECC 6.0 , initially it is developed in 4.6c. Please, can any one suggest this same code to incorporate in Forall entries.   SELECT abukrs aebeln beb

  • Regarding classic with holding tax

    plz tell classic WHT confguration .& j1i8 ,j1it,j1il importence of thease TCs my id is    [email protected]

  • Access-list problem ?

    Hello, I/m having problems getting an access-list to work.With the access-group 104 in i lose my internet connectivity. Here's the config. If i remove the access-group 104 in from the gigabitinterface0/0 all works but I want to have the settings on t

  • Multiple backend systems for business package ESS/MSS

    Hi, I would like to know whether there is a smart solution for connecting the business package ESS/MSS with multiple backend systems (up to 10 systems). I am aware of the possibility using parameter "sap-wd-arfc-useSys", but this implies, that conten