EnumValues Element in Pixel Bender Graph

Hello.
How can I use enumValues Element in Pixel Bender Graph?
I tried this:
<parameter type = "int" name = "Style" >
<metadata name = "defaultValue" type = "int" value = "0"/>
<metadata name = "maxValue" type = "int" value = "1" />
<metadata name = "minValue" type = "int" value = "0" />
<metadata name = "enumValues" type = "enum" value = "Gold|Brown" />
<metadata name = "displayName" value = "Style" />
<metadata name = "aeDisplayName" value = "Style" />
</parameter>
Yet got an error:
'enum' : type is invalid
How can I create it?
Thanks.

OK, managed to do it:
<parameter type = "int" name = "Style" >
<metadata name = "defaultValue" type = "int" value = "0"/>
<metadata name = "maxValue" type = "int" value = "1" />
<metadata name = "minValue" type = "int" value = "0" />
<metadata name = "parameterType" value = "enum" />
<metadata name = "enumValues" value = "A|B|" />
<metadata name = "displayName" value = "Style" />
<metadata name = "aeDisplayName" value = "Style" />
</parameter>
Thanks.

Similar Messages

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

  • Adobe Application Manager Update fehlgeschlagen Fireworks Update auf Adobe Pixel Bender Toolkit 2.5, CS5 11.0.2-Aktualisierung, Update für Adobe Extension Manager CS5 5.0, Adobe Illustrator CS5 15.0.2 Aktualisierung

    Guten Abend Community, erst einmal bin ich neu hier und leider auch hier, da ich ein Problem habe welches ich einfach nicht gelöst bekomme.
    Ich musste mein System kommplett neu Installieren und habe anschließend Adobe Web Premium 5 Installiert was auch ohne Probleme Funktioniert, anschließend habe ich die Updates durcheführt welches auch fast ohne Probleme läuft qalle anderen Updates wurden Installiert bis auf die in der fehlermeldung. was kann ich da machen damit das nicht mehr auftritt ?
    PS: Davor ging das auch problemlos, das System habe ich erst vor 3 Tagen neu Aufgesetzt.
    Protokol der fehlermeldung
    Update auf Adobe Pixel Bender Toolkit 2.5
    Beim Herunterladen dieses Updates ist ein Fehler aufgetreten. Schließen Sie den Vorgang und versuchen Sie es später erneut. Fehlercode: U43M1D207
    Fireworks CS5 11.0.2-Aktualisierung
    Beim Herunterladen dieses Updates ist ein Fehler aufgetreten. Schließen Sie den Vorgang und versuchen Sie es später erneut. Fehlercode: U43M1D207
    Update für Adobe Extension Manager CS5 5.0
    Beim Herunterladen dieses Updates ist ein Fehler aufgetreten. Schließen Sie den Vorgang und versuchen Sie es später erneut. Fehlercode: U43M1D207
    Adobe Illustrator CS5 15.0.2 Aktualisierung
    Beim Herunterladen dieses Updates ist ein Fehler aufgetreten. Schließen Sie den Vorgang und versuchen Sie es später erneut. Fehlercode: U43M1D207
    Ja ich habe das mehrmals Versucht
    Mein System:
    Betriebssystem: Windows 8.1 Pro 64-bit
    CPU: AMD FX-8350 (8 x 4,00 GHz bzw. 8 x 4,20 GHz im Turbo Modus)
    DDR RAM III: 12,0GB Dual Kanal DDR3 @ 664MHz (9-9-9-24)
    Motherboard: MSI 970A-G43 (MS-7693) (CPU 1)
    Grafik: ASUS VS247 (1920x1080@60Hz)
    1023 MBNVIDIA GeForce GTX 460 (Gigabyte)
    Speicher:
    74GB INTEL SSDSA2M080G2GC (SSD)
    1863GB Seagate ST2000DM001-1CH164 (SATA)
    Installierte Programme:
    [spoiler]
    7-Zip 9.20 (x64 edition)
    Adobe Acrobat 9 Pro - English, Français, Deutsch
    Adobe AIR
    Adobe Community Help
    Adobe Creative Suite 5 Web Premium
    Adobe Extension Manager CS5
    Adobe Flash Player 10 ActiveX
    Adobe Flash Player 14 Plugin
    Adobe Media Player
    Adobe Photoshop Elements 12
    Adobe Photoshop Elements 12
    Adobe Photoshop Lightroom 5.4 64-bit
    Adobe Pixel Bender Toolkit 2
    Adobe Premiere Elements 12
    Adobe Reader XI (11.0.07) - Deutsch
    Apple Application Support
    Apple Software Update
    BioShock 2
    BioShock Infinite
    Bitdefender Total Security
    CCleaner
    CLICKBIOSII
    Clive Barker's Jericho
    CrystalDiskInfo 6.1.14
    CyberGhost 5
    DAEMON Tools Lite
    Defraggler
    Deus Ex: Human Revolution - Director's Cut
    DHTML Editing Component
    Die Siedler 7
    DiskCryptor 1.1
    Duke Nukem Forever
    Elements 12 Organizer
    Entity Framework 6.0.1 Tools for Visual Studio Next
    Entity Framework 6.1.0 Tools for Visual Studio 2013
    Entity Framework Designer für Visual Studio 2012 - DEU
    Erforderliche Komponenten für SSDT
    Far Cry® 3
    Free Studio version 2014
    Freemake Audio Converter Version 1.1.0
    Freemake Video Converter Version 4.1.4
    Freemake Video Downloader
    GIMP 2.8.10
    Grand Theft Auto IV
    Grand Theft Auto: Episodes from Liberty City
    GRID 2
    Hitman: Absolution
    Homefront
    IIS 8.0 Express
    IIS Express Application Compatibility Database for x64
    IIS Express Application Compatibility Database for x86
    ImgBurn
    Inno Setup Version 5.5.5
    Java 8 Update 5
    Java 8 Update 5 (64-bit)
    Java SE Development Kit 8 Update 5
    Java SE Development Kit 8 Update 5 (64-bit)
    Just Cause
    Just Cause 2
    Just Cause 2: Multiplayer Mod
    Left 4 Dead 2
    Left 4 Dead 2 Beta
    Mafia II
    Metro 2033
    Microsoft .NET Framework 4.5 Multi-Targeting Pack
    Microsoft .NET Framework 4.5 SDK
    Microsoft .NET Framework 4.5 SDK - DEU Lang Pack
    Microsoft .NET Framework 4.5.1 Multi-Targeting Pack
    Microsoft .NET Framework 4.5.1 Multi-Targeting Pack (ENU)
    Microsoft .NET Framework 4.5.1 SDK
    Microsoft .NET Framework 4.5.1 SDK (Deutsch)
    Microsoft .NET Framework 4.5.3 Multi-Targeting Pack
    Microsoft .NET Framework 4.5.3 Multi-Targeting Pack (ENU)
    Microsoft Expression Design 4
    Microsoft Expression Encoder 4
    Microsoft Expression Encoder 4 Screen Capture Codec
    Microsoft Expression Web 4
    Microsoft Help Viewer 2.0
    Microsoft Help Viewer 2.0 Language Pack - DEU
    Microsoft Help Viewer 2.1
    Microsoft Help Viewer 2.1 Sprachpaket - DEU
    Microsoft Help Viewer 2.2
    Microsoft Mathematics (64-Bit)
    Microsoft Office Professional Plus 2013
    Microsoft Silverlight
    Microsoft Silverlight 4 SDK - Deutsch
    Microsoft Silverlight 5 SDK
    Microsoft SQL Server 2012 Command Line Utilities
    Microsoft SQL Server 2012 Data-Tier App Framework
    Microsoft SQL Server 2012 Data-Tier App Framework (x64)
    Microsoft SQL Server 2012 Express LocalDB
    Microsoft SQL Server 2012 Management Objects
    Microsoft SQL Server 2012 Management Objects (x64)
    Microsoft SQL Server 2012 Native Client
    Microsoft SQL Server 2012 T-SQL-Sprachdienst
    Microsoft SQL Server 2012 Transact-SQL Compiler Service
    Microsoft SQL Server 2012 Transact-SQL ScriptDom
    Microsoft SQL Server 2014 Express LocalDB
    Microsoft SQL Server 2014 Management Objects
    Microsoft SQL Server 2014 Management Objects (x64)
    Microsoft SQL Server 2014 T-SQL Language Service
    Microsoft SQL Server 2014 Transact-SQL ScriptDom
    Microsoft SQL Server Compact 4.0 SP1 x64 DEU
    Microsoft SQL Server Compact 4.0 SP1 x64 ENU
    Microsoft SQL Server Data Tools - DEU (11.1.20828.01)
    Microsoft SQL Server Data Tools - DEU (12.0.30919.1)
    Microsoft SQL Server Data Tools - enu (14.0.40528.0)
    Microsoft SQL Server Data Tools Build Utilities - DEU (11.1.20828.01)
    Microsoft SQL Server Data Tools Build Utilities - DEU (12.0.30919.1)
    Microsoft SQL Server System CLR Types
    Microsoft SQL Server System CLR Types (x64)
    Microsoft System CLR Types for SQL Server 2014
    Microsoft Visual C++ 14 CTP Redistributable (x64) - 14.0.21901
    Microsoft Visual C++ 14 CTP Redistributable (x86) - 14.0.21901
    Microsoft Visual C++ 2005 Redistributable
    Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.17
    Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.4148
    Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.6161
    Microsoft Visual C++ 2008 Redistributable - x86 9.0.21022
    Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.17
    Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.4148
    Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.6161
    Microsoft Visual C++ 2010 x64 Redistributable - 10.0.40219
    Microsoft Visual C++ 2010 x86 Redistributable - 10.0.40219
    Microsoft Visual C++ 2012 Redistributable (x64) - 11.0.60610
    Microsoft Visual C++ 2012 Redistributable (x64) - 11.0.60610
    Microsoft Visual C++ 2012 Redistributable (x86) - 11.0.60610
    Microsoft Visual C++ 2012 Redistributable (x86) - 11.0.60610
    Microsoft Visual C++ 2013 Redistributable (x64) - 12.0.21005
    Microsoft Visual C++ 2013 Redistributable (x86) - 12.0.21005
    Microsoft Visual Studio 2010 Tools for Office Runtime (x64)
    Microsoft Visual Studio Express 2012 für Windows Desktop - DEU
    Microsoft Visual Studio Express 2013 für das Web - DEU
    Microsoft Visual Studio Express 2013 für Windows Desktop - DEU
    Microsoft Visual Studio Professional 14 CTP
    Microsoft Web Deploy 3.5
    Microsoft Web Platform Installer 5.0
    Microsoft WebMatrix 3
    Microsoft-System-CLR-Typen für SQL Server 2012
    Microsoft-System-CLR-Typen für SQL Server 2012 (x64)
    Mozilla Firefox 30.0 (x86 de)
    Mozilla Maintenance Service
    Mozilla Thunderbird 24.6.0 (x86 de)
    NirSoft Wireless Network Watcher
    Nmap 6.46
    Notepad++
    NVIDIA 3D Vision Controller-Treiber 337.88
    NVIDIA 3D Vision Treiber 337.88
    NVIDIA GeForce Experience 2.1
    NVIDIA Grafiktreiber 337.88
    NVIDIA HD-Audiotreiber 1.3.30.1
    NVIDIA PhysX-Systemsoftware 9.13.1220
    Opera Stable 22.0.1471.70
    Oracle VM VirtualBox 4.3.14
    paint.net
    Paket zur Festlegung von Zielversionen für Microsoft .NET Framework 4.5.1 (Deutsch)
    Prerequisites for SSDT
    PunkBuster Services
    QuickTime 7
    RAGE
    Recuva
    Safari
    Sleeping Dogs™
    Spec Ops: The Line
    Speccy
    Steam
    TAP-Windows 9.9.2
    TeamViewer 9
    The Bureau: XCOM Declassified
    The Elder Scrolls III: Morrowind
    TIPP10 Version 2.1.0
    Tom Clancy's Ghost Recon Phantoms - EU
    Tom Clancy's Splinter Cell Conviction
    Tomb Raider
    Turbo Lister 2
    Uplay
    VeraCrypt
    VLC media player 2.1.4
    VMware Player
    Wacom Tablett
    WCF RIA Services V1.0 SP2
    WebTablet FB Plugin 32 bit
    WebTablet FB Plugin 64 bit
    Windows Azure Authoring Tools - v2.3
    Windows Azure Compute Emulator - v2.3
    Windows Azure Libraries for .NET – v2.3
    Windows Azure PowerShell - June 2014
    Windows Azure Storage Emulator - v3.2
    Windows Azure Storage Tools - v2.2.2
    Windows Phone 8.1 Emulators - ENU
    Windows Phone SDK 8.0 - DEU
    WinHTTrack Website Copier 3.48-17
    WinPcap 4.1.2
    Worms Reloaded
    XAMPP
    XEOX Gamepad SL-6556-BK
    XMind 2013 (v3.4.1)
    Zune
    [/spoiler]
    Wenn noch fragen offen sind einfach fragen, ich würde gerne das Problem so schnell wie möglich lösen....

    Ja wie gesagt es hat davor auch ohne Probleme Funktioniert nur war ich gezwungen das System neu zu Installieren und ab dann konnte ich die da oben genannten Updates nicht mehr Installieren. Ein Mac ist zwar eine schöne Sache kommt aber für mich nie in Frage da ich mein PC als Arbeitsrechner und Gamer Rechner nutze und das meiste läuft halt nicht auf einen Mac und man müsste manche Programme neu Kaufen, das sehe ich überhaupt nicht ein, und meine Anwendungen werden aus Prinzipien nicht für Apple Produkte entwickelt da verdient man kaum etwas... aber das muss jeder für sich entscheiden. An eine neue Version habe ich eventuell nächstes Jahr gedacht aber auch nur die CS6 ob man das brauch ist die Frage da CS 5 genau macht was es soll. Das Modell mit der Adobe Cloud hat zwar denn Vorteil das die Programme Aktuell sind aber man muss Monatlich dafür Zahlen und CS5/CS6 oder älter brauch man nur einmal Kaufen. Darüber hinaus finde ich eh das Adobe so eine richtige S*** ist wenn es um Support ältere Programme geht so zeigt Adobe meiner Meinung nach das Ihre Produkte nichts wert sind zumindest macht es den Anschein. Aber wie gesagt, bin ich hier um Hilfe zu bekommen um das Problem zu lösen ohne ein neue Version zu kaufen, das ist ja bekanntlich die einfachste Lösung, aber wenn Informatiker auch so denken würden dann würde es sehr schlecht aussehen... und als Anmerkung am Rande, es wäre ja nett wenn man mir denn Link dieser Updates zukommen lassen könnte um die Updates Manuell zu Installieren.
    "Aber wie sollen wir denn Programme testen auf Hardware und OS, die es erst in ein paar Jahren geben wird."
    Dies kann man in voraus natürlich nicht aber in nachhinein geht das und Software Entwickler denn etwas an Ihre Produkte liegt, machen das nachhinein auch und passen gegebenenfalls Ihr Produkt an.
    PS: CS 2 läuft ebenfalls auf einem Windows 8.1 rechner ;-)

  • Turning a Photoshop action into a pixel bender script

    We have a photoshop action that takes images and 'plasticifies' them. Specifically the action performs several filters that we're looking to convert into pixel bender scripts so that the action can be performed in Flash. I'm trying to discover if there are existing examples to perform these actions, and if not if it would be possible to create them. The filters that are being used are:
    surface blur
    diffuse
    layer copy
    high pass filter
    layer overlay
    hue / saturation
    shadow / highlight
    unsharp mask
    I've attached the script to the post for reference and provided an example below. If this isn't something that we could combine several pre-existing filters together, would someone be up for working with me to create this or provide some guidance on how to move forward?
    Original Image
    Plasticify Effect
    File: autoPlastic_test.atn (created in Photoshop CS4).
    URL: http://drop.io/t7gez0g
    Thanks,
    Roy

    AIF Kevin wrote:
    The Bilateral Blur in After Effects is implemented in Pixel Bender. It  was tricky to get the best possible performance for it. Pixel Bender  works pretty well for Anistropic filtering as well, we are doing that  now for some new stuff.
    Royi A wrote:
     I think in the GPU each basic variable (Pixel) is a vector of 4. Applying something on 4 of items in the vector or only 1 would "cost" the same.Someone of the AIF could confirm it?
    This is sort of true. We do take advantage of the vector types to generate SSE code, but we do it not only within a pixel, but also across multiple pixels so a pixel1 value within your kernel may be computed with pixel1 values from neighboring pixels to improve performance. In general, it is best to write your code naturally and then only look to optimizing at this level if performance is unacceptable and the more obvious problems (minimizing conditional branching, for example) do not solve your problem.
        Kevin
    Kevin, how do you iterate in the Anisotropic Filter?
    One the things I miss is to loop a graph or something like that to iterate over the image.
    Regarding the Bilateral Filter, My first PB kernel was a Gaussian Blur, just to get the feeling.
    At first I didn't use its separability property.
    It was slow, very slow!
    For the Bilateral Filter you have to do even more operations. Unless you implemented its "Separable Bilateral" approximation, Or any other known optimization (Grids, Linear Approximation, etc...).
    What about the GPU case regarding what I wrote?
    Let's set I convert the image into LAB space and perform Gaussian Blur and each time only operate one CurrentPixel.r (The first item in the "Pixel" vector), will that make any performance difference?
    Or even make it completely different. Creating a node which take as input image4 and output of image1 (L Channel). Then Gaussian Blur (2 Nodes) on image1, would that be faster (Again, GPU wise)?
    Thanks.

  • Pixel Bender Crash - Phothsop CS5

    Hello.
    I built a PB Graph (4 Kernels, 9 Connections).
    I run it under Photoshop CS5 64 Bit on Windows 7 64 Bit.
    Often It crashes after I set the slider and press OK.
    When it crashes it crashes the whole Photoshop program.
    This is the crash log (What Windows 7 gives):
    Problem signature:
      Problem Event Name: APPCRASH
      Application Name: Photoshop.exe
      Application Version: 12.0.1.0
      Application Timestamp: 4c255ce6
      Fault Module Name: Pixel Bender.8bf
      Fault Module Version: 12.0.0.0
      Fault Module Timestamp: 4c0597c6
      Exception Code: c0000005
      Exception Offset: 00000000000c8e9e
      OS Version: 6.1.7600.2.0.0.256.1
      Locale ID: 1033
      Additional Information 1: b724
      Additional Information 2: b7243db4c03c24d8d211389cec1f4303
      Additional Information 3: b9ce
      Additional Information 4: b9ce672e2a77d0892e29bde615be9e69
    Thanks.
    P.S.
    I tried to run Pixel Bender using ExtendScript.
    It always crashes. There might be a connection to my previous problem?
    This is the log:
    Problem signature:
      Problem Event Name: APPCRASH
      Application Name: Photoshop.exe
      Application Version: 12.0.1.0
      Application Timestamp: 4c255ce6
      Fault Module Name: Pixel Bender.8bf
      Fault Module Version: 12.0.0.0
      Fault Module Timestamp: 4c0597c6
      Exception Code: c0000005
      Exception Offset: 00000000001fc75d
      OS Version: 6.1.7600.2.0.0.256.1
      Locale ID: 1033
      Additional Information 1: 357f
      Additional Information 2: 357f71500dfedf51692229de7a798f5b
      Additional Information 3: e9a5
      Additional Information 4: e9a5d7f63faf1bb1a99e9a9cd105a181
    Could anyone pinpoint what's the problem?
    Never crashed on the IDE.

    Glad to hear you found the ReadMe.
    The previous limitation was not arbitrary as the decision was made based on experiments across various GPUs and operating systems. We had a bit more time this go-around to improve how we enforce the limit and so we did. There is still a 128MB limit on the image size. We attempted to remove this limit entirely, but just found too many problems with the graphics drivers across the various card/os combinations we support. The decision was a tradeoff between minimizing the posts we get complaining about the supported image size and minimizing the tech support calls we get complaining the plugin is crashing Photoshop (usually the result of a crash in the driver) or is painting garbage to the screen. The limit isn't perfect but it is an improvement over the previous limit. We will continue to work to expand this limit and hopefully we'll be able to remove it entirely at some point in the future. In the meantime, the two limits you need to consider are the 128MB limit on image size and the texture size limit of your graphics card. The plugin limits you to the texture size of your graphics card if that texture size limit is less than 128MB, otherwise the plugin limits you to 128MB. You can find out the texture size limit, as I pointed out in another thread, by using a tool such as "OpenGL Extensions Viewer."
    http://www.realtech-vr.com/glview/
    Now what do they say about wishes... 
    Thanks again for all your feedback; it's much appreciated. Happy filtering.

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

  • Slider in Pixel Bender Toolkit

    Hi,
    little question. I like to adjust parameter values with sliders (as described in examples) but
    I only get input where I can write the values. This is a bit annoying, if you want o play around.
    Any chance to get sliders? I looked and searched but didn´t get an answer to this issue.

    Please take a look into "Adobe Pixel Bender Developer's Guide" PDF. It's located under the menu item help inside the toolkit.
    The topic of your interest is "Metadata Hinting" -> "Parameter type specialization element" it's all documented very nice...
    your parameter for a slider with a float value should look like this:
    parameter float your_variable_name
    <
    minValue: float(1.0);                      // the minimum value of the parameter
    maxValue: float(100.0);                  // the maximum value of the parameter
    defaultValue: float(100.0);               // the default value of the parameter
    stepInterval: float(1.0);                    // a step interval for the parameter if needed otherwise delete this line of code
    description: "your description";       // a description of the parameter
    >;
    but take a closer look into the help file for other parameter types like:
    parameter float angle
    <
    parameterType: "angleDegrees";
    minValue : 0.0;
    maxValue : 359.9;
    defaultValue : 30.0;
    previewValue : 15.0;
    description : "measured in degrees";
    displayName : "vector angle";
    minValueName : "no angle";
    maxValueName : "full rotation";
    stepInterval : 5.0;
    >;
    parameter float2 mousePos
    <
    parameterType : "position";
    minValue : float2(0.0);
    maxValue : float2(1024.0);
    defaultValue : float2(512.0);
    >;

  • Pixel Bender metadata hinting proposal

    I put this on my blog earlier, but I wanted to repost here for discussion.This was what I wrote:
    We tried to be semantically agnostic in the original design of the Pixel Bender language. We'd seen other languages go down rabbit holes of over-specification around what parameters really meant, locking them into archaic and insufficient implementations or clumsy hierarchies of meanings. We didn't want to limit Pixel Bender developers into what we could conceive at the time of the invention of the language.
    We were being a bit too idealistic :). It is completely true that the community of Pixel Bender developers continues to blow our minds at what they accomplish with the language and we never would have anticipated half the stuff that you guys are using Pixel Bender for. However, having some generally useful semantic meanings for Pixel Bender parameters would definitely help those who design general user interfaces for Pixel Bender filters.
    One smart thing we did (if I do say myself) was to allow parameter and kernel metadata to be extensible. It provided developers like After Effects and Picnik a way to add custom metadata to Pixel Bender that specified semantics or actual UI controls for Pixel Bender kernels and graphs. The picnik metadata and the After Effects metadata are different though. I started to get concerned that by not having something around this that we could end up with many different Pixel Bender semantic metadata mechanisms floating around. To that end, I created the proposal below and started floating it around Adobe and some of the sites that are heavy users of Pixel Bender.
    In this design, I tried to follow some general rules:
    Pixel Bender is not only a way to write image and video filters for Adobe applications, but also a way for you to host 3rd party filters in your Flash-based applications. Any guidelines we create need to be implemented by us, but also by any independent Flash developers creating apps that use Pixel Bender kernels. To that end, I tried to keep the design relatively simple so that it wouldn't be too difficult to implement in Flash.
    This proposal adds semantic metadata, but avoids specifying specific user interface controls. Rather than specifying a slider as an editor for a parameter, I think it makes more sense to say that the parameter is a percentage and allow someone designing a UI to make a good percentage editor. We are definitely thinking about how to specify custom editor UIs for Pixel Bender filters, but this proposal does not approach that.
    The proposal is not a complete answer for all Pixel Bender filters. I'm trying to get the most universal semantics represented. The most generally useful, as opposed to trying to give the complete solution. If you have an application that is uses Pixel Bender kernels for something that makes sense to augment the metadata you can still choose to do so.
    The proposal represents guidelines, not requirements. As a developer consuming Pixel Bender kernels, you can choose to enumerate the metadata as described in the proposal or not. The suggested metadata is metadata. It is not required. The goal is that if you wish to take advantage of it when it is present, that you can provide a more compelling user interface to your users because you understand the intent of a parameter, not just its type.
    There are a couple open questions in the proposal that I'd like feedback on. They are called out pretty clearly. I'd really like your feedback on this proposal. I hope to issue the final version soon. Reply to this post or in the Pixel Bender forums on Adobe Labs. If you decide to post a reply on your own blog, please post a link to your post here or in the forum. Right now trackbacks are off so I won't know about it otherwise. You can also tweet a reply to the Pixel Bender twitter account (if you can fit it in 140 characters ).

    Overall I like the proposal. To address the issues called out:
    For both integers and floats concerning a "time", I think it is best
    to have that be relative to the time that the filter has been running.
    The time a filter is running would be determined by context the filter
    is being used in. For video I can see it being tied to video time,
    while for a filter being applied to an image it probably corresponds
    to how much real time the filter has been running. The general idea
    being that if I run my application multiple times I should expect to
    see the same results, which is harder to do if time is tied to actual
    time versus relative time. If that makes any sense.
    I am not in favor of the InputSizeX types. While I understand the
    desire to have the image size is a common request, given the ability
    to chain filters it promotes a false sense of accuracy. Better to let
    people have workarounds with known caveats instead of a semi supported
    standard.
    As a side note, the mousePos example on page 8 is specified as float2,
    but the values only contain 1 number.
    -- Daniel R. <[email protected]> http://danielr.neophi.com/

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

  • How do I install new filters in Pixel Bender

    How do I get the new filters in the pixel bender menu? I download them from Pixel Bender Exchange but there are no instructions.I can't find them anywhere with google searches.
    I tried just unzipping the files and putting the pbj and pdk files into the pixel Bender files folder in Photoshop, but that returns an error message when I attempt to use it.
    I then tried just putting in the pdk files in since that is what is alredy in the folder, but I just get the same error message.
    Any idea what I'm doing wrong. This is in the 64 version of Photoshop (Windows 7). I appreciate any help you can give me.

    Yes, the tool kit runs on my machine, though I have to admit the syntax is beyond me at this point. I will have to let other people create the filters.
    I could not find anything that said "Driver Provider" or"Driver Date". Maybe in my computer it is not quite the same arrangement. I have copied the information I find when I go to the NVIDA control panel, and click on System information. Perhaps it will tell you what you need to know
    Display Tab in System Information:
    GeForce GT220, Driver version is 280.26
    DirectX support:   10.1
    CUDA Cores   48
    Graphics clock 615 MHz
    Processor clock 1335 MHz
    Memory clock:  790 MHz (1580 MHz data rate)
    Memory Interface 128-bit
    total available graphics 4095 MB
    Dedicated video memory: 1024 MB DDR3
    System video memory 0 MB
    shared system memory 3071 MB
    Video BIOS version 70.16.3C.00.05
    IRQ:  16
    Bus   PCI Express x 16 Gen2
    Components Tab in System Information
    3D Settings ____________________
    nvGameS.dll     6.14.12.8026     NVIDIA 3D Settings Server
    NVCUDA.DLL     8.17.12.8026     NVIDIA CUDA 4.0.1 driver
    PhysX              09.10.0514       NVIDIA PhysX
    Display______________________________
    nvDispS.dll         6.14.12.8026    NVIDIA Display Server
    NVMCTRAY.DLL   8.17.12.8026    NVIDIA Media Center Library
    NVSTRES.DLL      7.17.12.8026    NVIDIA 3D Vision Module (0)
    NVSTTEST.EXE    7.17.12.8026  NVIDIA Vision Test Application
    NVSTVIEW.EXE    7.17.12.8026  NVIDIA 3D Vision Photo Viewer
    Video__________________________________
    nvVITvS.dll          6.14.12.8026   NIVDIA Video Server
    Workstation_____________________________
    nvWSS.dll              6.14.12.8026   NVIDIA Workstation Server
    NVIDIA Control Panel_________________________________
    nvCpIUI.exe         3.8.812.0         NVIDIA Control Panel
    NVCPL.DLL           8.17.12.8026    NVIDIA Experience Driver Component
    nvxdapix.dll         8.17.12.8026    NVIDIA Experience Driver Component
    nvxdbat.dll           8.17.12.8026    NVIDIA Experience Driver Component
    nvxdplcy.dll          8.17.12.8026    NVIDIA Experience Driver Component
    nvxdsync.exe       8.17.12.8026    NVIDIA Experience Driver Component
    nvui.dll                 7.17.12.8026    NVIDIA Experience Driver Component
    NVIDIA Update____________________________________
    NvUpdt.dll              1.4.28.0    NVIDIA Update Components
    NvUpdtr.dll             1.4.28.0    NVIDIA Update Components
    ComUpdatus.exe      1.4.28.0    NVIDIA Update Components
    ComUpdatusPS.dll     1.4.28.0    NVIDIA Update Components
    daemonu.exe             1.4.28.0    NVIDIA Update Components
    Nvlhr.exe             1.4.28.0    NVIDIA Update Components
    WLMerger.exe             1.4.28.0    NVIDIA Update Components
    easyUpdatusAPIU64.DLL   1.4.28.0    NVIDIA Update Components
    additional information about my computer
    Windows 7 Ultimate
    Service Pack 1
    processor Intel (R) Cor(TM)i7 CPU   920  @ 2.67GHz
    Installed memory (RAM) 8.00 GB
    64-bit Operating System
    Pen Input Available

  • Unable to plot 1-D array with a cluster of 2 elements on an XY graph

    I'm Unable to plot a 1-D array with a cluster of 2 elements on an XY graph. The data appears at the input to the graph but nothing is plotted. I'm trying to plot a line connecting each point generated.
    Solved!
    Go to Solution.
    Attachments:
    TEST11.vi ‏13 KB

    Chuck,
    0. Do not post VIs with infinite loops! Change the True constant to a control.  One of the regular participants on these Forums has commented that using the Abort button to stop a VI is like using a tree to stop a car.  It works, but may have undesired consequences!
    1. Use a shift register on the For loop also.
    2. Inserting into an empty array leaves you with an empty array.  Initialize the array outside the loop to a size greater or equal to the maximum size you will be using.  Then use Replace Array Subest inside the loop.
    3. Just make an array of the cluster of points.  No need for the extra cluster.
    Lynn
    Attachments:
    TEST11.2.vi ‏11 KB

  • Alpha channel problem with Pixel Bender blendShaders

    I'm using Pixel Blender to try and create a blend shader for a Flex 4.0 app.
    It looks like this:
    <languageVersion : 1.0;>
    kernel PixelReverse
    <   namespace : "com.abc.def.filters";
        vendor : "EdAlive";
        version : 1;
    >
        input image4 foreground;
        input image4 background;
        output pixel4 dst;
        void
        evaluatePixel()
            pixel4 fgPixel = sampleNearest(foreground, outCoord());
            pixel4 bgPixel = sampleNearest(background, outCoord());
            if((bgPixel.r == 0.0) && (bgPixel.g == 0.0) && (bgPixel.b == 0.0) && (bgPixel.a == 0.0)){
                bgPixel.r = bgPixel.g = bgPixel.b = 1.0;
            dst.r = 1.0 - abs(fgPixel.r - bgPixel.r);
            dst.g = 1.0 - abs(fgPixel.g - bgPixel.g);
            dst.b = 1.0 - abs(fgPixel.b - bgPixel.b);
            dst.a = fgPixel.a;
    It looks correct in the Pixel Bender preview window.
    When I use it in a Flex project with proper 32 bit png images, the filter seems to work correctly, except it sets any partial alpha value on the images to fully opaque (like a 1 bit alpha channel).
    Because the image preview looks correct in Pixel Bender, I'm assuming it's a problem with the bitmap data that Flex is passing to the blend shader filter.
    I tried changing the filter to simply output a copy of the foreground firstly, and the background second, to test.
    When returning a copy of the foreground, the imags weren't visible on stage, either because the pixels were transparent or because it was really returning the background pixels, camouflaging the images.
    When returning a copy of the background, the images were just black rectangles.
    The images are being place on stage programmatically inside an mx Module, and having their depth property set.
    They also have draggable behaviour, where the current drag object is layered above all else during the drag.
    I'm actually using a subclass of mx.controls.Image, but am simply setting the source property with preloaded bitmap data, so I'm am fairly sure the subclass is not a factor.
    I hope this is enough information for someone to be able to provide some help.
    Thanks

    Please make sure you have installed the latest graphics drivers, from http://www.nvidia.com/Download/index.aspx?lang=en-us, for your graphics card.

  • Pixel Bender Plug-in for Photoshop CS5 now available!

    download and more info at: http://labs.adobe.com/technologies/pixelbenderplugin/

    No, the pixel bender plugin from cs5 will not work in cs6.
    (i do miss it as well)
    see this for why:
    http://feedback.photoshop.com/photoshop_family/topics/please_please_please_make_cs6_compat ible_with_bixel_bender_please

  • Adobe Pixel Bender Plug-In for Photoshop CS5

    Can the Adobe Pixel Bender Plug-In for Photoshop CS5 be used in Photoshop CS6?  And, more specifically can it be used with Windows 7 operating system?

    No, the pixel bender plugin from cs5 will not work in cs6.
    (i do miss it as well)
    see this for why:
    http://feedback.photoshop.com/photoshop_family/topics/please_please_please_make_cs6_compat ible_with_bixel_bender_please

  • Pixel Bender for Photoshop CS4 -- in August 2010 ?????

    How could I have missed it!
    Just found out about Pixel Bender today via an email from Wacom.
    Can only find the CS5 version available for download on the Adobe Labs site. Will the CS5 version work with PSCS4? If not, is there someway for me to download the CS4 version?
    I'm still saving my pennies for a CS5 upgrade. Hope I don't have to wait until then to explore Pixel Bender.
    Any help greatly appreciated.
    Jack

    Look here: http://www.adobe.com/devnet/pixelbender/
    You'll find it on the right panel.

Maybe you are looking for

  • What is the file extension for text tones in ios 6.0.1?

    I created a custom tone using the extension .m4r, but it only works as a ring tone, not a text tone.

  • ERROR attempting to call HttpSession.invalidate ()  in TOMCAT 5.5.9

    Can someone help me with this TOMCAT issue:- I am attempting to implement a logout method that will invalidate the current session and redirect to the login page (based on SRLogout demo eg). The code works fine in JDeveloper Embedded OC4J Server, but

  • Any way to turn off Safari's full screen, auto hide tab bar mode?

    FInally took the plunge and upgraded to iOS 8 on one of our i-devices.  Really like the Panorama camera mode-- well done, Apple! However, I was staggered to find that Safari now hides the tab bar as soon as you start scrolling down a web page!  What'

  • Column Not Allowed Here? Why?

    CREATE TABLE course_location(      venue_id number(6),      street_address varchar2(30),      postal_code varchar2(8),      county varchar2(16),      PRIMARY KEY (venue_id) INSERT INTO course_location (venue_id, street_address, postal_code, county) V

  • Searching Outlook/Exchange emails

    I originally posted this in the Outlook portion of the answers.microsoft.com website and was told my issue might be resolved here. I have an exchange account and use Outlook 2013. When I search, I select the "Current Mailbox" option (note: the "All O