This technology pertains to an image processing device, an image processing method, a program, and a surgery system that allow a medical image that has shadows to be suitably provided. An image processing device determines whether to add or suppress shadows in a medical image, and on the basis of the determination results, performs control so as to generate a shadow corrected image. For example, this technology can be applied to a surgery system or the like to perform surgery while viewing a medical image captured with an endoscope.L'invention concerne un dispositif de traitement d'image, un procédé de traitement d'image, un programme et un système chirurgical, qui permettent de produire de manière appropriée une image médicale qui présente des ombres. Ledit dispositif de traitement d'image détermine s'il faut ajouter ou supprimer des ombres dans une image médicale, et sur la base des résultats de détermination, effectue une commande de manière à générer une image corrigée d'ombre. Par exemple, cette technologie peut être appliquée à un système chirurgical ou analogue pour effectuer une chirurgie tout en visualisant une image médicale capturée avec un endoscope.本技術は、陰影がある医用画像を適切に提供することができるようにする画像処理装置、画像処理方法、プログラム、及び、手術システムに関する。 画像処理装置は、医用画像に対し、陰影を付加又は抑制するか否かを判定し、その判定の結果に基づき、陰影補正画像を生成するよう制御する。本技術は、例えば、内視鏡で撮影された医用画像を見ながら手術を行う手術システム等に適用することができる。