Algorithm of Photoshop Chrome Filter


I am going to implement image filter similar to Chrome from Photoshop’s filter gallery.
Do you have any idea how it works? I am going to implement it in C++ or HLSL but I am interested in seeing any language implementation.

Also, does Chrome filter exist under other name outside Photoshop environment?

Thanks in advance,