Method and apparatus for determining a property of an object