A program which makes a computer operate as an apparatus which analyzes an object based on a three-dimensional image of the object to be analyzed serving as a cell, a tissue, or an organ having a linear figure, the program causing the computer to execute:
- a first blurring procedure which performs scale-space transformation to the three-dimensional image based on a predetermined first scale σ;
- a first medialness procedure which calculates a first medialness for each pixel of the three-dimensional image after the scale-space transformation;
- and
- a linear figure fitting procedure which calculates a graphic approximated to the linear figure of the object based on the first medialness.