Provided are a diagnosis assisting device, an imaging processing method in the diagnosis assisting device, and a non-transitory storage medium having stored therein a program that facilitate a grasp of a difference in an diseased area to perform a highly 5 precise diagnosis assistance. According to an image processing method in a diagnosis assisting device that diagnoses lesions from a picked-up image, a reference image corresponding to a known first picked-up image relating to lesions is registered in a database, and when a diagnosis assistance is performed by comparing a query image corresponding to an unknown second picked-up image relating to lesions with the 10 reference image in the database, a reference image is created from the reference image by geometric transformation, or a query image is created from the query image by geometric transformation. Selected drawing: FIG. 1 9229569_1 (GHMatters) P106254.AU START AND INPUT AN IMAGE S41 TO BE PREDCTED MULTIPLY IMAGE PRE-INCREASE S42 GEOMETRIC TRAN SFORMAION (8 PATTERN BY S YNTI-ESIS 43 OF M0x DEGREE ROTATION AND INVER SKON) INPUT 8xN SPECIES OF RESPECTIVE IMAGESIN IDENTFlER HRM G PERORMED S44 LEARNINO. AND 0JTAIN xN NUMBE R OF INFER ENCE WLUE8 TAKE AVERAGE OF xN NUMBER OF INFERENCE S45 VAL LES TO OBTAIN EVENTUAL NFER ENCE WLUE
Diagnosis assisting device, image processing method in diagnosis assisting device, and non-transitory storage medium having stored therein program