An image processing device or radiography device for creating an image using output data from a detector for detecting radiation that passes through a test object, wherein artifacts due to offset between an estimated output value and a true output value are reduced when estimating the output value of a defective pixel of the detector. Rather than correcting only the output of a defective pixel, the output of surrounding normal pixels used to correct the defective pixel is corrected by blur processing. The presence of blur processing or degree of blur processing of the surrounding normal pixels is also adjusted through use of a condition such as a device condition or an imaging condition.Cette invention concerne un dispositif de traitement de limage ou un dispositif radiographique permettant de créer une image à laide des données de sortie dun détecteur servant à détecter le rayonnement qui traverse un objet dessai, les artifacts dus à un décalage entre une valeur de sortie estimée et une valeur de sortie vraie étant réduits lors de lestimation de la valeur de sortie dun pixel défectueux du détecteur. Au lieu de ne corriger que la sortie du pixel défectueux, la sortie des pixels normaux environnants utilisés pour corriger le pixel défectueux est corrigée par un traitement de floutage. La présence dun floutage ou dun certain degré de floutage des pixels normaux environnants est également ajustée par utilisation dune condition telle quune condition de dispositif ou une condition dimagerie.検査対象を透過した放射線を検出する検出器からの出力データを用いて画像を作成する画像処理装置または放射線撮影装置おいて、検出器の欠陥素子の出力値を推定する際に、推定出力値と本来の出力値とのずれに起因するアーチファクトを低減する。欠陥素子の出力のみを補正するのではなく、欠陥素子の補正に用いた周囲の正常素子の出力をぼかし処理によって補正する。さらに周囲の正常素子のぼかし処理の有無やぼかし処理の程度を、装置条件や撮影条件などの条件によって調整する。