Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


  >  Docs Center  >  Libraries  >  Motley  >  MGH_EXAMPLE_ROI

MGH_EXAMPLE_ROI

MGH_EXAMPLE_ROI

Name


  MGH_EXAMPLE_ROI

Purpose


  What *is* an ROI anyway? And how do I make it line up with an
  image?
  In my experience IDL, is disturbingly vague about registration
  between images and vector elements. The developers obviously
  assume that you will always deal with images having large numbers
  of elements, where a mismatch of a pixel here or there doesn't
  matter much. But I often to deal with small data sets, and I find
  it makes a difference whether the position of pixel is taken to be
  its centre or one of its corners.
  In this example a simple ROI is set up and used to compute a mask.
###########################################################################
  Copyright (c) 2013-2015 NIWA:
  http://www.niwa.co.nz/
  Licensed under the MIT open source license:
  http://www.opensource.org/licenses/mit-license.php
###########################################################################

Modification History


  Mark Hadfield, 2001-06:
    Written.
  Mark Hadfield, 2013-06:
    Changed calls to MGH_POLYCLIP to accommodated changes in that function.
  Mark Hadfield, 2015-02:
    Updated source code.



© 2018 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us