Changeset 7604 for trunk/projects/slim-plugin/src
- Timestamp:
- 01/27/11 23:57:32 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/projects/slim-plugin/src/main/java/loci/slim/GrayScaleImage.java
r7468 r7604 112 112 for (int x = 0; x < m_width; ++x) { 113 113 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); 116 115 } 117 116 }
Note: See TracChangeset
for help on using the changeset viewer.