MSTAR2JPEG

Program Description:

Convert the magnitude portion of MSTAR images to JPEG format for viewing purposes. Uses a quality factor of 75 with no smoothing. Also contains options to automatically enhance the output image, dump the Phoenix header, and to operate in verbose mode. It automatically checks for and byteswaps the big-endian MSTAR data when needed to support PC display operations.

Version #:

2.0 (September 1998)

What's New:

Automatic byte swapping.

Program Usage:

mstar2jpeg -i <MSTAR File> -o <JPEG File> [-e] -q] qf [-h] [-v]

  • [-e] = Auto-contrast enhance [Def: none]
  • [-q] = Compression quality factor (5-95, Def: 75]
  • [-h] = Dump Phoenix (ASCII) header [Def: none]
  • [-v] = Verbose mode [Def: Quiet]

Description of Arguments: 

  • <MSTAR File>: input file in MSTAR format
  • <JPEG File>: name of the output file

Files Necessary to Compile: 

  • These routines have been tested under Matlab 5.1, but should also work for Matlab 4.1-5.0.
  • Include : jconfig.h (Contains JPEG defs.) jmorecfg.h (More JPEG defs.) jpeglib.h (JPEG Lib defs.)
  • Library : JPEG libjpeg library (You can download the latest version here.)
  • Source : mstar2jpeg.c read_switch.c
  • Make : mstar2jpeg.mk (optional)