Method: RTKIT::Image#pixel_area
- Defined in:
- lib/rtkit/image.rb
#pixel_area ⇒ Object
Calculates the area of a single pixel of this image. Returns a float value, in units of millimeters squared.
212 213 214 |
# File 'lib/rtkit/image.rb', line 212 def pixel_area return @row_spacing * @col_spacing end |