Foodfusion: A Novel Approach for Food Image Composition via Diffusion Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Shi, Chaohua, Wang, Xuan, Shi, Si, Wang, Xule, Zhu, Mingrui, Wang, Nannan, Gao, Xinbo
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909374160568320
author Shi, Chaohua
Wang, Xuan
Shi, Si
Wang, Xule
Zhu, Mingrui
Wang, Nannan
Gao, Xinbo
author_facet Shi, Chaohua
Wang, Xuan
Shi, Si
Wang, Xule
Zhu, Mingrui
Wang, Nannan
Gao, Xinbo
contents Food image composition requires the use of existing dish images and background images to synthesize a natural new image, while diffusion models have made significant advancements in image generation, enabling the construction of end-to-end architectures that yield promising results. However, existing diffusion models face challenges in processing and fusing information from multiple images and lack access to high-quality publicly available datasets, which prevents the application of diffusion models in food image composition. In this paper, we introduce a large-scale, high-quality food image composite dataset, FC22k, which comprises 22,000 foreground, background, and ground truth ternary image pairs. Additionally, we propose a novel food image composition method, Foodfusion, which leverages the capabilities of the pre-trained diffusion models and incorporates a Fusion Module for processing and integrating foreground and background information. This fused information aligns the foreground features with the background structure by merging the global structural information at the cross-attention layer of the denoising UNet. To further enhance the content and structure of the background, we also integrate a Content-Structure Control Module. Extensive experiments demonstrate the effectiveness and scalability of our proposed method.
format Preprint
id arxiv_https___arxiv_org_abs_2408_14135
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Foodfusion: A Novel Approach for Food Image Composition via Diffusion Models
Shi, Chaohua
Wang, Xuan
Shi, Si
Wang, Xule
Zhu, Mingrui
Wang, Nannan
Gao, Xinbo
Computer Vision and Pattern Recognition
Food image composition requires the use of existing dish images and background images to synthesize a natural new image, while diffusion models have made significant advancements in image generation, enabling the construction of end-to-end architectures that yield promising results. However, existing diffusion models face challenges in processing and fusing information from multiple images and lack access to high-quality publicly available datasets, which prevents the application of diffusion models in food image composition. In this paper, we introduce a large-scale, high-quality food image composite dataset, FC22k, which comprises 22,000 foreground, background, and ground truth ternary image pairs. Additionally, we propose a novel food image composition method, Foodfusion, which leverages the capabilities of the pre-trained diffusion models and incorporates a Fusion Module for processing and integrating foreground and background information. This fused information aligns the foreground features with the background structure by merging the global structural information at the cross-attention layer of the denoising UNet. To further enhance the content and structure of the background, we also integrate a Content-Structure Control Module. Extensive experiments demonstrate the effectiveness and scalability of our proposed method.
title Foodfusion: A Novel Approach for Food Image Composition via Diffusion Models
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2408.14135