Changeset 20931 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/ImageModifier.java
- Timestamp:
- 2010-04-18T23:40:01+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/ImageModifier.java
r20390 r20931 132 132 } 133 133 134 public boolean isParcelColor(BufferedImage img, int x, int y) { 135 int rgb = img.getRGB(x, y); 136 return (rgb == parcelColor); 137 } 138 134 139 public boolean isBuildingOrRoofColor(BufferedImage img, int x, int y, boolean ignoreParcelColor) { 135 140 int rgb = img.getRGB(x, y); … … 147 152 return ret; 148 153 } 149 154 150 155 /** 151 156 * Checks if the rgb value is the black background color
Note:
See TracChangeset
for help on using the changeset viewer.
