DEV Community

Cover image for Local Texture Features in Javascript
prasanth
prasanth

Posted on

Local Texture Features in Javascript

I am a Data scientist, working on implementing Machine Learning models. Machine Learning process starts with input dataset and extracting its features to feed to ML models.

For image based datasets the texture feature extraction is an important step. choosing a good texture feature is very much help to improve the ML model accuracy.

some of the texture features are

1. Local Binary Pattern (LBP)
2. Local Gradient Pattern (LGP)
3. Local Ternary Pattern (LTP)
Enter fullscreen mode Exit fullscreen mode

There are many occasions when we need to quickly visualize a texture feature. so i decided to implement an image feature visualizer in vanilla javascript.

Image description

see the code below.
https://github.com/prasanthcodes/image-features-visualizer

support and feedback. 👍

Image description

Image description

Top comments (0)