I need to implement an unsharp mask function for RGB color images which works like the one in GIMP 2.10. GIMP uses a script which I do not quite understand, but it involves light and dark masks. I can do a standard unsharp mask using the OpenCV GaussianBlur() and addWeighted() functions, and it will work like the older versions of GIMP, but the pixels come out much lighter than in the newer GIMP. Can someone point me to a method to do unsharp mask with OpenCV which works like GIMP 2.10?
Thank You
Larry