Question about octaves in SIFT(opencv2.4.9)

In opencv 2.4.9, I use the feature matching method SIFT.
there is a attr in class “KeyPoint” named “octave”, which represent the DOG layers where the feature point is extracted.
the value of “octave” should be 0, 1, 2…etc, but I get this value when I debug the project, like pts
so how could I convert this value to the right value(0, 1, 2…)?