Next Article in Journal
Benzo[d]imidazole–Naphthalen-Arylmethanone Regioisomers as CB1 Ligands: Evaluation of Agonism via an Indirect Cytotoxicity-Based Approach
Previous Article in Journal
Bioengineered Skin from a Platelet-Derived Hydrogel Repairs Full Thickness Wounds in a Pre-Clinical Mouse Model
Previous Article in Special Issue
Structural Insights and Calcium-Switching Mechanism of Fasciola hepatica Calcium-Binding Protein FhCaBP4
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Semi-Automatic Tool for the Standardized Analysis of Fluorescent Intensity Changes in Polarized Cells

by
Fruzsina Fazekas
1,2,
Tibor Zelles
1,3,4 and
Eszter Berekméri
1,2,3,*
1
Department of Oral Biology, Semmelweis University, 1089 Budapest, Hungary
2
Department of Zoology, University of Veterinary Medicine Budapest, 1078 Budapest, Hungary
3
Department of Pharmacology and Pharmacotherapy, Semmelweis University, 1089 Budapest, Hungary
4
Laboratory of Molecular Pharmacology, HUN-REN Institute of Experimental Medicine, 1083 Budapest, Hungary
*
Author to whom correspondence should be addressed.
Int. J. Mol. Sci. 2025, 26(20), 9987; https://doi.org/10.3390/ijms26209987 (registering DOI)
Submission received: 13 September 2025 / Revised: 7 October 2025 / Accepted: 9 October 2025 / Published: 14 October 2025
(This article belongs to the Special Issue Calcium Homeostasis of Cells in Health and Disease: Third Edition)

Abstract

Imaging of intracellular messengers, like calcium, is one of the most reliable methods to follow real-time changes in several aspects of cellular activity, like receptor activation. However, the analysis could be influenced and biased by several factors like the location, shape, and size of the regions of interest (ROIs) and by the detection and correction of the movement of the preparation. Programs which are provided by the manufacturers are expensive and cannot be shared by collaborators. Many self-made programs have been implemented lately which have in-built cell recognizer ROI identification functions. These programs focus on the soma of the cells and neglect the processes, because in full tissue preparation finding cells is still challenging. Subcellular imaging experiments are still rare. To the best of our knowledge there is no program which can automatically define ROIs for subcellular imaging experiments even in single indicated cells with complex morphology. We developed and validated a program to address this gap using simple and understandable mathematical methods for ROI determination and simple statistics for movement correction. Validation experiments were conducted on cochlear Deiters’ cells. Deiters’ cells have processed morphology which connects two fluid compartments in the cochlea. Because of the function and the fine morphology of the cell, it could be interesting to examine the subcellular Ca2+ handling mechanisms of it. Test impulses were activated by ATP. With some limitations the program successfully fulfilled its purpose. As a free, easily understandable, and open-source program, we hope it will help to analyze and plan subcellular experiments.

1. Introduction

To follow intracellular mechanisms in real time, one of the most powerful tools is the monitoring of the cells’ ion concentration with fluorescent dyes or proteins (e.g., [1,2,3]). Calcium (Ca2+) indicators are the most well spread of ion indicators in research. They reliably measure ion concentration and, thanks to the constant development, are available in several forms, from chemical indicators to genetically modified molecules [4,5,6,7]. The Ca2+ affinity of the indicators varies widely, which makes it possible to choose the best one to answer the research questions. Changes in the emitted fluorescent intensity, indicating the Ca2+ chelation of the indicators, could be followed and recorded by a (high-speed) camera. A multitude of programs have been developed to analyze recordings of intensity changes; however, reproducibility remains poor [8,9,10].
Firstly, much of the software provided by companies loses its support over the years and cannot be used in longer periods (which happened in our laboratory). Reanalysis, or checking previous results are not possible because of this. Programs with longer support usually cost more, and raw data cannot be shared with cooperators unless they buy it too [11,12]. Code sources are usually not open, although it could help to adjust the analysis to a special cell type. Because of these reasons, several home-made analyzer tools were developed by different laboratories, with an increasing number of codes becoming available on the internet [13,14,15,16,17,18,19,20,21,22,23,24,25] (for a short comparation see Supplementary Table S1). There are programs which can handle the extracted signals too [26].
To reproduce an analysis, the subjective components should be minimalized. In case of fluorescent intensity measurements, the parameters of the area to be analyzed, i.e., the region of interest (ROI), can highly influence the results. If ROIs are determined on the recordings manually, there is only a minimum probability that two different people, or even the same person at two different times, would measure the exact same intensities (even if the results are very similar and differences are not relevant in each case). In most of the newly implemented programs, the determination of the ROIs is performed by the algorithm, which eliminates the subjectivity [13,14,15,16,17,18,19,20,21,22,23,24,25]. However, these programs are made for field recordings, where many cells (even hundreds) are investigated and only somatic activity is measured. Separately indicated cells with special morphology are still measured by manually located ROIs [27,28,29]. Moreover, subcellular imaging studies are also influenced by the shape, size, and location of the ROIs. One of the most interesting phenomena in many cells is the spread of the intracellular Ca2+ concentration changes, which form Ca2+ waves in the cells [30,31,32,33]. For investigating these waves, more ROIs should be placed on the image of the cell, with the differences in intensity measured within these regions then being compared. Up to now, we have had no knowledge about a program which can locate objectively more regions on a separated cell to measure the subcellular Ca2+ activity of it.
We aimed to prepare software that can objectively and reproducibly measure the intensity changes in subcellular activity of polarized, not neural cells, for example, retinal cones or rods and cochlear Deiters’ cells (DCs). The processes of the cells are sometimes reported to have a different Ca2+ handling mechanism compared to the cell body. Our program successfully tested on DCs. It inserted ROIs in the same size and shape and included a movement detection to eliminate movement artifacts.

2. Results

2.1. Region of Interest Identification for Subcellular Ca2+ Imaging in Deiters’ Cells

Cochlear Deiters’ cells (DCs) are highly polarized cells with one apical process (Figure 1A) that undergoes changes in morphology during postnatal development. Cochlea morphology slightly varies in mice strains so 2 different mouse strains (BALB/c and CD1) across a wide age spectrum (from 5 to 22 days old) were tested to make sure the program can handle the different cell anatomy [34,35]. The anatomy of the cochlear cells also differs according to their location (due to the frequency specificity). In order to validate the program regarding these anatomical variations, recordings of cells from the apical, middle, and basal turns of the cochlea were used. It is evident that these three turns are responsible for the sensation of different sound frequencies (low, mid-range, and high, respectively). Furthermore, these are the three locations where cells can be observed in a hemicochlear preparation which is literally a cochlea cut in half along the midmodiolar plane.
Firstly, we tested how the human factor affects the ROI definition (Figure 1). For this, two experienced analyzers (who worked with Deiters’ cells for at least 3 years) analyzed 15 Deiters’ cells loaded with Oregon Green BAPTA (OGB) dyes by single-cell electroporation. The following 3 measurements were compared: (1) with ROIs that had been delineated along the outline of the cell body and the uppermost part of the process (hereinafter referred to as “structure following ROIs”), used typically for whole cell activation analysis; (2) 5 equally sized ROIs, one of them includes the top of the process and 4 located on the soma of the cell; (3) 9 equally sized ROIs, one of them includes the top of the process and 8 located on the soma. The last two are used for analyzing intracellular Ca2+ waves and subcellular activation of the cell. The elevated ROI number improves precision but elevates the complication of the analysis.
The differences found in the ROIs (Figure 1B), the measured amplitude (Figure 1C), and the width of the response (Figure 1D) of the two analyzers were compared with linear models. There was not a single measurement which was the same in case of the two analyses; however, the results of the experienced analyzers did not differ significantly.
The program made by our research group identifies ROIs similar to the last measured scenario of the manual experiments: nine equally sized ROIs, one located on the top of the process and same-sized ROIs on the soma. This is the most human-sourceful and time-needing scenario where the most errors could occur but allows for the most accurate intracellular analysis. The difference is that the program defines one ROI on the top of the process, and the same-sized and -shaped ROIs are defined on the soma; however, instead a fixed number of ROIs (e.g., nine as in the manual experiments), it defines as many as it fits on the surface of the soma (Figure 2).
Our experiments were performed in hemicochlea preparation. In this organotypic preparation other structures (membranes, other cells) are also observed next to the chosen cells. During an imperfect single-cell electroporation indicator loading, the environment can be stained. In some cases, this background noise could be eliminated by our cleaning technique (Figure 3). However, we must mention that in instances when the amount of dye in the environment was higher, the cleaning was not successful in removing the loading bias, resulting in unreliable ROI identification (Figure 3). In isolated cells these problems are not relevant.
Our program uses the orientation of the cell to help in the process–soma difference detection: it projects the number of values equal to 1 in the given columns to the x-axis of the plot, formed from the intensity matrix. This means that the original orientation of the cell influences the success of the ROI definition. In one case the program failed to find the process, when the cell lined vertically (Figure 4A,B); however, a little tilt and the cleaning is enough to find the difference between the process and the soma (Figure 4C,D).

