Sparse set of Features for Texture Discrimination
The feature vector is a 5(gray scale) or 15(colored) dimensional vector reflecting the contrast, texture strength and orientation and texture scale for each pixel. Texture scale is represented by the average speed of change of pixel intensity in a Total Variation framework while the texture strength and orientation are computed from 3 distinct components of the structure tensor undergone a nonlinear coupled isotropic matrix valued diffusion. The feature vector can directly be used in a texture segmentation framework.
You need to download the Nonlinear Coupled Diffusion package (submission 27604 available at http://www.mathworks.com/matlabcentral/fileexchange/27604-nonlinear-coupled-diffusion) to run this code.
The code is commented and the definitions of the input/output variables and usages are mentioned in the header of the discriminative_texture_feature.m. A sample script test_discriminative_texture shows the usage of the code as well as the usefulness of the gaussian regularization for speedups in the nonlinear diffusion process.
Note that you need to compile the mex file: thomas_mex.cpp before the first usage.
Citar como
Omid Aghazadeh (2024). Sparse set of Features for Texture Discrimination (https://www.mathworks.com/matlabcentral/fileexchange/27618-sparse-set-of-features-for-texture-discrimination), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Texture Analysis >
Etiquetas
Agradecimientos
Inspirado por: Nonlinear Coupled Diffusion
Inspiración para: Nonlinear Coupled Diffusion
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.