Apply Matlab's LUT in OpenCV

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Apply Matlab's LUT in OpenCV

This post has NOT been accepted by the mailing list yet.

I want to apply Matlab's 512 element Look Up Table in OpenCV for performing a morphological operation. I came across this.

But I cannot understand what the steps are? Split the image how? Convert what?

Please help me in implementing this. It would be a great help, if someone could explain the significance of each step, particularly the first one. Why use that specific filter? Does it need to be used for all morphological operations?

Eagerly awaiting your response.