2.2. Motion Detection and Correction

Our experiments used hemicochlea preparation [36]. Its three-dimensional morphology makes it difficult to localize it in the chamber, and sometimes the perfusion interacts with the preparation, moving it away (Figure 5A,E,F). Due to this movement, the cell may drift out of the pre-selected area to be examined on the recording; therefore, it could cause significant changes in the detected fluorescent intensity. To prevent the artificial decrease in the amplitudes, manual readjustment of the analyzed regions is needed, which makes the analyzing process even more labor-intensive. Our program includes a built-in movement sensing and ROI adjusting subprogram (Figure 5). It compares the intensity of the pixels between the ROI measuring the background intensity and the ROIs located on the cell. If the difference is not significant, it relocates the ROIs. The significance level can be changed by the user depending on the needed precision and the available time. During the relocalization of the ROIs the size and shape remain the same as previously defined.
We compared the program-generated amplitudes and response durations with the mean of the analyst-recorded values (Figure 6). After testing the normality of the data distribution, t-tests or nonparametric Wilcoxon tests were used to assess the differences. No significant differences were detected in any case.

2.3. Other Cell Types

Our laboratory’s (at the Oral Biology Department of Semmelweis University) main profile is the Ca2+ imaging of the cochlear Deiters’ cell. However, we wanted to make a program which is suitable for other cell types, with similar, processed morphology. For this we sourced databases with Ca2+ imaging experiments of other cells. Salamander cone cells were found, and their outer light sensitive part can be handled as a process of the cell [27]. Supplementary Material pone.0006723.s002.avi file was converted to .tiff file and the scales were removed with ImageJ (version 1.54). Our program defined the ROIs well on the salamander cone cells (Figure 7A—1st layer of the tiff file with the defined ROIs) and measured the intensity changes as well (Figure 7B). Because of the different ratios of the cells (bigger process) there were less ROIs located on the soma.
Since we did not find other full experiment movies about cells, we could only test our program’s ROI determination feature on fluorescent images of cells with processes. Individually labeled astrocytes [37,38,39], odontoblasts [40], and myoblast cells [41] were tested successfully (Supplementary Figure S1). Our program can find the cells if they are separable from the environment, meaning it could be used not only for Ca2+ indicators, but any other indicator type is suitable for the detection.
Depending on the question, astrocytes with richer arborization could also be investigated with our program, even if the location of the ROIs does not perfectly align with the cell’s axis (Supplementary Figure S2).

3. Discussion

Ca2+ imaging is one of the oldest (since 1970s) and most reliable methods to measure and follow cell reactions to different outer and inner stimuli [42,43,44]. Next to the constantly developed dyes and genetically encoded molecules, the analysis could be influenced by the ROI definition (Figure 1). Programs manufactured by companies usually work with closed code systems, which are expensive and difficult to share with collaborators. New, self- (and laboratory-) made programs are formed to help the cooperative work, usually with open-source code that could be modified to focus more on the task, even with minimal coding abilities [13,17,18]. The automatic ROI definition is a basic criteria for the reproducibility of the experiment and the analysis, because even experienced analysts localize ROIs differently (Figure 1). However, as most of the Ca2+ research is performed in neurobiology and focuses on more cells in the same section of the field, the main ROI definition programs are made to identify cells [13,14,15,16,17,18,19,20,21,22,23,24,25]. Subcellular imaging experiments are rare, with the biggest developments in this field focused on neural process structure [45,46,47] and astroglia process territories [48,49]. These programs are investigating full tissue preparations without the visibility of the whole cell, and cellular parts cannot be measured. As far as we know, no program was made for identifying multiple ROIs on the same cell which is fully visible. Cells with processed morphology often exhibit different Ca2+ handling mechanisms in this compartment, e.g., elongated or higher concentration elevation (Figure 7) [27]. These subcellular differences could be interesting and worth investigating in more detail.
We successfully developed and validated the first open-sourced program for the subcellular analysis of changes in the intensity of whole cells with process. Our test cells were cochlear Deiters’ cells, located under the outer hair cells (receptor cells) and reaching with their process towards the apical site of the receptor cells [50]. The soma and the process are located in two different compartments of the cochlea: the process reaches the endolymph whilst the soma baths in the perilymph, two different solutions with different signal sources. Trivially, different reactions are expected from the compartments, but no objective analysis was presented to analyze these. For instance, endolymph’s ATP concentration elevates faster after a noise trauma, so ATP should activate endolymphatic surface structures more intensively [51]. Our program uses the process’s intensity and location to form the basic ROI shape, and the same-sized and -shaped ROIs are localized on the soma from the apical part to the basis of it (Figure 2). The movement of the preparation is also corrected, and the tolerance level can be changed by the user depending on the expected motion of the preparation and the time source (Figure 5). Motion correction is also a built-in plug-in in most of the programs that help in the analysis of Ca2+ imaging recordings, based on fast Fourier transformation [52,53], hidden Markov models [54] or other techniques (based on the Lucas–Kanade framework: [55,56], template-matching: [20,57], more different algorithms: [58] or self-made [22]). Compared to these motion detections, our approach is much simpler: it compares pixel intensities inside the ROI on the cell and in the background. During the validation (Figure 5) this easier and faster mathematical process performed well.
Our program was tested on other processed cells: salamander cone cells [27] which performed similarly well to the imaging of the Deiters’ cells (Figure 7). We have to mention that we had tried to find more cells and contacted authors who had similar publications to test our program on a wider range of cells; however, the search for cells was unsuccessful and no responses were received from the authors. We would also like to encourage researchers to share their data to help the development of science. Instead of videos, simple anatomical pictures were used to test the ROI determination of the cells. With one processed cell (like odontoblast [40] or elongated myocytes [41]) which oriented longitudinally (without U-turns in the soma) our ROI determination works well (Supplementary Figure S3).
The program still has some limitations that are influenced by the experimental protocols. At this moment, the program cannot handle multiple visible cells in the recordings, only a single indicated cell can be measured within the field of view. In the case of isolated cells, the program works perfectly. In organ preparations, like hemicochlea used by our laboratory, the indicator load could be imperfect, resulting in the additional loading of nearby anatomical structures with dye or the remaining of the indicator in the background (Figure 3). These additional light pixels are counted in the midline calculation and therefore influence the locations of the ROIs. However, if only a small amount of dye entered the environment, the image cleaning steps of the program could handle this bias (Figure 3). The orientation of the cell in the field of view can also influence the success of the ROI determination (Figure 4). A slight tilt is required to separate the soma from the cell’s process correctly.
Cells with bigger arborization (like astrocytes) were also tested, but the program is not designed for this type of process. However, we hypothesize that a transcellular Ca2+ wave could be investigated by the ROIs resulted by our program (Supplementary Figure S2), if the arborization is localized evenly around the cell body. However, we do not think this would be the optimal program for astrocyte examination.
We are planning to continuously improve the program, to be more perfect to analyze cells with more processes and branching arborization so that it would be a good choice to examine both single astrocytes and neurons. With the help of our program, we hope single cell and subcellular Ca2+ imaging studies will be more widespread in the future.
Our program’s code is freely available on GitHub at https://github.com/berekmerieszter/SiCeAn/tree/main (accessed on 8 October 2025).

