OSL: How to create displacement maps from images

In general OSL was made for this… you may look into this:

and maybe someo newer docu… :wink: