diff --git a/readers/DDRReader.java b/readers/DDRReader.java index 6296ac7..982afae 100644 --- a/readers/DDRReader.java +++ b/readers/DDRReader.java @@ -28,13 +28,23 @@ public class DDRReader extends Reader{ readRegions.add(new Box(265,386,65,18)); //ex score[8] readRegions.add(new Box(348,324,60,18)); //fast[9] readRegions.add(new Box(348,363,60,18)); //slow[10] - readRegions.add(new Box(260,32,73,15)); //playstyle[11] - readRegions.add(new Box(257,47,81,18)); //difficulty[12] - readRegions.add(new Box(277,65,39,23)); //diffnumb[13] - readRegions.add(new Box(104,80,171,88)); //grade[14] - readRegions.add(new Box(335,185,185,18)); //songname[15] + readRegions.add(new Box(277,65,39,23)); //diffnumb[11] + readRegions.add(new Box(260,32,73,15)); //playstyle[12] + readRegions.add(new Box(104,80,171,88)); //grade[13] + readRegions.add(new Box(335,185,185,18)); //songname[14] - //extraRegions.add(new Box(699,616,179,44)); //score text[0] + extraRegions.add(new Box(115,170,43,11)); //score text[0] + extraRegions.add(new Box(147,246,118,18)); //max combo text[1] + extraRegions.add(new Box(179,270,88,15)); //marvelous text[2] + extraRegions.add(new Box(198,290,68,14)); //perfect text[3] + extraRegions.add(new Box(212,310,53,15)); //great text[4] + extraRegions.add(new Box(219,329,46,15)); //good text[5] + extraRegions.add(new Box(232,350,32,16)); //OK text[6] + extraRegions.add(new Box(233,368,33,16)); //miss text[7] + extraRegions.add(new Box(167,387,98,17)); //ex score text[8] + extraRegions.add(new Box(360,311,36,14)); //fast text[9] + extraRegions.add(new Box(358,350,41,14)); //slow text[10] + extraRegions.add(new Box(258,48,77,16)); //difficulty text[11] } void ColorFilter(int[] arr,int region,int width) { @@ -83,7 +93,7 @@ public class DDRReader extends Reader{ leftMost=j%readRegions.get(i).w; } } - if (false) { + if (i<=11) { int[] arr2 = originalImg.getRGB(extraRegions.get(i).x, extraRegions.get(i).y, extraRegions.get(i).w, extraRegions.get(i).h, null, 0, extraRegions.get(i).w); int rightMost=0; ColorFilter(arr2,400+i,extraRegions.get(i).w); diff --git a/result.png b/result.png index 4bfca7e..058eab6 100644 Binary files a/result.png and b/result.png differ