Syntax_Import
This command line argument runs the Importer
to import raw image data into the PCIDSK database.pix

back to Help
 
 
  • first use OPENEV to export your raw data image to the .pix format
  • raw data is imported
    • from any list of channels of any       database_in.pix
    • into  any list of channels of current database_out.pix

Import from a rectangular shapefile
-Import/V(v)/d(D)TM/data*tarawa-full/dbnc_3_0S_0s_0s/R1630_L1860/Origin_709.049_182.231_0_0/chIn1,3/chOut1,3/import.shp
 
  • -Import/V(v)...               VerboseI to display comments on screen while importing
  • -Import/V(v)/D(d)/...    to import a DTM
  • -Import/V(v)/D(d)/TM/data*database_in/...
    • /path_to_rawdata/...
    • shall be converted to data/database_in.pix
    • shall import from data/database_in.pix into database.pix in the current directory
    • database_in.pix may be anywhere on the network
    • these need not to have same image dimensions
    • these need not to have same number of raw data channels
  • .../dbnc...
    • dbnc means "data base number of channels" in PCIDSK speak
    • default: IU8=U8 IS16=S16 IU16=U16 IR32=R32
    • /dbnc_6_1S_0s_0s : import_database channel structure:
      • IU8=6
      • IS16=1S                swapByte is ON (endianness)
      • IU16=0s                swapByte is OFF
      • IR32=0s                swapByte is OFF
      • endiannness: swapByte is compulsory
        • S for swapByte is ON
        • s for  swapByte is OFF
  • .../R1630_L1860/...    import image size
    • InbRow=1630 rows  
    • InbLin  =1860 lines
  • default is same as in -DB argument
    • InbRow=nbRow
    • InbLin  =nbLin
  • .../Origin_709.049_182.231_0_0/...    in kilometers please: UTM coordinates of UL corner of UL pixel
    • West=709.049
    • North=182.231
    • FalseEasting=0
    • FalseNorthing=0
  • .../chIn1,3/chOut1,3/...            
    • /chIn1...........................from ch1of database_In to ch1 of database_Out
    • /chIn1/chOut6.............from ch1 of database_In to ch6 of database_Out
    • /chIn1,3/chOut1,3......from ChIn1, 2 and 3   to chOut1, 2 and 3
  • Optional..............output window to import/insert only into sub-window of database_out.pix
  • you can place the imported subset anywhere you want in the output image
  • for this, specify a -Eext1/ext2/ext3/ext4 argument for writing into a sub-window of database_out.pix
  • -E101/250/1/250 would write from Row_101 to Row_250 and from Line_1 to Line_250
  • This would insert a subwindow of database_in at the desired location of database_out
 
  • Optional and obsolete................../dbiw_IoffsetX_IoffsetY_nbX_nbY
    • if an import.sh shapefile is not available
    • to specify an import window in the -Import... argument
  • default is........................../dbiw_0_0_nbRow_nbLin
    • assumes import_image and database have same dimensions
  • /import
    • name of the import shapefile import.shp
    • .shp suffix is not required 
    • optional: if no import.shp shapefile is provided, the whole original image is loaded into the working database

 

 
 

COPYRIGHTED DATA

 
  • I shall progressively release all my working directories on this website
    • the problem is: copyright on the imagery: I can't distribute copyrighted data!
    • either the copyright is free: all Landsat images
    • or you hold a copy of the imagery
    • or you have to buy it
  • If you hold a copy of the original copyrighted data I have, then you can use it straight away to forward your training using the modeling scripts I have prepared:
    • CASI
    • IKONOS
    • ...
  • Here is how it works
  • -Import/GetImportKey_65814@42187860852760994610_gezirat/apr4casi/dbnc_0_0_12_0/5363_6566/1,12_65,76
    • I was given a copy of raw proprietary data apr4casi.pix by HDI
      • it belongs to University of Hawaii: I can't afford to distribute it around!!
    • if you hold a copy of this data, then you can load the raw data from your file into file gezirat.pix
    • this works as follows:
      • my own file gezirat.pix is only a subset of the original file
      • I have produced a GetImportKey: it is a unique key that is specific to a series of 100 spectral pixels somewhere in my own file gezirat.pix
      • applying this key through the -Import/GetImportKey_65814@421... commandline argument,
        • # 4SM locates the said series of pixels,
        • # determines row and line offsets,
        • # and proceeds to import the right subset of the original raw data from database_in into database_out: Cool, is'nt it?
 



Créer un site
Créer un site