Use of Hazelnut Shells Subjected to Instant Controlled Pressure Drop (DIC) Treatment in Cakes: Physicochemical, Nutritional, Textural Properties, and Pore Structure Using Thresholding Algorithms Authors: Ülgen İlknur Konak Alkış, Nazlı Şahin, Ali Cingöz Published: 2026 ABSTRACT ABSTRACTHazelnut shells are an abundant agro‐industrial by‐product with potential as a functional food ingredient. This study investigated the use of hazelnut shells subjected to instant controlled pressure drop (DIC) treatment in cake production and evaluated their effects on the physicochemical, nutritional, textural, and structural properties of cakes. The DIC process significantly increased the antioxidant potential of the hazelnut shells, yielding cakes with higher phenolic content and antioxidant capacity than those made with untreated shells. Cakes prepared with DIC‐treated hazelnut shells exhibited reduced starch digestibility and a lower glycemic index, indicating potential antidiabetic effects. While incorporating untreated hazelnut shells softened the cake texture, DIC‐treated shells preserved texture characteristics closer to the control sample. The cake pore structure—including cell number, total area, average cell size, cell perimeter, and fractal distribution—was analyzed using four thresholding algorithms: Huang, Intermodes, IsoData, and Otsu. The Huang and Otsu algorithms were more effective at detecting small pores, whereas the Intermodes algorithm was more effective at identifying larger pores. In addition, the DIC process improved the cake surface roughness. The findings demonstrate that DIC treatment is an effective approach for enhancing the functional properties of hazelnut shells and their use as value‐added ingredients in functional bakery products.Practical ApplicationsHazelnut shells, an abundant agro‐industrial by‐product, can be valorized through DIC treatment and incorporated into bakery formulations. DIC enhances functional and antioxidant properties while maintaining acceptable cake texture and structure. This approach offers a sustainable strategy for converting hazelnut‐processing waste into functional ingredients, enabling the development of fiber‐rich, antioxidant‐enhanced, and potentially low‐glycemic bakery products, while supporting clean‐label production and waste reduction.Keywords: antioxidant activity, cake, food waste valorization, glycemic index, hazelnut shell, image analysis, instant controlled pressure drop (DIC), starch digestibility Introduction Cakes are widely consumed bakery products characterized by their soft texture and sweet taste and are often preferred as breakfast or snack items (Wilderjans et al. 2013). In recent years, there has been growing interest in fiber‐enriched cakes due to their potential health benefits. Different fiber sources, such as cereal bran (Lebesi and Tzia 2011), legume husk/hull (Tosh and Yada 2010), by‐products from the orange, carrot (Sharoba et al. 2013), and potato industries (Jeddou et al. 2017), have been used to enhance wheat cakes in terms of dietary fiber and bioactive compounds. In parallel, increasing attention has been given to the valorization of food industry by‐products as sustainable and low‐cost sources of functional ingredients. Hazelnut (Corylus avellana L.), a member of the Betulaceae family, is one of the most widely cultivated and commercially important nuts worldwide, with approximately 10% of global production consumed in‐shell and nearly 90% utilized in the food industry, particularly in bakery, confectionery, and chocolate products (Esposito et al. 2017). Hazelnut shells, constituting more than 50% of the total nut weight, are a major processing by‐product and remain largely underutilized. These shells are rich in lignocellulosic components, containing approximately 24.6%–30% hemicellulose, 27%–27.3% cellulose, and 40.7%–43% lignin (Pérez‐Armada et al. 2019). The hemicellulosic fraction, predominantly composed of xylan, serves as a valuable substrate for the production of xylo‐oligosaccharides with prebiotic potential (Surek and Buyukkileci 2017). In addition, hazelnut shells contain considerable levels of phenolic compounds and exhibit strong antioxidant activity, supporting their potential use as functional food ingredients (Yuan et al. 2018; Esposito et al. 2017). A total of 27 phenolic compounds have been identified, with catechin, epicatechin gallate, and gallic acid reported as the predominant components (Yuan et al. 2018). Furthermore, extracts from hazelnut shells have demonstrated significant antioxidant and bioactive properties, highlighting their potential for functional and nutraceutical applications (Esposito et al. 2017). Instant controlled pressure drop (DIC) not only ensures high‐quality product attributes but also enhances process efficiency in industrial applications. Its capacity to reduce energy consumption while maintaining or improving product quality underscores its potential as a sustainable and environmentally friendly technology for food processing and other industrial applications (Rodríguez‐Castillo et al. 2025). DIC has been successfully applied in various processes, including drying, texturizing, steaming, decontamination, and the treatment of vegetables and legumes (Pech‐Almeida et al. 2021). In this technology, rapid decompression causes auto‐vaporization of volatiles, resulting in instant cooling and structural “texturing” of the material. The sudden pressure drop intensifies these effects through rapid auto‐vaporization of internal moisture, generating high internal pressure gradients that lead to cell wall rupture, expansion, and the formation of a porous structure. These structural modifications enhance mass transfer, increase solvent accessibility, and facilitate the release of bound bioactive compounds, while the short processing time helps limit thermal degradation of heat‐sensitive compounds (Allaf and Allaf 2014; Rodríguez‐Castillo et al. 2025). Furthermore, the technology enables the utilization of the entire food matrix, including its phenolic compounds and dietary fiber, directly as a supplement, thereby eliminating the need for separate extraction processes (Rane et al. 2022). The quality of cakes is closely associated with their internal pore structure, which directly influences texture and overall acceptability (Tan et al. 1997). Consequently, the use of computer‐based imaging systems in bakery products has increased to provide objective, repeatable, and efficient quality evaluation methods (Olakanmi et al. 2023). Advanced techniques such as hyperspectral imaging, ultrasound, and spectroscopy have been applied for this purpose (Grillo et al. 2014). Among available approaches, image analysis algorithms play a key role in determining structural attributes such as pore structure, crust thickness, and color (Tajima and Kato 2011). In particular, thresholding methods are widely used for image segmentation in programs such as Photoshop, ImageJ, and ArcGIS, as they effectively distinguish target features from background gray levels (Shi et al. 2023). These methods have been successfully applied in various studies to characterize the pore structure of baked products (Amani et al. 2022; Cingöz 2025). This study aimed to investigate the effectiveness of DIC treatment as a preprocessing method to enhance the functional, nutritional, and bioactive properties of hazelnut shells through structural modification that increases porosity and improves the extractability of bioactive compounds, and to evaluate their potential use as a value‐added ingredient in cake formulations. The effects of DIC processing conditions (pressure and time), which can alter the dietary fiber profile by promoting the conversion of insoluble fiber to soluble fractions due to cell wall disruption and partial depolymerization, while excessive conditions may cause total fiber degradation, on the dietary fiber profile, phenolic content, antioxidant capacity, carbohydrate digestibility, glycemic response, color, texture, and pore structure were comprehensively evaluated. Materials and Methods Materials Hazelnut (C. avellana L.) shells were kindly provided by a local hazelnut facility in Trabzon, Türkiye. Upon receipt, the shells were stored at 4°C to preserve their quality before DIC treatment. Flour (10.16% protein and 0.64% ash), crystal sugar, sunflower oil, UHT cow milk (3% fat), fresh whole eggs, and baking powder were purchased from a local supermarket (Ankara, Türkiye). The chemicals used in analyses were all of analytical grade and purchased from Sigma‐Aldrich (Germany). Before the DIC treatment, hazelnut shells were ground using a hammer mill to obtain a fine powder. The ground material was subsequently sieved, and the fraction with particle sizes between 200 and 600 µm was collected and used in further analyses and cake formulation. This range represents a minor modification of our previous work, in which a narrower particle size fraction (212–500 µm) was used (Konak Alkış et al. 2026). Nevertheless, this particle size range was selected based on previous findings demonstrating that intermediate particle sizes provide improved techno‐functional and structural properties in bakery applications. This approach was adopted to ensure relatively homogeneous heat and mass transfer during DIC treatment, as particle size reduction facilitates more uniform processing conditions. DIC Treatment The DIC process is a thermomechanical treatment based on exposing the material to high‐pressure saturated steam for a short period, followed by an abrupt pressure drop to a vacuum. This instantaneous decompression induces auto‐vaporization of part of the internal moisture, resulting in rapid cooling, expansion of the cellular structure, increased porosity, and enhanced mass transfer within the material (Allaf and Allaf 2014; Pech‐Almeida et al. 2021; Rodríguez‐Castillo et al. 2025). The DIC system (Figure 1) employed in this study comprised four major units: (i) a steam generator producing saturated steam under pressure (up to ∼600 kPa), (ii) a stainless‐steel treatment vessel (8‐mm thickness, 10‐L capacity), (iii) a vacuum chamber (approximately 70 L), and (iv) a rapidly opening valve (diameter ∼102 mm, opening < 1 s). During the treatment, samples were loaded into the processing vessel and exposed to saturated steam until the desired pressure (200 or 500 kPa) was attained. This pressure was maintained for the designated holding time (60 or 120 s). Immediately afterward, a sudden decompression to a vacuum (1 kPa) was performed through the pressure‐drop valve, inducing instantaneous auto‐vaporization of water within the material and expansion of the cellular structure. The untreated shell served as the control (pressure = 0, time = 0). Process parameters were selected based on preliminary trials that indicated color differences among treatments. After DIC processing, approximately 35–40 g of sample was collected and dried in a tray dryer at 30°C for 1 h. The dried materials were subsequently stored at +4°C until further analyses. Schematic diagram of the laboratory‐scale DIC system: (1) vacuum chamber, (2) vacuum pump, (3) processing vessel, (4) large‐diameter valve, (5) steam generator. P, pressure sensor; T, temperature sensor (Yağcı and Evci 2015). Cake Production Preparation of the cake batter was carried out according to Gómez et al. (2007) with some modifications. Specifically, ingredient ratios were adjusted to fixed amounts, and a stepwise mixing procedure was applied instead of single‐step mixing to ensure a better combination of hazelnut shell particles. The control cake mix included 160 g of flour, 130 g of sugar, 80 g of oil, 90 g of milk, 50 g of whole egg, and 5 g of baking powder. Wheat flour was substituted with untreated and DIC‐treated hazelnut shells at a 10% concentration (WB). To make the batter, sugar and whole egg were mixed with a mixer (Philips HR1492, Holland) at medium speed for 2 min. Oil and milk were then added and mixed at the same speed for 1 min, followed by the addition of the flour or flour–hazelnut shell blends and baking powder, which were mixed for an additional 2 min at the same speed. The batter was divided into 45 g portions, placed in greased baking pans (50 × 39 mm), and then baked in a preheated conventional oven (Fimak EKF60, Türkiye) at 175°C for 25 min. After baking, the cakes were cooled to room temperature (25 ± 1°C) for further analysis. Chemical Composition of Hazelnut Shells and Cakes The proximate composition of the untreated, DIC‐treated hazelnut shells and cake samples was assessed following conventional chemical analyses. Moisture, ash, protein, and fat contents were quantified according to AACC (2004) standard protocols using methods 44‐15A, 08‐01, 46‐12, and 30‐25, respectively. Total carbohydrates were determined by subtracting the values of moisture, ash, fat, and protein from a total of 100. Total dietary fiber (TDF), soluble dietary fiber (SDF), and insoluble dietary fiber (IDF) contents in bread were determined according to standard methods AOAC‐991.43 (AOAC 2000) and AACC‐32‐07 (AACC 2004) using the Total Dietary Fiber Assay Kit (Megazyme K‐TDFR). Total Phenolic Content, Total Flavonoid Content, and Antioxidant Capacity of Hazelnut Shells and Cakes Extracts were obtained using the extraction method described by Eberhardt et al. (2000). The total phenolic content (TPC) of the extracts was determined using the Folin–Ciocalteu method (Singleton and Rossi 1965). The total flavonoid content (TFC) of the extracts was measured by the method provided by Li et al. (2015) using quercetin as a standard. Antioxidant capacity was determined using the FRAP (Benzie and Strain 1996), ABTS (Re et al. 1999), and DPPH (Brand‐Williams et al. 1995) methods. In Vitro Starch Digestibility, Glycemic Index, and Antidiabetic Analysis of Cakes Nutritionally important starch fractions in cakes were determined using an in vitro digestion method (Englyst et al. 1992). Ground samples (1.00 ± 0.01 g) were stirred with hydrolytic enzymes (pancreatin, Sigma P7545; amyloglucosidase; and invertase) at 160 rpm in a horizontal position in a water bath at 37°C. After 20 (G20) and 120 (G120) minutes, the tubes were removed, and the G20 and G120 fractions were centrifuged at 4000 × g for 10 min (Boeco U‐32R, Germany). The glucose levels in the supernatants were determined by the glucose oxidase–peroxidase (GOPOD) method. The important starch fractions were calculated using the following equations. where TG is total glucose, FG is free glucose, RDS is rapidly digestible starch, RAG is rapidly available glucose, and SDS is slowly digestible starch. The glycemic index (GI) was determined according to the method of Goñi et al. (1997). Briefly, cake crumb samples (∼2 g) were defatted with 25 mL of hexane, and 50 mg of the defatted sample was mixed with 10 mL HCl–KCl buffer (pH 1.5) and 0.2 mL pepsin solution (1 g/10 mL HCl–KCl buffer), followed by incubation at 40°C for 1 h. The volume was adjusted to 25 mL with tris‐maleate buffer (pH 6.9), and 5 mL α‐amylase solution (2.6 UI/tris‐maleate buffer) was added. Samples were incubated at 37°C for 3 h in a shaking water bath (150 ST/min), and 1‐mL aliquots were taken at 30‐min intervals. Aliquots were heated at 100°C for 5 min to inactivate enzymes and stored at low temperature until the end of incubation. Subsequently, 3 mL of 0.4 M sodium acetate buffer (pH 4.75) and 60 µL of amyloglucosidase were added, and the mixtures were incubated at 60°C for 45 min. Glucose content was determined using the GOPOD method (0.1‐mL sample + 3‐mL reagent) after incubation at 50°C for 20 min, with absorbance measured at 510 nm. Glucose values were converted to starch using a factor of 0.9. The kinetics of starch hydrolysis, area under the hydrolysis curve (AUC), hydrolysis index (HI), and estimated glycemic index (eGI) were calculated accordingly. where C∞ is the equilibrium percentage of starch hydrolysis after 180 min, k is the kinetic constant (min−1), t is the time (min), tf is the final time (180 min), and t0 is the initial time (0 min). The α‐amylase and amyloglucosidase inhibition test was performed to determine the in vitro antidiabetic activity of the prepared cakes, according to the method described by Chiranthika et al. (2024). Color Analysis Color parameters (L*, a*, and b*) of untreated hazelnut shells, DIC‐treated hazelnut shells, and cakes were measured with a Chroma meter (CR‐300, Japan). Color values were obtained from three different cake samples per formulation. Crust color was measured at three different points on the surface of each cake. Then, each cake was cut in half to measure the crumb color at three different points. The total color difference (∆E) and browning index (BI) were calculated using the following equations. where L0∗, a0∗, and b0∗ are the color values of the control cake, and L∗, a∗, and b∗ are the color values of cakes made with untreated or DIC‐treated hazelnut shells. where Texture Profile Analysis Texture profile analysis (TPA) was performed on cakes with a TA‐XT Plus texture analyzer (Stable Micro Systems, Surrey, UK) equipped with a 30 kg load cell and a 50 mm cylinder probe (P/50). TPA was performed on crumb samples of 2 × 2 × 2 cm cubes that were cut out from the center of cake slices. Test conditions were as follows: pretest speed of 1 mm/s, test speed of 3.0 mm/s, posttest speed of 3 mm/s, compression to 50% strain, time interval of 5 s, and 5 g trigger force 40. The following parameters were obtained with the crumb sample: hardness (the maximum peak force during the first compression cycle), springiness (the ratio of the time difference during the second compression to that of the first compression), cohesiveness (the ratio of the positive force area during the second compression to that during the first compression), gumminess (hardness × cohesiveness) and chewiness (gumminess × springiness) (Stable Micro Systems 2025). Image Processing Method As an alternative to conventional methods used to evaluate cake pore structure (e.g., Dallman and other instrumental techniques), this study employed image analysis based on the thresholding principle using high‐accuracy software (ImageJ and Photoshop) (Shi et al. 2023). The following parameters were determined from cake images: cell count, total area (mm2), average cell size (mm2), minimum and maximum cell area (mm2), cell perimeter (mm), and fractal characteristics, including fractal dimension (DFp). Photographs of 10‐mm‐thick cake slices were taken at a distance of 30 cm using an 80D DSLR camera (Canon) in a professional mini photo studio with a 5500 LM LED light source at full power. The images were recorded in lossless RAW format (6000 × 4000). A 30 mm × 30 mm colored field of view was cropped from each cake sample. The cropped color images were preprocessed using ImageJ (version 1.53) software and converted to 8‐bit grayscale. Image analysis was then performed on each grayscale image file using four different thresholding algorithms: Huang, Intermodes, IsoData, and Otsu. The fractal dimension (DFp) and fractal evaluation (DFt) of each cell were determined using the following equations (Chen et al. 2003; Kenkel and Walker 1996). Where P is the perimeter (mm), A is the area (mm2), N is the number of cells counted in different sizes, and r is the area of the cell (mm2). Statistical Analysis Significant differences between the samples were determined by performing an analysis of variance (ANOVA) using SAS System Software (SAS OnDemand for Academics). Significant parameters were evaluated by Duncan's multiple range test at the 95% confidence level. The experiments were conducted three times, and the results are expressed as the mean ± standard deviation. Results and Discussion Chemical Composition of Hazelnut Shells and Cakes The results of the physicochemical analyses of untreated and DIC‐treated samples are summarized in Table 1. The untreated hazelnut shells analyzed in this study contained 6.24% moisture, 1.42% ash, 4.67% fat, and 1.81% protein. According to Xu et al. (2012), hazelnut shell protein typically ranges between 2.1% and 4.0%, while ash (0.8%–2.0%) and lipid levels (0.3%–0.7%) range. Hazelnut shells are predominantly composed of carbohydrates (93.4%–96.7%), with crude fiber accounting for more than 85% of this fraction. According to this study, the protein content of our samples was slightly lower, whereas the fat content was comparatively higher. In addition, the chemical composition is strongly influenced by factors including cultivar, growing region (soil and climatic conditions), harvest year, agronomic practices, harvest maturity, and postharvest handling. DIC treatment induced significant changes, particularly in ash and fat contents. Although the ash content generally increased with rising pressure, the values remained lower than those of the control, likely due to enhanced ash accessibility under pressure. Rousseau et al. (2020) reported that processing techniques can either increase or decrease mineral content. Enhancement is often due to the removal of antinutrients, leaching into processing liquids, or enzyme activation. In contrast, reductions in mineral content are typically caused by mineral leaching, loss of cell wall integrity, or phytase inactivation during thermal processing. Both pressure and processing time significantly affected fat content (p < 0.05), promoting greater fat accessibility, likely due to the release of bound lipids from the disrupted matrix. Mkaouar et al. (2022) also reported that DIC treatment alters the chemical composition, including the fat content, which can be attributed to matrix breakdown and increased extractability. In contrast, minor reductions in protein content were observed in response to processing variations, but these were not statistically significant (p > 0.05). This decrease may result from sudden pressure drops during processing, causing auto‐vaporization and condensation of volatile compounds, including inorganic nitrogen (NH4 +) (Namir et al. 2017). Similarly, Şahin (2024) reported that DIC treatment of oleaster flour increased ash and fat contents without significantly affecting protein levels (p > 0.05). While the analysis indicated a statistically significant difference in total carbohydrate values (p < 0.05), the difference was relatively small. The dietary fiber content of untreated and DIC‐treated hazelnut shells is shown in Table 1. The impact of pressure on IDF was quite significant. In contrast, the effect of time was comparatively limited. With increased treatment time at 2 bar pressure, the reduction in IDF was minimal, decreasing from 67.85% to 67.17%. However, at 5 bar pressure, the decline in IDF was more pronounced, dropping from 68.06% to 66.82%, with the lowest IDF level observed at 5 bar and 120 s (66.82%). The applied treatment increased SDF compared to the control sample, with effects influenced by both pressure and time. Notably, at 5 bar and 120 s, an increase in SDF (35.2%) was recorded compared to the control sample. No significant change in TDF content was detected (p > 0.05); values were closely aligned with those of the control sample. Consequently, the applied pressure and processing time exhibited limited effects on IDF, substantial effects on SDF, and no significant effect on TDF (p > 0.05). This effect is likely due to changes in the microstructure of hazelnut shells induced by DIC, which facilitated the release of soluble fibers by disrupting cell walls predominantly composed of insoluble fibers (Namir et al. 2017; Şahin 2024). TABLE 1Proximate composition and dietary fiber profile of raw materials and cakes.Moisture (%)Ash (%)Fat (%)Protein (%)Total carbohydrate (%)IDF (%)SDF (%)TDF (%)Raw materialsUntreated HS6.24 ± 0.111.42 ± 0.01a 4.67 ± 0.03b 1.81 ± 0.11a 85.87 ± 0.03ab 69.15 ± 0.32a 5.31 ± 0.14d 74.46 ± 0.56a 2 bar 60 s6.44 ± 0.331.13 ± 0.02c 4.71 ± 0.04b 1.60 ± 0.12a 86.16 ± 0.24a 67.85 ± 0.21c 5.94 ± 0.21bc 73.79 ± 0.45a 2 bar 120 s6.41 ± 0.571.11 ± 0.01c 5.84 ± 0.09a 1.71 ± 0.08a 84.94 ± 0.76bc 67.12 ± 0.10d 6.35 ± 0.32b 73.47 ± 0.62a 5 bar 60 s6.87 ± 0.171.21 ± 0.00b 5.92 ± 0.10a 1.55 ± 0.05a 84.45 ± 0.12c 68.06 ± 0.08b 6.20 ± 0.18b 74.26 ± 0.84a 5 bar 120 s6.85 ± 0.211.24 ± 0.02b 5.90 ± 0.02a 1.61 ± 0.02a 84.66 ± 0.19c 66.82 ± 0.07e 7.18 ± 0.33a 74.00 ± 0.47a Cake samplesControl cake14.42 ± 0.071.25 ± 0.03a 20.61 ± 0.17a 5.78 ± 0.08a 57.93 ± 0.05a 3.86 ± 0.11c 0.94 ± 0.04d 4.80 ± 0.07b Cake with HS (untreated)15.17 ± 0.041.32 ± 0.03a 20.62 ± 0.44a 5.40 ± 0.01b 57.49 ± 0.47a 4.24 ± 0.03a 1.28 ± 0.02bc 5.52 ± 0.10a Cake with HS (2 bar 60 s)15.17 ± 0.471.32 ± 0.00a 22.39 ± 1.11a 5.36 ± 0.01b 55.92 ± 1.36a 4.22 ± 0.03a 1.32 ± 0.04b 5.54 ± 0.08a Cake with HS (2 bar 120 s)14.93 ± 0.431.30 ± 0.11a 20.78 ± 1.57a 5.37 ± 0.01b 57.83 ± 1.68a 4.13 ± 0.04b 1.41 ± 0.05a 5.54 ± 0.11a Cake with HS (5 bar 60 s)14.55 ± 0.581.20 ± 0.07b 20.79 ± 0.62a 5.33 ± 0.01b 58.13 ± 0.03a 4.23 ± 0.05a 1.30 ± 0.04b 5.53 ± 0.12a Cake with HS (5 bar 120 s)15.15 ± 0.121.09 ± 0.00b 19.23 ± 2.93a 5.36 ± 0.00b 59.47 ± 3.06a 4.11 ± 0.07b 1.46 ± 0.02a 5.57 ± 0.09a Note: Different letters in the same column indicate significant differences between values (p < 0.05).Abbreviations: HS, hazelnut shells; IDF, insoluble dietary fiber; SDF, soluble dietary fiber; TDF, total dietary fiber. Proximate composition and dietary fiber profile of raw materials and cakes. Note: Different letters in the same column indicate significant differences between values (p < 0.05). Abbreviations: HS, hazelnut shells; IDF, insoluble dietary fiber; SDF, soluble dietary fiber; TDF, total dietary fiber. The physicochemical analysis results of the cake samples are shown in Table 1. The moisture content of the cakes ranged from 14.42% to 15.15%. The ash contents of the control cake, the cake supplemented with untreated hazelnut shell, and the cakes treated at 2 bar for 60 and 120 s were similar. No significant differences in fat content were observed among all cake samples (p > 0.05). Adding hazelnut shells decreased the protein content compared to the control cake, but the treatment itself did not have a significant effect. No significant difference in total carbohydrate content was found among the cake samples (p > 0.05). Overall, these results suggest that hazelnut shell supplementation slightly lowers protein content without affecting moisture, ash, fat, or total carbohydrates, and the treatment conditions have minimal impact on the physicochemical properties of cakes. Adding hazelnut shells to cakes significantly impacted IDF compared to control cakes. The largest increase in IDF was observed in cakes made with untreated hazelnut shells and those treated at 2 and 5 bar for 60 s. Although IDF levels decreased with longer treatments, they remained higher than in the control group. For SDF, DIC‐treated samples showed an increase, especially at 2 and 5 bar for 120 s, compared with both cakes made with untreated hazelnut shells and control cakes. TDF was largely unaffected by the treatment conditions; both untreated and DIC‐treated hazelnut shell cakes showed similar increases in TDF (p > 0.05). Overall, these results showed that while longer processing times slightly reduced IDF, adding both untreated and treated hazelnut shells enhanced both SDF and TDF content in cakes, especially SDF with longer treatments. Martínez‐Meza et al. (2021) found that DIC treatment led to a significant reduction in TDF, with reductions of 3.4% under DIC‐1 and 4.9% under DIC‐9 (p < 0.05). This reduction was mainly due to decreases in IDF (4.9% and 7.2%), while SDF increased by 1.5% and 2.3%. The authors noted that structural degradation might partially explain the drop in IDF. TPC, TFC, and Antioxidant Capacity of Hazelnut Shells and Cakes The TPC, TFC, and antioxidant activity of untreated and DIC‐treated hazelnut shell samples showed a clear influence of pressure–processing time combinations on the bioactive compounds (Table 2). Across treatments, higher pressures—particularly 5 bar—consistently yielded higher TPC values, indicating that DIC effectively facilitates the release of polyphenols. Although the lowest value was obtained at 2 bar for 120 s, it still exceeded that of the untreated sample, supporting earlier findings by Kamal and Allaf (2013), who reported that elevated pressure enhances the extraction and liberation of phenolic constituents. A similar trend was observed for TFC, with the most pronounced increase detected at 5 bar for 120 s. The control sample and the samples treated at 2 bar for 60 s and 5 bar for 60 s exhibited similar TFC levels. This demonstrated that sufficient residence time is key to flavonoid enrichment. TABLE 2Total phenolic content, total flavonoid content, and antioxidant capacity of raw materials and cakes.TPC (mg GAE/100 g)TFC (µg QE/100 g)AC (µM TE/100 g)DPPH· ABTS+· FRAPRaw materialsUntreated HS15.24 ± 0.16d 27.43 ± 0.42c 38.50 ± 1.02c 96.83 ± 1.60c 55.33 ± 1.34c 2 bar 60 s16.24 ± 0.12b 27.57 ± 0.23c 33.71 ± 0.80e 101.30 ± 0.90b 58.34 ± 0.74ab 2 bar 120 s15.49 ± 0.08c 28.29 ± 0.18b 40.10 ± 0.45b 97.52 ± 1.02c 55.95 ± 0.88c 5 bar 60 s17.25 ± 0.14a 27.77 ± 0.28c 35.92 ± 0.34d 107.05 ± 1.20a 59.66 ± 0.92a 5 bar 120 s16.33 ± 0.06b 28.77 ± 0.36a 42.31 ± 0.51a 102.82 ± 1.06b 57.58 ± 1.08b Cake samplesControl cake2.35 ± 0.23d 6.35 ± 0.18e 1.34 ± 0.04f 5.68 ± 0.17d 3.25 ± 0.08d Cake with HS (untreated)3.64 ± 0.03c 8.46 ± 0.11cd 5.06 ± 0.10c 12.80 ± 0.12c 7.46 ± 0.09c Cake with HS (2 bar 60 s)3.88 ± 0.04b 8.51 ± 0.14c 4.43 ± 0.05e 13.40 ± 0.13b 7.89 ± 0.11b Cake with HS (2 bar 120 s)3.70 ± 0.05c 8.73 ± 0.04b 5.27 ± 0.13b 12.90 ± 0.11c 7.54 ± 0.13c Cake with HS (5 bar 60 s)4.12 ± 0.08a 8.57 ± 0.08c 4.72 ± 0.02d 14.16 ± 0.16a 8.04 ± 0.06a Cake with HS (5 bar 120 s)3.90 ± 0.02b 8.88 ± 0.07a 5.56 ± 0.08a 13.60 ± 0.08b 7.76 ± 0.08b Note: Different letters in the same column indicate significant differences between values (p < 0.05).Abbreviations: AC, antioxidant capacity; GA, gallic acid; HS, hazelnut shells; Q, quercetin; T, Trolox; TFC, total flavonoid content; TPC, total phenolic content. Total phenolic content, total flavonoid content, and antioxidant capacity of raw materials and cakes. Note: Different letters in the same column indicate significant differences between values (p < 0.05). Abbreviations: AC, antioxidant capacity; GA, gallic acid; HS, hazelnut shells; Q, quercetin; T, Trolox; TFC, total flavonoid content; TPC, total phenolic content. The antioxidant assays further supported these observations. DPPH· scavenging activity showed the highest responsiveness under 5 bar for 120 s, whereas ABTS+· values increased more prominently under 5 bar for 60 s, and FRAP activity followed a similar trend, indicating enhanced reducing power under high‐pressure treatments. These differences can be attributed to the distinct reaction mechanisms of the assays. DPPH and ABTS/TEAC methods are based on different radical systems and reaction pathways, and the reactivity of phenolic compounds strongly depends on their chemical structure (Zhao et al. 2008). In particular, DPPH radicals preferentially react with specific polyphenols, such as catechins and proanthocyanidins, while showing limited interaction with phenolic acids and sugars (Kaneda et al. 1995). In contrast, ABTS radicals exhibit higher reactivity and can interact with a broader spectrum of antioxidant compounds, leading to partially different antioxidant profiles compared to DPPH (Mareček et al. 2017). Therefore, the divergence observed at 5 bar for 120 s suggests that DIC treatment may have selectively enhanced certain phenolic fractions that are more responsive to DPPH, while ABTS and FRAP assays captured a wider range of released antioxidant compounds. Collectively, these results indicate that DIC processing, especially at 5 bar, acts as an effective intensification technique, substantially improving the antioxidant potential of hazelnut shells. The enhancement is attributed to pressure‐driven structural disruption and increased release of bound phenolic compounds. Overall, these findings indicate that higher pressure–time combinations positively affect phenolic compounds and antioxidant capacity, with treatments at 5 bar yielding the most pronounced enhancements. Similarly, Rodríguez‐Castillo et al. (2025) demonstrated that pressure and processing time significantly enhanced phenolic and flavonoid content and antioxidant activity, with the combination of 0.36 MPa and 22 s yielding the greatest improvements in both amaranth varieties studied. Similarly, Şahin (2024) reported a significant enhancement in the phenolic content and antioxidant capacity of oleaster flour following DIC treatment, particularly at 200 and 500 kPa for 60 s (p < 0.05). The functional properties of the cake samples showed clear improvements with the addition of hazelnut shells and the use of DIC treatment. Overall, adding hazelnut shells, whether untreated or DIC‐treated, enhanced their phenolic profile and antioxidant capacity compared to the control. Hazelnut shells possess a substantial phenolic profile and exhibit strong antioxidant activity (Yuan et al. 2018). However, applying DIC significantly boosted these effects. Treatments at 5 bar for 60 s and 5 bar for 120 s mostly produced the most notable increases in TPC, TFC, DPPH·, ABTS+· scavenging activity, and FRAP antioxidant activity. Xu et al. (2012) reported a significant positive correlation between TPC and ABTS values and the bioactive components of hazelnut shells, while no meaningful correlation was observed for DPPH. A similar pattern was observed in our study. Similarly, in our study, a marked increase in TPC was observed, particularly under high‐pressure conditions. Consistent with these findings, Pérez‐Armada et al. (2019) demonstrated that auto‐hydrolysis followed by resin recovery yielded the highest TPC (3.37 g GAE/100 g) in hazelnut shell extracts. These results suggest that DIC processing not only preserves but also enhances the functional qualities of hazelnut shells when incorporated into a bakery product. In Vitro Starch Digestibility, GI, and Antidiabetic Analysis of Cakes The four starch fractions of cakes containing untreated and DIC‐treated hazelnut shells were determined in vitro, and the results are presented in Table 3. The rapidly available glucose (RAG) content of the cakes ranged from 36.21% to 39.61%, with the addition of hazelnut shells causing a decrease in RAG content compared to the control cake. Increasing the steam pressure and application time resulted in a statistically significant decrease in RAG content (p < 0.05). Fibrous structures act as a physical barrier to glucose molecules. When the structure of dietary fibers becomes looser and more porous, more surface functional groups are exposed. This increases the interaction between dietary fibers and glucose, thereby improving glucose adsorption capacity while delaying glucose diffusion (He et al. 2022). TABLE 3Starch fractions, hydrolysis index, glycemic index, and antidiabetic activity of cakes.RAG (%)RDS (%)SDS (%)HIGIα‐Amylase inhibition (%)α‐Glucosidase inhibition (%)Cake samplesControl cake39.61 ± 0.22a 35.65 ± 0.12a 5.32 ± 0.18d 55.09 ± 0.87a 70.0 ± 0.5a 26.77 ± 0.45f 25.14 ± 0.26d Cake with HS (untreated)37.16 ± 0.14b 33.46 ± 0.12b 6.97 ± 0.11c 50.61 ± 0.27b 67.5 ± 0.1b 67.32 ± 0.62e 65.23 ± 0.30c Cake with HS (2 bar 60 s)36.80 ± 0.06c 33.14 ± 0.09c 7.13 ± 0.04b 49.16 ± 1.13b 66.7 ± 0.6b 71.26 ± 0.38d 70.18 ± 0.45b Cake with HS (2 bar 120 s)36.34 ± 0.02e 32.96 ± 0.04e 7.04 ± 0.02c 49.22 ± 0.30b 66.7 ± 0.2b 74.18 ± 0.21b 73.26 ± 0.36a Cake with HS (5 bar 60 s)36.69 ± 0.04d 33.02 ± 0.06cd 7.26 ± 0.07a 45.92 ± 0.31c 64.9 ± 0.2c 72.16 ± 0.24c 70.89 ± 0.18b Cake with HS(5 bar 120 s)36.21 ± 0.04f 32.81 ± 0.07e 7.16 ± 0.06b 44.23 ± 0.58c 64.0 ± 0.3c 75.23 ± 0.33a 73.96 ± 0.24a Note: Different letters in the same column indicate significant differences between values (p < 0.05).Abbreviations: GI, glycemic index; HI, hydrolysis index; HS, hazelnut shells; RAG, rapidly available glucose; RDS, rapidly digestible starch; SDS, slowly digestible starch. Starch fractions, hydrolysis index, glycemic index, and antidiabetic activity of cakes. Note: Different letters in the same column indicate significant differences between values (p < 0.05). Abbreviations: GI, glycemic index; HI, hydrolysis index; HS, hazelnut shells; RAG, rapidly available glucose; RDS, rapidly digestible starch; SDS, slowly digestible starch. The rapidly digestible starch (RDS) content of the control cake (35.65%) decreased to 32.81% upon the addition of hazelnut shells. It was determined that both pressure values reduced the RDS content, but their effect remained limited. The application time had a greater impact on the RDS content; as time increased, so did the downward trend in RDS content. The DIC technique disrupts the cell wall structure of hazelnut shells, which are primarily composed of insoluble fibers. This structural modification facilitates the release and conversion of insoluble fibers into soluble forms (Şahin 2024). SDFs have a high binding capacity and compete with starch for available water during cake production, resulting in a lower degree of starch gelatinization. This reduces the RDS content during in vitro starch digestion (Oh et al. 2014). One study found that extrusion processing of rice starch increased starch granule fragmentation and the RDS content; however, the addition of bamboo shoot dietary fiber reduced fragmentation and increased entanglement between the fiber and starch, resulting in a decreased RDS content (Wang et al. 2022). The SDS content of the cake samples varied between 5.32% and 7.26%. An increase in pressure increased the SDS content, while an increase in application time had the opposite effect. It is predicted that an increase in application time causes partial fragmentation in SDS‐containing structures. Including dietary fiber‐rich components in high‐starch formulations causes interaction between the fiber and the starch, increasing entanglement between the molecular chains. This increases the SDS content in the food matrix (Zhang et al. 2022). The GI depends on starch digestibility; specifically, the proportion of RDS is the strongest factor influencing it. Table 3 shows the HI and GI values of the cakes. The control sample had the highest HI and GI values, while cakes made with untreated and DIC‐treated hazelnut shells had significantly lower values (p < 0.05). No significant differences were found among cakes made with untreated hazelnut shells, DIC‐treated hazelnut shells at 2 bar for 60 s, and DIC‐treated hazelnut shells at 2 bar for 120 s (p > 0.05). Conversely, cakes made with DIC‐treated hazelnut shells at 5 bar for 60 or 120 s showed the lowest HI and GI values, with no significant difference between the processing times (p > 0.05). Both soluble and IDF fractions contributed to the modulation of the glycemic response through complementary mechanisms. In the enriched wheat cake matrix, IDFs act as a physical barrier by surrounding starch granules and limiting enzymatic accessibility, thereby reducing starch hydrolysis. In contrast, SDFs increase digesta viscosity, slowing enzyme diffusion and promoting the formation of slowly digestible starch. These combined effects contribute to the overall reduction in starch digestibility (Zhang et al. 2022). α‐Amylase inhibitors can act as carbohydrate blockers, limiting the digestibility and absorption of carbohydrates in the gastrointestinal tract (Diowksz et al. 2020). The α‐amylase inhibition values of the control cakes and the cakes to which hazelnut shells had been added (Table 3) ranged from 26.77% to 73.23%. Cakes made with hazelnut shells that were processed at 5 bar for 120 s exhibited the greatest α‐amylase inhibition. Significant differences (p < 0.05) were observed in the α‐amylase inhibition of the various cake samples. These results suggest delayed starch degradation. As starch degradation slows down, the glucose release rate decreases, causing moderate insulin secretion (Akinbisoye et al. 2024). The α‐amylase inhibition values of baked goods reported in the literature range from 29.96% to 56.77% (Shodehinde et al. 2022), 51.7% to 81.0% (Oguntuase et al. 2022), 26.99% to 93.31% (Akinbisoye et al. 2024), and 27.65% to 88.55% (Chiranthika et al. 2024). The data obtained in our study are similar to those reported in the literature. Data reported as being higher than in our study may be related to a higher dietary fiber content. Adding untreated or DIC‐treated hazelnut shells to wheat flour significantly increased (p < 0.05) the α‐glucosidase inhibition activity of the cake samples. The α‐glucosidase inhibition values of the cake samples ranged from 25.14% to 73.96%. While increasing the application time led to higher α‐glucosidase inhibition values, different pressure levels showed a similar effect on α‐glucosidase inhibition activity. α‐Glucosidase inhibitors combat diabetes by inhibiting enzymes that breakdown complex carbohydrates (e.g., glucosidase, sucrase, and maltase) (Chiranthika et al. 2024). α‐Glucosidase inhibition values in the literature range from 14.21% to 22.50% (Ruiz‐Ruiz et al. 2015), 25.75% to 89.75% (Chiranthika et al. 2024), 34.21% to 77.19% (Akinbisoye et al. 2024), and 70.39% to 99.20% (Pessanha et al. 2021). The data obtained in our study are consistent with the literature. Color Analysis The color parameters of untreated and DIC‐treated hazelnut shells are presented in Supporting Information Material 1. The results demonstrate that the DIC process pressure had a greater influence on color modification than treatment duration due to its stronger effect on thermal intensity and structural disruption. DIC‐treated hazelnut shells at 5 bar showed a pronounced decrease in L* values, suggesting significant darkening as process pressure increased. Moreover, the lowest L* value was observed with prolonged treatment time at 5 bar. In addition, b* values decreased significantly at 5 bar, while a* values remained comparable to the untreated hazelnut shells. The observed color changes can be attributed to pressure‐induced cell wall disruption and enhanced heat transfer, which accelerate nonenzymatic browning reactions, particularly Maillard reactions (Gao et al. 2017). Therefore, pressure plays a more dominant role than time, while treatment duration mainly modulates the extent of these reactions. Similar findings were reported by Yağcı (2017) and Şahin (2024), who also highlighted the stronger effect of pressure on color parameters in DIC‐treated materials. Table 4 presents the color parameters of the cakes. Color is one of the primary attributes perceived by consumers and influences acceptability. The results showed that incorporating DIC‐treated and untreated hazelnut shells significantly affected the L*, a*, b*, ∆E, and BI values of the cakes (p < 0.05). As shown in Table 4, crust L* and b* values decreased, while a* values increased with the addition of hazelnut shells compared to the control sample due to the natural dark color of hazelnut shells (Supporting Information Material 1). Among the cakes with DIC‐treated and untreated hazelnut shells, the sample produced with DIC‐treated hazelnut shells at 2 bar for 60 s was significantly different from the cake with untreated hazelnut shells. The overall color difference was greater in cakes with untreated hazelnut shells than in those with DIC‐treated hazelnut shells. However, no significant differences were observed among samples prepared with hazelnut shells treated at different pressures and times (p > 0.05). Regarding BI, the highest value was found in the control sample, indicating a significantly darker color compared to all hazelnut shell‐containing samples. Cakes made with untreated hazelnut shells and those with DIC‐treated hazelnut shells at 2 bar for 60 s showed the lowest BI values. Cakes prepared with hazelnut shells treated for longer durations or at higher pressures had increased BI values. TABLE 4Crust and crumb color parameters of cakes.CrustCrumb L* a* b*ΔE BI L* a* b*ΔE BICake samplesControl cake63.33 ± 1.35a 8.34 ± 0.22c 38.55 ± 0.74a —97.78 ± 4.97a 67.36 ± 0.70a −2.23 ± 0.07e 21.75 ± 0.29a —34.96 ± 0.24d Cake with HS (untreated)42.40 ± 1.03c 10.06 ± 0.29a 19.56 ± 0.58c 28.38 ± 0.66a 77.15 ± 4.28c 42.44 ± 0.50c 7.56 ± 0.08a 14.76 ± 0.22b 27.67 ± 1.06a 54.51 ± 0.41a Cake with HS (2 bar 60 s)45.55 ± 0.40b 8.73 ± 0.51bc 21.98 ± 1.60bc 24.41 ± 0.73b 77.50 ± 7.17c 47.39 ± 1.39b 5.41 ± 0.10bc 14.67 ± 0.31b 22.53 ± 0.90b 44.35 ± 1.46b Cake with HS (2 bar 120 s)43.72 ± 0.34bc 9.73 ± 0.67ab 22.50 ± 1.23b 25.43 ± 1.35b 85.56 ± 5.57bc 47.46 ± 0.64b 5.72 ± 0.11b 14.66 ± 0.25b 22.58 ± 1.13b 44.72 ± 0.57b Cake with HS (5 bar 60 s)43.42 ± 1.05bc 9.45 ± 0.05ab 22.12 ± 0.44bc 25.86 ± 0.58b 84.15 ± 1.71bc 47.34 ± 2.15b 5.38 ± 0.08c 14.40 ± 0.21bc 22.66 ± 2.60b 43.64 ± 1.79b Cake with HS (5 bar 120 s)42.37 ± 0.53c 9.67 ± 0.34ab 22.05 ± 0.41bc 26.73 ± 0.78ab 87.26 ± 3.74b 47.05 ± 0.93b 4.65 ± 0.21d 13.89 ± 0.33c 22.84 ± 1.60b 41.20 ± 0.26c Note: Different letters in the same column indicate significant differences between values (p < 0.05).Abbreviation: HS, hazelnut shells. Crust and crumb color parameters of cakes. Note: Different letters in the same column indicate significant differences between values (p < 0.05). Abbreviation: HS, hazelnut shells. Incorporating hazelnut shells, regardless of DIC treatment, significantly influenced crumb color attributes (Table 4). The control sample had the highest L* values, indicating the lightest crumb color. All hazelnut shell‐added cakes showed significantly lower L* values. Of these, cakes with untreated hazelnut shells exhibited the greatest reduction in lightness, while DIC‐treated hazelnut shell samples had slightly higher L* values. The control had a negative a* value, indicating a greenish tint typical of light‐colored cakes. The highest a* was observed in cakes with untreated hazelnut shells, with progressively lower a* values in cakes with DIC‐treated hazelnut shells as pressure and time increased. The b* value decreased in all hazelnut shell‐containing cakes compared to the control, indicating a less yellow tone. Cakes with DIC‐treated hazelnut shells at the highest pressure and longest time (5 bar, 120 s) had the lowest b* value. The greatest ∆E was in cakes with untreated hazelnut shells (p < 0.05). All DIC‐treated cakes had significantly lower ∆E than those with untreated hazelnut shells, with no notable differences between different pressures and times (p > 0.05). In addition, the highest BI was in cakes with untreated hazelnut shells, followed by those with DIC‐treated hazelnut shells. From a consumer perspective, color is a key attribute influencing food acceptance. However, in this study, the observed color differences are largely associated with the inherently dark color of hazelnut shells rather than processing‐induced deterioration. Accordingly, although all samples exhibited high ΔE values (ΔE > 12), these differences may be perceived by consumers as formulation‐related rather than quality defects. Consistent with this, Kowalczewski et al. (2015) reported that color can strongly influence consumer acceptance; however, the impact depends on whether the color change is perceived as natural or undesirable. Therefore, the visual differences between cakes containing untreated and DIC‐treated hazelnut shells may be less pronounced from a consumer standpoint, as both formulations share a similar color origin. TPA The texture parameters of the cake samples are presented in Table 5. Significant differences (p < 0.05) were observed in the hardness, springiness, cohesiveness, gumminess, and chewiness of the cakes. The highest values for hardness, springiness, gumminess, and chewiness were found in the control cake, while these parameters were the lowest in the cakes made with untreated hazelnut shells. Similar results were reported by Lebesi and Tzia (2011), who investigated the replacement of wheat flour with different dietary fiber and bran sources in cake production. They stated that incorporating dietary fibers led to a softer crumb texture due to the presence of more free water in the cake. This effect has been associated with changes in water distribution and weakening of the gluten network caused by fiber incorporation, rather than being directly confirmed in the present study. In addition, cakes with DIC‐treated hazelnuts showed the highest cohesiveness values. The study's findings indicate that no significant differences were observed in the texture parameters of cakes made with DIC‐treated hazelnut shells at different pressures and processing times (p > 0.05). Cakes produced with DIC‐treated hazelnut shells displayed attributes more similar to the control cake compared to those made with untreated hazelnut shells. This similarity to the control is an important outcome, as it suggests that the incorporation of DIC‐treated hazelnut shells may result in products with more desirable sensory attributes, particularly in terms of texture. TABLE 5Texture properties of cakes.Texture propertiesHardness (g)SpringinessCohesivenessGumminessChewinessCake samplesControl cake387.71 ± 22.00a 0.906 ± 0.00a 0.658 ± 0.00bc 258.88 ± 19.29a 234.46 ± 16.68a Cake with HS (untreated)325.61 ± 9.36b 0.882 ± 0.02b 0.647 ± 0.01c 211.28 ± 7.60b 187.50 ± 4.74b Cake with HS (2 bar 60 s)369.20 ± 6.55ab 0.889 ± 0.01ab 0.664 ± 0.00ab 246.00 ± 5.86a 218.53 ± 5.82a Cake with HS (2 bar 120 s)365.12 ± 23.47ab 0.893 ± 0.01ab 0.670 ± 0.01a 245.79 ± 16.87a 221.31 ± 14.84a Cake with HS (5 bar 60 s)370.67 ± 32.57ab 0.888 ± 0.01ab 0.660 ± 0.00ab 243.67 ± 20.46a 221.18 ± 9.41a Cake with HS (5 bar 120 s)362.30 ± 20.27ab 0.889 ± 0.01ab 0.666 ± 0.01ab 247.25 ± 4.81a 219.83 ± 5.38a Note: Different letters in the same column indicate significant differences between values (p < 0.05).Abbreviation: HS, hazelnut shells. Texture properties of cakes. Note: Different letters in the same column indicate significant differences between values (p < 0.05). Abbreviation: HS, hazelnut shells. The differences between cakes containing untreated and DIC‐treated hazelnut shells can be attributed to structural modifications induced by the DIC process. While untreated hazelnut shells may weaken the gluten–starch network due to their rigid structure, leading to a softer texture (Lebesi and Tzia 2011), DIC treatment alters the fiber structure and promotes a more porous matrix (Yağcı and Evci 2015). These changes likely improve the structural integrity of the cake, resulting in textural properties closer to the control sample, as also supported by the more open crumb structure observed in samples treated at higher pressure conditions (Figure 3). The crust and crumb structures of cake samples (A: control cake; B: cake with hazelnut shells [untreated]; C: cake with hazelnut shells [2 bar 60 s]; D: cake with hazelnut shells [2 bar 120 s]; E: cake with hazelnut shells [5 bar 60 s]; F: cake with hazelnut shells [5 bar 120 s]). Image Processing Method Traditional methods of evaluating the quality characteristics, particularly the pore structure, of porous baked goods such as cakes and bread are labor‐intensive, error‐prone, time‐consuming, and destructive. They also require a significant amount of user input (Olakanmi et al. 2023). Image processing methods are becoming increasingly popular due to their inherent advantages over traditional techniques. Image processing applications generally offer advantages such as rapid data collection and processing, automatic and consistent task performance, high accuracy, nondestructive and noninvasive measurement, safety, environmental friendliness, and low‐cost instrumentation (Meenu et al. 2021). The image processing results for the pore structures of cakes containing processed and unprocessed hazelnut shells are presented in Table 6. The number of cells, total area, average cell size, percentage area, minimum and maximum cell area, cell perimeter, DFp, and DFt values were determined for the cakes using the Huang, Intermodes, IsoData, and Otsu thresholding algorithms. Of all the evaluated algorithms, the number of cells detected in the cakes decreased with increasing pressure value. The pore structures of all cakes produced were found to differ from each other. The Huang algorithm detected the highest number of cells, while the Intermodes algorithm detected the lowest number. When the IsoData and Otsu algorithms were considered, the pore counts of cakes with added processed hazelnut shells at 2 bar for 60 s and 2 bar for 120 s showed characteristics similar to those of the control cake. The total pore areas (mm2) of the control cake, the cake with untreated hazelnut shells added and the cakes processed at 2 bar for 60 s, 2 bar for 120 s, 5 bar for 60 s, and 5 bar for 120 s were 6.82–264.55, 30.86–276, 21, 178.84–354.27, 27.93–323.86, 27.33–296.83, and 29.66–261.78, respectively. The average pore size of the cakes processed at 2 bar ranged from 0.18 to 0.45 mm2, while the average pore size of the cakes processed at 5 bar increased to between 0.26 and 0.56 mm2. The Huang algorithm produced the highest percentage area in all samples, followed by the Otsu, IsoData, and Intermodes algorithms (Figure 2). All thresholding algorithms detected pores with a minimum size of 0.003 mm2, with no smaller values detected. The largest pores were found in cakes with 5 bar added. Figure 3 shows that cakes with 5 bar added have a larger pore structure. The number of innovative studies examining the pore structures of cakes and breads produced with added functional ingredients using different algorithms is increasing daily (Cingöz 2025; Çabuk 2021; Ebling et al. 2022). The results obtained in our study are similar to those reported in the literature. TABLE 6Image analysis results of the pore structure of cakes.Cell countTotal area (mm2)Average cell size (mm2)% AreaMinimum cell area (mm2)Maximum cell area (mm2)Cell periphery (mm)DFp DFt Control cakeHuang635.00264.550.3930.910.00342.092.391.1491.100Intermodes41.006.820.091.250.00311.261.051.1781.830IsoData563.00124.130.2414.380.00317.911.701.1741.759Otsu598.00137.050.2815.130.00319.061.841.1771.619Cake with HS (untreated)Huang562.00276.210.4530.120.00348.792.031.6541.001Intermodes63.0030.860.313.850.00322.141.561.5141.109IsoData308.0092.230.3012.440.00331.611.591.5901.279Otsu342.00118.640.3013.830.00332.741.611.5901.291Cake with HS (2 bar 60 s)Huang682.00303.880.4536.300.00355.982.451.2490.976Intermodes82.00354.270.183.300.00312.941.241.3151.828IsoData598.00178.840.2219.840.00327.141.611.2651.799Otsu630.00205.370.2822.790.00330.571.731.2591.669Cake with HS (2 bar 120 s)Huang618.00323.860.4136.300.00370.602.501.3030.891Intermodes85.0027.930.232.900.00314.671.291.6681.249IsoData607.00162.050.2118.080.00321.311.571.3221.731Otsu631.00185.380.2621.570.00322.681.681.3161.621Cake with HS (5 bar 60 s)Huang527.00296.830.5332.940.00371.302.151.4771.042Intermodes33.0027.330.273.930.0038.781.301.6101.301IsoData437.00145.380.2917.130.00319.931.571.3791.629Otsu474.00169.060.2919.200.00321.921.611.3891.592Cake with HS (5 bar 120 s)Huang509.00261.780.5628.850.00375.711.851.5811.211Intermodes23.0029.660.263.410.0039.351.781.1611.201IsoData417.00119.550.2913.830.00322.581.451.5401.531Otsu485.00139.460.2915.940.00323.661.481.5281.539 Image analysis results of the pore structure of cakes. Pore structures produced from cakes using different thresholding methods (A: control cake; B: cake with hazelnut shells [untreated]; C: cake with hazelnut shells [2 bar 60 s]; D: cake with hazelnut shells [2 bar 120 s]; E: cake with hazelnut shells [5 bar 60 s]; F: cake with hazelnut shells [5 bar 120 s]). The complex and irregular shapes of pore structures in products such as bread and cakes make them difficult to identify. The Dallman pore scales (TSE 1987), which were developed for evaluating pore structure, have fallen out of use due to their subjective nature. Artificial intelligence methods are now being used to characterize the irregular structure of porous materials. Fractal geometry, which was developed to characterize rough porous structures, can be measured in two ways (Cingöz 2025). The DFp and DFt values of the samples are shown in Table 6. The highest fractal dimension was detected in cakes containing untreated hazelnut shells, and it was found that increasing the applied pressure and application time had a smaller effect on the fractal dimension values than in cakes containing untreated hazelnut shells. The DIC process was found to improve the roughness of the samples when applied to hazelnut shells. The homogeneity test data for the cake samples are given in Table 7. The Huang and Otsu algorithms were more successful in detecting cells with a pore size lower than 0.017 mm2, while the Intermodes algorithm was more effective in detecting cells with a pore size greater than 11.260 mm2. In the control cake, the ratio of pores smaller than 0.131 mm2 to the total number of pores was 65.56%; with the addition of hazelnut shells, this ratio was found to lie between 66.35% and 66.66%. The addition of hazelnut shells caused an increase in the number of small pores, as well as the formation of large pores. TABLE 7Homogeneity test data for cake samples.HuangIntermodesIsoDataOtsuSizeNumberSizeNumberSizeNumberSizeNumberControl cake0.01610820.0151180.02210000.0210770.13111010.0431220.14110450.137111742.088114711.26012017.914102319.0571100Cake with HS (untreated)0.0159560.0173150.0175670.0176490.08710780.0913480.0906290.09365748.789103022.13933231.60959832.739656Cake with HS (2 bar 60 s)0.01610020.0191030.0156180.0156340.07010000.0761050.0646250.06470153.145100915.62710740.16762541.788682Cake with HS (2 bar 120 s)0.01510840.0141680.0179620.01710210.08211340.0531930.08610200.09107670.600112514.66618121.314100022.681059Cake with HS (5 bar 60 s)0.01511540.0143120.01510800.01511500.07712510.0563320.08112340.084124571.30012098.78432216.933115818.9191204Cake with HS (5 bar 120 s)0.01611180.0151200.0156490.0157450.08011810.0741280.0687110.06680375.710115017.35012632.57768143.663788 Homogeneity test data for cake samples. Conclusion This study demonstrated that DIC treatment effectively enhances the functional and nutritional properties of hazelnut shells. Although the protein content slightly decreased with shell addition, the moisture, ash, and fat contents remained largely unaffected. DIC treatment significantly increased SDF and improved TPC, TFC, and antioxidant capacities (DPPH, ABTS+·, and FRAP), especially at higher pressure levels. When incorporated into cake formulations, hazelnut shells increased dietary fiber and antioxidant activity, with DIC‐treated shells further boosting these benefits. Process pressure had a greater influence than duration on structural changes in carbohydrate digestibility, affecting the glycemic response. Rather than identifying a single optimal condition, the results indicate that higher pressure treatments (particularly 5 bar) generally led to more favorable improvements in functional and textural properties. Overall, the results show that DIC treatment is an effective preprocessing method for enhancing the bioactive and functional qualities of hazelnut shells, making them a promising ingredient for developing value‐added functional bakery products. Since the cakes made with these shells exhibited antidiabetic properties, they can be classified as functional foods offering various health benefits. Author Contributions Ülgen İlknur Konak Alkış: conceptualization, methodology, data curation, investigation, formal analysis, supervision, writing – original draft, writing – review and editing. Nazlı Şahin: methodology, data curation, investigation, formal analysis, writing – original draft, writing – review and editing. Ali Cingöz: methodology, data curation, investigation, formal analysis, visualization, writing – original draft, writing – review and editing. Funding The authors have nothing to report. Conflicts of Interest The authors declare no conflicts of interest. Supporting information Supplementary material 1: Color parameters of untreated and DIC‐treated hazelnut shells Contributor Information Ülgen İlknur Konak Alkış, Email: konakulgen@gmail.com. Nazlı Şahin, Email: nsahin@kmu.edu.tr. Data Availability Statement Research data are available in the body of the manuscript. References Associated Data Supplementary Materials Supplementary material 1: Color parameters of untreated and DIC‐treated hazelnut shells Data Availability Statement Research data are available in the body of the manuscript.