## NAME

         remap_Image - maps data into a range

## SYNOPSIS

          #include "CVIPtoolkit.h"
          #include "CVIPdef.h"
          #include "float.h"

         Image *remap_Image(const  Image  *imageP,  CVIP_TYPE  dtype,
         unsigned dmin, unsigned dmax)

          <imageP> - pointer to an Image
          <dtype> - datatype into which data is to be mapped
          <dmin> - minimum value for range
          <dmax> - maximum value for range

## PATH

         $CVIPHOME/Mapping/relremap.c

## DESCRIPTION

         Remaps data in an image to the specified range according to:

            P = dmin + factor*(original_value - original_minimum)

         where factor is

              (dmax-dmin)/(original_maximum - original_minimum)

## TYPES AND CONSTANTS

         None

## RETURN VALUES

         Pointer to a modified image

## HISTORY

         History information recorded: None

## SEE ALSO

         libhisto

## AUTHOR

         Copyright (C) 1996 SIUE - by Scott E. Umbaugh,  Greg  Hance,
         and  Kun Luo.  # Revision 1.1  1997/01/31  17:11:03  sumbaug
         # Initial revision #