Effects of segmentation granularity on nutrient prediction from real-world food images.

IF 5.5 2区 农林科学 Q2 NUTRITION & DIETETICS
Frontiers in Nutrition Pub Date : 2026-10-07 eCollection Date: 2026-01-01 DOI:10.3389/fnut.2026.1927530
Liam Hand, Guido Camps, Ricardo da Silva Torres, Albert Ali Salah
{"title":"Effects of segmentation granularity on nutrient prediction from real-world food images.","authors":"Liam Hand, Guido Camps, Ricardo da Silva Torres, Albert Ali Salah","doi":"10.3389/fnut.2026.1927530","DOIUrl":null,"url":null,"abstract":"<p><p>Diet quality is central to preventing non-communicable diseases, yet traditional dietary assessment methods are burdensome and error-prone. Estimating nutrients directly from food images offers a scalable alternative, but most methods treat a meal as a single visual entity and estimate calories and mass more accurately than individual macronutrients. It has not yet been systematically evaluated whether decomposing a meal into its ingredients - predicting nutrients per ingredient and aggregating to the dish level - improves estimation. We compared three input representations for nutrient regression from overhead food images: direct regression from the original image, regression from binary food-region masks, and regression from fine-grained ingredient-level masks. To enable this, we annotated a 1,056-image subset of the Nutrition5K dataset with 2,922 ingredient-level segmentation masks across 40 categories, and used an identical regression model for all conditions. We also evaluated a realistic setting with automatically generated masks. Contrary to our hypothesis, finer segmentation did not improve overall performance: the unsegmented and binary food-region segmentation conditions performed comparably, while ingredient-level segmentation resulted in the highest error. Ingredient-level predictions preserved the relative balance of macronutrients well per ingredient, but errors in each ingredient's estimated nutrient quantities accumulated once aggregated to the dish level, leading to a general, though not strict, tendency toward worse performance as dish complexity increased. Ingredient-level regression stayed competitive for simpler dishes with visually separable ingredients, but struggled when ingredients were highly mixed. These findings indicate that the principal limitation of ingredient-level nutrient estimation is accurate quantity estimation rather than modeling of nutrient composition. Future work should prioritize explicit quantity cues, such as depth or volume, to complement ingredient-level decomposition. We release our annotations and code to support reproducible research.</p>","PeriodicalId":12473,"journal":{"name":"Frontiers in Nutrition","volume":"13 ","pages":"1927530"},"PeriodicalIF":5.5000,"publicationDate":"2026-10-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13683130/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Frontiers in Nutrition","FirstCategoryId":"97","ListUrlMain":"https://doi.org/10.3389/fnut.2026.1927530","RegionNum":2,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/1/1 0:00:00","PubModel":"eCollection","JCR":"Q2","JCRName":"NUTRITION & DIETETICS","Score":null,"Total":0}
引用次数: 0

Abstract

Diet quality is central to preventing non-communicable diseases, yet traditional dietary assessment methods are burdensome and error-prone. Estimating nutrients directly from food images offers a scalable alternative, but most methods treat a meal as a single visual entity and estimate calories and mass more accurately than individual macronutrients. It has not yet been systematically evaluated whether decomposing a meal into its ingredients - predicting nutrients per ingredient and aggregating to the dish level - improves estimation. We compared three input representations for nutrient regression from overhead food images: direct regression from the original image, regression from binary food-region masks, and regression from fine-grained ingredient-level masks. To enable this, we annotated a 1,056-image subset of the Nutrition5K dataset with 2,922 ingredient-level segmentation masks across 40 categories, and used an identical regression model for all conditions. We also evaluated a realistic setting with automatically generated masks. Contrary to our hypothesis, finer segmentation did not improve overall performance: the unsegmented and binary food-region segmentation conditions performed comparably, while ingredient-level segmentation resulted in the highest error. Ingredient-level predictions preserved the relative balance of macronutrients well per ingredient, but errors in each ingredient's estimated nutrient quantities accumulated once aggregated to the dish level, leading to a general, though not strict, tendency toward worse performance as dish complexity increased. Ingredient-level regression stayed competitive for simpler dishes with visually separable ingredients, but struggled when ingredients were highly mixed. These findings indicate that the principal limitation of ingredient-level nutrient estimation is accurate quantity estimation rather than modeling of nutrient composition. Future work should prioritize explicit quantity cues, such as depth or volume, to complement ingredient-level decomposition. We release our annotations and code to support reproducible research.

分割粒度对真实食物图像营养预测的影响。
饮食质量对于预防非传染性疾病至关重要,但传统的饮食评估方法既繁琐又容易出错。直接从食物图像中估算营养成分提供了一种可扩展的替代方法,但大多数方法将一顿饭视为单一的视觉实体,并且比单个宏量营养素更准确地估算卡路里和质量。目前还没有系统地评估将一顿饭分解成各种成分——预测每种成分的营养成分并将其汇总到一道菜的水平——是否能改善评估。我们比较了头顶食物图像中营养回归的三种输入表示:原始图像的直接回归、二元食物区域掩模的回归和细粒度成分级掩模的回归。为了实现这一点,我们对Nutrition5K数据集的1,056个图像子集进行了注释,其中包含40个类别的2,922个成分级分割掩码,并对所有条件使用相同的回归模型。我们还评估了一个现实的设置与自动生成的面具。与我们的假设相反,更精细的分割并没有提高整体性能:未分割和二元食物区域分割条件的表现相当,而成分级别的分割导致最高的误差。配料水平的预测很好地保持了每种配料的常量营养素的相对平衡,但每种配料估计的营养含量的误差一旦累积到菜肴水平,就会导致一种普遍的(尽管不是严格的)趋势,即随着菜肴复杂性的增加,性能会变得更差。成分水平回归在具有视觉可分离成分的简单菜肴中保持竞争力,但在成分高度混合时则表现不佳。这些结果表明,成分水平营养估算的主要缺陷是准确的数量估算,而不是营养成分的建模。未来的工作应该优先考虑明确的数量线索,如深度或体积,以补充成分级分解。我们发布了我们的注释和代码来支持可重复的研究。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Frontiers in Nutrition
Frontiers in Nutrition Agricultural and Biological Sciences-Food Science
CiteScore
5.20
自引率
8.00%
发文量
2891
审稿时长
12 weeks
期刊介绍: No subject pertains more to human life than nutrition. The aim of Frontiers in Nutrition is to integrate major scientific disciplines in this vast field in order to address the most relevant and pertinent questions and developments. Our ambition is to create an integrated podium based on original research, clinical trials, and contemporary reviews to build a reputable knowledge forum in the domains of human health, dietary behaviors, agronomy & 21st century food science. Through the recognized open-access Frontiers platform we welcome manuscripts to our dedicated sections relating to different areas in the field of nutrition with a focus on human health. Specialty sections in Frontiers in Nutrition include, for example, Clinical Nutrition, Nutrition & Sustainable Diets, Nutrition and Food Science Technology, Nutrition Methodology, Sport & Exercise Nutrition, Food Chemistry, and Nutritional Immunology. Based on the publication of rigorous scientific research, we thrive to achieve a visible impact on the global nutrition agenda addressing the grand challenges of our time, including obesity, malnutrition, hunger, food waste, sustainability and consumer health.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书