MLDiff: a VAE-integrated diffusion model with fourier filter for high quality line drawing generation of ancient murals.
Analyze & explore related research in Conceptio
Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.
MLDiff: a VAE-integrated diffusion model with fourier filter for high quality line drawing generation of ancient murals - PMC Skip to main content An official website of the United States government Here's how you know Here's how you know Search Log in Primary site navigation Search Log in Search PMC Full-Text Archive Search in PMC Journal List User Guide As a library, NLM provides access to scientific literature. Inclusion in an NLM database does not imply endorsement of, or agreement with, the contents by NLM or the National Institutes of Health. Learn more: PMC Disclaimer | PMC Copyright Notice Sci Rep . 2026 Apr 24;16:18903. doi: 10.1038/s41598-026-48436-z MLDiff: a VAE-integrated diffusion model with fourier filter for high quality line drawing generation of ancient murals Na Zhao 1, ✉ , Qiongshuai Lyu 2, ✉ , Junke Song 2 , Zhengying Zhao 2, 3 Author information Article notes Copyright and License information 1 School of Journalism and Communication, Pingdingshan University, Pingdingshan, 467000 Henan China 2 School of Software, Pingdingshan University, Pingdingshan, 467000 Henan China 3 School of Computer Science and Technology, Xi’an University of Technology, Xi’an, 710048 Shaanxi China ✉ Corresponding author. Received 2025 Oct 16; Accepted 2026 Apr 8; Collection date 2026. © The Author(s) 2026 Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ . PMC Copyright notice PMCID: PMC13276033 PMID: 42031813 Abstract Ancient murals (e.g., Dunhuang murals) are vital cultural heritage with unique artistry and historical value, and their digital line drawings support preservation and restoration. Existing methods suffer from discontinuous edges, detail loss, or high complexity. To address the long-standing challenge of generating accurate and clear mural line drawings, we propose a novel approach rooted in the denosing diffusion probabilistic model (DDPM), drawing on the decoupled diffusion paradigm and latent-space optimization strategies tailored for line drawing generation tasks. Our method first integrates a variational autoencoder (VAE) with a decoupled diffusion model. Then, to further facilitate the separation of edge features from noise, we incorporate a specially designed Fourier filter block. Finally, a joint loss function guides the model’s training to achieve accurate, crisp, and structurally consistent mural line drawings. Extensive experimental results that the proposed method not only has certain advantages in qualitative evaluation, and the method can effectively generate accurate mural line drawings, but also exhibits good performance in quantitative model evaluation, surpassing the comparison methods in several key metrics. Keywords: Diffusion model, Fourier filter, Mural line drawing, Variational autoencoder Subject terms: Engineering, Mathematics and computing Introduction As irreplaceable treasures of cultural heritage, ancient murals represent the pinnacle of traditional painting art and embody profound historical, artistic, and religious significance. Spanning centuries of artistic evolution, these artworks are not only invaluable materials for the study of ancient social life, aesthetic trends, and religious beliefs, but also serve as a critical bridge linking modern society to ancient civilizations. Unfortunately, numerous ancient murals have sustained irreversible deterioration due to natural factors (e.g., climate fluctuations, geological activity, and inherent material aging) and anthropogenic impacts (e.g., inappropriate conservation practices and tourism-related disturbances), including pigment fading, paint layer flaking, surface soiling, and structural cracking. Against this backdrop, digital preservation has emerged as a critical and urgent priority for safeguarding this fragile cultural heritage, within which the generation of high-fidelity digital line drawings constitutes a core foundational step. Line drawings of ancient murals play a multifaceted and irreplaceable role in cultural heritage protection and utilization: (1) Restoration guidance. They provide precise structural references for physical mural restoration, helping conservators identify damaged areas, reconstruct missing details (e.g., fragmented facial features or delicate drapery lines), and ensure the authenticity of restoration work; (2) Digital archiving. As the “core skeleton” of mural digitization, line drawings enable long-term, lossless storage of key artistic information, avoiding the risk of further damage from repeated physical access; (3) Academic research. They facilitate quantitative analysis of artistic techniques (e.g., brush stroke styles, line density, and compositional logic) for art historians and archaeologists. However, generating high-quality digital line drawings for ancient murals is a highly complex task, primarily due to the unique characteristics and degradation of these artworks: (1) Edge ambiguity. Centuries of fading and pigment mixing have blurred the boundaries between different color blocks, making it difficult to distinguish genuine artistic edges from background noise; (2) Interference factors. Surface stains, wall cracks, and uneven base textures introduce non-artistic edge-like features, which easily lead to false edge detection; (3) Fine line preservation. Murals often contain intricate fine lines (e.g., decorative patterns, and drapery folds) that are highly susceptible to being lost or distorted during edge extraction. These challenges make general-purpose edge detection algorithms insufficient for meeting the specialized needs of mural line drawing generation. Therefore, research into efficient and accurate mural line drawing generation algorithms is of paramount importance for the digital preservation of murals. Figure 1 illustrates some murals and line drawings. Fig. 1. Open in a new tab Murals and line drawings. To address the demand for mural digitization, researchers have explored various edge detection techniques. Early approaches to edge detection typically relied on low-level local cues within an image. Some classical methods used first- or second-order partial derivative information for basic image edge detection, such as the Sobel 1 and Canny 2 operators. Calculating gradient information and applying appropriate thresholds for edge extraction have also been frequently used methods in the early stages 3 , 4 . Although these traditional methods have proven capable of extracting image edges, their performance is limited by their reliance on manual parameter settings and the absence of deep semantic information. The ability of deep convolutional neural networks (CNNs) to learn deep semantic information and their rich data representation capabilities have led to substantial progress in image edge detection. Models such as HED 5 , RCF 6 , BDCN 7 , DexiNed 8 , and PiDiNet 9 utilize carefully designed network structures to obtain deep semantic features, which are beneficial for extracting edge information. However, CNN-based methods, constrained by the size of their receptive fields, often struggle to capture long-range dependencies. While expanding the receptive field can address this issue, it increases the computational complexity of the model. Vision transformers have demonstrated significant advantages in modeling long-range contextual information, leading to the development of the transformer-based edge detector, EDTER 10 . EDTER achieves edge prediction by integrating transformer-based global context, local cue extraction, and a decision head. However, the patch-based embedding strategy and complex model architecture of EDTER result in high computational costs. In recent years, the denoising diffusion probabilistic model (DDPM) 11 – 13 has demonstrated remarkable performance in various computer vision tasks. The diffusion model operates through two primary processes: a forward diffusion process and a reverse denoising process. The forward diffusion process, akin to thermal diffusion in physics, progressively introduces random noise into the original data until the data is entirely obscured by noise. Conversely, the reverse denoising process employs a carefully designed denoiser to gradually recover the underlying real data from the noise, while enhancing meaningful structures and features. Given DDPM’s ability to learn the target distribution effectively, Ye et al. 14 proposed an edge detector based on this framework. Nevertheless, this study still has certain limitations. Inadequate exploitation of prior information gives rise to imprecise edge localization, while the strategy for disentangling edge information from noise components in the feature space still leaves room for further optimization. Synthesizing the above analysis, the current state of the art suffers from three critical gaps when applied to the generation of line drawings for ancient murals: (1) Domain adaptability. Existing methods are designed for general images and fail to account for the unique degradation patterns (fading, stains, cracks) and artistic characteristics (fine lines, stylistic heterogeneity) of ancient murals; (2) Prior information integration. There is still much work to be done in integrating the unique a priori knowledge of the murals into the line drawing generation model. To address these gaps, we propose a novel diffusion model-based edge detection method specifically tailored for ancient mural line drawing generation. The core idea is to integrate domain-specific prior learning into the diffusion process, enabling accurate, efficient, and robust line drawing generation directly from mural images. Specifically, we re-couple the encoder-decoder structure of a pre-trained variational autoencoder (VAE) with a DDPM, where the VAE learns mural-specific line prior features to guide the diffusion denoising process. Additionally, we design a Fourier transform-based filtering block in the latent space of the diffusion model to explicitly separate edge features from noise components, enhancing the accuracy of generated line drawings. Furthermore, a joint loss function is employed to guide the training process of the ancient mural line drawing generation model, enabling it to generate accurate and clear line drawings directly from input ancient murals. Different from existing diffusion-based edge detection and sketch generation approaches, the proposed method is specifically designed for the ancient mural line drawing generation task in cultural heritage protection. It leverages the advantages of variational autoencoders (VAEs) to alleviate the excessive computational cost of diffusion models. The designed Fourier filter block adopts the attention mechanism to update the simple frequency-domain weighted filtering paradigm. Furthermore, the joint loss function is based on the generic mean squared error (MSE) loss and integrates losses from multiple complementary dimensions. The main contributions of this paper are as follows: (1) We propose a novel mural line drawing generation model by re-coupling a VAE with a diffusion model, which effectively integrates mural-specific prior knowledge into the generative process. (2) A Fourier transform-based filtering block is designed to separate edge features from noise in the diffusion latent space, significantly improving the quality of the line drawing generated by the model. (3) We have introduced a novel joint loss function that incorporates multi-dimensional loss functions to guide the training process of the model. Related work Mural line drawing The line drawings of ancient murals are characterized by their unrestrained and free style, exhibiting an undisguised frankness that plays a significant role in guiding mural restoration processes. Many scholars have framed the task of generating mural line drawings as an edge detection problem within the domain of image processing. Various strategies and techniques have been applied to address this task, including attention mechanisms, adaptive weight learning strategies, and specialized network architecture designs. For instance, Liu et al. 15 introduced the Bi-DexiNed network for generating mural line drawings. This method employs an adaptive weight strategy to balance the influence of different levels of feature maps on prediction results and utilizes an up-mining path to extract deep semantic information. Similarly, to extract the contours of Dunhuang murals, a convolutional neural network incorporating both convolution and attention mechanisms was proposed by Ref. 16 . Inspired by the self-attention mechanism 17 and the Bottleneck Transformer 18 , this work 16 introduces the Racmix module, which leverages both convolution and self-attention mechanisms. While these methods have proven effective in generating line drawing information from murals, they still encounter limitations in acquiring high-level semantic information. Diffusion probabilistic model The diffusion process, denoising process, and conditional sampling mechanisms are fundamental to the generative capabilities of diffusion models. Consequently, diffusion models have found widespread application across various image generation domains. For instance, a residual denoising diffusion model was introduced, which establishes a unified and more interpretable framework for both image generation and restoration. Addressing the challenge of the unstructured latent space in diffusion models, which impedes smooth interpolation between image samples, Zhang et al. 19 proposed a method to achieve smooth and natural image interpolation by leveraging prior knowledge derived from pre-trained diffusion models. Recognizing that the denoising process is directly applied to the original image size, making it particularly suitable for image edge detection tasks, an edge detection method based on a diffusion model was proposed 14 to achieve accurate and crisp extraction of image edges. Furthermore, to address the problem of recovering high-quality, clean images from degraded images, a diffusion model 20 that employs natural language prompts to guide the image restoration process has been introduced, enabling high-quality image restoration. Fourier frequency information The Fourier transform is a fundamental tool in the field of image processing, and numerous studies 21 , 22 have successfully integrated the Fourier transform into deep learning methods for various vision tasks. For example, Rao et al. 23 introduced the Global Filter Network (GFNet), which learns long-range spatial dependencies in the frequency domain with log-linear complexity. To mitigate the limitations of GFNet in terms of adaptability and expressiveness at high resolutions, an adaptive Fourier neural operation 24 was proposed. This approach enables the formulation of token mixtures as continuous global convolutions, without any dependence on the input resolution. Furthermore, to address the potential of global filter alternatives to multi-head self-attention (MHSA), a novel token-mixer called Dynamic Filter 25 was developed for image recognition. By exploring the positive correlation between amplitude magnitude and brightness magnitude, Wang et al. 26 improved the brightness of low-light images through amplitude transform mapping in frequency space. Different from the above studies, we utilize the Fourier transform to separate mural edge features from noise components within the latent space. An overview of MLDiff The proposed method, MLDiff, involves the re-coupling of a trained variational autoencoder (VAE) model and a diffusion model with conditional inputs, as shown in figure 2 . This re-coupling design is inspired by the decoupled diffusion paradigm in decoupled diffusion models with explicit transformations, where the diffusion process is decomposed to simplify learning, while adapting it to the task of generating mural lines by integrating a VAE for latent space optimization. The whole model uses an autoencoder to reduce the cost of the diffusion process calculation. Fig. 2. Open in a new tab The framework of the proposed MLDiff. The trained encoder is then used to encode the original mural image, x , generating an encoded representation, , which is subsequently fed into the diffusion model. This process can be expressed as: 1 where Encoder * denotes the trained encoder. It is from a pre-trained variational autoencoder (VAE), with its parameters frozen to preserve learned feature-extraction capabilities. The Encoder * compresses into a latent representation . This captures the essential structural and edge-related information of the mural in a compact form, which is then fed into the subsequent diffusion model for further processing. Within the diffusion model, the process of decoupling encoded mural edge features from noise components in the latent space is guided by conditional inputs. Here, the original mural images act as these conditional inputs, and a Swin Transformer 27 is employed to encode them. This can be formulated as: 2 where SwinT represents the conditional input encoding operation performed by the Swin Transformer. The Swin Transformer, leveraging its hierarchical window-based self-attention mechanism, efficiently extracts structural features related to mural edges (e.g., contours of figures, patterns, and texture structures) from the original images. These encoded conditional features then guide the diffusion model’s operation in the latent space: when processing the encoded representation (from the pre-trained encoder), the diffusion model references the conditional features to distinguish between valid mural edge information and noise components. This guidance enables the model to precisely separate edge-related features from noise, ensuring that the subsequent generation of mural line drawings preserves clear and well-defined edges while suppressing unwanted noise. Adopting an asymmetric U-Net architecture, similar to that described in Ref. 28 , the diffusion model comprises an encoder, a Fourier filter block, and a decoder. The asymmetric U-Net employs a deliberately designed difference in channel depth and feature map resolution in the corresponding layers between the encoder and decoder. This design gives priority to preserving fine mural edge details while meeting the computational requirements of processing high-resolution mural images. The encoder within the asymmetric U-Net employs stacked convolution operations, which compress the feature size while increasing the number of feature channels, so as to be able to capture more edge feature information and structure. This feature extraction strategy is beneficial to reduce the computational burden of the model. Subsequently, the Fourier filter block operates on the encoder’s feature maps in the frequency domain. It adaptively suppresses high-frequency noise components while enhancing features corresponding to continuous, meaningful mural lines. This frequency-domain refinement ensures that edge features remain crisp and well-defined, even in regions with complex texture interference. The decoder leverages transposed convolutional layers and residual connections to upsample the filtered features back to the original image resolution. Hence, the diffusion model’s output in the latent space, , can be expressed as: 3 where represents the time step, which regulates the progressive denoising: at early steps, the model primarily reduces high-amplitude noise; at later steps, it refines subtle edge details. The input denotes the encoded representation of the original mural image, capturing compact structural information of the input. represents the encoded conditional features derived from the original mural image via the Swin Transformer, these features encode high-level structural cues that guide the diffusion process to prioritize meaningful edge information. Within the diffusion model, this function integrates the asymmetric U-Net architecture and Fourier filter block to process under the guidance of and . Specifically, the U-Net 29 , 30 encoder extracts multi-scale features from , while the Fourier filter block suppresses noise-related frequency components and amplifies edge-specific features, all conditioned on to ensure alignment with the original mural’s structural logic. As decreases, the model iteratively refines the latent representation, gradually separating valid edge features from noise, ultimately yielding a noise-reduced, edge-enhanced latent representation . Finally, the encoded representation in the latent space, , is passed to the trained decoder to generate the line drawing of the mural, : 4 where Decoder* denotes the trained decoder, whose parameters are frozen to preserve its ability to map latent features back to image space. By processing , the decoder upsamples the refined latent representation, recovering high-resolution details lost during encoding. Leveraging residual connections and transposed convolutions, it accurately translates the edge-enhanced features in into a crisp line drawing . The line drawing retains the mural’s inherent structural characteristics while minimizing noise artifacts. The latent space refinement via the diffusion model and high-quality reconstruction by the decoder ensure that is both accurate to the original mural and visually clear. Fourier filter block To enhance the diffusion model’s ability to decouple mural edge features from noise within the latent space, we propose a Fourier filter block, see figure 3 . This block is engineered to address a limitation of standard convolutional operations in mural edge extraction. Conventional convolutions operate primarily in the spatial domain, focusing excessively on local feature aggregation through fixed kernel weights, and thus lack the capacity to adaptively adjust or suppress specific frequency components. Moreover, the edge features and noise of the mural often overlap in the spatial domain. Although traditional convolution has a good feature learning ability, it is less effective in learning features across diverse frequency components. Fig. 3. Open in a new tab Fourier filter block. Let represent the input to the Fourier filter block, typically a latent feature from the diffusion model’s encoder that contains a mix of mural edge cues and noise. To leverage frequency-domain characteristics for precise feature separation, a two-dimensional (2D) Fourier transform is applied along the spatial dimensions to convert into the frequency space: 5 where denotes the 2D Fast Fourier Transform (FFT), a computationally efficient tool for converting spatial-domain signals into their frequency-domain representations. represents the spectrum of . In the frequency space, meaningful feature separation relies on decomposing into its amplitude and phase components, as these carry complementary information: amplitude reflects signal strength, while phase encodes spatial positional relationships critical for preserving edge continuity. Using the amplitude operation and phase operation , we extract these components: 6 captures the magnitude of each frequency component, while retains phase angles that define the spatial arrangement of features. To refine these components and enhance edge-relevant patterns, we apply an ACmix attention block 31 followed by a LeakyReLU activation to both and : 7 Fusing self-attention for capturing long-range frequency dependencies and convolutional operations for local frequency refinement, the ACmix attention block can adaptively emphasize frequency features corresponding to mural edges to suppress unstable high-frequency noise while amplifying consistent mid-frequency contours. LeakyReLU introduces nonlinearities that prevent gradient saturation and preserve subtle feature variations that are critical for fine mural line drawing details. Using the refined amplitude and phase , we reconstruct the real ( R ) and imaginary ( I ) parts of the complex spectrum: 8 Equation ( 8 ) adjusts the phase information while retaining the original amplitude magnitude, ensuring that edge-relevant frequency components (with adjusted phase alignment) are prioritized without distorting their intensity. The complex spectrum is then re-expressed as: 9 where is the imaginary unit, completing the frequency-domain refinement. To map the enhanced frequency features back to the spatial domain, we apply complex number operations and the Inverse Fast Fourier Transform (IFFT) : 10 thus represents the spatially reconstructed feature map, where edge details are sharpened and noise is attenuated due to the frequency-domain filtering. To further preserve spatial structure that might be underemphasized in frequency-domain processing, a 1 × 1 convolution is applied to to aggregate spatial features. The final output of the Fourier filter block, , is a weighted combination of this spatial feature map and : 11 where and are learnable weight parameters, that adaptively balance the contributions of frequency-refined features and spatial-aggregated features, ensuring both crisp edge details and coherent global structure. Joint loss function The design of the proposed joint loss function is tailored to address the unique challenges of mural line drawing generation by fusing three complementary loss terms, including pixel-level alignment of intricate edge details, severe class imbalance between edge and non-edge pixels, and “hard” sample misclassification that causes overly thick edges. The joint loss function for training our model is based on the objective function presented in Ref. 14 : 12 serves as the foundational loss to supervise two core tasks of the diffusion-based MLDiff model: mural line drawing reconstruction and noise component prediction. The first term is a pixel-wise mean squared error (MSE) loss between the predicted line drawing and the ground-truth line drawing . For murals with expressive lines, this term enforces strict spatial alignment between predicted and true edges, ensuring fine details are not distorted or lost. The second term supervises the model’s ability to predict noise. denotes the noise component predicted by the diffusion model, while is noise sampled from a standard normal distribution . This aligns with the core logic of diffusion models and also applies to mural, as noise often overlaps with edge features in the latent space. By minimizing this term, the model learns to separate valid edge features from unwanted noise, preventing false edges caused by residual noise in . Mural images exhibit extreme class imbalance, edge pixels usually make up a small proportion of the total pixels, while non-edge pixels dominate. Standard cross-entropy loss tends to prioritize non-edge pixels during training, leading to under-detection of weak edges in murals. To mitigate this, we introduce a weighted binary cross-entropy loss 5 into our objective function, defined as: 13 where is the weight, is the ground truth probability of a mural line drawing in , and is the predicted probability of a mural line drawing in . “Hard” samples for pixels with unknown true edge probabilities are prone to be misclassified. These misclassifications often cause the model to overcorrect, generating excessively thick edges, which ruins the delicate line art of murals. To resolve this, we incorporate the Kullback-Leibler (KL) divergence loss, defined as: 14 where denotes the logsoftmax function, which converts the marginal probability map into a logarithmic probability distribution. It enhances the sensitivity of the model to subtle differences between the predicted and true marginal distributions. KL divergence quantifies the “distance” between the log-probability distributions of the ground-truth and prediction . By minimizing , the model is forced to align its predicted edge distribution with the true distribution, avoiding misclassification of “hard” samples. The three loss terms are weighted and combined to form the final optimization objective: 15 where , , and are weight parameters controlling the contribution of each loss term. This holistic loss design enables the model to generate accurate, complete, and clear mural line drawings, while also guides the generated mural line drawings to meet the aesthetic and practical needs of mural preservation and restoration in some aspects. The summary of the whole model training process is in Algorithm 1. Algorithm 1. Open in a new tab MLDiff model training process. The design idea of the joint loss function is derived from the training logic of the diffusion model and the observation of the mural line drawing generation task. First, includes reconstruction loss and noise loss, the reconstruction loss calculates the pixel-wise mean squared error (MSE) between the predicted line drawing and the ground-truth line drawing , which effectively enforces precise alignment between predicted line drawings and ground-truth line drawings. The noise loss, on the other hand, enhances the model’s ability to constrain noise, a design inherently derived from the core mechanism of diffusion models. Second, the introduction of the weighted binary cross-entropy loss aims to mitigate the extreme class imbalance in mural images, where edge pixels account for an extremely low proportion of the total pixels, while non-edge pixels dominate overwhelmingly. Third, the KL divergence loss is incorporated to further address the issues of extreme class imbalance and “hard” sample misclassification. By quantifying the logarithmic probability distribution distance between predicted line drawings and ground-truth line drawings, the KL divergence loss forces the model to align the edge distribution with the ground-truth distribution, preventing overconfident misclassification of “hard” sample. These three components complement each other functionally, ensures the accuracy of edge structures and suppresses noise, the weighted binary cross-entropy loss alleviates class imbalance, and the KL divergence loss optimizes edge distribution and detail preservation. Results Dataset and experimental settings Ancient murals are iconic cultural heritages that reflect the artistic aesthetics, religious beliefs and social life of ancient civilizations. Their protection and utilization face great challenges, which directly hinders the development of data-driven mural analysis and restoration technologies. The lack of standardized mural datasets stems from three intertwined factors: (1) Time erosion. Centuries of weathering have caused irreversible damage such as pigment peeling, color fading, and surface cracking, resulting in incomplete visual information; (2) Human interference. Historical damage, inappropriate restoration attempts and tourist-related wear and tear further distort the details of the murals; (3) Environmental degradation. Fluctuations in temperature and humidity, as well as biological corrosion, lead to uneven image quality of existing mural recordings. These problems lead to inconsistencies in existing mural data, including different resolutions, inconsistent lighting conditions, and uneven damage degrees, making it difficult to construct a unified and high-quality training dataset. To address this gap and effectively train the proposed MLDiff model, we achieve a diverse mural dataset by balancing data authenticity and scale. Firstly, we obtain high-quality original mural data from the public mural restoration competition dataset to ensure the reliability of the data. Second, we complemented high-fidelity scanned reproductions of authoritative mural albums, which included well-preserved mural reproductions, avoiding physical damage to the original artifacts. To ensure data quality, we implemented strict screening criteria in terms of resolution, completeness, and consistency to eliminate resolution differences that could affect model training. Obtaining accurate, pixel-aligned mural line drawings is a prerequisite for supervised model training. The themes of ancient murals are extremely diverse and contain complex lines. Manual annotation of such line drawings is not only time-consuming and laborious, but also prone to subjective bias, that is, different annotators may disagree on the extent of blurred edges. To solve this problem, a semi-automatic line drawing generation process is adopted. An edge extraction method with good performance 8 , 32 is used to generate thick line drawings. The proposed method utilizes hierarchical feature fusion to capture global contours and local details, and outperforms traditional edge detectors in preserving the unique line features of murals. Specifically, we apply a series of image preprocessing processes to refine the mural lines and ensure strict pixel alignment with the original mural image: (1) Noise reduction processing. The bilateral filter is used to suppress noise and smooth the image, which effectively retains the structural edges without blurring the fine details. This eliminates the noise problem in the mural image while maintaining the integrity of the potential edge structure. (2) Line drawing extraction. The DexiNed model 8 , 32 is used for line extraction because it can generate visually reasonable thin line drawings without the need for additional pre-training or fine-tuning, making it highly suitable for our data preparation task. (3) Binarization and optimization. A threshold is set to binarize the extracted line map and convert it into a standard binary line map. For unavoidable residual noise or minor discontinuities, we manually optimize the line drawing. With this pipeline, we avoid the common problem of “edge misalignment” that plagues simple line drawing generation methods, which can lead to incorrect supervision signals during model training. In total, we collected 2124 high-quality mural images and their corresponding accurate line drawings from Refs. 33 , 34 . To mitigate the ability of the overfitting augmentation model to generalize to different mural variations, we apply a set of data augmentation techniques 35 , 36 specific to mural features. Random cropping ensures that even small line details are included in the training samples; Random horizontal flips can account for the symmetries of many mural compositions without changing the semantics; Rotations to accommodate the slight skew of scanned mural images. These augmentations expand the original 2124 image pairs into a final training dataset of 10,620 samples, which we further split into 80% training set, 10% validation set and 10% test set for rigorous model evaluation. Figure 4 presents a representative example of data augmentation. Fig. 4. Open in a new tab Data augmentation. ( a ) Original mural. ( b ) Line drawing. ( c ) Horizontal flip of the original mural. ( d ) Horizontal flip of the line drawing. To generate high-quality mural line drawings with accurate contours and crisp edges, our proposed MLDiff model undergoes a two-stage training process that sequentially optimizes the variational autoencoder (VAE) and the diffusion model, with parameter settings tailored to the unique characteristics of mural data. The VAE serves as the backbone for compressing mural images into a compact latent space and reconstructing edge features, making its training critical for subsequent diffusion-based refinement. We first train the VAE independently on our constructed mural dataset, with parameters optimized to balance encoding efficiency and edge preservation. The VAE is trained for 150,000 epochs with a mini-batch size of 8. This extensive training duration ensures the model converges to a stable latent space where mural edge features are encoded with minimal information loss. We employ the AdamW optimizer, which combines Adam’s adaptive learning rates with weight decay to mitigate overfitting. The learning rate is set to 3e-6, a relatively small value chosen to prevent destabilizing the VAE’s latent space during early training. This slow learning rate allows the encoder to gradually learn robust representations of mural structures without overfitting to dataset idiosyncrasies. The gradient update frequency is set to 2, meaning gradients are accumulated over 2 batches before updating model parameters. After pre-training the VAE, we integrate the diffusion model between the frozen VAE encoder and decoder, focusing on optimizing its ability to refine latent features and separate edge signals from noise. The diffusion model is trained for 50,000 epochs with a mini-batch size of 2. While fewer epochs than the VAE, this duration is sufficient because the diffusion model leverages the pre-trained VAE’s stable latent space, reducing the need for extensive convergence. The diffusion process uses time steps to balance the denoising accuracy and computational efficiency. This allows the model to progressively refine latent features in such a number of steps setting. The AdamW optimizer is used with a higher learning rate of 5e-5, reflecting the diffusion model’s need to learn more dynamic patterns compared to the VAE’s stable encoding task. This rate balances responsiveness to edge features and stability during training. The gradient update frequency is set to 8. Within the Fourier filter block, the default settings are applied for the Fast Fourier Transform (FFT) and Inverse Fast Fourier Transform (IFFT). We use PyTorch’s built-in torch.fft.fft2 and torch.fft.ifft2 functions, which perform 2D Fast Fourier Transform and Inverse FFT on spatial feature maps. Our model is implemented using PyTorch 1.10 and CUDA 11.1. Training is performed on two NVIDIA Tesla V100 GPUs (32GB VRAM each), chosen for their high memory capacity to handle large batch sizes and 512 × 512 input resolutions. To streamline distributed training across multiple GPUs, we utilize Hugging Face’s Accelerate library 37 , 38 , which automates gradient synchronization, mixed-precision training (FP16), and memory allocation. Comparative experiment To comprehensively verify the superiority of MLDiff model in generating high-quality mural line drawings, it is rigorously evaluated against five representative methods, including traditional gradient-based methods and state-of-the-art deep learning methods. The comparison focuses on visual fidelity. The evaluation methods include: (1) traditional gradient-based methods: Canny 2 and Sobel 1 ; (2) Deep learning-based methods: HED 5 (Convolutional multi-scale fusion), PiDiNet 9 (Lightweight pixel difference convolution), EDTER 10 (Transformer-based), and DiffusionEdge 14 (Diffusion edge detection). A visual comparison of the generated mural line drawings is presented in figures 5 and 6 , and the key differences are analyzed below, with particular emphasis on the limitations versus advantages of each method. Fig. 5. Open in a new tab Comparison of the results of different methods. Fig. 6. Open in a new tab Comparison of the results of different methods. Canny and Sobel, which rely on local spatial-domain information (gradient magnitude for Canny, partial derivatives for Sobel), excel at generating crisp, thin lines in high-contrast natural images but struggle to adapt to the complexity of mural data, leading to low accuracy in edge localization. Canny’s multi-stage pipeline (Gaussian smoothing, gradient calculation, non-maximum suppression, hysteresis thresholding) produces visually crisp lines but fails to distinguish valid mural edges from noise or subtle color variations. For example, in figure 5 (Buddha statue mural), Canny cannot detect the fine, low-contrast garment lines (resulting from pigment fading in murals) because their gradient magnitudes fall below the hysteresis threshold. Instead, it over detects random texture artifacts as false edges, resulting in a higher number of false edges. Sobel’s horizontal/vertical gradient computation can generate directional edges but lacks robustness to mural noise. In figure 6 , Sobel misjudged the subtle texture of dark clothing in the mural as an image content signal, resulting in the missing of necessary edge information. Moreover, it is unable to capture curved mural edges (such as the radian of the auspicious cloud pattern) because its fixed directional kernel prioritizes axle-aligned features, which contradicts the smooth, expressive lines of ancient murals. HED and PiDiNet utilize multi-scale convolutional blocks to integrate local and global features, which improves edge accuracy over traditional methods, but their inherent spatial domain feature aggregation leads to excessive line thickening and detail loss. HED’s encoder-decoder architecture fuses features from the hierarchical layers of VGG-16 to generate edge maps. However, it heavily relies on downsampling and upsampling, resulting in loss of spatial information. In figure 5 , HED generates over thick lines for the Buddha robe folds because the upsampling using bilinear interpolation blurs the edge boundaries. It also loses fine details like the contour of Buddha’s finger, as deep convolutional layers prioritize global contours over local microscopic features. PiDiNet introduces pixel difference convolution to effectively capture edge cues, but its lightweight design limits its ability to handle complex mural textures. In figure 6 , PiDiNet is unable to distinguish crossing lines, resulting in blurred, merged contours. This is because its shallow feature fusion fails to distinguish overlapping edge signals and thus smoothes key structural details. DiffusionEdge is a cutting-edge diffusion-based edge detector that addresses some of the limitations of convolutional models by denoising in latent space. It has certain advantages in the overall effect of the image, but there is information loss in the preservation of edge details. In figures 5 and 6 , because the diffusion model misclassifies it as noise, the key edge information of the mural is lost and its fine outer contour is suppressed. Our proposed MLDiff model generates accurate and detail-rich mural line drawings even in challenging regions with subtle color changes or complex textures by leveraging its integrated VAE-diffusion architecture and Fourier filter blocks. Figures 5 and 6 collectively demonstrate that MLDiff addresses the core limitations of existing methods for mural line drawing generation: it avoids the accuracy issues of traditional gradient methods, the line-thickening problem of convolutional models, and the instability of general diffusion-based detectors. It can be seen that MLDiff generates line drawings that are both visually faithful to the original murals and practically useful for restoration and cultural heritage preservation. Beyond the visual performance advantages of MLDiff in mural line drawing generation, computational cost serves as another pivotal metric for assessing a method’s practicality. Table 1 presents a comparison of the computational costs between the proposed MLDiff model and the comparison methods, such as HED, PiDiNet, DiffusionEdge, EDTER. The number of parameters (#.Param.) and floating-point operations (FLOPs), which are critical for quantifying model complexity and inference efficiency. As shown in Table 1 , distinct differences in computational cost are observed across methods with different technical routes. Traditional non-learning-based gradient methods (Canny, Sobel) rely on fixed gradient thresholding and involve no trainable parameters, so the relevant computational cost is not listed in Table 1 . Convolutional neural network (CNN)-based edge detection methods (HED, PiDiNet) exhibit relatively low computational costs. The lightweight PiDiNet model further reduces the computational burden, with only 0.72 M parameters and 8.29 G FLOPs. However, these lightweight or traditional CNN methods lack adaptive designs for the degradation characteristics of ancient murals, thus failing to meet the high-precision requirements of mural line drawing generation. The transformer-based EDTER model has a high computational cost. This high computational cost stems from the global self-attention mechanism of transformer, which introduces redundant token interactions when processing images, resulting in excessive model overhead. For diffusion model-driven edge detection methods, DiffusionEdge and the proposed MLDiff fall into the same order of magnitude in terms of computational cost, MLDiff has slightly higher than DiffusionEdge. Though MLDiff’s computational cost is marginally elevated, this pairs with targeted optimizations that enhance mural line drawing performance, balancing efficiency and precision. Table 1. Computational cost of different models. Models #.Param. (M) FLOPs (G) HED 14.71 103.75 PiDiNet 0.72 8.29 DiffusionEdge 133.29 496.72 EDTER 357.45 332.00 MLDiff 135.47 496.86 Open in a new tab To evaluate the generalization of the proposed method, we also plot the Precision-Recall (P-R) curves of each method on the common edge detection benchmark dataset BSDS500 test set 39 , and calculate the corresponding F-measure. In figure 7 , a variety of methods including the proposed MLDiff, traditional methods Canny and Sobel, deep learning methods HED and PiDiNet, EDTER, and DiffusionEdge are compared, while human annotation is used as a performance reference. The F-measure value of traditional methods is significantly lower than that of deep learning and diffusion models, especially Sobel. HED and PiDiNet are representative edge detection methods in deep learning methods, and their F-measure values are relatively close, but the precision decreases rapidly in high recall regions. The performance of DiffusionEdge and EDTER is close to MLDiff, and MLDiff has the largest area under the P-R curve and the highest F-measure value, which indicates that it achieves an optimal balance between precision and recall of edge detection, and reflects the good generalization of our method. Fig. 7. Open in a new tab The precision-recall curves of our models and compared methods on BSDS500 dataset. Besides the trend insights reflected by the precision-recall curves on the BSDS500 testing set, the quantitative results presented in Table 2 allow for a more granular comparison of edge detection performance across evaluated methods. The proposed MLDiff achieves competitive performance on the ODS (Optimal Dataset Scale) metrics, outperforming the DiffusionEdge method based on the diffusion model and the transformer-based EDTER method. On the OIS (Optimal Image Scale) metrics, our method is close to DiffusionEdge while outperforming EDTER. On the AP (Average Precision) metric, it outperforms all the comparison models. This indicates that the edge maps of MLDiff are more accurate in alignment with the true contour and more meaningful edge details are retained. It can also be seen from the Table 2 that the overall advantages of learning-based methods are in sharp contrast to the relatively limited capabilities of traditional non-learning methods. A distinct performance gap is observed between traditional non-learning-based methods and learning-based approaches. The traditional non-learning methods have relatively low performance, while the learning-based methods have shown significant improvement in the given evaluation metrics. Table 2. Results on the BSDS500 dataset. Models ODS OIS AP Candy 0.600 0.640 0.580 Sobel -- -- -- HED 0.788 0.808 0.840 PiDiNet 0.807 0.823 -- DiffusionEdge 0.834 0.848 -- EDTER 0.824 0.841 0.880 MLDiff 0.836 0.846 0.885 Open in a new tab For methods relying on gradient information and pixel differences, generating accurate edges in regions of similar colors presents a significant challenge due to the subtle boundary distinctions. Consequently, producing accurate line drawings in these areas is a particularly demanding task. To further evaluate the detail preservation capabilities of our proposed method, we specifically compared the performance of different methods in regions with similar colors. Figure 8 presents a local zoom-in view of the generated mural line drawings. Fig. 8. Open in a new tab A local zoom-in view of the generated mural line drawings. As shown in the figure 8 , the Sobel method detects edges by computing horizontal and vertical partial derivatives to measure intensity changes. However, its fixed directional kernels and reliance on raw gradient magnitude make it ineffective in regions with relatively low color intensity. PiDiNet utilizes pixel-difference convolution to capture edge cues. Nevertheless, its shallow feature fusion and spatial-domain aggregation led to over-smoothing in similar-color regions, resulting in thick, blurred edges. In contrast, DiffusionEdge and MLDiff retain more image details and extract the lines of the human face. The proposed MLDiff integrates the preservation of latent space information, frequency domain feature learning, and a joint loss function strategy. It is capable of overcoming the challenges of balancing the sensitivity of edge detection and the retention of details in low-contrast mural areas. By retaining fine edges without excessive smoothing or thickening, the line drawings generated by MLDiff can capture the subtle artistic details of ancient murals, which is of vital importance for the protection and restoration of cultural heritage. Ablation experiments Ablation experiments serve as a key method to verify the core role of each module in a model. To clarify the impact of the Fourier filter block on the overall performance of MLDiff, we designed a comparative experiment: we retained other structures of the model, only removed the Fourier filter block, and obtained the variant model MLDiff † . The performance differences between the two models were compared through visual effects (Figure 9 ). The mural line drawings generated by MLDiff have a good visual effect. In areas with similar colors, it can accurately maintain an appropriate line width, avoiding the blurring of details caused by overly thick lines and the edge breakage problems caused by overly thin lines. Neither the outline of the Buddha nor the intersecting lines of the ornament have obvious deformations or imperfections. These line drawings are overall continuous and clear, fully meeting the requirements of “structural fidelity” and “detail integrity” in mural restoration, and can be used for digital archiving or as reference for restoration. The quality of the line drawings generated by MLDiff † has significantly declined, with severe edge distortion and numerous artifacts appearing. Due to its lack of extraction of frequency domain features, it mistakenly identifies the color differences on the mural as edges, resulting in a large number of chaotic “noise lines”. The line drawings generated by MLDiff † cannot accurately reflect the artistic style of the mural lines or provide accurate contour references for restoration. Fig. 9. Open in a new tab Results of ablation experiments. The ablation experiments show that the Fourier filter block can enhance the performance of MLDiff in generating the edges of the murals. Through frequency domain transformation, it can specifically enhance the frequency signals corresponding to the edges and suppress the high-frequency interference corresponding to the noise, to a certain extent alleviating the problem of coupling between the edges and noise in the latent space. This effect is achieved by transforming the input feature maps into the frequency domain via Fast Fourier Transform (FFT), followed by separating the frequency spectrum into amplitude and phase components. Subsequently, an ACmix attention block is employed to adaptively emphasize the frequency features corresponding to mural edges while suppressing unstable high-frequency noise. After refining the amplitude and phase components, the filter reconstructs the complex frequency spectrum, maps it back to the spatial domain through Inverse Fast Fourier Transform (IFFT), and finally combines the frequency-refined features with spatially aggregated features using learnable weights. Furthermore, to verify the effectiveness of each component in the proposed joint loss function , we conducted a controlled ablation study following a rational experimental design. The basic objective loss was consistently retained as the optimization guidance for model training to guarantee the normal training procedure. On this basis, the weighted binary cross-entropy loss and KL divergence loss were individually removed in turn (named as MLDiff #1 and MLDiff #2 ), and the unique contribution of each loss term was clarified by comparing the visual discrepancies before and after ablation. As illustrated in figure 9 , when only the weighted binary cross-entropy loss is excluded, MLDiff #1 can still accomplish fundamental line drawing generation and noise suppression. Nevertheless, severely affected by the extreme class imbalance between edge and non-edge pixels in murals, distinct problems including discontinuous line structures will arise. When only the KL divergence loss is eliminated, the overall structure of the line drawing and the effect of noise suppression can be roughly maintained, but MLDiff #2 is incapable of addressing the misclassification of hard samples, which further results in defects such as residual noise and overly thick edges in the generated mural line drawings. The ablation experimental results clearly indicate that , as the fundamental core in the joint loss function, secures the basic reconstruction fidelity and noise suppression capability of the model, and provides the core optimization guidance for line drawing generation. mitigates the class imbalance between edge and non-edge pixels in murals, ensuring that weak edges are not missed and line structures remain complete and continuous. effectively rectifies the misclassification of hard samples and prevents the generation of overly thick edges. Conclusions Ancient murals are irreplaceable historical and cultural heritage, and their line drawings are essential for digital preservation and scholarly research. From a computer vision perspective, we propose a diffusion model with a variational encoder for the line drawing generation task for murals. The pre-trained VAE compresses murals into a structured latent space while preserving edge details, and the diffusion model with Fourier filter blocks achieves the ability to separate edge features from noise in the latent space. Additionally, a multi-dimensional joint loss function guides training to address class imbalance and edge over-thickening. Extensive experiments show that the proposed method generates accurate, crisp line drawings, even in challenging low-contrast regions with subtle color variations. While our method shows promising results, accurately capturing edges in regions with similar colors and dense lines remains a significant challenge due to the inherent complexity and diversity of mural art. Besides, in terms of computational efficiency, despite the optimization of the propose method via VAE-based feature compression and filtering in the frequency domain, the inherent iterative sampling mechanism of diffusion models still results in higher inference latency compared to lightweight CNN methods. This may limit its application in scenarios with strict real-time requirements. In the future work, we plan to introduce Mamba and Kolmogorov-Arnold network (KAN) model into the work of digital mural protection, and use their advantages in model efficiency and feature representation to improve the detail quality of mural line drawing generation and the computational performance of model inference. These advancements will contribute to more robust and effective technical support for the digital preservation of murals. Acknowledgements This work was supported by Henan Xing culture Project Cultural research special project (No. 2024XWH198), the Youth Project of Humanities and Social Sciences Research of the Ministry of Education (No. 24YJCZH199), Henan Province colleges and universities young backbone teacher training program (No. 2023GGJS148), the Doctoral Research Start-up Fund of Pingdingshan University (No. PXY-BSQD-2023019, No. PXY-BSQD-2024008). Author contributions N.Z. contributed to the conception of the study and wrote the manuscript, Q.L. contributed to the conception of the study and experimented, J.S. performed the experiment and manuscript preparation, Z.Z. helped perform the analysis with constructive discussions. All authors reviewed the manuscript. Funding This work was supported by Henan Xing culture Project Cultural research special project (No. 2024XWH198), the Youth Project of Humanities and Social Sciences Research of the Ministry of Education (No. 24YJCZH199), Henan Province colleges and universities young backbone teacher training program (No. 2023GGJS148), the Doctoral Research Start-up Fund of Pingdingshan University (No. PXY-BSQD-2023019, No. PXY-BSQD-2024008). Data availability The datasets and codes in this study are available from the corresponding author upon reasonable request. Declarations Competing interests The authors declare no competing interests. Footnotes Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Contributor Information Na Zhao, Email: 5229@pdsu.edu.cn. Qiongshuai Lyu, Email: 4354@pdsu.edu.cn. References 1. Sobel, I. & Feldman, G. A 3×3 isotropic gradient operator for image processing. In: Proceedings of The Stanford Artificial Project; :271–272. (1968). 2. Canny, J. A computational approach to edge detection. IEEE Trans. Pattern Anal. Mach. Intell. 8 (6), 679–698 (1986). [ PubMed ] [ Google Scholar ] 3. Dollar, P., Tu, Z. & Belongie, S. J. Supervised learning of edges and object boundaries. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR); :1964–1971. (2006). 4. Kittler, J. On the accuracy of the Sobel edge detector. Image Vis. Comput. 1 (1), 37–42 (1983). [ Google Scholar ] 5. Xie, S. & Tu, Z. Holistically-nested edge detection. In: Proceedings of the IEEE International Conference on Computer Vision (ICCV); :1395–1403. (2015). 6. Liu, Y., Cheng, M. M. & Hu, X. Richer convolutional features for edge detection. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR); :3000–3009. (2017). 7. He, J., Zhang, S. & Yang, M. Bi-directional cascade network for perceptual edge detection. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR); :3828–3837. (2019). 8. Soria, X., Riba, E., Sappa, A. & Vision Dense Extreme Inception Network: Towards a robust CNN model for edge detection. In: Proceedings of the IEEE Winter Conference on Applications of Computer (WACV); Snowmass, CO, USA; :1912–1921. (2020). 9. Su, Z. et al. Pixel difference networks for efficient edge detection. In: Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV); :5117–5127. (2021). 10. Pu, M. et al. Edter: Edge detection with transformer. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR); :1402–1412. (2022). 11. Ho, J., Jain, A. & Abbeel, P. Denoising diffusion probabilistic models. Adv. Neural Inf. Process. Syst. 33 , 6840–6851 (2020). [ Google Scholar ] 12. Dhariwal, P. & Nichol, A. Diffusion models beat GANs on image synthesis. arXiv arXiv , 210505233 (2021). [ Google Scholar ] 13. Rombach, R. et al. High-resolution image synthesis with latent diffusion models. In: Proceedings of the IEEE/CVF Conference on Computer Vision and (CVPR); New Orleans, LA, USA; :10674–10685. (2022). 14. Ye, Y. et al. DiffusionEdge: Diffusion probabilistic model for crisp edge detection. Proc. AAAI Conf. Artif. Intell. 38 (7), 6675–6683 (2024). [ Google Scholar ] 15. Liu, B. et al. Dunhuang mural line drawing based on bi-dexined network and adaptive weight learning. In: Proceedings of the Chinese Conference on Pattern Recognition and Computer Vision (PRCV); Cham: Springer International Publishing; :279–292. (2022). 16. Liu, B. et al. Dunhuang murals contour generation network based on convolution and self-attention fusion. Appl. Intell. 53 (19), 22073–22085 (2023). [ Google Scholar ] 17. Pan, X. et al. On the integration of self-attention and convolution. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) ; :815–825. (2022). 18. Srinivas, A. et al. Bottleneck transformers for visual recognition. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) ; :16519–16529. (2021). 19. Zhang, K. et al. DiffMorpher: Unleashing the capability of diffusion models for image morphing. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR ); :7912–7921. (2024). 20. Conde, M. V., Geigle, G. & Timofte, R. High-quality image restoration following human instructions. arXiv arXiv , 240116468 (2024). [ Google Scholar ] 21. Ding, C. et al. CirCNN: Accelerating and compressing deep neural networks using block-circulant weight matrices. In: Proceedings of the 50th Annual IEEE/ACM International Symposium on Microarchitecture ; October 2017:395–408. 22. Li, S. et al. Falcon: A Fourier transform based approach for fast and secure convolutional neural network predictions. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) ; :8705–8714. (2020). 23. Rao, Y. et al. Global filter networks for image classification. Adv. Neural Inf. Process. Syst. 34 , 980–993 (2021). [ Google Scholar ] 24. Guibas, J. et al. Adaptive Fourier neural operators: Efficient token mixers for transformers. arXiv arXiv , 211113587 (2021). [ Google Scholar ] 25. Tatsunami, Y. & Taki, M. FFT-based dynamic token mixer for vision. Proc. AAAI Conf. Artif. Intell. 38 (14), 15328–15336 (2024). [ Google Scholar ] 26. Wang, C., Wu, H. & Fourllie Boosting low-light image enhancement by Fourier frequency information. In: Proceedings of the 31st ACM International Conference on Multimedia ; October :7459–7469. (2023). 27. Liu, Z. et al. Swin Transformer: Hierarchical Vision Transformer using shifted windows. In: Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV); Montreal, QC, Canada ; :9992–10002. (2021). 28. Huang, Y., Qin, Z., Liu, X. & Xu, K. Simultaneous Image-to-Zero and Zero-to-Noise: Diffusion Models with Analytical Image Attenuation. arXiv arXiv , 230613720 (2023). [ Google Scholar ] 29. Al Haris, M. F., Purnama, I. K. E., Yuniarno, E. M., Fatmawati, H. & Multimedia, I. An optimized U-Net encoder with VGG-16 and additional feature block for brain tumor segmentation on MRI ADC images. In: Proceedings of the 2024 International Conference on Computer Engineering, Network, and (CENIM); Surabaya, Indonesia; :1–6. (2024). 30. Al Jowair, H., Alsulaiman, M. & Muhammad, G. Multi parallel U-Net encoder network for effective polyp image segmentation. Image Vis. Comput. 137 , 1–13 (2023). [ Google Scholar ] 31. Pan, X. et al. On the integration of self-attention and convolution. In: Proceedings of the IEEE/CVF Conference on Computer Vision and (CVPR); New Orleans, LA, USA; :805–815. (2022). 32. Soria, X. et al. Dense extreme inception network for edge detection. Pattern Recogn. 139 , 109461 (2023). [ Google Scholar ] 33. Li, L., Zou, Q., Zhang, F. & Yu, H. Line drawing-guided progressive inpainting for mural damage. ACM J. Comput. Cult. Herit. 18 (3), 1–20 (2025). [ Google Scholar ] 34. Liu, B., Du, S., Li, J., Wang, J. & Liu, W. Dunhuang mural line drawing based on bi-dexined network and adaptive weight learning. In: Proceedings of the Chinese Conference on Pattern Recognition and Computer Vision (PRCV), 279–292. (2022). 35. Shorten, C. & Khoshgoftaar, T. M. A survey on image data augmentation for deep learning. J. big data 2019 , 6 (1), 1–48 . [ DOI ] [ PMC free article ] [ PubMed ] 36. Kumar, T., Brennan, R., Mileo, A. & Bendechache, M. Image data augmentation approaches: A comprehensive survey and future directions. IEEE Access. 12 , 187536–187571 (2024). [ Google Scholar ] 37. Israel, D., Van den Broeck, G. & Grover, A. Accelerating diffusion LLMs via adaptive parallel decoding. arXiv arXiv , 250600413 (2025). [ Google Scholar ] 38. Suresh, T. et al. Dingo: Constrained inference for diffusion LLMs. arXiv arXiv , 250523061 (2025). [ Google Scholar ] 39. Arbelaez, P., Maire, M., Fowlkes, C. & Malik, J. Contour Detection and Hierarchical Image Segmentation. IEEE Trans. Pattern Anal. Mach. Intell. (TPAMI) . 33 (5), 898–916 (2011). [ DOI ] [ PubMed ] [ Google Scholar ] Associated Data This section collects any data citations, data availability statements, or supplementary materials included in this article. Data Availability Statement The datasets and codes in this study are available from the corresponding author upon reasonable request. Articles from Scientific Reports are provided here courtesy of Nature Publishing Group ACTIONS View on publisher site PDF (8.5 MB) Cite Collections Permalink RESOURCES Similar articles Cited by other articles Links to NCBI Databases Follow NCBI NCBI on X (formerly known as Twitter) NCBI on Facebook NCBI on LinkedIn NCBI on GitHub NCBI RSS feed Connect with NLM NLM on X (formerly known as Twitter) NLM on Facebook NLM on YouTube National Library of Medicine 8600 Rockville Pike Bethesda, MD 20894 Web Policies FOIA HHS Vulnerability Disclosure Help Accessibility Careers NLM NIH HHS USA.gov Back to Top
Related documents
- SVGFusion: A VAE-Diffusion Transformer for Vector Graphic Generation#128332
- DisCo3D: Distilling Multi-View Consistency for 3D Scene Editing#793461
- DisCo3D: Distilling Multi-View Consistency for 3D Scene Editing#789457
- Fragment-Aware Vision Transformers for Fresco-Fragment Style Classification#1034982
- DualDiff3D: Dual Structure-Appearance Diffusion Priors for Reliability-Enhanced 3D Gaussian Splatting#821549
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive