02-04-2021 06:06 PM - edited 02-04-2021 06:27 PM
@gptshubham595 wrote:
Hey Rahul you can use this directly to do this using above python code and python integration toolbox via Enthought
02-04-2021 07:21 PM
@gptshubham595 wrote:
.. using above python code and python integration toolbox via Enthought
rather use the python node
02-05-2021 09:29 AM
thank you!
ISSUE: ERR IN READING INPUT IMG
I tried your code it is giving me an output image but in order to read input image it is giving error
but can you help regarding this error?
02-05-2021 09:37 AM
Sorry it was error due to png file read as jpg file
replacing read jpg file.vi to read png file.vi worked
ThankYou
02-06-2021 12:34 PM - edited 02-06-2021 12:37 PM
I wanted to see, if I can reduce JPG artefacts by bilateral filtering
Actually, we don't need the opencv-python package to read jg or png.
attached is a more polished version, in LabView 2020 x64
02-07-2021 02:33 AM - edited 02-07-2021 02:41 AM
Is the image b&w (8bit greyscale) or RGB (24bit)?
I think all you need to do is a 2D convolution with a 2D Gaussian. Code should fit a postage stamp. No Python.
02-07-2021 03:59 AM
@altenbach wrote:
Is the image b&w (8bit greyscale) or RGB (24bit)?
I think all you need to do is a 2D convolution with a 2D Gaussian.
Here's how that could look like (note that the edges need to be corrected for the truncated kernel, shown is one possible simple correction). Note that the blur scale is arbitrary and might not correspond to other libraries.
02-07-2021 10:30 AM - edited 02-07-2021 10:31 AM
the main intention is not to get a blurred image, instead, we wanted to apply a bilateral filter over the image, in order to get a clean curve and reduce noise
like
initially we have (good freq)>=(noise)
frequency*1000 then we have (good freq)_new >> (noise) _new
GKalliatakis/Bilateral-Filtering: Applying Bilateral Filtering to images (github.com)
02-07-2021 12:18 PM
Sure. I am just saying that all that could be implemented in G directly. Probably not that hard.
Do you have an example image before and after the desired filtering?
02-07-2021 12:21 PM