Ignore:
Timestamp:
01/27/11 23:57:32 (9 years ago)
Author:
aivar
Message:

I had inverted the image to correspond with SLIMPlotter, but the natural way up corresponds to TRI2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/projects/slim-plugin/src/main/java/loci/slim/GrayScaleImage.java

    r7468 r7604  
    112112            for (int x = 0; x < m_width; ++x) { 
    113113                for (int y = 0; y < m_height; ++y) { 
    114                     // flip y axis to correspond with SLIM Plotter image 
    115                     outPixels[y * m_width + x] = (byte) (pixels[x][m_height - y - 1] * 255 / maxPixel); 
     114                    outPixels[y * m_width + x] = (byte) (pixels[x][y] * 255 / maxPixel); 
    116115                } 
    117116            } 
Note: See TracChangeset for help on using the changeset viewer.