Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
C++/GIMP/OpenCV
#3
(08-01-2023, 07:46 AM)Ofnuts Wrote:
  • Filters > Enhance > Unsharp mask is a "classic" Gimp 2.8 plugin.
  • `Filters enhance > Sharpen (unsharp mask) is the new GEGL-based version
They have the same parameters so which one are we talking about?

The GEGL one uses GEGL-isms and is probably not easy to convert to C++. The "classic" version uses convolution kernels so once you know how to convert the inputs to the adequate kernels you should be in business.

A completely different option is to try with sharpening options in OpenCV and see which one gives equivalent results (there is an unsharpMask operation in OpenCV).

Can you please share unsharpMask with OpenCV sample?
Reply


Messages In This Thread
C++/GIMP/OpenCV - by PowerThreads - 08-01-2023, 06:31 AM
RE: C++/GIMP/OpenCV - by Ofnuts - 08-01-2023, 07:46 AM
RE: C++/GIMP/OpenCV - by PowerThreads - 08-01-2023, 07:48 PM
RE: C++/GIMP/OpenCV - by Ofnuts - 08-02-2023, 07:13 AM
RE: C++/GIMP/OpenCV - by PowerThreads - 08-03-2023, 04:36 AM
RE: C++/GIMP/OpenCV - by PowerThreads - 08-03-2023, 06:30 AM

Forum Jump: