how can I create a program that can handle this pictures in a specific folder? The program must be able to calculate the relative ratio of the volume of the 3 cores among themselves based on the determined image data.
Finally, the relative ratio should get displayed via a dialogue
- Z25777766_Depth.bmp
 - Z25777766Leer_Depth.bmp
 - Z25777783_Depth.bmp
 - Z25777783Leer_Depth.bmp
 - Z25777796_Depth.bmp
 - Z25777796Leer_Depth.bmp
 
There are always 2 pictures belonging together. They differ only by the word "Leer" in the file name.
Always the first picture is a 3-dimensional picture of a core in a selection station, the second 3- dimensional picture (“Leer”) shows the empty selection place. ´
class ImageProcessing
    {
        private string _index;
        public ImageProcessing(string text)
        {
            _index = text;
        }
        public void OpenAbitmap()
        {
            Bitmap picture = new Bitmap(@"C:\Users\Desktop\A\" + _index.ToString() + ".bmp");
        }
    }
