PROBLEM TO BE SOLVED: To increase the number of effective pixels belonging to a target tissue in a medical X-ray measuring apparatus such as a bone density measuring apparatus.SOLUTION: A detection value row is comprised of a plurality of L detection values (low energy X-ray detection value) and a plurality of H detection values (high energy X-ray detection value) which are alternately arranged in an X direction. A plurality of adjacent detection value pairs are set in the detection value row, and the presence or absence of a boundary 132 is determined in each adjacent detection value pair. Concretely, when a tissue class determination result based on one detection value does not coincide with a tissue class determination result based on the other detection value row (code 134 reference), a boundary 144 is determined. A pixel row is set in the detection value row on the basis of the position of the boundary 144. Concretely, either a first pixel row pattern or a second pixel row pattern is selected ((F) reference) so as to increase the number of effective pixels more in the inside of a target tissue.COPYRIGHT: (C)2015,JPO&INPIT【課題】骨密度測定装置等の医療用X測定装置において、注目組織に属する有効画素数を増大できるようにする。【解決手段】検出値列は、X方向に交互に並ぶ複数のL検出値(低エネルギーX線検出値)及び複数のH検出値(高エネルギーX線検出値)により構成される。検出値列に対して、複数の隣接検出値ペアが設定され、隣接検出値ペアごとに境界132の有無が判定される。具体的には、一方の検出値に基づく組織種別判定結果と、他方の検出値値に基づく組織種別判定結果と、が不一致となった場合(符号134参照)、境界144が判定される。その境界144の位置に基づいて、検出値列に対して画素列が設定される。具体的には、注目組織の内部において、有効画素数がより増大するように、第1画素列パターン及び第2画素列パターンのいずれかが選択される((F)参照)。【選択図】図11