09-09-2024 05:59 AM
Hello community!
I am working on a project which requires me to apply CLAHE to the image. I am wondering if LabVIEW can do things like this or not?
I found a vi called Histogram Equalization. However, after trying this, I don't think it's anywhere near the algorithm of CLAHE.
Moreover, I tried using DLL method mentioned in this post, still no luck.
Anyways, I am desperately seeking for help, don't know if LabVIEW is capable of performing CLAHE with its own vis or I need to find other methods to achieve this.
Here's the process:
I first use the line scanner (Keyence LJX8020) to scan a surface. Once I obtain the surface information, I convert it from 2D array to U16 image, as shown in Fig1.
Comparing Fig1 with Fig2, which is processed with CLAHE algorithm, the middle part is very different. It's missing a lot of details.
I also attach the test piece we use to scan below.
Solved! Go to Solution.
09-09-2024 07:37 AM
Hi Billy,
@Billy901104 wrote:
I first use the line scanner (Keyence LJX8020) to scan a surface. Once I obtain the surface information, I convert it from 2D array to U16 image, as shown in Fig1.
Comparing Fig1 with Fig2, which is processed with CLAHE algorithm, the middle part is very different. It's missing a lot of details.
I also attach the test piece we use to scan below.
It seems you forgot to attach all of your promised attachments…
@Billy901104 wrote:
Anyways, I am desperately seeking for help, don't know if LabVIEW is capable of performing CLAHE with its own vis or I need to find other methods to achieve this.
LabVIEW is a full-featured programming language and you can implement any algorithm you need!
09-09-2024 08:04 AM
Ah! You are totally right. I did forgot to attach the files. My apologies.
Here's the files!
09-09-2024 08:08 AM
If you're not into implementing the algorithm in LabVIEW, you could call the algorithm in Python from LabVIEW using the Python node.
09-09-2024 10:54 AM
Thanks for replying to my post.
Actually I wanted to implement the algorithm into LabVIEW. However, after weeks of trying, sadly still nothing. Guess it's out of my league.
I am looking for a quick way to do this and python node is a really good idea! I'll try it out later!
I already tried using MATLAB node but nothing. Maybe I'll have some luck on Python node.
Anyways, thanks for responding!