Cargando…

A New CNN-Based Single-Ingredient Classification Model and Its Application in Food Image Segmentation

It is important for food recognition to separate each ingredient within a food image at the pixel level. Most existing research has trained a segmentation network on datasets with pixel-level annotations to achieve food ingredient segmentation. However, preparing such datasets is exceedingly hard an...

Descripción completa

Detalles Bibliográficos
Autores principales: Zhu, Ziyi, Dai, Ying
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10607895/
https://www.ncbi.nlm.nih.gov/pubmed/37888312
http://dx.doi.org/10.3390/jimaging9100205
_version_ 1785127650841329664
author Zhu, Ziyi
Dai, Ying
author_facet Zhu, Ziyi
Dai, Ying
author_sort Zhu, Ziyi
collection PubMed
description It is important for food recognition to separate each ingredient within a food image at the pixel level. Most existing research has trained a segmentation network on datasets with pixel-level annotations to achieve food ingredient segmentation. However, preparing such datasets is exceedingly hard and time-consuming. In this paper, we propose a new framework for ingredient segmentation utilizing feature maps of the CNN-based Single-Ingredient Classification Model that is trained on the dataset with image-level annotation. To train this model, we first introduce a standardized biological-based hierarchical ingredient structure and construct a single-ingredient image dataset based on this structure. Then, we build a single-ingredient classification model on this dataset as the backbone of the proposed framework. In this framework, we extract feature maps from the single-ingredient classification model and propose two methods for processing these feature maps for segmenting ingredients in the food images. We introduce five evaluation metrics (IoU, Dice, Purity, Entirety, and Loss of GTs) to assess the performance of ingredient segmentation in terms of ingredient classification. Extensive experiments demonstrate the effectiveness of the proposed method, achieving a mIoU of 0.65, mDice of 0.77, mPurity of 0.83, mEntirety of 0.80, and mLoGTs of 0.06 for the optimal model on the FoodSeg103 dataset. We believe that our approach lays the foundation for subsequent ingredient recognition.
format Online
Article
Text
id pubmed-10607895
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-106078952023-10-28 A New CNN-Based Single-Ingredient Classification Model and Its Application in Food Image Segmentation Zhu, Ziyi Dai, Ying J Imaging Article It is important for food recognition to separate each ingredient within a food image at the pixel level. Most existing research has trained a segmentation network on datasets with pixel-level annotations to achieve food ingredient segmentation. However, preparing such datasets is exceedingly hard and time-consuming. In this paper, we propose a new framework for ingredient segmentation utilizing feature maps of the CNN-based Single-Ingredient Classification Model that is trained on the dataset with image-level annotation. To train this model, we first introduce a standardized biological-based hierarchical ingredient structure and construct a single-ingredient image dataset based on this structure. Then, we build a single-ingredient classification model on this dataset as the backbone of the proposed framework. In this framework, we extract feature maps from the single-ingredient classification model and propose two methods for processing these feature maps for segmenting ingredients in the food images. We introduce five evaluation metrics (IoU, Dice, Purity, Entirety, and Loss of GTs) to assess the performance of ingredient segmentation in terms of ingredient classification. Extensive experiments demonstrate the effectiveness of the proposed method, achieving a mIoU of 0.65, mDice of 0.77, mPurity of 0.83, mEntirety of 0.80, and mLoGTs of 0.06 for the optimal model on the FoodSeg103 dataset. We believe that our approach lays the foundation for subsequent ingredient recognition. MDPI 2023-09-29 /pmc/articles/PMC10607895/ /pubmed/37888312 http://dx.doi.org/10.3390/jimaging9100205 Text en © 2023 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Zhu, Ziyi
Dai, Ying
A New CNN-Based Single-Ingredient Classification Model and Its Application in Food Image Segmentation
title A New CNN-Based Single-Ingredient Classification Model and Its Application in Food Image Segmentation
title_full A New CNN-Based Single-Ingredient Classification Model and Its Application in Food Image Segmentation
title_fullStr A New CNN-Based Single-Ingredient Classification Model and Its Application in Food Image Segmentation
title_full_unstemmed A New CNN-Based Single-Ingredient Classification Model and Its Application in Food Image Segmentation
title_short A New CNN-Based Single-Ingredient Classification Model and Its Application in Food Image Segmentation
title_sort new cnn-based single-ingredient classification model and its application in food image segmentation
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10607895/
https://www.ncbi.nlm.nih.gov/pubmed/37888312
http://dx.doi.org/10.3390/jimaging9100205
work_keys_str_mv AT zhuziyi anewcnnbasedsingleingredientclassificationmodelanditsapplicationinfoodimagesegmentation
AT daiying anewcnnbasedsingleingredientclassificationmodelanditsapplicationinfoodimagesegmentation
AT zhuziyi newcnnbasedsingleingredientclassificationmodelanditsapplicationinfoodimagesegmentation
AT daiying newcnnbasedsingleingredientclassificationmodelanditsapplicationinfoodimagesegmentation