Search arXiv⌕ Search

arXiv · 2611.17302

FLEX-LBP: Learning Local Binary Patterns with Exact Binary Inference for Texture Classification

Abstract

Local Binary Patterns (LBP) remain among the most widely used texture descriptors, from industrial inspection to medical imaging. Yet their radius, sampling angles, color transform and thresholds are fixed by hand for each dataset. We present FLEX-LBP, which learns these parameters by backpropagation while every forward pass computes exact binary codes and hard histogram counts. A straight-through estimator acts only in the backward pass, so the deployed descriptor is an interpretable hard-binary LBP with 90 learnable parameters and unchanged inference cost. In a controlled ablation on six color texture benchmarks, the component worth learning is dataset-dependent. One configuration, applied unchanged everywhere, learns the geometry and thresholds with the color transform frozen. It improves the nearest-neighbor accuracy of the identical fixed descriptor by 3.55 points on average over five seeds, significantly on five of six benchmarks and never significantly worse. With a linear discriminant readout, it gains 0.9 points; the fully learned descriptor gains 2.7 and has the highest mean. FLEX-LBP is more accurate than five classical LBP-family descriptors, PCANet and a neural LBP on five of six benchmarks. Its mean nearest-neighbor accuracy exceeds that of frozen ImageNet ResNet-50 features (23.5 million parameters). On the Kather colorectal cancer histology benchmark, the fully learned descriptor reaches 93.8%, significantly above the best classical descriptor (Completed LBP, 92.8%). The learned radii adapt in directions that recur across seeds. Noise drowns single-pixel comparisons and illuminant change flips inter-channel ones; median sampling or gray-world normalization restores 96-97%. The code is available as a drop-in PyTorch layer at https://github.com/medalimoussa/FLEX-LBP.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Mohamed Alimoussa, Amal El Kaid. 2026-11-12. FLEX-LBP: Learning Local Binary Patterns with Exact Binary Inference for Texture Classification. https://searcharxiv.org/abs/2611.17302

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Open-Vocabulary Scene Text Recognition via Pseudo-Image Labeling and Margin Loss

Scene text recognition is an important and challenging task in computer vision. However, most prior works focus on recognizing pre-defined words, while there are various out-of-vocabulary (OOV) words in real-world applications. In this paper, we propose a novel open-vocabulary text recognition framework, Pseudo-OCR, to recognize OOV words. The key challenge in this task is the lack of OOV training data. To solve this problem, we first propose a pseudo label generation module that leverages character detection and image inpainting to produce substantial pseudo OOV training data from real-world images. Unlike previous synthetic data, our pseudo OOV data contains real characters and backgrounds to simulate real-world applications. Secondly, to reduce noises in pseudo data, we present a semantic checking mechanism to filter semantically meaningful data. Thirdly, we introduce a quality-aware margin loss to boost the training with pseudo data. Our loss includes a margin-based part to enhance the classification ability, and a quality-aware part to penalize low-quality samples in both real and pseudo data. Extensive experiments demonstrate that our approach outperforms the state-of-the-art on eight datasets and achieves the first rank in the ICDAR2022 challenge.

cs.CV↗

A Unified Plug-and-Play Algorithm with Projected Landweber Operator for Split Convex Feasibility Problems

In recent years Plug-and-Play (PnP) methods have achieved state-of-the-art performance in inverse imaging problems by replacing proximal operators with denoisers. Based on the proximal gradient method, some theoretical results of PnP have appeared, where appropriate step size is crucial for convergence analysis. However, in practical applications, applying PnP methods with theoretically guaranteed step sizes is difficult, and these algorithms are limited to Gaussian noise. In this paper,from a perspective of split convex feasibility problems (SCFP), an adaptive PnP algorithm with Projected Landweber Operator (PnP-PLO) is proposed to address these issues. Numerical experiments on image deblurring, super-resolution, and compressed sensing MRI experiments illustrate that PnP-PLO with theoretical guarantees outperforms state-of-the-art methods such as RED and RED-PRO.

cs.CV↗

OMINI: Towards Consistent 3D Object Manipulation via Generative Texturing and Adaptive Lighting

Enabling object manipulation based on a single static image, from geometric editing to animation, remains a significant challenge. Existing methods often struggle to jointly support these tasks, while also suffering from fidelity degradation in object appearance and scene illumination. In this work, we introduce OMINI, a unified framework that addresses these challenges through two complementary strategies. First, OMINI lifts the 2D object into a 3D representation and adopts a Refine-before-Render design. Both geometric editing and animation are then performed by manipulating and rendering the refined 3D asset, maintaining appearance consistency throughout the manipulation process. Second, we propose two dedicated modules for fidelity enhancement: TextuRefiner refines rendered views of the 3D asset under appearance and geometric guidance, thereby generating fine-grained texture details; IllumiCorrector corrects environmental illumination using HSL-based color correction and VLM-guided intensity optimization, enabling visually plausible renderings with shadows. Extensive experiments demonstrate that OMINI outperforms existing methods, producing visually consistent results. The GPU stages of OMINI are run on a single NVIDIA RTX 3090.

cs.CV↗