Two rather unlikely entities are teaming up to advance efforts in cancer diagnostics. Alphabet's (GOOG -1.10%) (GOOGL -1.23%) Google announced that its Google Cloud unit has been selected by the government's Department of Defense (DoD) for a pilot project utilizing Google Cloud's digital pathology solution.

Under the terms of the arrangement, Google Cloud will deploy its solution, which includes artificial intelligence (AI)-enabled microscopes, to certain DoD facilities in order to help military doctors detect cancer in patients. The pilot program is being run by DoD's Defense Innovation Unit (DIU), which is responsible for testing new technologies potentially useful to the military.

A medical professional using a microscope.

Image source: Getty Images.

"The goal of the DIU-Google Cloud project is to help improve the accuracy of diagnoses, assisting physicians who face an overwhelming volume of data when making diagnostic and treatment decisions -- and to help lower overall healthcare costs," Alphabet/Google wrote in the press release announcing its participation in the project.

"Working with DIU, Google Cloud will prototype the delivery of an augmented reality microscope that overlays AI-based information for doctors, providing pathology-based cancer detection tools at the point-of-care," the company added.

If found to be effective, the Google Cloud technology could be utilized in other branches of the armed forces; beyond that, it could find willing buyers in other arms of the sprawling federal government and ultimately find its way into civilian medical use.

Alphabet did not specify how much -- or even if -- it was being paid for its participation in the pilot.

Nevertheless, its stock did well on the news, closing over 4% higher on Tuesday. That level well exceeded the gains of the broader equities market.