Patch and Shuffle: A Preprocessing Technique for Texture Classification in Autonomous Cementitious Fabrication
Jeremiah Giordani · 2025
Read Patch and Shuffle: A Preprocessing Technique for Texture Classification in Autonomous Cementitious Fabrication by Jeremiah Giordani (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2504-10353.txt.
Introduction
Machines that print with cement must spot surface flaws as they build, and cameras judge the texture of each fresh layer. Jeremiah Giordani, writing alone in a 2025 paper, offers a trick to make that judgment sharper. Standard classifiers often read the whole picture and lean on its broad content instead of fine texture.
His trick cuts each image into small patches, shuffles them, and rebuilds a scrambled picture before classification. With the scene broken up, the model is forced to judge local texture alone. On images of extruded cement, the shuffled version scored about ninety-one percent, against seventy-two percent for the standard route. The idea could help other vision tasks where surface detail matters more than the scene.
Catalog record
| CREATOR | Jeremiah Giordani |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 23 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2504-10353
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Patch and Shuffle: A Preprocessing Technique for Texture Classification in Autonomous Cementitious Fabrication Jeremiah Giordani Abstract Autonomous fabrication offers enormous potential to the field of civil engineering. However, such processes have significant challenges and limitations. One such drawback is that errors frequently arise during fabrication. When such abnormalities arise, most fabrication systems do not have a method to stop or adjust the print. However, in recent years, some fabrication systems have integrated computer vision systems to detect printing errors and adjust print settings when errors arise. This paper presents a novel computer vision architecture designed to improve texture classification in autonomous cementitious fabrication. Traditional approaches to texture classification in autonomous fabrication rely on full image analysis, which can cause classifiers to base classifications on the semantic or high-level content of images. However, these approaches may be less effective for detecting texture-based characteristics. To address this shortcoming, the proposed system uses a novel approach we call ”patch and shuffle” Each input image is divided into smaller patches that are shuffled, before being passed into a classifier. Isolating smaller regions of the print images removes the overall semantic content in the image. This allows the classifier to focus on texture-based features instead of high-level content. In this paper, I develop the classification architecture and train it on a dataset containing images of cementitious fabrication. I then evaluate the performance of the classifier and show that it improves accuracy, compared to existing architectures. This work builds on the existing research surrounding computer vision texture classification systems and presents a novel architecture that future work could modify or extend. 1 1 1 This work was originally completed as a final project for CEE 374 at Princeton University. 1 Background Computer vision is a field of artificial intelligence focused on image or video analysis, extracting information from visual data [ 2 ] . It employs a variety of algorithms to analyze visual inputs and perform a wide range of tasks, including prediction, classification, object recognition, and much more. Computer vision plays a critical role in autonomous fabrication, addressing challenges such as error detection, texture classification, and automated adjustment, [ 17 ] , [ 9 ] , [ 12 ] , [ 14 ] , [ 7 ] . Fabrication systems that integrate computer vision allow for precise monitoring and control of the manufacturing process, enabling the identification of defects and print quality. Such systems can create an automated printing pipeline that allows for real-time adjustments, improving fabrication reliability [ 13 ] . Applications of computer vision in autonomous fabrication throughout research can be grouped into several categories. Some of the most common use-cases are as follows. 1. Error Detection: Identifies deviations from expected printing patterns during the fabrication process [ 9 ] , [ 12 ] , [ 1 ] , [ 15 ] , [ 4 ] . 2. Real-time Printing Correction: Predicts print adjustments and automates parameter correction [ 3 ] . 3. Texture Classification: Classifies extruded material into various texture categories [ 14 ] . 4. Quality Monitoring: Analyzes the print to verify consistency with fabrication specifications [ 8 ] . This paper focuses on texture classification, with particular application to cementitious fabrication. 1.1 Texture Classification Texture classification refers to the process of using computer vision during an additive manufacturing process in order to classify and identify material texture [ 14 ] . The technique uses machine learning to identify and differentiate between various categories of extruded material. For cementitious fabrication, this process focuses on classifying images of extruded material based on its fluid content. Texture classification processes are critical because the texture of extruded material directly impacts the structural integrity, mechanical properties, and overall print quality [ 10 ] . Inconsistent textures can indicate improper extrusion rates, nozzle blockages, material inconsistencies, or simply material variations that arise naturally during fabrication. Detecting these issues early allows for corrective actions in real-time, which reduces waste, improves the structural consistency of the final product, and potentially saves a fabrication from failure [ 6 ] . 1.2 Cementitious Manufacturing Cementitious manufacturing is the processes of using cement-based materials in additive manufacturing. This process is widely applicable to a variety of cases in construction and civil engineering, ranging from smaller components to entire architectures [ 5 ] . Current research is aimed at increasing its scalability and efficacy, with the goal of unlocking its enormous future potential in large-scale construction [ 16 ] . However, cementitious manufacturing has significant drawbacks and limitations. Such fabrication processes are highly susceptible to errors during the printing process. The cement rheological properties, such as plasticity, viscosity, elasticity play an important role in the overall quality and structural integrity of the print [ 10 ] . When these properties deviate from ideal set points, it can result in defects and structural weaknesses. Automated systems that can detect the rheological properties of the cement paste during extrusion offer enormous potential in designing systems that can mitigate these issues. Texture classification, in particular, is a potential component to systems aimed at addressing these challenge [ 14 ] . Images of the print can be used to analyze the surface characteristics and classify the rheological state of the material. Such classification can enable manual, and, importantly, automated adjustments to printing parameters in real-time. 2 Framework and Approach In this paper, we focus on a particular application of computer vision in cementitious manufacturing. It builds on existing work that aims to classify the texture of extruded cement, classifying print images in one of four categories, ”fluid”, ”good”, ”dry”, or ”tearing”. For this problem, we design a novel computer vision classification architecture. The goal is to test our hypothesis that texture-based classification will work better by pre-processing the images through a transformation we call ”patch and shuffle.” Figure 1: Texture Windows - Unmodified from [ 14 ] 2.1 Problem Definition In the 2020 paper ”Inline monitoring of 3D concrete printing using computer vision” [ 14 ] , the authors develop a framework for a computer vision system with wide ranging functionality and use cases for cementitious printing. One of these steps involves texture classification, which is the focus of this paper. A ”texture window” is a small, cropped image of extruded cement. Each texture window is classified into four different categories, ”fluid”, ”good”, ”dry”, and ”tearing”. Figure 1 shows a set of example texture windows, grouped by their classification. Computer vision is used in this system in order to process texture windows as input and generate classifications as output. Figure 2 offers an illustration of the standard classification pipeline. Texture windows are taken as input and classifications are outputted. Figure 2: Classification Pipeline 2.2 Proposed Approach Our approach is to transform the data prior to passing it into the model, while holding the model itself and its architecture constant. Figure 3 shows how data is transformed in our approach. The original image is placed next to the transformed image that underwent ”patch and shuffle”, the transformation that our novel approach introduces. Figure 3: Original image (left) compared to transformed image (right) Our hypothesis is relatively straightforward: if input data is transformed by ”patch and shuffle” prior to inputting it into the classifier, the classifications will be