4. Materials and Methods

4.1. Collection of Experimental Data from Ca2+ Imaging of Deiters’ Cells

All the experimental procedures and the animal care were in accordance with the National Institute of Health Guide for the Care and Use of Laboratory Animals. The procedures were approved by the Animal Use Committee of Semmelweis University, Budapest (ethical approval number PE/AE/1912-7/2017).
BALB/c and CD1 mice strains of both sexes were sacrificed between post-natal day 5 (P5) to P22, in all three turns of the hemicochlea preparatum (apical, middle, and basal turns). The BALB/c mouse is among the most widely used genetically homogeneous inbred strain used in biomedical research, while CD1 mice are a commonly used outbred mouse stock with a high degree of genetic variability. Performing experiments on widely used mice strains with different genetic diversity strengthens the validation of the new method. The experiment protocol was based on previous studies [59]. Briefly, the mice were decapitated under isoflurane anesthesia, cochleae were removed and placed in an ice-cold oxygenated perilymph-like solution (composition in mM: NaCl 22.5, KCl 3.5, CaCl2 1, MgCl2 1, Hepes 10, Na-gluconate 120, glucose 5.55 (all from Sigma-Aldrich, Budapest, Hungary); pH 7.4; 320 mOsm/L). In the cutting chamber of a vibratome (Vibratome Series 3000, Technical Products International Inc., St. Louis, MO, USA) cochleae were halved along the midmodiolar plane. Hemicochleae were placed into an imaging chamber filled and perfused (speed 3.5 mL/min) with the oxygenated experimental solution. The cells of interest were selected under a LUMPlanFl 40×/0.80 w water immersion objective (Olympus, Tokyo, Japan) with oblique red illumination and were loaded by single-cell electroporation. For electroporation, the borosilicate pipettes (5–7 MΩ; Harvard Apparatus, Holliston, MA, USA) were filled with light excitable Ca2+ indicator Oregon Green 488 BAPTA-1 or -6F hexapotassium salt (OGB-1 or OGB-6F) (ThermoFisher Scientific, Waltham, MA, USA) dissolved in distilled water (final concentration of 1 mM). The pipettes were mounted onto an electrode holder, which was attached to a micromanipulator (Burleigh PCS-5000, Thorlabs, Munich, Germany). When pipette approached the cell of interest, a single square wave current impulse (10 ms, 10 μA) was applied, allowing the cell to be loaded with the indicator. The current was generated by a pCLAMP10 software-guided stimulator system (Biostim STE-7c, Supertech Ltd., Pecs, Hungary; MultiClamp 700B Amplifier and Digidata 1322A, Molecular Devices, Budapest, Hungary).
The calcium imaging procedure was performed at room temperature, similar as we described earlier. Excitation light of 494 ± 5 nm (Polychrome II monochromator, TILL Photonics, Planegg, Germany) was used to illuminate the cells, and the light emitted was recorded after passing through a band-pass filter (523 ± 25 nm). An Olympus BX50WI fluorescence microscope (Olympus, Tokyo, Japan) equipped with a Photometrics Quantix cooled CCD camera (Photometrics, Tucson, AZ, USA) was used and was controlled with the Imaging Workbench 6.0 software (INDEC BioSystems, Los Altos, CA, USA). The images were taken at a frame rate of 1 Hz during the drug-evoked responses, and the rest of the time, the frame rate was 0.1 Hz to reduce phototoxicity and photobleaching. In the perfusion chamber, the volume of the buffer was about 1.9 mL. The cells were stimulated by 100 µM ATP (Sigma-Aldrich, St. Louis, MO, USA), and added to the perfusion for 30 s. Before ATP stimulation, a baseline period of at least 3 min was registered.
Fluorescence intensities were calculated in R 4.5.1. version program. Background-corrected using a nearby area was devoid of loaded cells. The relative fluorescence changes were calculated as follows: dF/F0 = (Ft − F0)/F0, where F0 is the fluorescence intensity of the baseline and Ft is the fluorescence intensity at time t. The maximal amplitude and the duration of the transients (calculated as the time between 50% of the maximal amplitude at the increasing and descending part of the response). For the statistical analysis generalized linear regression model (from lme4 package, version: 1.1-37) was used with experiment ID as a random factor.

4.2. Structure and Operation of the Algorithm

The algorithm was written in the R programming language (version: 4.5.1.), the R packages used in this project include grid (version: 4.4.0), imager (version: 1.0.5), quantmod (version: 0.4.26), resahpe2 (version: 1.4.4), scales (version: 1.3.0), and tiff (version: 0.1-12).
The input file must be in TIFF multipage format (for some more details about the .tiff file see Section S1 of the Detailed Methods in the Supplementary Materials). Before the initiation, a series of functions need to be executed, which together form the primary algorithm: kneedle [60,61], image cleaner, rotation, ROI maker, ROI calculator, and inflect. The detailed operation of these functions is described in the subsequent sections. A schematic overview of the algorithm’s operation is presented in Figure 8. At the end of the program, the results are stored in the form of a data frame to facilitate further analysis and data handling. The exported data include the frame index (which image in the sequence is being processed), the timepoint at which the image was captured (if the tiff metadata includes it), the mean intensity measured within the ROI placed on the process, the mean intensities of the ROIs on the soma, the mean intensity of the background ROI, and a logical indicator of whether the ROIs were recalculated for that frame.

4.2.1. Start

After launching the program, a logical check is performed to determine whether the algorithm is processing the first frame. In order to optimize runtime, most steps are executed only during the analysis of the first frame. The values calculated at this stage are largely applicable to subsequent frames, thereby avoiding redundant computations for each new frame. If the current frame is the first one, the program proceeds to the function named image cleaner.

4.2.2. Kneedle

Kneedle function [60,61] is part of the image cleaner labeled as “Detecting elbow point” on the flowchart (Figure 8). This is one of the two mechanisms in the program that was not independently developed; instead, an existing algorithm, which was made available by Emmet Tam, was incorporated (the other mechanism is the inflect function).
This function is necessary to identify the intensity value that separates the intensities of the cell and that of the background. The function takes a curve as an input and finds the so-called “elbow” point (Figure 9) of it (see Section S2 of the Detailed Methods in the Supplementary Materials for further detail). The coordinates of the elbow point are then returned as the output of the function and can be further utilized in subsequent steps.

4.2.3. Image Cleaner

