Changeset 2525


Ignore:
Timestamp:
30/05/07 12:31:38 (12 years ago)
Author:
domlowe
Message:

removing redundant lines from imagefileextract

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/csml/csmllibs/csmldataiface.py

    r2516 r2525  
    697697      #self.data = Numeric.array(self.file.getdata()) 
    698698 
    699       # The order of dimensions in Numeric arrays do not correspond with 
    700       # the order of dimensions in traditional image files, so we need to 
    701       # reverse the dimensions before shaping the array. 
    702       dimensions = map(int,self.file.size) 
    703       dimensions.reverse() 
    704       self.data.shape = tuple(dimensions) # self.data.shape = (Y,X) 
    705  
    706699      if 'numericTransform' in kwargs: 
    707700         # numericTransform was specified, so compile the expression: 
Note: See TracChangeset for help on using the changeset viewer.