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
- NTMP is a global compile parameter that defines the maximum size of maplets (it allocates memory)
- INTEGER QSZ
- QSZ is the half size of maplet. width = QSZ * 2 + 1
It is derived from READ_MAP
- QSZ is the half size of maplet. width = QSZ * 2 + 1
- DOUBLE PRECISION SCALE
- 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
- IPL = Image Pixel Line. Scaling factor to translate from physical to image frame.
- DOUBLE PRECISION V(3)
- Central vector of the maplet
It is derived from READ_MAP
- Central vector of the maplet
- 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
- Normal plane of the maplet in X, Y and Z space
LOGICAL HUSE(-NTMP:NTMP,-NTMP:NTMP)
- Tracks each pixel of the maplet to define if its value should be considered
Defined in HGT2SLP
- Tracks each pixel of the maplet to define if its value should be considered
REAL*4 HT(-NTMP:NTMP,-NTMP:NTMP)
- HT - Height. The height of the template at that location of the maplet. Used for trying to identifing shadow.
- DOUBLE PRECISION CP(3)
- Camera vector
- Calculated in this subroutine
- Camera vector
- DOUBLE PRECISION SP(3)
- Sun vector
- Calculated in this subroutine
- Sun vector
- LOGICAL EUSE
- DOUBLE PRECISION ETOL
- 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.
Changed within LOC2PIX that is typically called from this subroutine.
- 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.
- 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
- Rate of change for the position I and J in the picture
- INTEGER Z0(2)
- INTEGER KK, ESZ
- INTEGER DN(-1300:1300,-1300:1300)
- The workspace of displayed DN for both the image and the maplet (template)
- Set in this subroutine.
- The workspace of displayed DN for both the image and the maplet (template)
REAL*4 DNX(-NTMP:NTMP,-NTMP:NTMP)
The filled out data that we really want. Set in this routine.