[wosaic commit] r329 - in trunk/src/wosaic: . utilities

2 views
Skip to first unread message

codesite...@google.com

unread,
Mar 25, 2008, 5:50:08 PM3/25/08
to wosaic...@googlegroups.com
Author: swegner2
Date: Tue Mar 25 14:48:34 2008
New Revision: 329

Modified:
trunk/src/wosaic/JAIProcessor.java
trunk/src/wosaic/WosaicUI.java
trunk/src/wosaic/utilities/Pixel.java

Log:
Remove unused parameter from Pixel constructor

Modified: trunk/src/wosaic/JAIProcessor.java
==============================================================================
--- trunk/src/wosaic/JAIProcessor.java (original)
+++ trunk/src/wosaic/JAIProcessor.java Tue Mar 25 14:48:34 2008
@@ -132,7 +132,7 @@
} catch (final InterruptedException e) {
return;
}
- final Pixel newPixel = new Pixel(newImg, false);
+ final Pixel newPixel = new Pixel(newImg);

mosaic.updateMosaic(newPixel, colorMap);
Thread.yield();

Modified: trunk/src/wosaic/WosaicUI.java
==============================================================================
--- trunk/src/wosaic/WosaicUI.java (original)
+++ trunk/src/wosaic/WosaicUI.java Tue Mar 25 14:48:34 2008
@@ -945,7 +945,7 @@
// Create the grid elements in our mosaic panel
MosaicDisplay.setGrid(params.resRows, params.resCols);

- final Pixel sourcePixel = new Pixel(SourceImage, true);
+ final Pixel sourcePixel = new Pixel(SourceImage);
GeneratedMosaic = new Mosaic(params, sourcePixel);
GeneratedMosaic.addMosaicEventListener(MosaicDisplay);


Modified: trunk/src/wosaic/utilities/Pixel.java
==============================================================================
--- trunk/src/wosaic/utilities/Pixel.java (original)
+++ trunk/src/wosaic/utilities/Pixel.java Tue Mar 25 14:48:34 2008
@@ -51,10 +51,8 @@
*
* @param img
* the source image
- * @param isMaster
- * Whether or not we're dealing with the master source image
*/
- public Pixel(final BufferedImage img, final boolean isMaster) {
+ public Pixel(final BufferedImage img) {
// source = AWTImageDescriptor.create(img, null);

// Get pixel-information of the src image

Reply all
Reply to author
Forward
0 new messages