Pixel Bender filter to process DICOM images

I was wondering whether it would be possible to process DICOM
images (used in medical)? It would be great if the high-speed
processing engine of Pixel Bender would be able to change
brightness/contrast of DICOM images on the fly (and visualise the
result of course). Anybody any ideas?

I don't see any reason why you couldn't use Pixel Bender to
process the image if you had the right DICOM decoder (image
loader). The only requirement for processing using Pixel Bender is
that you need the image data in a big buffer with a < 4 channel
chunky format.
From my (limited) understanding of DICOM, the images are
saved using JPEG, so what you are trying to do should be
possible.

Similar Messages

  • Problem Opening Pixel Bender Filter

    I just recently downloaded this Pixel Bender Filter for Photoshop CS4 (Win 32-bit). I downloaded it and finished installing with the adobe extension manager. However when I tried to use the pixel bender filter, photoshop becomes non responding and says: Adobe Photoshop CS4 has encountered a problem and needs to close. We are sorry for the inconvenience. Does anyone know why this is happening? Looks like a sick filter and I wanna use it!
    Thanks

    I believe your card is a shader model 2 card, we require a minimum of shader model 3, so the Pixel Bender plugin should warn you up front that your graphics hardware is not supported. I'm not sure why the plugin is not doing so but I do not expect Pixel Bender to work on your hardware. Sorry.

  • How to upload Pixel Bender Filter to Photoshop CS5 on Mac?

    How to upload Pixel Bender Filter to Photoshop CS5 on Mac? It installs to Utility Folder and I cant understand install from there? Haven't installed a plug in for a while!

    The link for the photoshop cs5/cs5.1 pixel bender plugin is broken on the pixel bender web page, so you probably installed the pixel bender toolkit.
    Below are the links for the photoshop cs5/cs5.1 pixel bender plugin.
    CS5 64 bit
    Here is the pixel bender plugin for the 64 bit version of photoshop cs5 on windows and mac
    http://download.macromedia.com/pub/developer/pixelbender/pixelbenderplugin_p3_pscs5_64bit_ 061711.mxp
    For the 32 bit version of photoshop cs5 on windows
    http://download.macromedia.com/pub/developer/pixelbender/pixelbenderplugin_p3_pscs5_32bit_ 061711.mxp
    If you have photoshop cs5.1
    windows cs5.1 32 bits
    http://download.macromedia.com/pub/developer/pixelbender/pixelbenderplugin_p3_pscs5-1_32bi t_061711.mxp
    64 bits cs5.1 windows and mac
    http://download.macromedia.com/pub/developer/pixelbender/pixelbenderplugin_p3_pscs5-1_64bi t_061711.mxp

  • 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?

  • Installed pixel bender but it doesn't show up under filter

    I am running CS5 Standard 64 bit Windows 7 Professional and downloaded and ran "pixelbenderplugin_p2_64bit_090910.mxp" that appeared to end successfully however; pixel bender doesn't show in the filters drop down list.  I could not see how I directed the plugin in CS5 edit preferences.  Any suggestions on how to proceed?
    Thanks............Ralph

    Duuuh.  I finally figured it out.  I had to right click on the Cs5 Extension Manager and not the executable file which was what I was doing.  Right clicked the Extension Manager and selected run in administrator mode and it ran successfully.  Started CS5 and the pixel bender filter was there.
    Thanks you all so much and I am sorry to have caused you to waste so much time.  If you don't mind and know the answer, why when I get this same message when installing other plugins just responding continue allows it to work fine.
    Again thank you for fixing my problem..........Ralph

  • Pixel Bender problems

    I used the Oil Paint filter on an image, but when I then tried to use the Brush Stroke filter, it was grayed out (along with several other filters)..  I converted the original image to a smart object before applying the Oil Paint filter in Pixel Bender. The technique is one used in a Kelby tutorial, but in that one the instructor used the Brush Stroke filter. Nobody in the Pixel Bender forum has an answer.  In addition, I tried to uninstall the plug-in and Extension Manager said I lacked the appropriate permission to remove Pixel Bender. I am logged in as Adminstrator, so I don't know what further permission I might need.

    Is your image 16 bits/channel and is that one of the pixel bender filters or Photoshop filter effects filter
    Filter>Brush Strokes?
    Try converting your image to RGB color and 8 bits/channel. Image>Mode.
    To uninstall the pixel bender filter right click on the extension manager shortcut and choose Run as Administrator.
    MTSTUNER

  • Applying Pixel Bender Filters to MediaElements

    Hi,
    I want to apply a Pixel Bender Filter to an ImageElement. In general I do this like:
    var shader:Shader = new Shader(new PBFilter() as ByteArray);
    var filter:ShaderFilter = new ShaderFilter(shader);
    var image:Image = imageElement as Image;
    image.filters = [filter];
    Now ImageElement doesn't support the .filters parameter. Are there any plans for this function in a future release of OSMF? Or are there different ways to apply a Pixel Bender filter? Thanks

    If you're working with the MediaPlayer, then you can assign the filter to the MediaPlayer's displayObject property once the image is loaded:
    mediaPlayer.addEventListener(MediaPlayerStateChangeEvent.MEDIA_PLAYER_STATE_CHANGE, onStateChange);
    mediaPlayer.media = imageElement;
    function onStateChange(event:MediaPlayerStateChangeEvent):void
       if (event.state == MediaPlayerState.READY)
          mediaPlayer.displayObject.filters = [filter];
    If you're working with the ImageElement directly (and no MediaPlayer), then you would need to access the element's DisplayObjectTrait, which holds the DisplayObject.

  • Advanced Flex / Pixel Bender interactions

    Hello,
    I've been looking through the documentation on both Pixel Bender and Flex, and I'm trying to figure out if this even possible:
    Basically I start out with floating point image data in a ByteArray and I'd like to run a Pixel Bender filter or shader job on the data in floating point, then convert it to 8-bit / channel RGBA on the output.
    I know I can start with a 8-bit BitmapData and use a Pixel Bender shader to produce a new 8-bit BitmapData. Or I can start with a floating point ByteArray, use ShaderJob to compute a new floating point ByteArray.  Can I use ByteArray input and output to BitmapData?  Put another way, do the input and output classes/dimensions of a shader job or pixel bender filter have to match?  I'd like to take advantage of the fact that when using a BitmapData object, Pixel Bender (or Flash), converts the floating point Pixel Bender data to 8-bit for you automatically.  It would also save me the trouble of unpacking a linear list of floats into a 2-dimensional image with setPixel32() calls.
    Thanks all.

    Hi David -
    Thanks for those examples. The audio visualizer is pretty cool, but looks like the author witheld the source code for us to look at .
    I did find another blog posting that's helpful too - converting a BitmapData object into a Vector of RGBA floats with Pixel Bender:
    http://webr3.org/blog/general/pixelbender-is-more-useful-than-i-assumed/comment-page-1/
    I'll see if I can figure out going backwards.
    I'm curious if anyone could shed light on what's going on with memory under the covers. I found another blog post that treats a Vector as if it's a 2-dimensional object like an image:
    http://blog.robskelly.com/2009/02/using-pixel-bender-for-math-in-flashflex/
    This raises questions about what do the width and height input/output parameters actually control if you can treat a flat Vector as an object with width and height?  Does anyone know? Does that only work with Vectors? What about ByteArrays?  Does this basically mean that width/height are only convenience parameters and you could put any 2 numbers that multiply to the size of your data?   How does this affect the input type inside the shader (image1 vs image4)?  Why does Rob Skelly's example above even work at all?
    I'll hack away at trying to get stuff working, and re-post if I figure something out.

  • Pixel bender filters in Photoshop Panel

    Hello,
    I'm writing a suite of Photoshop filters with PixelBender and would like to know if there is a way to call them from a Photoshop Panel built with Configurator without embedding these filters in a flash panel.
    I tried to build a panel with configurator, but in the filters menu, PIXEL BENDER doesn't show. So, I guess I will have to build a flash panel which is close to Chinese for me (read http://forums.adobe.com/message/37408).
    Am I out of luck?
    Thanks!
    Enrique

    Use a 'Run JavaScript' button from ACTIONS/SCRIPTS section of Configurator.
    Then use/modify the following code:
    try{
    var idPbPl = charIDToTypeID( "PbPl" );
        var desc636 = new ActionDescriptor();
        var idKnNm = charIDToTypeID( "KnNm" );
        desc636.putString( idKnNm, "Kaleidoscope" ); /*modify the name of your pixel bender filter*/
        var idGpuY = charIDToTypeID( "GpuY" );
        desc636.putBoolean( idGpuY, true );
        var idFPth = charIDToTypeID( "FPth" );
        desc636.putString( idFPth, "/Applications/Adobe Photoshop CS4/Pixel Bender Files/kaleidoscope.pbk" ) /*modify the path to your filter*/
    executeAction( idPbPl, desc636, DialogModes.ALL );
    }catch(e){
         /* catch user cancellations */
    I have it so the default settings are populated and the Pixel Bender dialog is shown (DialogModes.ALL). You could use the scripting listener plug-in to populate specific settings and/or not show the dialog (DialogModes.NO)

  • Where is pixel bender directory used by Photoshop CS5.1 (from Creative Suite 5.5 Web Premium)?

    CS5.1 does not appear to use the Pixel Bender Files directory in the Adobe Directory.  If I add a new pixel bender filter (.pbx) to the other filters in that directory, it does not show up in the Pixel Bender Filters Gallery from within Photoshop.  Actually, the listing of the filters from within Photoshop Pixel Bender Filter Gallery and the filters in the /Adobe/Photoshop CS5.1 (64bit)/Pixel Bender Files are different.  Any explanation?

    This is Adobe Contribute forum, you can post this query on http://forums.adobe.com/community/photoshop .

  • Where´s Pixel Bender Photoshop CS4 Plugin?

    Hi,
    Some days ago I published a Photoshop tutorial about creating fractals with Fractal Explorer (a Pixel Bender filter).
    At that time, at the Pixel Bender page there was a link to Pixel Bender Plugin for Photoshop CS4 under Archived Downloads.
    Now, that page was redesigned and that link is no longer there.
    Many of my visitors own CS4 and need to download that version.
    Can anybody help me locate a link to Pixel Bender Plugin for Photoshop CS4?
    Thanks!
    Enrique Flouret
    Photoshop Roadmap

    The missing content on the Pixel Bender Technology Center has been restored (including the links to the PB plug-in for PS CS4 in an Archived Downloads section).
    Please let us know if you find any other problems with the posted content.
    Thanks,
    Elba

  • Pixel Bender Noob

    I downloaded and installed it, restarted, still, no matter what I do or open, the pixel bender filter remains gray. I'm using a dell Precision 380, with a Quadro 3450 video card, Windows XP Pro, 4 gigs of ram. Thx for any help. I searched these forums first, but could find no similar question. Also using CS5 extended.

    Yeah, WinXP is a bit of a headache as anthonym_1 noted. My advice would be to install the 64-bit version of Win7 while you're making the change. Make sure to put a decent graphics card in your machine while you're at it--you don't need to go overboard but a DX11-capable card with a good amount of video memory (I look for at least 1GB these days) and plenty of shader cores should do the trick.

  • Pixel bender parameter not showing up in flash

    I am writing a pixel bender filter to be used in Flash. When I run the kernel in Pixel Bender I can see and change all my parameters (float and float2), but once exported to a .pbj and embedded in Flash I get a "TypeError: Error #1010: A term is undefined and has no properties.". I have run a loop tracing the shader data and it does not show that the parameters are there I change the version number for each export and I am surely embedding the latest version.
    Can someone please tell me why this would be happening, I am totally at a loss.
    Thanks,
    Chris

    UPDATE:
    You can forget converting the fonts, here is what really helps:
    Move all of your fonts from your user library to your desktop (or whereever, just make sure to remember where), basically uninstalling all your fonts.
    Then put the fonts that you need & miss in FLASH into this folder: Macintosh HD/System/Fonts
    Enter your user password to confirm the movement of the files into the system folder.
    Restart FLASH.
    Now the formerly missing fonts should show up in FLASH.
    When you're done with your Flash Project, you can delete the added fonts from the system folder and move your old fonts back to your user library in order to get your sytem back the way it was.
    WARNING: Be careful while in the system folder, you don’t wanna make any mistakes there. ^^
    SICK that adobe is not fixing this issue which is really hell hell hell. Hope this helps you guys in the meantime.
    cheers.

  • Alert()-equivalent in Pixel Bender

    Is there some way to test variables in Pixel Bender, similar to alert() in javascript? The output window looks like the best place to display this, but I haven't found anything in the instructions.
    I remember someone having mentioned this before in the forums, but I can't find it anymore.
    Thanks!

    Unfortunately there isn't - debugging a Pixel Bender filter is a tricky operation. One technique I often use is to turn a pixel green if the test value is within a certain range. It's not a great method of debugging but it usually gets you there eventually.
    Bob

  • 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

  • How do I get a mis-shapen mini-disc out of my drive?

    Help! My husband put a mini-CD, looked about 2-1/2 to 3 inches in diameter and like someone slightly squished it in the middle, into the disc drive of our iMac. We cannot get it out! We've tried toothpicks, tweezers, etc. but nothing fits in and can

  • Can we show information messages after triggring IDOC's in background

    Hi friends, Iam executing one custom transaction for sales cycle in background, in that iam trigging IDOC's, user are getting the messages like 1. Idoc No: 0000014254 despatched to client - 2. 1Output  were processed. 3. 1 IDOC's selected. user has t

  • Regarding Oracle LINUX 6.3 32bit PXE Installation

    I am an experienced sysadmin for windows , linux and unix. I have downloaded the latest version of Oracle Lunix 6.3 x86_32bit and put it on my Windows7 PXE install server ready to use. The ISO Disk contains symlinks for the repodata and a few other a

  • My ipod has nothing on it it was wiped out how do i fix it

    my Ipod was wiped out nothing on hard drive at all how do i get a operating system back on it <Edited by Host>

  • Archived flash player version with Win 8.1

    I'm using Firefox version 37.0.1 and Win 8.1 and am having some difficulty with installing a version of flash player that is not the most recent version. I currently have flash player 17.0.0.134 installed and have lost some functionality with extensi