Welcome to ContextVision's summary and report of the second quarter in 2020. The second quarter was very progressive for our company. The first product within digital pathology was granted a CE mark. Our latest product for ultrasound was released for sale. We had a significant increase in our X-ray sales in the quarter, and we ended the quarter with a solid cash position. Sales in the second quarter reached SEK 20.1 million, which is a 13% decrease compared to the second quarter in 2019. Due to the present pandemic situation, we had lower sales of ultrasound. Hospitals and clinics around the world have been forced to defer other priorities due to COVID-19, which in turn affected primarily our ultrasound sales. However, we managed to close several new contracts with customers despite 100% travel restrictions.
Thanks to commitment and creativity among our staff and customers, we are able to move things forward on remote by using digital platforms. Exhibitions, seminars, and meetings are currently 100% performed on digital platforms. Regionally, we saw a decrease in Asia and Europe, while the United States had smaller growth. The distribution of our sales per product line saw a significant change in this quarter, although one quarter is a short time period for our OEM business. Our X-ray continued on the positive path and grew by 78% compared to the corresponding quarter in 2019. This partly compensated for lower sales within ultrasound. Our largest business segment, 2D ultrasound, decreased by 8%, while the 3D ultrasound sales saw a more dramatic decrease.
The 3D ultrasound business has suffered the most due to COVID-19, a lower level of sales was forecasted anyhow since one of our customers started to phase out the product a year ago, and now we see the full effect of that. Most important, we consider the decrease in ultrasound business being temporary and entirely related to the pandemic situation. In May, we released our seventh generation of ultrasound product, named Rivent. With this product, we can create image quality and sharpness in an ultrasound image, which is closing in on the sharpness you find in an MRI image. Extraordinary sharpness in the image quality has been increasingly requested by global leading ultrasound manufacturers around the world. Once again, with the level of product in the forefront of technology, improve our leadership within the field.
Altumira, our AI-based product for X-ray, continues to drive growth within our X-ray business. The single most important milestone for the company in the second quarter is the release of our first product within digital pathology. Digital pathology is a young but rapidly growing market. High workload and shortage of pathologists are main drivers, and such a situation also leads to an elevated risk for diagnostic mistakes. Decision support tools will be a vital key to addressing such challenges, and they will turn clinical pathology into a digital discipline. It could, in fact, be like a comparison with a pilot driving an aircraft manually versus one that is using an autopilot. Ultimately, it will offer significantly improved efficiency, diagnostic confidence, and standardization. The pilot will be the pathologist. Market reports estimate the present market size for software within digital pathology to be about $250 million.
However, we estimate the market to be a billion-dollar market a few years down the line. The availability of high-performing decision support tools will be one of the key drivers. INIFY Prostate Screening was granted a CE mark in June. Basically, it is the first product in a planned portfolio of products addressing the most common cancer types causing the heaviest burden on pathologists. Basically how it works is after the sample has been scanned or digitalized, INIFY makes an automatic prediction and outlines suspicious cancer areas and presents all the samples in a worst -first order for the pathologist. This will draw the pathologist's attention to samples with suspicious cancer and minimize time spent on samples with benign tissue. Thanks to training data generated by our patented Master Annotation method, our algorithms achieve an accuracy beyond case or slide level.
We reach 95% accuracy on the pixel level. Lastly, we have developed a highly intuitive and user-friendly interface, since it is essential from a workflow and usability perspective. The involvement of clinical expertise has been central in the development. Dr. Fraggetta , for example, is chief pathologist in one of the few fully digitalized labs in Europe, where INIFY already is highly valued. Now, we focus on installing additional reference centers across Europe to broaden the use in the clinical workflow, which is our priority. Several contracts are already in place, and we have additional late-phase discussions with prospects. Notable revenues are expected to come during next year. A summary of the financials. Sales we already talked about. The EBITDA ended at SEK 3.7 million in the second quarter, and the operating result was SEK 1.6 million, which corresponds to 8% operating margin.
Despite somewhat lower sales in the second quarter, our first half -year, we were actually able to deliver 11.3% growth in the company, thanks a lot to a strong first quarter. In the second quarter, we maintain a good margin in the medical imaging business, reaching 38%, while digital pathology has not started sales yet. We had a positive cash flow of SEK 12.2 million during the second quarter, the cash position at the end of June was SEK 45.2 million. To summarize the quarter, we enter the digital pathology market with our first product for prostate diagnosis. Going forward, we will focus on installing additional reference centers while R&D is focusing on developing additional products for the portfolio. We are building the business brick by brick.
We continue to confirm our leading position within ultrasound by releasing a new generation that can create extraordinarily sharp image quality, supporting sonographers and doctors in their diagnostic task. COVID-19 affected our ultrasound sales in the second quarter, which was expected with such a severe global situation. We see this as temporary and entirely related to the pandemic situation. On the other hand, our X-ray sales continue to grow significantly, which partly compensated for the drop in ultrasound. The remaining part of the year continued to be unpredictable. Globally, we are getting more and more used to moving projects forward remotely by using digital platforms. We had a positive cash flow and ended the quarter with a solid cash position.
We keep focusing on developing the company with a long-term mindset all the way from majority owners to employees, which we see as a key for success. The need for efficient solutions within healthcare, which is what digital tools are offering, has never been more obvious. Stay safe, and thank you for listening.