Differences between revisions 1 and 5 (spanning 4 versions)
Revision 1 as of 2024-10-24 13:03:24
Size: 1657
Editor: EricPalmer
Comment:
Revision 5 as of 2024-10-24 14:51:32
Size: 3392
Editor: EricPalmer
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
{{{
Line 7: Line 7:
}}}
Line 32: Line 32:
  Central vector of the maplet
  It is derived from [[READ_MAP]]
Line 33: Line 36:
Line 34: Line 38:
Line 35: Line 40:
  Normal plane of the maplet in X, Y and Z space
  It is derived from [[READ_MAP]]

      LOGICAL HUSE(-NTMP:NTMP,-NTMP:NTMP)
  Tracks each pixel of the maplet to define if its value should be considered
  Defined in [[HGT2SLP]]


      REAL*4 HT(-NTMP:NTMP,-NTMP:NTMP)

Line 36: Line 52:
  Camera vector
  Calculated in EXTRACT_DATA_PIC
Line 37: Line 56:
  Sun vector
  Calculated in EXTRACT_DATA_PIC

Line 38: Line 61:
* DOUBLE PRECISION ETOL, FINV   "Expanded T1" Flag for when to use the expanded threshold for DN.
  Is a flag set within [[lithos]] or [[lithosp]] using the 'x' option
  Uses the ETOL variable

* DOUBLE PRECISION ETOL
  Expanded T1 flag variable.
  Is a flag set within [[lithos]] or [[lithosp]] using the 'x' option
  Typically set to .025 (standard within the scripts for LITHOSP)


* DOUBLE PRECISION FINV
  Reports the fraction of invisible pixels within the maplet/image intersection
  
Line 40: Line 75:
   This subroutine computes the change in the image-space location (p,l) of a point (x,y,z) on a maplet as the point is moved in the maplet frame
   Called from [[LOC2PIX]]


Line 41: Line 81:
Line 42: Line 83:
  Rate of change for the position I and J in the picture
  Calcualted in this routine and reported back to who called it
Line 43: Line 87:
  Center point to extract the data from the image.
  Defined in [[lithos]] and derived from IPL. Used in [[PICINPT]] and [[BRT1]]
Line 44: Line 91:
  KK is a spacing parameter, which I think is based upon the maplet.
  ESZ is the size of the array.
  Defined in [[lithos]]. Used in [[PICINPT]] and [[BRT1]]
Line 45: Line 96:
  The workspace of displayed DN for both the image and the maplet (template)
  Set in this subroutine.
Line 46: Line 100:
  The filled out data that we really want. Set in this routine.

Describe EXTRACT_DATA_PIC here.

      SUBROUTINE EXTRACT_DATA_PIC(NTMP,QSZ,SCALE,PICNM,IPL,
     .                     V,UX,UY,UZ,HUSE,HT,CP,SP,EUSE,ETOL,
     .                     FINV,DPIC_DLOC,DIDH,DJDH,Z0,KK,ESZ,DN, DNX)

* INTEGER NTMP

  • NTMP is a global compile parameter that defines the maximum size of maplets (it allocates memory) Standard value is 128

* INTEGER QSZ

  • QSZ is the half size of maplet. width = QSZ * 2 + 1

    It is derived from READ_MAP

* DOUBLE PRECISION SCALE

  • The scale (both horizontally x and y, as well as verticlally). The values in the MAPLET should be multiplied by this value to get its actual value. Units are in km. It is derived from READ_MAP

* CHARACTER*12 PICNM

  • The name of the image that you want to use. The file is read in (again) in this program)

* DOUBLE PRECISION IPL(2)

  • IPL = Image Pixel Line. Scaling factor to translate from physical to image frame.

    Comes from V2IMGPLV

* DOUBLE PRECISION V(3)

  • Central vector of the maplet

    It is derived from READ_MAP

* DOUBLE PRECISION UX(3)

* DOUBLE PRECISION UY(3)

* DOUBLE PRECISION UZ(3)

  • Normal plane of the maplet in X, Y and Z space

    It is derived from READ_MAP

    • LOGICAL HUSE(-NTMP:NTMP,-NTMP:NTMP)

    Tracks each pixel of the maplet to define if its value should be considered

    Defined in HGT2SLP

    • REAL*4 HT(-NTMP:NTMP,-NTMP:NTMP)

* DOUBLE PRECISION CP(3)

  • Camera vector Calculated in EXTRACT_DATA_PIC

* DOUBLE PRECISION SP(3)

  • Sun vector Calculated in EXTRACT_DATA_PIC

* LOGICAL EUSE

  • "Expanded T1" Flag for when to use the expanded threshold for DN.

    Is a flag set within lithos or lithosp using the 'x' option Uses the ETOL variable

* DOUBLE PRECISION ETOL

  • Expanded T1 flag variable.

    Is a flag set within lithos or lithosp using the 'x' option Typically set to .025 (standard within the scripts for LITHOSP)

* DOUBLE PRECISION FINV

  • Reports the fraction of invisible pixels within the maplet/image intersection

* DOUBLE PRECISION DPIC_DLOC(2,3)

  • This subroutine computes the change in the image-space location (p,l) of a point (x,y,z) on a maplet as the point is moved in the maplet frame

    Called from LOC2PIX

* DOUBLE PRECISION DIDH

* DOUBLE PRECISION DJDH

  • Rate of change for the position I and J in the picture Calcualted in this routine and reported back to who called it

* INTEGER Z0(2)

  • Center point to extract the data from the image.

    Defined in lithos and derived from IPL. Used in PICINPT and BRT1

* INTEGER KK, ESZ

  • KK is a spacing parameter, which I think is based upon the maplet. ESZ is the size of the array.

    Defined in lithos. Used in PICINPT and BRT1

* INTEGER DN(-1300:1300,-1300:1300)

  • The workspace of displayed DN for both the image and the maplet (template) Set in this subroutine.

* REAL*4 DNX(-NTMP:NTMP,-NTMP:NTMP)

  • The filled out data that we really want. Set in this routine.

EXTRACT_DATA_PIC (last edited 2024-10-31 11:21:44 by EricPalmer)