IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 42128


Ignore:
Timestamp:
Mar 19, 2022, 8:43:32 AM (4 years ago)
Author:
eugene
Message:

add mlayer command to insert 2D image in 3D cube

Location:
trunk/Ohana/src/opihi/cmd.data
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.data/Makefile

    r42082 r42128  
    106106$(SRC)/mget3d.$(ARCH).o         \
    107107$(SRC)/mslice.$(ARCH).o         \
     108$(SRC)/mlayer.$(ARCH).o         \
    108109$(SRC)/minterpolate.$(ARCH).o   \
    109110$(SRC)/medimage.$(ARCH).o       \
  • trunk/Ohana/src/opihi/cmd.data/init.c

    r42082 r42128  
    9797int mget3d           PROTO((int, char **));
    9898int mslice           PROTO((int, char **));
     99int mlayer           PROTO((int, char **));
    99100int minterp          PROTO((int, char **));
    100101int medimage_command PROTO((int, char **));
     
    296297  {1, "mget3d",       mget3d,           "extract a vector from a 3D image"},
    297298  {1, "mslice",       mslice,           "extract an image plane from a 3D image"},
     299  {1, "mlayer",       mlayer,           "insert an image plane into a 3D image"},
    298300  {1, "imget",        mget,             "extract a vector from an image"},
    299301  {1, "minterp",      minterp,          "interpolate image pixels"},
  • trunk/Ohana/src/opihi/cmd.data/mslice.c

    r40334 r42128  
    3131  if (argc != 4) {
    3232    gprint (GP_ERR, "USAGE: mslice <input> <output> plane [-x,-y,-z]\n");
     33    gprint (GP_ERR, "  extract 2D image from 3D cube (opposite of mlayer)\n");
    3334    gprint (GP_ERR, "  -z is default\n");
    3435    return (FALSE);
Note: See TracChangeset for help on using the changeset viewer.