Image cleaner transforms the pixel intensity values into the image matrix so that only binary values (0 and 1) remain. In an ideal scenario, this results in the cell body being entirely assigned the value of 1, while the background receives only 0s.
A histogram (usually a unimodal curve) is first generated from the pixel intensity values of the input image matrix (Figure 10). Cropped regions of the recording (with intensity values of 0, applied for storage efficiency) (Figure 4A and Figure 11) were excluded from the histogram data. The maximum represents the background intensity levels, as these (typically black–gray values) constitute the majority of the data in case of single cell investigations. The cell body is represented by the flattening section of the curve beyond the peak and the second elbow point; therefore, only the portion of the curve following the mode is passed to the kneedle function (Figure 10). This is a mandatory step, given that the kneedle function is capable of detecting only one elbow point.
The kneedle function returns the coordinates of the elbow of the modified histogram, which determines the intensity threshold: all intensity values below this are set to 0, while those above are converted to 1. The resulting image matrix is then visualized by the image cleaner function, which prompts the user to indicate whether further adjustment is necessary. If the answer is negative, the image matrix is saved, and the program progresses to the next step. If the response is affirmative, additional values are set to zero if they lack at least three neighboring cells with a value of one (possibly noise pixels in the background, based on Conway’s game of life [62]). Thereafter, the program displays the updated matrix and again prompts the user about further adjustment.

4.2.4. Calculation of the Rotation Angle

To eliminate overlap between the columns containing the process intensities and those containing the cell body values, we rotate the cell into a roughly horizontal position. The program fits a regression line to the image matrix values obtained after the 0–1 separation (further information can be found in the Section S3 of the Detailed Methods in the Supplementary Materials). The slope of the fitted line is then used to derive the required angle for rotation, as the regression line has proven to be sufficiently accurate for this purpose.

4.2.5. Rotation

