// file: $USFS/class/image_analysis/v3.0/imaga_rle_16.cc
//

// isip include files
//
#include "image_analysis.h"

#include "image_analysis_constants.h"
#include <integral_constants.h>

// method: rle_compare_cc
//
// arguments:
//  float_8& sbe_a: (output) sbe value
//
// return: a logical_1 value indicating status
//
// this method computes an sbe from two histograms.
//
logical_1 Image_analysis::rle_compare_cc(float_8& sbe_a) {
  
  // compare the data from the model file with the computed data
  //
  sbe_a = rle_r_compression_d - rle_t_compression_d;
  
  // compute the scaled sbe
  //
  //sbe_a = rle_ascale_d * rms_scaled + rle_bscale_d;
  
  if (debug_level_d > ISIP_DEBUG_BRIEF) {
    fprintf(stdout,"<%s> sbe = %f\n",
	    "Image_analysis::rle_compare_cc", sbe_a);
  }
  
  // exit gracefully
  //
  return ISIP_TRUE;
}
