Unpredicted image distortion and Pixel Bender support

Hi!
I'm running my very simple Pixel Bender filter that replaces colors around the image (inverts pixels). Running on various graphic cards I got sometimes unpredictable results (FP10, Flash), when running this filter on a big number of images (image sizes are 1000x200 pixels).
Images got distorted - the example is included.
I can't find the exact case when it happens, but I think it may somehow connected with GPU drivers. Sometimes I got a correct image, and sometimes not on the same graphic card.
Is there a way to force a filter to use CPU instead of GPU? And is there a function in Flex to detect if the Pixel Bender is supported on a current graphic card and turn it off?

Sorry, I was a bit wrong describing what's happening. I'm running an AIR application (on Windows).
I'm running a filter on BitmapData with applyFilter (checking if it is not null, before the run). The image size is about 1000x200 or 2000x200. There are about 300 images which are processed in a loop. Here's a piece of my code:
                var invertColorShader:Shader = new Shader(new InvertColorKernel() );
                var invertColorFilter:ShaderFilter = new ShaderFilter( invertColorShader );
                var point: Point = new Point(0,0);
                for (var i:Number=0;i<_imagesArrayCollection.source.length;i++)
                        bitmapData = (_imagesArrayCollection.source[i].imageBitmap as Bitmap).bitmapData;
                        if (bitmapData != null && bitmapData.width>0)
                            bitmapData.applyFilter(bitmapData, rect, point, invertColorFilter);
Some times people running my application experience the unpredicted images distortions I have shown above. The configurations range from desktop computers to notebooks , and the above behaviour is random, still cannot find the exact case.
Is there a way in AIR to find if Pixel Bender uses GPU or CPU and force it to switch?