The rotation of the image is performed with the help of the imager R package (https://cran.r-project.org/web/packages/imager/imager.pdf (accessed on 10 September 2025)). The rotation is achieved by applying the imrotate() function (the image matrix is converted to a cimg object for this step), utilizing linear interpolation.

4.2.6. Examination of Process Orientation

Following the rotation by the angle corresponding to the slope, the Deiters’ cell can be oriented in two distinct ways, depending on its original position. The process can thus be located either to the right or to the left of the cell body. This condition is verified by the inflect function which finds the local maxima of the curves formed again from the coordinates of the pixels with values of 1. For the purposes of the program, the process must be positioned to the right of the cell body. If the smaller local maximum (representing the process) is on the left of the bigger local maximum (that represents the soma), the program rotates the cell by 180° and adapts the rotation angle to meet the requirements. At the end of this procedure, the correct rotation angle is saved separately so that it can be directly applied to subsequent layers without recalculating.

4.2.7. ROI Maker

The ROI maker function is responsible for determining the positions of the ROIs. This function, like the others, is not invoked for every frame after the first, but only if the program detects a displacement.
The function first identifies the cell and places an initial ROI over the process, sized to cover most of its extent. Subsequently, additional ROIs are arranged along the midline of the cell body, all with identical dimensions to ensure comparability (for a more detailed description of these steps see Section S4 of the Detailed Methods in the Supplementary Materials). The quantity of ROIs therefore depends on the number of process-sized regions that can be accommodated along the cell (Figure 11). In addition, for reference purposes an ROI is placed in the background. At the end of the procedure, the function saves the ROI positions on the original image.

4.2.8. ROI Calculator

This function appears in the flowchart as the shape labeled “Mean intensity of ROIs”. Its sole purpose is to save the intensity values within the ROIs that have been calculated and positioned by the ROI maker, along with their mean intensity. This allows them to be used in subsequent analyses.

4.2.9. Motion Detection

This part of the program is designed to ensure that the ROIs remain correctly positioned. During experiments, the cell often drifts from its original position, potentially moving out of the regions covered by the ROIs. Therefore, it is important to correct any motion when necessary. To keep the runtime as optional as possible, the check is only performed on every fifth layer, where the program compares the median intensities within the ROIs of the cells with those of the background using Wilcoxon signed rank test (see Section S5 of the Detailed Methods in the Supplementary Materials for more detail).

4.2.10. Saving

Finally, the program stores the layer number, the corresponding time, the average intensities within the ROIs on the process, the cell body, and the background. In addition, it also stores an indicator of whether ROI positions were recalculated for that layer due to drift. This information is stored in the form of a data frame, so that it can easily be saved to a file.

5. Conclusions

Ca2+ imaging is one of the most widely used methods in cell physiology. Several programs have been developed in individual laboratories to identify cells in tissue preparations, correct motion artifacts, and extract intensity curves. However, no software has yet been developed for the detailed analysis of individual cells and their subcellular compartments.
Our research group has developed an open-source program for the analysis of individually processed, morphologically identified cells. The software can objectively define ROIs, correct tissue displacement, and track and save intensity curves. The program, written in R, is intended to support the analysis of intracellular Ca2+ waves, for which no sufficiently objective tool has been available so far.

Supplementary Materials

The following supporting information can be downloaded at https://www.mdpi.com/article/10.3390/ijms26209987/s1.

Author Contributions

Conceptualization, F.F. and E.B.; methodology, F.F. and E.B.; software, F.F. and E.B.; validation, E.B.; formal analysis, F.F.; investigation, F.F. and E.B.; resources, T.Z. and E.B.; data curation, E.B.; writing—original draft preparation, F.F.; writing—review and editing, E.B.; visualization, F.F. and E.B.; supervision, F.F. and E.B.; project administration, T.Z.; funding acquisition, E.B. and T.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by University of Veterinary Medicine Budapest, grant number SRF-001 and project no. 2024-2.1.1-EKÖP-2024-00018 has been implemented with the support provided by the Ministry of Culture and Innovation of Hungary from the National Research, Development and Innovation Fund, financed under the 2024-2.1.1-EKÖP funding scheme. Additional funding was provided by Ministry of Innovation and Technology of Hungary from the National Research, Development, and Innovation Fund, financed under the TKP2021-EGA-23 funding schemes.

Institutional Review Board Statement

The study was conducted in accordance with the Declaration of Helsinki and approved by the Animal Use Committee of Semmelweis University (PE/AE/1912, approval date: 27 October 2017).

Informed Consent Statement

Not applicable.

Data Availability Statement

All used experimental data are available by asking (berekmeri.eszter@univet.hu).

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ROIRegion of interest
OGBOregon Green BAPTA 488

References

  1. Canepari, M.; Ross, W.N. Spatial and temporal aspects of neuronal calcium and sodium signals measured with low-affinity fluorescent indicators. Pflug. Arch. Eur. J. Physiol. 2024, 476, 39–48. [Google Scholar] [CrossRef] [PubMed]
  2. Sakamoto, M.; Yokoyama, T. Probing neuronal activity with genetically encoded calcium and voltage fluorescent indicators. Neurosci. Res. 2025, 215, 56–63. [Google Scholar] [CrossRef] [PubMed]
  3. Mackey, C.; Feng, Y.; Liang, C.; Liang, A.; Tian, H.; Narayan, O.P.; Dong, J.; Tai, Y.; Hu, J.; Mu, Y.; et al. Mechanical Modulation, Physiological Roles, and Imaging Innovations of Intercellular Calcium Waves in Living Systems. Cancers 2025, 17, 1851. [Google Scholar] [CrossRef]
  4. Zhang, Y.; Rózsa, M.; Liang, Y.; Bushey, D.; Wei, Z.; Zheng, J.; Reep, D.; Broussard, G.J.; Tsang, A.; Tsegaye, G.; et al. Fast and sensitive GCaMP calcium indicators for imaging neural populations. Nature 2023, 615, 884–891. [Google Scholar] [CrossRef]
  5. Suzuki, J.; Kanemaru, K.; Iino, M. Genetically Encoded Fluorescent Indicators for Organellar Calcium Imaging. Biophys. J. 2016, 111, 1119–1131. [Google Scholar] [CrossRef]
  6. Zhang, Y.; Looger, L.L. Fast and sensitive GCaMP calcium indicators for neuronal imaging. J. Physiol. 2024, 602, 1595–1604. [Google Scholar] [CrossRef] [PubMed]
  7. Shannonhouse, J.; Zhang, Y.; Son, H.; Kim, E.; Han, D.; Park, J.T.; Kim, Y.S. Lessons from the use of in vivo cellular calcium imaging in primary sensory neurons and spinal cord. Neuroscientist 2025. [Google Scholar] [CrossRef]
  8. Cea Salazar, V.I.; Perez, M.; Robison, A.J.; Trainor, B.C. Impacts of sex differences on optogenetic, chemogenetic, and calcium-imaging tools. Curr. Opin. Neurobiol. 2024, 84, 102817. [Google Scholar] [CrossRef]
  9. Pnevmatikakis, E.A. Analysis pipelines for calcium imaging data. Curr. Opin. Neurobiol. 2019, 55, 15–21. [Google Scholar] [CrossRef]
  10. de Melo Reis, R.A.; Freitas, H.R.; de Mello, F.G. Cell Calcium Imaging as a Reliable Method to Study Neuron–Glial Circuits. Front. Neurosci. 2020, 14, 569361. [Google Scholar] [CrossRef]
  11. Desai, N.S.; Zhong, C.; Kim, R.; Talmage, D.A.; Role, L.W. A simple MATLAB toolbox for analyzing calcium imaging data in vitro and in vivo. J. Neurosci. Methods 2024, 409, 110202. [Google Scholar] [CrossRef]
  12. Mackay, L.; Mikolajewicz, N.; Komarova, S.V.; Khadra, A. Systematic characterization of dynamic parameters of intracellular calcium signals. Front. Physiol. 2016, 7, 525. [Google Scholar] [CrossRef]
  13. Sità, L.; Brondi, M.; Lagomarsino de Leon Roig, P.; Curreli, S.; Panniello, M.; Vecchia, D.; Fellin, T. A deep-learning approach for online cell identification and trace extraction in functional two-photon calcium imaging. Nat. Commun. 2022, 13, 1529. [Google Scholar] [CrossRef] [PubMed]
  14. Hattori, R.; Komiyama, T. PatchWarp: Corrections of non-uniform image distortions in two-photon calcium imaging data by patchwork affine transformations. Cell Rep. Methods 2022, 2, 100205. [Google Scholar] [CrossRef] [PubMed]
  15. Bjørnstad, D.M.; Åbjørsbråten, K.S.; Hennestad, E.; Cunen, C.; Hermansen, G.H.; Bojarskaite, L.; Pettersen, K.H.; Vervaeke, K.; Enger, R. Begonia—A Two-Photon Imaging Analysis Pipeline for Astrocytic Ca2+ Signals. Front. Cell. Neurosci. 2021, 15, 681066. [Google Scholar] [CrossRef] [PubMed]
  16. Alsup, A.M.; Fowlds, K.; Cho, M.; Luber, J.M. BetaBuddy: An automated end-to-end computer vision pipeline for analysis of calcium fluorescence dynamics in β-cells. PLoS ONE 2024, 19, e0299549. [Google Scholar] [CrossRef]
  17. de Kraker, L.; Seignette, K.; Thamizharasu, P.; van den Boom, B.J.G.; Ferreira Pica, I.; Willuhn, I.; Levelt, C.N.; Togt, C. van der SpecSeg is a versatile toolbox that segments neurons and neurites in chronic calcium imaging datasets based on low-frequency cross-spectral power. Cell Rep. Methods 2022, 2, 100299. [Google Scholar] [CrossRef]
  18. Lagache, T.; Hanson, A.; Pérez-Ortega, J.E.; Fairhall, A.; Yuste, R. Tracking calcium dynamics from individual neurons in behaving animals. PLoS Comput. Biol. 2021, 17, e1009432. [Google Scholar] [CrossRef]
  19. Liu, W.; Pan, J.; Xu, Y.; Wang, M.; Jia, H.; Zhang, K.; Chen, X.; Li, X.; Liao, X. Fast and Accurate Motion Correction for Two-Photon Ca2+ Imaging in Behaving Mice. Front. Neuroinform. 2022, 16, 851188. [Google Scholar] [CrossRef]
  20. Cantu, D.A.; Wang, B.; Gongwer, M.W.; He, C.X.; Goel, A.; Suresh, A.; Kourdougli, N.; Arroyo, E.D.; Zeiger, W.; Portera-Cailliau, C. EZcalcium: Open-Source Toolbox for Analysis of Calcium Imaging Data. Front. Neural Circuits 2020, 14, 00025. [Google Scholar] [CrossRef]
  21. Aghayee, S.; Winkowski, D.E.; Bowen, Z.; Marshall, E.E.; Harrington, M.J.; Kanold, P.O.; Losert, W. Particle tracking facilitates real time capable motion correction in 2D or 3D two-photon imaging of neuronal activity. Front. Neural Circuits 2017, 11, 00056. [Google Scholar] [CrossRef]
  22. Li, M.; Liu, C.; Cui, X.; Jung, H.; You, H.; Feng, L.; Zhang, S. An Open-Source Real-Time Motion Correction Plug-In for Single-Photon Calcium Imaging of Head-Mounted Microscopy. Front. Neural Circuits 2022, 16, 891825. [Google Scholar] [CrossRef]
  23. Karavitaki, K. Measurements and Models of Electrically-Evoked Motion in the Gerbil Organ of Corti. Ph.D. Thesis, Massachusetts Institute of Thechnology, Cambridge, MA, USA, 2002. [Google Scholar]
  24. Tippani, M.; Pattie, E.A.; Davis, B.A.; Nguyen, C.V.; Wang, Y.; Sripathy, S.R.; Maher, B.J.; Martinowich, K.; Jaffe, A.E.; Page, S.C. CaPTure: Calcium PeakToolbox for analysis of in vitro calcium imaging data. BMC Neurosci. 2022, 23, 71. [Google Scholar] [CrossRef]
  25. Giovannucci, A.; Friedrich, J.; Gunn, P.; Kalfon, J.; Brown, B.L.; Koay, S.A.; Taxidis, J.; Najafi, F.; Gauthier, J.L.; Zhou, P.; et al. Caiman an open source tool for scalable calcium imaging data analysis. eLife 2019, 8, e38173. [Google Scholar] [CrossRef]
  26. Velez Rueda, A.J.; Gonano, L.A.; Smith, A.G.; Parisi, G.; Fornasari, M.S.; Sommese, L.M. CardIAP: Calcium transients confocal image analysis tool. Front. Bioinform. 2023, 3, 1–7. [Google Scholar] [CrossRef] [PubMed]
  27. Szikra, T.; Barabas, P.; Bartoletti, T.M.; Huang, W.; Akopian, A.; Thoreson, W.B.; Krizaj, D. Calcium homeostasis and cone signaling are regulated by interactions between calcium stores and plasma membrane ion channels. PLoS ONE 2009, 4, 11–13. [Google Scholar] [CrossRef]
  28. Kulkarni, M.; Trifunović, D.; Schubert, T.; Euler, T.; Paquet-Durand, F. Calcium dynamics change in degenerating cone photoreceptors. Hum. Mol. Genet. 2016, 25, 3729–3740. [Google Scholar] [CrossRef] [PubMed]
  29. Harpring, A.L.; Pradeep, S.; Zangle, T.A. Comparison of automated and manual intracellular particle tracking using quantitative phase imaging. J. Opt. Soc. Am. A 2024, 41, C49. [Google Scholar] [CrossRef]
  30. Dolenšek, J.; Pohorec, V.; Skelin Klemen, M.; Gosak, M.; Stožer, A. Ultrafast multicellular calcium imaging of calcium spikes in mouse beta cells in tissue slices. Acta Physiol. 2025, 241, e14261. [Google Scholar] [CrossRef] [PubMed]
  31. Gee, J.M.; Smith, N.A.; Fernandez, F.R.; Economo, M.N.; Brunert, D.; Rothermel, M.; Morris, S.C.; Talbot, A.; Palumbos, S.; Ichida, J.M.; et al. Imaging Activity in Neurons and Glia with a Polr2a-Based and Cre-Dependent GCaMP5G-IRES-tdTomato Reporter Mouse. Neuron 2014, 83, 1058–1072. [Google Scholar] [CrossRef]
  32. Li, F.; Yang, C.; Yuan, F.; Liao, D.; Li, T.; Guilak, F.; Zhong, P. Dynamics and mechanisms of intracellular calcium waves elicited by tandem bubble-induced jetting flow. Proc. Natl. Acad. Sci. USA 2018, 115, E353–E362. [Google Scholar] [CrossRef]
  33. Guisoni, N.; Ferrero, P.; Layana, C.; Diambra, L. Abortive and propagating intracellular calcium waves: Analysis from a hybrid model. PLoS ONE 2015, 10, e0115187. [Google Scholar] [CrossRef]
  34. Keiler, S.; Richter, C.-P. Cochlear dimensions obtained in hemicochleae of four different strains of mice: CBA/CaJ, 129/CD1, 129/SvEv and C57BL/6J. Hear. Res. 2001, 162, 91–104. [Google Scholar] [CrossRef] [PubMed]
  35. Berekméri, E.; Fekete, Á.; Köles, L.; Zelles, T. Postnatal Development of the Subcellular Structures and Purinergic Signaling of Deiters’ Cells along the Tonotopic Axis of the Cochlea. Cells 2019, 8, 1266. [Google Scholar] [CrossRef] [PubMed]
  36. Edge, R.M.; Evans, B.N.; Pearce, M.; Richter, C.P.; Hu, X.; Dallos, P. Morphology of the unfixed cochlea. Hear. Res. 1998, 124, 1–16. [Google Scholar] [CrossRef]
  37. Waxman, S.; Quinn, M.; Donahue, C.; Falo, L.D.; Sun, D.; Jakobs, T.C.; Sigal, I.A. Individual astrocyte morphology in the collagenous lamina cribrosa revealed by multicolor DiOlistic labeling. Exp. Eye Res. 2023, 230, 109458. [Google Scholar] [CrossRef]
  38. Levy, A.F.; Zayats, M.; Guerrero-Cazares, H.; Quiñones-Hinojosa, A.; Searson, P.C. Influence of basement membrane proteins and endothelial cell-derived factors on the morphology of human fetal-derived astrocytes in 2D. PLoS ONE 2014, 9, e92165. [Google Scholar] [CrossRef]
  39. Domingos, C.; Müller, F.E.; Passlick, S.; Wachten, D.; Ponimaskin, E.; Schwarz, M.K.; Schoch, S.; Zeug, A.; Henneberger, C. Induced Remodelling of Astrocytes In Vitro and In Vivo by Manipulation of Astrocytic RhoA Activity. Cells 2023, 12, 331. [Google Scholar] [CrossRef]
  40. Cuffaro, H.M.; Pääkkönen, V.; Tjäderhane, L. Enzymatic isolation of viable human odontoblasts. Int. Endod. J. 2016, 49, 454–461. [Google Scholar] [CrossRef]
  41. Kasahara, K.; Muramatsu, J.; Kurashina, Y.; Miura, S.; Miyata, S.; Onoe, H. Spatiotemporal single-cell tracking analysis in 3D tissues to reveal heterogeneous cellular response to mechanical stimuli. Sci. Adv. 2023, 9, eadf9917. [Google Scholar] [CrossRef]
  42. Grienberger, C.; Giovannucci, A.; Zeiger, W.; Portera-Cailliau, C. Two-photon calcium imaging of neuronal activity. Nat. Rev. Methods Prim. 2022, 2, 67. [Google Scholar] [CrossRef] [PubMed]
  43. Nietz, A.K.; Popa, L.S.; Streng, M.L.; Carter, R.E.; Kodandaramaiah, S.B.; Ebner, T.J. Wide-Field Calcium Imaging of Neuronal Network Dynamics In Vivo. Biology 2022, 11, 1601. [Google Scholar] [CrossRef]
  44. Olivo-Marin, J.C. Extraction of spots in biological images using multiscale products. Pattern Recognit. 2002, 35, 1989–1996. [Google Scholar] [CrossRef]
  45. Kamran, S.A.; Hossain, K.F.; Moghnieh, H.; Riar, S.; Bartlett, A.; Tavakkoli, A.; Sanders, K.M.; Baker, S.A. New open-source software for subcellular segmentation and analysis of spatiotemporal fluorescence signals using deep learning. iScience 2022, 25, 104277. [Google Scholar] [CrossRef]
  46. Mandracchia, B.; Zheng, C.; Rajendran, S.; Liu, W.; Forghani, P.; Xu, C.; Jia, S. High-speed optical imaging with sCMOS pixel reassignment. Nat. Commun. 2024, 15, 4598. [Google Scholar] [CrossRef]
  47. Lu, Z.; Zuo, S.; Shi, M.; Fan, J.; Xie, J.; Xiao, G.; Yu, L.; Wu, J.; Dai, Q. Long-term intravital subcellular imaging with confocal scanning light-field microscopy. Nat. Biotechnol. 2025, 43, 569–580. [Google Scholar] [CrossRef] [PubMed]
  48. Lines, J.; Baraibar, A.; Nanclares, C.; Martin, E.D.; Aguilar, J.; Kofuji, P.; Navarrete, M.; Araque, A. A spatial threshold for astrocyte calcium surge. eLife 2024, 12, RP90046. [Google Scholar] [CrossRef]
  49. Bonato, J.; Curreli, S.; Romanzi, S.; Panzeri, S.; Fellin, T. ASTRA: A deep learning algorithm for fast semantic segmentation of large-scale astrocytic networks. bioRxiv 2023. [Google Scholar] [CrossRef]
  50. Zhou, W.; Jabeen, T.; Sabha, S.; Becker, J.; Nam, J.H. Deiters Cells Act as Mechanical Equalizers for Outer Hair Cells. J. Neurosci. 2022, 42, 8361–8372. [Google Scholar] [CrossRef]
  51. Morton-Jones, R.T.; Vlajkovic, S.M.; Thorne, P.R.; Cockayne, D.A.; Ryan, A.F.; Housley, G.D. Properties of ATP-gated ion channels assembled from P2X2 subunits in mouse cochlear Reissner’s membrane epithelial cells. Purinergic Signal. 2015, 11, 551–560. [Google Scholar] [CrossRef] [PubMed]
  52. Dubbs, A.; Guevara, J.; Yuste, R. moco: Fast motion correction for calcium imaging. Front. Neuroinform. 2016, 10, 00006. [Google Scholar] [CrossRef]
  53. Guizar-Sicairos, M.; Thurman, S.T.; Fienup, J.R. Efficient subpixel image registration algorithms. Opt. Lett. 2008, 33, 156. [Google Scholar] [CrossRef]
  54. Kaifosh, P.; Zaremba, J.D.; Danielson, N.B.; Losonczy, A. SIMA: Python software for analysis of dynamic fluorescence imaging data. Front. Neuroinform. 2014, 8, 00080. [Google Scholar] [CrossRef]
  55. Greenberg, D.S.; Kerr, J.N.D. Automated correction of fast motion artifacts for two-photon imaging of awake animals. J. Neurosci. Methods 2009, 176, 1–15. [Google Scholar] [CrossRef]
  56. Li, K. Image Stabilizer. 2009. Available online: https://www.cs.cmu.edu/~kangli/code/Image_Stabilizer.html (accessed on 8 September 2025).
  57. Pnevmatikakis, E.A.; Giovannucci, A. NoRMCorre: An online algorithm for piecewise rigid motion correction of calcium imaging data. J. Neurosci. Methods 2017, 291, 83–94. [Google Scholar] [CrossRef] [PubMed]
  58. Mitani, A.; Komiyama, T. Real-time processing of two-photon calcium imaging data including lateral motion artifact correction. Front. Neuroinform. 2018, 12, 00098. [Google Scholar] [CrossRef] [PubMed]
  59. Berekméri, E.; Deák, O.; Téglás, T.; Sághy, É.; Horváth, T.; Aller, M.; Fekete, Á.; Köles, L.; Zelles, T. Targeted single-cell electroporation loading of Ca2+ indicators in the mature hemicochlea preparation. Hear. Res. 2019, 371, 75–86. [Google Scholar] [CrossRef] [PubMed]
  60. Tam, E. Kneedle. 2022. Available online: https://github.com/etam4260/kneedle (accessed on 8 October 2025).
  61. Satopää, V.; Albrecht, J.; Irwin, D.; Raghavan, B. Finding a “kneedle” in a haystack: Detecting knee points in system behavior. In Proceedings of the 31st International Conference on Distributed Computing Systems Workshops, Minneapolis, MN, USA, 20–24 June 2011; pp. 166–171. [Google Scholar]
  62. Conway, J.H. An enumeration of knots and links, and some of their algebraic properties. In Computational Problems in Abstract Algebra; Elsevier: Amsterdam, The Netherlands, 1970; pp. 329–358. [Google Scholar] [CrossRef]
Figure 1. Manually located ROIs caused differences. ROIs were defined in three different ways as follows: structure following ROIs include the top of the process and one ROI on the cell’s soma; 5 and 9 equal sized ROIs which are used for intracellular measurements, with one ROI including the process and the remaining ROIs located on the soma in balanced distances. (A) Example for structure following ROIs in case of the two analyzers, (B) Differences in the area of the two analyzers’ ROIs in pixels. The horizontal zero line shows the ideal case in which the two ROIs are the same in terms of the number of pixels, whilst blue points indicate when the second analyzer drew bigger ROIs, and pinkish points indicate the instances in which the second analyzer drew smaller ROIs compared to the ROIs of the first analyzer. In case of structure following ROIs, ROIs on the processes are more similar compared to the ones on the somas (see the differences in the y axis); small ROIs are more similar in case of the equal ROIs, too. (C) Measured normalized amplitude (dF/F0) differences during the two analyses: ideal 0 difference indicated by the line, process values are brownish, soma values are greenish. No significant differences were detected between the two analyzers’ measurements; however, variance is bigger at the end of the soma where the location has more chance to include more background pixels. (D) Response width (the time from the elevating 50% of the maximal intensity to the decreasing 50% of it) varied less; however, many outliers were detected. The ideal 0 difference between the analyzers’ measurements is indicated by the line. Process response width is indicated by brownish color; soma values are greenish.
Figure 1. Manually located ROIs caused differences. ROIs were defined in three different ways as follows: structure following ROIs include the top of the process and one ROI on the cell’s soma; 5 and 9 equal sized ROIs which are used for intracellular measurements, with one ROI including the process and the remaining ROIs located on the soma in balanced distances. (A) Example for structure following ROIs in case of the two analyzers, (B) Differences in the area of the two analyzers’ ROIs in pixels. The horizontal zero line shows the ideal case in which the two ROIs are the same in terms of the number of pixels, whilst blue points indicate when the second analyzer drew bigger ROIs, and pinkish points indicate the instances in which the second analyzer drew smaller ROIs compared to the ROIs of the first analyzer. In case of structure following ROIs, ROIs on the processes are more similar compared to the ones on the somas (see the differences in the y axis); small ROIs are more similar in case of the equal ROIs, too. (C) Measured normalized amplitude (dF/F0) differences during the two analyses: ideal 0 difference indicated by the line, process values are brownish, soma values are greenish. No significant differences were detected between the two analyzers’ measurements; however, variance is bigger at the end of the soma where the location has more chance to include more background pixels. (D) Response width (the time from the elevating 50% of the maximal intensity to the decreasing 50% of it) varied less; however, many outliers were detected. The ideal 0 difference between the analyzers’ measurements is indicated by the line. Process response width is indicated by brownish color; soma values are greenish.
Ijms 26 09987 g001
Figure 2. Successful ROI identification in different Deiters’ cells. For intracellular measurements, the objective ROI definition was accurate with our program. One ROI was inserted on the top of the process of the cell, whilst several ROIs of the same size and shape were inserted on the soma, as many as could fit along the cell’s axis. We used different strains (CD1 and BALB/c) and age (from 5 to 22 postnatal days old) of mice and measured multiple turns which all present different morphology according to the frequency map.
Figure 2. Successful ROI identification in different Deiters’ cells. For intracellular measurements, the objective ROI definition was accurate with our program. One ROI was inserted on the top of the process of the cell, whilst several ROIs of the same size and shape were inserted on the soma, as many as could fit along the cell’s axis. We used different strains (CD1 and BALB/c) and age (from 5 to 22 postnatal days old) of mice and measured multiple turns which all present different morphology according to the frequency map.
Ijms 26 09987 g002
Figure 3. ROI identification of imperfectly loaded midrow Deiters’ cells. Deiters’ cells form 3 lines in the organ of Corti, with close contact with each other. During the single-cell electroporation dye-load, neighboring cells could also be dyed; additionally, the basal membrane and the pillar cells nearby are also prone to bind dye molecules. The program first thresholds the images (see Section 4.2.3 of the Materials and Methods) deciding whether the intensity of each pixel should be 0 or 1. It may even elevate the noise of the image as seen in this example. However, the next cleaning steps eliminate the intense pixels without neighbors, leaving only the most intensive structure visible (here it still includes more than 1 cell). The ROI identification steps locate the ROIs in the midline of the brightest structure.
Figure 3. ROI identification of imperfectly loaded midrow Deiters’ cells. Deiters’ cells form 3 lines in the organ of Corti, with close contact with each other. During the single-cell electroporation dye-load, neighboring cells could also be dyed; additionally, the basal membrane and the pillar cells nearby are also prone to bind dye molecules. The program first thresholds the images (see Section 4.2.3 of the Materials and Methods) deciding whether the intensity of each pixel should be 0 or 1. It may even elevate the noise of the image as seen in this example. However, the next cleaning steps eliminate the intense pixels without neighbors, leaving only the most intensive structure visible (here it still includes more than 1 cell). The ROI identification steps locate the ROIs in the midline of the brightest structure.
Ijms 26 09987 g003
Figure 4. Process identification depends on the cell orientation in the field of view. Our program failed to find the process orientation only in one case, when the cell was oriented vertically in the field. The workflow (A,C) firstly sets a threshold, such that all pixel values above it are set to 1 and beneath it to 0, then calculates the sum of the pixels in each column of the image-represented matrix. If 2 local maxima could be detected, the process is distinguishable from the soma. Pixel cleaning process (B,D) can—but not always—help in the identification. The vertically located cell’s process was not found after the cleaning (B); however, with a small tilt, the lower cell’s process was identified after cleaning (D), but not without it (C).
Figure 4. Process identification depends on the cell orientation in the field of view. Our program failed to find the process orientation only in one case, when the cell was oriented vertically in the field. The workflow (A,C) firstly sets a threshold, such that all pixel values above it are set to 1 and beneath it to 0, then calculates the sum of the pixels in each column of the image-represented matrix. If 2 local maxima could be detected, the process is distinguishable from the soma. Pixel cleaning process (B,D) can—but not always—help in the identification. The vertically located cell’s process was not found after the cleaning (B); however, with a small tilt, the lower cell’s process was identified after cleaning (D), but not without it (C).
Ijms 26 09987 g004
Figure 5. Movement sensing and ROI location adjustment are built in the program. During a longer experiment, movement of the preparation could happen; example (E) shows the original position of the cell where the program defines the ROIs and (F) shows the location of the same cell and the previously defined ROIs more than 2700 s later. (A) The intensity curves measured without adjusting the location of the ROIs decrease constantly during the experiment, as the cell moves away. Only four ROIs’ intensity curves are shown—the differently colored curves were measured at different locations on the cell’s body, as indicated in the small cell figure (orange: head of the process, light green: first ROI on the soma, green: ROI on the middle of the soma, dark green: last ROI on the soma). The ATP-induced amplitudes are also influenced by the movement of the baseline. The program can relocate the ROIs according to a set up threshold ((B)—0.05, (C)—0.001, and (D)—0.001). The timepoints at which adjustments were made are registered and presented by black dots on the figures. The difference between the adjusted and unadjusted ROI measurements are visible, and have huge influence on the registered amplitudes, too.
Figure 5. Movement sensing and ROI location adjustment are built in the program. During a longer experiment, movement of the preparation could happen; example (E) shows the original position of the cell where the program defines the ROIs and (F) shows the location of the same cell and the previously defined ROIs more than 2700 s later. (A) The intensity curves measured without adjusting the location of the ROIs decrease constantly during the experiment, as the cell moves away. Only four ROIs’ intensity curves are shown—the differently colored curves were measured at different locations on the cell’s body, as indicated in the small cell figure (orange: head of the process, light green: first ROI on the soma, green: ROI on the middle of the soma, dark green: last ROI on the soma). The ATP-induced amplitudes are also influenced by the movement of the baseline. The program can relocate the ROIs according to a set up threshold ((B)—0.05, (C)—0.001, and (D)—0.001). The timepoints at which adjustments were made are registered and presented by black dots on the figures. The difference between the adjusted and unadjusted ROI measurements are visible, and have huge influence on the registered amplitudes, too.
Ijms 26 09987 g005
Figure 6. Program-generated curves compared with the mean of the manually analyzed curves. Neither the amplitudes (A) nor the durations of the responses (B) showed significant differences. The generated curves were background-corrected, and dF/F0 values were calculated. Maximal values were recorded as amplitudes, and the time between 50% of the amplitude on the rising and falling phases was defined as the width of the response. Differences between the program and manual recordings were calculated and tested for normality. In cases of normal distribution, a t-test was used; otherwise, the Wilcoxon test was applied. Calculated p-values are indicated on the panels. No significant differences were detected.
Figure 6. Program-generated curves compared with the mean of the manually analyzed curves. Neither the amplitudes (A) nor the durations of the responses (B) showed significant differences. The generated curves were background-corrected, and dF/F0 values were calculated. Maximal values were recorded as amplitudes, and the time between 50% of the amplitude on the rising and falling phases was defined as the width of the response. Differences between the program and manual recordings were calculated and tested for normality. In cases of normal distribution, a t-test was used; otherwise, the Wilcoxon test was applied. Calculated p-values are indicated on the panels. No significant differences were detected.
Ijms 26 09987 g006
Figure 7. Salamander cone cells’ ROIs are well defined by the program. (A) A cone cell found in a Supplementary Material, with the program-defined ROIs on the cell, each ROI colored differently. The original recording was modified so as to cut down the intensity scale with ImageJ. Because of the different ratio of the process/soma, the number and size of the ROIs were visibly different compared to a Deiters’ cell ROI group but met the criteria (localization and same size). (B) The intensity curves that were measured inside the ROIs located on the cone cell (background intensity not shown). The coloration of the curves is consistent with the coloration of the ROIs: the reddish curve was measured within the ROI on the process, while the differently shaded aquamarine curves were measured within the ROIs on the cell body.
Figure 7. Salamander cone cells’ ROIs are well defined by the program. (A) A cone cell found in a Supplementary Material, with the program-defined ROIs on the cell, each ROI colored differently. The original recording was modified so as to cut down the intensity scale with ImageJ. Because of the different ratio of the process/soma, the number and size of the ROIs were visibly different compared to a Deiters’ cell ROI group but met the criteria (localization and same size). (B) The intensity curves that were measured inside the ROIs located on the cone cell (background intensity not shown). The coloration of the curves is consistent with the coloration of the ROIs: the reddish curve was measured within the ROI on the process, while the differently shaded aquamarine curves were measured within the ROIs on the cell body.
Ijms 26 09987 g007
Figure 8. Flowchart summarizing the operation of the program. The two most complex functions, Image cleaner and ROI maker, are highlighted separately with their respective steps indicated.
Figure 8. Flowchart summarizing the operation of the program. The two most complex functions, Image cleaner and ROI maker, are highlighted separately with their respective steps indicated.
Ijms 26 09987 g008
Figure 9. Illustration of the elbow. In this figure, the elbow is indicated by the red dot. The original image was sourced from the algorithm’s developer, with the red marking added subsequently for visual emphasis.
Figure 9. Illustration of the elbow. In this figure, the elbow is indicated by the red dot. The original image was sourced from the algorithm’s developer, with the red marking added subsequently for visual emphasis.
Ijms 26 09987 g009
Figure 10. Histogram generated from the image pixel intensity values. The red line indicates the mode value, excluding pixels with an intensity of 0. The kneedle algorithm receives only the data points to the right of the red line, ensuring that the resulting curve contains a single elbow point.
Figure 10. Histogram generated from the image pixel intensity values. The red line indicates the mode value, excluding pixels with an intensity of 0. The kneedle algorithm receives only the data points to the right of the red line, ensuring that the resulting curve contains a single elbow point.
Ijms 26 09987 g010
Figure 11. ROI maker forms ROIs based on the process details. The first ROI is located on the process. ROIs (represented by the white rectangles) are determined from the right to the left, so the process is the first where the program starts to form the ROI. The program can properly locate the ROIs only on the head of the process and the soma (as usual there is an intensity gap between the process and the soma). The ROI on the background (for reference purposes) is located far from the cell to avoid any influence by the cell’s emitted light.
Figure 11. ROI maker forms ROIs based on the process details. The first ROI is located on the process. ROIs (represented by the white rectangles) are determined from the right to the left, so the process is the first where the program starts to form the ROI. The program can properly locate the ROIs only on the head of the process and the soma (as usual there is an intensity gap between the process and the soma). The ROI on the background (for reference purposes) is located far from the cell to avoid any influence by the cell’s emitted light.
Ijms 26 09987 g011
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Fazekas, F.; Zelles, T.; Berekméri, E. A Semi-Automatic Tool for the Standardized Analysis of Fluorescent Intensity Changes in Polarized Cells. Int. J. Mol. Sci. 2025, 26, 9987. https://doi.org/10.3390/ijms26209987

AMA Style

Fazekas F, Zelles T, Berekméri E. A Semi-Automatic Tool for the Standardized Analysis of Fluorescent Intensity Changes in Polarized Cells. International Journal of Molecular Sciences. 2025; 26(20):9987. https://doi.org/10.3390/ijms26209987

Chicago/Turabian Style

Fazekas, Fruzsina, Tibor Zelles, and Eszter Berekméri. 2025. "A Semi-Automatic Tool for the Standardized Analysis of Fluorescent Intensity Changes in Polarized Cells" International Journal of Molecular Sciences 26, no. 20: 9987. https://doi.org/10.3390/ijms26209987

APA Style

Fazekas, F., Zelles, T., & Berekméri, E. (2025). A Semi-Automatic Tool for the Standardized Analysis of Fluorescent Intensity Changes in Polarized Cells. International Journal of Molecular Sciences, 26(20), 9987. https://doi.org/10.3390/ijms26209987

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop