Fisheries Journal, 16 . , 29-40 . http://doi. org/10. 29303/jp. DEVELOPMENT OF A SMARTPHONE-BASED DIGITAL IMAGE COLORIMETRY (DIC) METHOD FOR FISH FRESHNESS DETERMINATION Pengembangan Metode Digital Image Colorimetry (DIC) Untuk Penentuan Kesegaran Ikan Berbasis Smartphone Syahra Khairunnisa1*. Mukti Dono Wilopo1. Mochamad Lutfi Firdaus2 1 Marine Science Study Program. Faculty of Agriculture. University of Bengkulu 2 Chemistry Study Program. Faculty of Mathematics and Natural Sciences. University of Bengkulu WR. Supratman Street. Kandang Limun. Muara Bangka Hulu District, 38371. Indonesia *Corresponding Author: syahrakhai@gmail. (Received October 21st 2025. Accepted Januari 3rd 2. ABSTRACT Fish is a highly perishable commodity that experiences rapid quality deterioration after being caught, thus requiring a rapid, accurate, and practical freshness detection method. Conventional methods such as organoleptic tests have limitations due to their subjective nature, thereby necessitating the development of alternative methods based on digital technology. This study aims to develop a smartphone-based Digital Image Colorimetry (DIC) method to detect fish freshness using natural dye from butterfly pea extract (Clitoria ternate. , and evaluate the accuracy of DIC results compared to conventional organoleptic tests. This research employed an experimental quantitative approach by utilizing indicator paper labeled with butterfly pea Anthocyanins contained in the extract functioned as pH indicators that respond sensitively to volatile compounds . produced during fish storage. Color changes were analyzed through RGB values obtained using a smartphone application and compared with panelist-based organoleptic evaluations. The results showed that the DIC method was successfully developed using butterfly pea extract as a natural dye on indicator paper. The observed color changes during fish deterioration were consistent with the RGB value patterns. Furthermore, the DIC analysis demonstrated strong consistency with organoleptic test results, indicating that the DIC method is accurate, practical, and potentially applicable as an alternative to conventional methods for determining fish freshness using a smartphone-based Key words: Digital Image Colorimetry. Fish Freshness ABSTRAK Ikan merupakan komoditas perikanan yang mudah mengalami penurunan mutu setelah ditangkap, sehingga diperlukan metode deteksi kesegaran yang cepat, akurat, dan praktis. e-ISSN : 2622-1934, p-ISSN : 2302-6049 Jurnal Perikanan, 16 . , 29-40 . http://doi. org/10. 29303/jp. Khairunnisa et al. Metode konvensional seperti uji organoleptik memiliki keterbatasan karena bersifat subjektif, sehingga perlu dikembangkan metode alternatif berbasis teknologi digital. Penelitian ini bertujuan untuk mengembangkan metode Digital Image Colorimetry (DIC) berbasis smartphone dalam mendeteksi nilai kesegaran ikan menggunakan pewarna alami ekstrak bunga telang (Clitoria ternate. , serta menguji keakuratan hasil DIC dibandingkan dengan metode konvensional uji organoleptik. Metode penelitian ini menggunakan pendekatan eksperimental kuantitatif dengan memanfaatkan kertas label indikator yang telah diberi ekstrak bunga telang. Antosianin pada ekstrak telang berfungsi sebagai indikator pH yang peka terhadap perubahan senyawa volatil . selama penyimpanan ikan. Data warna diolah melalui nilai RGB menggunakan aplikasi berbasis smartphone, kemudian hasilnya dibandingkan dengan data uji organoleptik dari panelis. Hasil penelitian menunjukkan bahwa metode DIC berhasil dikembangkan dengan memanfaatkan ekstrak bunga telang sebagai pewarna alami pada kertas label indikator. Perubahan warna yang terjadi akibat degradasi mutu ikan terbukti selaras dengan pola perubahan nilai RGB. Selain itu, hasil analisis DIC menunjukkan konsistensi dengan hasil uji organoleptik, sehingga dapat disimpulkan bahwa metode DIC cukup akurat, praktis, dan potensial sebagai alternatif metode konvensional dalam menentukan kesegaran ikan berbasis smartphone. Kata Kunci: Kesegaran Ikan. Kolorimetri Gambar Digital INTRODUCTION Fish is a major source of animal protein widely consumed by people in both urban and rural areas. As a marine product, fish contains long-chain fatty acids such as omega-3 (DHA) and omega-6, which play an important role in supporting growth and maintaining body health, and these contents are rarely found in land-based animal or plant products (Dewi et al. , 2. In addition to having high nutritional value and a relatively affordable price, fish is also an important food ingredient for humans, but its perishable nature makes it a commodity that requires special handling. Fresh fish, or fresh fish, is fish that has not undergone any preservation process with any additional ingredients, except for cooling with ice. Fish is considered to be at an optimal level of freshness if its characteristics still resemble live fish, both in terms of appearance, aroma, taste, and texture. If fish is handled improperly, its quality will decline. Fresh fish handling encompasses the entire process from when the fish is caught until it reaches the consumer, involving various parties such as fishermen, traders, processors, distributors, retailers, and so on (Nurqaderianie et al. , 2. Identifying fish freshness is a crucial step in the fish processing process and must be carried out quickly and accurately, especially when handling large quantities of fish. Fish freshness can be determined by changes in the color of the fish's eyes. Conventional methods commonly used to detect fish freshness include chemical or biochemical analysis, microbiological examination, and sensory methods (Saputra et al. , 2. Fish freshness is a crucial aspect in the fisheries industry because it affects the quality, taste, and selling value of the product, both for producers and consumers. One method commonly used to evaluate fish freshness is a spectrophotometer, a scientific technique that analyzes the chemical and physical properties of fish by measuring the spectrum of light absorbed by the sample. Spectrophotometers offer highly accurate measurements by detecting changes in chemical compounds, such as Total Volatile Basic Nitrogen (TVB-N) and Tri-Methylamine Oxide (TMAO), which are often used as indicators of fish freshness. However, despite their accuracy, the use of spectrophotometers has several e-ISSN : 2622-1934, p-ISSN : 2302-6049 Jurnal Perikanan, 16 . , 29-40 . http://doi. org/10. 29303/jp. Khairunnisa et al. These include high costs (Rp 300,000-500,000 per sampl. , long preparation times . -24 hour. and destructive processes (Wojnowski et al. , 2. Spectrophotometers range in price from tens to hundreds of millions of rupiah, and their use is not always practical in the field. Therefore, it is important to develop accurate and efficient methods for detecting fish freshness. The development of smartphone technology with high-resolution cameras (>12MP) opens up new opportunities for developing more practical and affordable fish freshness analysis methods. Modern smartphones are equipped with sensitive color sensors, autofocus capabilities, and LED flashes, as well as powerful processors and on-device machine learning capabilities (Masawat et al. , 2. With a smartphone penetration rate reaching 89% in Indonesia (GSMA, 2. and relatively affordable prices, this technology offers an ideal platform for developing innovative analytical methods. Smartphones offer great potential in chemical analysis, as they allow wider access and more practical use. In this case, smartphones can be used as diagnostic tools using colorimetric methods (Firdaus et al. , 2. The Digital Image Colorimetry (DIC) method is a technique that uses digital image processing to measure the color or color components of an object or sample. The basic principle is to analyze the color values of digital images to produce quantitative data about color. The digital image analysis method uses RGB (Red. Green. Blu. data, an extension of the color system data called light reflection from an object with a value range of 0 to 255 units. The light reflection from an object is read by a charge-coupled device (CCD) on a digital camera (Dinata et al. , 2. The freshness of fish is greatly influenced by various factors, such as storage, temperature, and time, which cause chemical and physical changes that can be detected through Based on the above description, the development of a smartphone-based Digital Image Colorimetry (DIC) method for determining fish freshness has significant potential to provide a practical solution for monitoring fish quality throughout the supply chain. This research will focus on developing an integrated system, from image acquisition and data processing to result interpretation, that can be widely implemented in the fisheries industry. It is hoped that the results of this research will make a significant contribution to improving the efficiency and effectiveness of fish freshness determination in Indonesia. RESEARCH METHODS This research was conducted from April to August 2025 at the Fisheries Laboratory of the Marine Science Study Program. Faculty of Agriculture. University of Bengkulu. This research used an experimental method with quantitative data analysis. To measure the freshness of the fish, the data collection method used was Digital Image Colorimetry (DIC). This method is used to analyze color changes in fish through digital images captured using a smartphone The data obtained from this method were then statistically analyzed to determine the correlation between color parameters and the freshness level of the fish. Research Tools and Materials Table 1. Tools Used in Research Tool Smartphone with a minimum 12 MP camera Portable Light Box with LED Transparent Glass Bottle pH Meter Dark Bottle e-ISSN : 2622-1934, p-ISSN : 2302-6049 Utility To document color changes in samples. Provide lighting when taking sample images. To place fish samples. To measure the pH of flower extraction. To store the flower extraction results. Jurnal Perikanan, 16 . , 29-40 . http://doi. org/10. 29303/jp. Khairunnisa et al. Mortar Glass Filter Whatman Paper No. Whatman Paper No. Drop pipette Refrigerator Analytical Balance Measuring cup Data Processing Software To refine flower samples in making extractions. To filter the flower extraction. As a base in filtering flower extraction. As an indicator label for extraction absorbent To take the solution with the right volume. To store flower extraction before use. To weigh materials with high accuracy To prepare a solution with a certain concentration. To analyze data obtained from measurements, such as data from a spectrophotometer or digital Table 2. Materials Used in the Research Material Utility Fresh Fish Samples As a sample to be tested for freshness. Telang flower extract As an indicator of color change. Buffer pH To regulate the acidity level of the solution. Ethanol Absolute As a solvent to extract compounds. Natrium Hydroxide To adjust the pH of the solution. Hydrocloric Acid To lower the pH of the solution. Aquadest As a solvent and tool cleaner. Sample Testing Using the DIC Method Preparation of Natural Dye from Butterfly Pea Flower Extract Pewarna The natural dyes used contain anthocyanins, pigments that are sensitive to pH The natural dye extract is obtained from the anthocyanin-rich Butterfly Pea flower (Clitoria ternate. The dye is extracted using a dyeing method and a buffer solution to maintain its stability. How to make natural dye from butterfly pea flower extract: Prepare 20 grams of cleaned and dried butterfly pea flowers. Crush the flowers and extract them using a mortar and pestle, adding 100 ml of ethanol solvent to distilled water in a 7:3 ratio. After crushing, add the flower extract to a 1M hydrochloric acid (HCL) solution until the pH is 2. Then, place it in a dark bottle and let it sit in the refrigerator for 24 hours. After 24 hours, filter the extract solution using Whatman Paper No. The resulting supernatant is then separated and stored in a dark bottle before being used as a natural dye for butterfly pea flower extract. Colorimetric Label Creation Cellulose paper is used as a substrate to absorb natural dyes. The cellulose paper used is Whatman Paper No. 1, cut into 6 cm x 1 cm pieces. The cut paper is then dipped in a pH 2 butterfly pea flower extract solution for 30 seconds, then dried at room temperature. Once dry, the label paper is ready to be used to detect color changes due to fish damage. Testing with Fish Samples e-ISSN : 2622-1934, p-ISSN : 2302-6049 Jurnal Perikanan, 16 . , 29-40 . http://doi. org/10. 29303/jp. Khairunnisa et al. Fresh fish pieces weighing 5 grams were placed in a closed container along with a colorimetric label. This container was stored at room temperature. The label's color change was monitored hourly for a period of 0 to 24 hours. In addition, an organoleptic test (SNI-012729. was also carried out on the remaining fish pieces stored at room temperature. This organoleptic test was carried out hourly for a period of 0 to 24 hours. Color Change Analysis Color changes on the labels were documented using digital photography. Monitoring images were analyzed using ImageJ software to quantitatively measure color changes. The analysis results were compared with the level of fish spoilage through organoleptic testing to determine the correlation between label color changes and fish freshness. Evaluation of Results Label color changes are the basis for determining fish freshness. Increasing temperature generally accelerates color changes, indicating that storage temperature affects the rate of fish spoilage (Ayu et al. , 2. RESULTS AND DISCUSSION Sample Characteristics In this study, the samples used were mullet (Mugilida. obtained through fishing activities at the Jenggalu River estuary. Bengkulu City. The fish obtained were still alive when caught, so it can be ensured that the initial quality was still fresh. The fish samples used had a total weight of 100 grams with a total length of approximately 22 cm. After being obtained, the fish belly meat was then filleted and cut into three parts with each piece of meat weighing 5 The initial testing process . was carried out directly in the field to obtain an overview of changes in freshness since the fish was first caught. Mullet is an economically important fish found in coastal waters, estuaries, and brackish waters. Morphologically, this fish has a rather large and wide body, two dorsal fins, a rather flat and large head, and black scales on its back and silvery belly (Sukma and Hartono. The ability of mullet to survive in estuaries with fluctuating salinity makes it a readily available fishery resource for coastal communities (Okfan and Muskananfola, 2. Furthermore, this fish also has good nutritional value, especially in protein and fatty acid content (Hafiludin et al. , 2. , making its freshness very important to consider post-harvest. Mullet fish were selected as research samples based on their availability in the study area and their biological characteristics, which are suitable for fish quality studies. The initial condition of the fish, still alive when caught, provides a good basis for observing gradual changes in freshness. Using the Digital Image Colorimetry (DIC) method, it is hoped that changes in freshness resulting from the formation of volatile compounds such as ammonia can be detected through color changes in an indicator based on Butterfly Pea flower extract. Thus, this study not only describes the dynamics of post-harvest mullet freshness but also tests the potential of the smartphone-based DIC method as a simple technology for detecting fish freshness in the field. e-ISSN : 2622-1934, p-ISSN : 2302-6049 Jurnal Perikanan, 16 . , 29-40 . http://doi. org/10. 29303/jp. Khairunnisa et al. Figure 1. Mullet fish (Source: Personal Documentatio. The classification of Mullet Fish (Mugil cephalu. according to Kurniawan . is as Kingdom : Animalia Phylum : Chordata Classis : Actinopterygii Ordo : Mugiliformes Familia : Mugilidae Genus : Mugil Species : Mugil cephalus Butterfly Pea Flower Extract The butterfly pea flower extract (Clitoria ternate. used in this study acts as a natural indicator solution on indicator label paper. Butterfly pea flowers are known to be rich in anthocyanin pigments, flavonoid compounds that have a polyphenol structure with a chromophore group that can absorb light at certain wavelengths (Purwaniati et al. , 2. Anthocyanins are very sensitive to changes in environmental pH, so the color displayed can change according to acidity or alkalinity (Yessica, 2. In acidic conditions . ow pH), anthocyanins tend to appear purplish red, while in neutral conditions they change to blue, and in alkaline conditions . igh pH) they turn greenish (Angriani, 2. This property makes butterfly pea flowers potentially used as an indicator of fish freshness, because protein degradation in fish during storage produces volatile base compounds such as ammonia that can increase pH. The color change process of butterfly pea flower extract on indicator paper occurs due to the interaction between anthocyanin molecules and hydrogen ions (HA) in the environment (Safitri and Findari, 2. During decomposition, deamination of amino acids by microorganisms produces ammonia and volatile amines (TVB-N component. This increase in total ammonia/amines changes the acid-base balance (NHCE/NHCEA) in the tissue, so that the system tends to become more alkaline . H value increase. The increase in pH then causes a structural transformation of anthocyanins . lavylium Ie quinoidal/anion Ie pseudobase Ie chalcon. , which results in a color change that can be used as a pH/freshness indicator (Zhuang et al. , 2. This mechanism explains why indicator paper dipped in butterfly pea flower extract will experience a color change as the ammonia content in fish meat increases. The butterfly pea flower extraction process itself is generally carried out using polar solvents such as ethanol and distilled water, because anthocyanins dissolve well in polar solvents (Unawahi et al. , 2. In this study, the resulting extract was then dipped into Whatman Paper No. 1 to produce a purplish-red indicator paper. When the paper was exposed to ammonia vapors produced by fish protein degradation, a gradual color change could be observed visually and through quantification of RGB values using the Digital Image e-ISSN : 2622-1934, p-ISSN : 2302-6049 Jurnal Perikanan, 16 . , 29-40 . http://doi. org/10. 29303/jp. Khairunnisa et al. Colorimetry (DIC) method. Thus, the use of butterfly pea flower extract not only exploits the potential of safe and affordable natural ingredients but also supports innovation in colorindicator-based fish freshness detection technology. Organoleptic Test Results The organoleptic test in this study was conducted by eight semi-trained panelists, who assessed the freshness of mullet based on key sensory attributes: color, odor, texture, and general appearance. Each panelist assigned a score ranging from 1 to 9, with 9 indicating very fresh fish and 1 indicating unfit for consumption. The results of the eight panelists' assessments were then averaged to obtain a general overview of changes in the organoleptic quality of the fish during 24 hours of storage. Table 3. Organoleptic Test Results Time (Hou. Average value 9,00 7,88 7,13 6,63 6,00 5,00 4,75 4,25 3,38 2,50 1,88 1,00 1,00 0,00 0,64 0,35 0,52 0,53 0,53 0,71 0,71 0,52 0,53 0,35 0,00 0,00 Based on the organoleptic test results conducted by eight panelists on mullet, the average score ranged from 1 to 9, with 9 indicating very fresh and 1 indicating unfit for The assessment results showed a gradual decline in organoleptic values as the 24-hour storage period increased. At 0 hours, the fish received an average score of 9, indicating very fresh condition, characterized by clear eyes, bright red gills, a natural fresh odor, and a firm and elastic flesh After 2Ae4 hours, the organoleptic score began to decline to 7. Although the fish was still edible, panelists began to detect subtle changes, such as a more pronounced fishy odor and a slight change in the brightness of the flesh color. At 6Ae10 hours, the organoleptic score dropped to a range of 6Ae5, indicating the fish began to show signs of freshness loss. Panelists noted the flesh texture began to become less elastic, the fishy odor became stronger, and the gills appeared duller. At 12Ae16 hours, the score dropped further to 4Ae3, indicating the fish was at the limit of freshness, almost unfit for The odor changed to a sharper and more unpleasant odor, accompanied by a softer flesh texture. After longer storage, 18Ae24 hours, the organoleptic score only reached 2Ae1, indicating the fish had undergone advanced decomposition. Panelists reported a distinct foul odor, very soft flesh texture, and a paler color. Therefore, it can be concluded that the mullet tested e-ISSN : 2622-1934, p-ISSN : 2302-6049 Jurnal Perikanan, 16 . , 29-40 . http://doi. org/10. 29303/jp. Khairunnisa et al. experienced a significant decline in organoleptic quality within 24 hours, and based on the panelists' assessment, the fish was no longer fit for consumption after 18 hours of storage. Looking at the Standard Deviation (SD) value, it can be seen that at hour 0 the SD value was 0, indicating that all panelists gave the same assessment of the sample's condition. However, at subsequent times, the SD value ranged from 0. 35 to 0. 71, indicating that there was variation in assessments between panelists, although not too large. For example, at hour 12 the average organoleptic value was 5 with an SD of 0. 71, which means that some panelists considered it still quite acceptable, but others considered it to have declined in quality. These results align with the theory that fresh fish is highly susceptible to postmortem spoilage due to enzymatic autolysis, bacterial activity, and lipid oxidation, which leads to the formation of volatile compounds such as ammonia and trimethylamine (Huss, 1. These compounds contribute to the degradation of odor, flavor, texture, and color, thus affecting the overall organoleptic score. Digital Image Colorimetry (DIC) Test Results Time Time (Hou. (Hou. Figure 2. Color Change on the Indicator Label Based on visual observations on the indicator label paper (Figure . , the color change becomes more apparent as the fish is stored. From 0 to 12 hours, the indicator paper is predominantly purplish red. This color indicates that the fish is still fresh, with low levels of volatile compounds such as ammonia (NHCE). At this stage, the pH is still relatively close to neutral, so the anthocyanins in butterfly pea flowers are in a structural balance between the flavylium cation form . and the base form . , producing a distinctive purple hue. According to Herfayati et al. , the red color is formed by the flavylium cation, where the number of methoxy groups in the anthocyanin structure is more dominant than the hydroxyl e-ISSN : 2622-1934, p-ISSN : 2302-6049 Jurnal Perikanan, 16 . , 29-40 . http://doi. org/10. 29303/jp. Khairunnisa et al. Entering the 15th to 24th hour, the indicator paper showed a stronger color shift towards purplish blue to dark blue. This shift occurs due to the increasing concentration of volatile base compounds resulting from protein decomposition by microbial activity, so that the system pH Under more alkaline conditions, anthocyanins undergo a structural shift from the flavyllium cation form to the more stable basic quinoidal form, so that the color that appears tends to be bluer. According to Herfayati et al. , under alkaline conditions the extract turns bluish due to the carbinol pseudobase structure. The color changes in this table align with the organoleptic test results, which indicate a decrease in freshness scores, and are supported by the results of Digital Image Colorimetry (RGB) analysis. Red values tend to decrease, while Blue values increase in the final hours, consistent with the visual transition from purple to blue. Thus, the anthocyanin-based indicator label paper from butterfly pea flowers can simply represent the freshness level of fish, with purple indicating fresh fish, while blue indicates that the fish has lost its freshness. Figure 3. RED Value Graph In the initial phase . Ae12 hour. , the Red intensity value showed a slight increase with a linear regression equation of y = 0. 8725 (RA = 0. This indicates that the red color is relatively stable and even increased at the beginning of storage. However, after 12 hours to 24 hours, the Red intensity decreased sharply with the equation y = -6. 704 (RA = This significant decrease illustrates the presence of color changes related to the decline in fish quality due to the accumulation of volatile compounds such as ammonia (NHCE) and trimethylamine (TMA) which increase the surface pH (Byrne et al. , 2. Figure 4. GREEN Value Graph e-ISSN : 2622-1934, p-ISSN : 2302-6049 Jurnal Perikanan, 16 . , 29-40 . http://doi. org/10. 29303/jp. Khairunnisa et al. The Green intensity fluctuated relatively at 0Ae12 hours with a downward trend . = 0. RA = 0. , where the indicator paper was still purple. This change was relatively small because the purple color composition was formed from a combination of red and blue with Green still contributing. In the 13Ae24 hour phase, the Green value increased . = 1. 6054x - 19. RA = 0. , as the indicator color shifted to blue. This phenomenon occurs because the visually visible blue color still contains Green components in the RGB system, so that even though it is not clearly visible as green, the increase in Green value is still detected digitally. Thus, the shift in the indicator color from purple to blue is also reflected in the increase in Green intensity, which indicates the dynamics of changes in pigment composition due to increased pH and the formation of volatile base compounds during fish According to Fadhli et al. , the decomposition process in fish meat results in the formation of volatile base compounds which will react with the smart label and cause a color change in the indicator. Figure 5. BLUE Value Graph The Blue intensity also showed a similar pattern to Green. At the beginning of storage . Ae12 hour. , the intensity was relatively stable with a slight increase . = 0. RA = 0. However, after 12 hours, there was a significant increase . = 2. 3376x - 24. RA = 0. , indicating a shift in the indicator color towards blue. This further strengthens the evidence that the increase in pH due to microbial activity and the formation of ammonia compounds directly affects the intensity of the blue color on the indicator label (Apriliani et , 2. CONCLUSION Based on the results of the research that has been conducted regarding the Development of a Smartphone-Based Digital Image Colorimetry (DIC) Method for Determining Fish Freshness, it can be concluded that: This research has succeeded in developing a smartphonebased Digital Image Colorimetry (DIC) method by utilizing butterfly pea flower extract (Clitoria ternate. as a natural dye on indicator label paper. Anthocyanins in butterfly pea flowers have been shown to be sensitive to pH changes triggered by an increase in volatile compounds such as ammonia during fish storage, so that color changes in indicator paper can be used as an indicator of fish freshness. The results of the DIC analysis obtained through processing RGB values show a color change pattern that is consistent with the results of organoleptic tests using panelists. This proves that the DIC method can be an accurate and practical alternative compared to conventional methods in detecting fish quality decline during ACKNOWLEDGEMENT e-ISSN : 2622-1934, p-ISSN : 2302-6049 Jurnal Perikanan, 16 . , 29-40 . http://doi. org/10. 29303/jp. Khairunnisa et al. The authors would like to thank the Fisheries Laboratory. Marine Science Study Program. University of Bengkulu, for providing permission and supporting research facilities. Appreciation is also extended to those who assisted with sampling, data processing, and analysis of the results of this study. REFERENCES