Similar Messages

  • What is the maximum size of an image height (in pixels) that supports Muse? I noticed that if the photo is too high, reduce the Muses. thanks

    What is the maximum size of an image height (in pixels) that supports Muse? I noticed that if the photo is too high, reduce the Muses.
    thanks

    Thanks for the explanation, it was very helpful
    Paolo Guercio
    Il giorno 11/nov/2014, alle ore 17:00, Vikas.Sharma <[email protected]> ha scritto:
    If you place in Muse - an image with either height or width larger than 2048 pixels - Muse scales the image down proportionately, limiting the larger dimension to 2048.
    However, if you want to use the placed image at its original size, you can scale the image up to desired size either by dragging the resizing handles or by entering Height and Width values in the Control Strip on top. After that, go to the Assets panel and locate the image in there, then right click that image in Assets panel and choose "Import Larger Size". That would bring back the lost image information from the original image.
    Hope this gives you clarity on what you wanted to know.
    Cheers,
    Vikas
    >

  • Upgrade causes graphic distortion and pixelation.?

    Hello
    After doing the 10.0.1 upgrade my footage is discoloured and pixelated (not subtle, blue sky is black, blue water is pixelated red black yellow....mess). Has anybody had similar experiences. The footage looks fine in the event browser and in the timeline, but once the mouse is placed over a clip in the events browser, at that position the image/graphics becomes horribly pixelated an discoloured. Also though the timeline thumbnails look fine, once play is engaged the viewer shows this very same pixelated colour distortion. I have only 'converted' one short project (almost finished...maybe not) to the new 10.0.1 format but as a test I also tried unused footage in a new project with the same results. Not so much of an upgrade it seems. Being a smart whipper snapper i held on to the original FCPX , which may or may not be a good thing.
    Any assistance would be very helpful and save me a whole whack of work, and deep pondering.
    Regards
    Krzysztof
    Hello again
    Just a quick note to say that though the footage is a mess with colour distortion and pixelation abounding, upon export the footage returns to it's original state. This does not help with regards to the editing process, but at least the footage is ok.
    K

    Negative. The project is a touch heavy on effects, transitions and the such, but even disengaging the effects does little to resolve what looks like corrupted artifacting.
    Here is a little screen shot example of what i speak of:
    This is a night shot of a street corner.....

  • Is pixel bender support GPU acceleration in Flash Player?

    I know in the earily version of flash player 10, pixel bender is not support GPU acceleration in FP, but now the latest fp is 10.3, is this GPU feature implemented in the latest flash player? appreciate anybody could give me a clue.

    Latest FP (10.3) is not supporting Pixel Bender on GPU yet.  But, it's still on our roadmap.
    Thanks,
    Elba

  • Developing Photoshop Plug In Using Flash and Pixel Bender

    Hello.
    Is there a way to build a Plug In for Photoshop using the Flash (GUI) + Action Script (Auxiliary Functions) + Photoshop Script (Photoshop Built In Capabilities) + Pixel Bender?
    Are there tutorials I can start from?
    Thanks.

    http://www.adobe.com/devnet/photoshop.html
    We have combined the C/C++ SDK, the Companion SDK and the Panel Guide into one SDK. You want the Panel Guide.

  • Layering and Pixel Bending

    I would love some help on picking the photoshop that has the easiest layering process. Also, I was very excited to see Pixel Bending on the internet, but discovered it is no longer available. Is there anything remotely like that available to Photoshop users now?

    That's way too generic a question. I strongly suggest you watch a few tutorials on specific techniques relevant to you and then make up your mind. Pixel Bender was a GPU accelerated processing architecture, whose bits and pieces exist natively these days in many Adobe applications.
    Mylenium

  • Still Image distortion and washed out image quality after exporting

    Hi,
    I am a relatively new Final Cut Studio 2 user I've taken a few classes and I know the basics and a little beyond. So far my projects have been coming out well until I started having to add still images to my projects. When I add these images I size down in Photoshop CS3 appropriately, usually they are really large tiffs or standard jpegs. Then when I import them into Final Cut I size them one more time to match the wire frame. When I play the movie I created in Final Cut it looks great but after I export it using compressor I either get a pixilated type of image distortion or the images are washed out, but its usually only on certain images not all images in the project are affected. My projects usually end up embedded on our website or up on youtube or bliptv, so I have been bouncing between the H.264 300Kbps for medium bandwidth streaming and H.264 800 Kbps for high bandwidth. Would someone be able to tell me if there is a better codec I should use for the web that would get rid of these problems that I am having or do I need to size my images in a different way? Any tips would be greatly appreciated.
    Sincerely,
    The Louse~

    No help on this

  • X1600 graphics and Pixel Shader support

    I have a first gen 17" MacBook Pro (2.16GHz, 2GB RAM, ATI Radeon X1600 graphics) with a graphics card that's supposed to support Pixel Shader 3.0 as documented here. However, when I run this software, the features that create textures and images onto 3D surfaces don't work. My understanding is that they should work with the X1600. Can anyone shed some light on this apparent incompatibility?

    try looking thru this, doc links & there is a compatability matrix of features. pretty extensive look at OpenGL for Macs.
    http://developer.apple.com/graphicsimaging/opengl/

  • HT201504 anyone have a cheat sheet on the image size and pixels displayed in the books?

    In iphoto, creating a book, layout grids offer different options. Finding an exact fit took several attempts at least to get size (pixels) correct. I had to slowly shave off strips of images. Is there a general guide. There are many options to choose, close-up faraway, side by side. Is there an approx. recommended size  for the different grey pictures indicating distance from camera to subject?

    You would need to use Photoshop scripting to do that. Also using number of Pixels might not be what you want to use.  While number pixel is an absolute number pixels you have have no size information till there is a DPI resolution involved. At 300 DPI 300 pixels are 1" in size at 72 DPI 300 pixels are 4.16 inches in size.
    A conditional action is not possible adobe conditional action support but is possible with the downloadable script  Siva's Contitional Action

  • After Effects Preview Resolutions and Pixel Bender

    Hi,
    Hopefully this is a simple fix. I've encountered an issue with PB filters and After Effects's variable preview resolution. Consider this simple kernel:
    <languageVersion : 1.0;>
    kernel gridTest
    <   namespace : "quarterlightpictures.com";
        vendor : "Quarterlight Pictures";
        version : 1;
    >
        input image4 src;
        output pixel4 dst;
        void evaluatePixel() {
            float2 coordFloored = floor(outCoord());
            dst.rgb = float3(0.0);
            if(mod(coordFloored.y, 50.0) < 1.0)
                dst.rgb = float3(1.0);
            dst.a = 1.0;
    All it does is draw some 1px thick horizontal lines 50 pixels apart. This is fine, of course. However if I set the preview resolution in After Effects to 1/2, the lines are no longer drawn - the comp goes completely black. What I'd expect is the output to be subsampled in AE, and the lines to become 2px thick, but half as bright, which is what happens if I add a Grid effect and do the same.
    At 1/3 and 1/4 resolution the lines do appear sporadically - but not everywhere theyr'e supposed to be - and are drawn 3 and 4 pixels thick accordingly.
    Does PB work pre-or-post down-res? In other words, does a PB filter run, send its output to AE's comp window and then gets down-ressed for preview (if the resolution isn't full), or does it down-res the dource and pass it to PB? If it's the former then it should just work as I expect. If it's the latter, then are my source dimensions becoming halved, or are my pixel sizes becoming 2x2?
    Hope that makes sense. This is causing an issue with a plugin I wrote using PB, with things disappearing when adaptive resolution kicks in.
    Thanks,
    Christian

    I've figured it out.
    If you test like so, it works!
         dst.rgb = float3(0.0);
         if(mod(coordFloored.y, 50.0) < pixelSize(src).y)
                dst.rgb = float3(1.0);
            dst.a = 1.0;
    Christian

  • Pixel Bender in Air for iOS

    Hello,
    Just checking in with the employees at Adobe to see if there are any plans to support the awesome pixel bender technology in the iOS world.
    Josh

    Sorry we do not discuss future plans on the forums. Contact the AIR or Flash teams and let them know you'd like to see Pixel Bender support in AIR on iOS if that's something that interests you. Best of luck.

  • PIXEL BENDER FOR ELEMENTS  10

    I DOWNLOADED THE PIXEL BENDER FROM THE ADOBE WEBSITE BUT FOR THE LIFE OF ME CAN NOT FIGURE OUT HOW TO GET IT TO WORK WITH ELEMENTS 10.  PIXEL BENDER DOES NOT SHOW UP IN THE "FILTER" TAB LIKE IS SAY IN THE INSTRUCTIONS.  PLEASE HELP THIS IS DRIVING ME INSANE.
    THANKS FOR ANY AND ALL HELP
    LINDA

    Pixel Bender has been discontinued by Adobe
    http://blogs.adobe.com/jnack/2012/07/changes-to-pixel-bender-support-2.html
    However, I understand that it only worked with Photoshop CS4 and Photoshop CS5.
    There's no Pixel Bender for Photoshop CS6 nor any version of Photoshop Elements.
    Which instructions are you reading? Got a link?

  • Pixel Bender Toolkit - Groan!

    It seems to me that the Pixel Bender Toolkit is an unloved piece of software. I Sunday afternoon on a project, pulling my hair out trying to figure out why my filters where behaving oddly.
    This evening, I've realised that the toolkit always to seems to save the PBJ and PBK files to the Adobe/Pixel Bender directory under my documents folder. Even if I open a PBK file from another directory, toolkit saves in its default directory. It's a proper return to the 1980's where I have to reset the directory path whenever I save or export a filter.
    While I'm at it, can we have better Pixel Bender support in Flash Player? Arrays and functions would be nice.

    Please post your feature requests on the Pixel Bender Wishlist thread at http://forums.adobe.com/thread/787658?tstart=0. As for the Flash Player request, you will need to direct this request to the Flash Player team. I suggest that you post this request on the Flash Player forum. Best of luck.

  • Looking for filters for Pixel Bender CS4 32 bit OS

    I just downloaded and installed Pixel Bender as I am hoping to get something similar to 'oil painting".
    Looking for filters for Pixel Bender for:
                                                           CS4 32 bit OS.
    Is there any out there?

    I don't think you'll find an oil paint filter for photoshop cs4, since it wasn't until photoshop cs5 and pixel bender that had the oil paint filer and as far as i know, adobe
    has never made the oil paint code public.
    There used to be lots of pixel bender filters for photoshop cs4 on the adobe exchange, but adobe shut it down.
    https://forums.adobe.com/thread/1513504
    You can look at what was available and see if any external links are given to the authors websites where you still be able to get some of them.
    https://web.archive.org/web/20130415124419/http://www.adobe.com/cfusion/exchange/index.cfm ?event=productHome&exc=26&loc=en_us

  • Image Processing Algorithms - From Matlab to Pixel Bender

    Hello.
    Got a few Image Processing (Mainly Image Enhancement) Algorithms I created in Matlab.
    I would like to make them run on Photoshop, Create a Plug In out of it.
    Would Pixel Bender be the right way doing it?
    The Algorithms mainly use Convolutions and Fourier Domain operations.
    All I need is a simple Preview Window and few Sliders, Dropbox and Buttons.
    I'd appreciate your help.

    pixel vs float - Couldn't figure out what exactly is the difference if there is at all. I assume Pixel always get clipped into [0 1] and float won't until it gets to be shown on the screen as an output?
    There is no difference between them. At one stage of development we had some ideas about the way the pixel type should work that would make it different to float, but the ideas never came to anything and by the time we realized that it was too late to change. It's #1 on my list of "mistakes we made when developing Pixel Bender".
    Regions - Let me see if I get is straight. For the example assuming Gaussian Blur Kernel of Radius 5 (Not the STD, but the radius - a 11x11 Matrix). I should use "needed()" in order to define the support of each pixel output in the input image. I should do it to make sure no one changes those values before the output pixel is calculated.
    Now, In the documentation is goes needed(region outputRegion, imageRef inputIndex). Should I assume that at default the outputRegion is actually the sampled pixel in the input? Now I use outset(outputRegion, float2(x, y)) to enlarge the "Safe Zone". I don't get this float2 number. Let's say it's (4, 3) and the current pixel is (10, 10). Now the safe zone goes 4 pixel to the left, 4 to the right, 3 up and 3 down? I assume it actually creates a rectangle area, right? Back to our example I should set outset(outputRegion, float2(5.0, 5.0)) right?
    Needed is the function the system calls to answer the question "what area of the input do I need in order to calculate a particular area of the output?".
    I should do it to make sure no one changes those values before the output pixel is calculated.
    No, you should do it to make sure the input pixel values needed to compute the output pixel values have been calculated and stored.
    Should I assume that at default the outputRegion is actually the sampled pixel in the input?
    No. When "the system" (i.e. After Effects, PB toolkit or the Photoshop plugin) decides it wants to display a particular area of the output, it will call the needed function with that area in the outputRegion parameter. The job of the needed function is to take whatever output region it is given and work out what input area is required to compute it correctly.
    Let's say it's (4, 3) and the current pixel is (10, 10).
    Don't think in terms of "current pixel" when you're looking at the needed function. The region functions are not called on a per-pixel basis, they are called once at the start of computing the frame, before we do the computation for each pixel.
    Back to our example I should set outset(outputRegion, float2(5.0, 5.0)) right?
    Yes - you're correct. Whatever size the output region is, you require an input region that has an additional border of 5 pixels all round to calculate it correctly.

Maybe you are looking for

  • Help on 'GET_WEEK_INFO_BASED_ON_DATE'

    Hi all, I have problem with the following code. CALL FUNCTION 'WEEK_GET_FIRST_DAY'            EXPORTING                 week         = s_kweek            IMPORTING                 date         = s_date            EXCEPTIONS                 week_inval

  • Why does my published site add extra characters?

    Every time I try to add a £ symbol I get an extra symbol appear when it is published ? i have tried changing fonts

  • WebDynpro application for Blackberry - TextView problem??

    Hello: I am developing a WebDynpro application for Blackberry, which I show a TextView, but happens that the text leaves together all and the jumps of Line are not applied (\ n), as I can solve this?

  • Selecting html source from the text pane

    Help!! I am selecting text in the HTMLEditor text pane but when I look at the selected text it does not include tags like image and table tags. I would like to somehow grab the selected html source based on what is selected in the text pane. Is there

  • CSa and MS Exchange

    In the CSA Whitepaper the list there being a Pre Canned Policy for Exchange, however I don't see this listed in my lists of policies. Does anyone have any recommendations for what policy elements should be included for a Exchange 2003 installation Th