├── .gitignore ├── .gitmodules ├── LICENSE1 ├── LICENSE2 ├── README.md ├── colors ├── README.md ├── convert │ ├── README.md │ ├── conv.sh │ ├── convert.go │ └── testrun.sh └── sin_colors │ ├── LICENSE │ ├── Makefile │ ├── README │ ├── arg.h │ ├── bin │ ├── hex2col.c │ └── hex2html │ ├── colors.1 │ ├── colors.c │ ├── colors.h │ ├── png.c │ └── tree.h ├── dataset ├── 0001.images.data ├── 0001.resources.data ├── 0002.images.data ├── 0002.resources.data ├── 0003.images.data ├── 0003.resources.data ├── 0004.images.data ├── 0004.resources.data ├── 0005.images.data ├── 0005.resources.data ├── 0006.images.data ├── 0006.resources.data ├── 0007.images.data ├── 0007.resources.data ├── 0008.images.data ├── 0008.resources.data ├── 0009.images.data ├── 0009.resources.data ├── 0010.images.data ├── 0010.resources.data ├── 0011.images.data ├── 0011.resources.data ├── 0012.images.data ├── 0012.resources.data ├── 0013.images.data ├── 0013.resources.data ├── 0014.images.data ├── 0014.resources.data ├── 0015.images.data ├── 0015.resources.data ├── 0016.images.data ├── 0016.resources.data ├── 0017.images.data ├── 0017.resources.data ├── 0018.images.data ├── 0018.resources.data ├── 0019.images.data ├── 0019.resources.data ├── 0020.images.data ├── 0020.resources.data ├── 0021.images.data ├── 0021.resources.data ├── 0022.images.data ├── 0022.resources.data ├── 0023.images.data ├── 0023.resources.data ├── 0024.images.data ├── 0024.resources.data ├── 0025.images.data ├── 0025.resources.data ├── 0026.images.data ├── 0026.resources.data ├── 0027.images.data ├── 0027.resources.data ├── 0028.images.data ├── 0028.resources.data ├── 0029.images.data ├── 0029.resources.data ├── 0030.images.data ├── 0030.resources.data ├── 0031.images.data ├── 0031.resources.data ├── 0032.images.data ├── 0032.resources.data ├── 0033.images.data ├── 0033.resources.data ├── 0034.images.data ├── 0034.resources.data ├── 0035.images.data ├── 0035.resources.data ├── 0036.images.data ├── 0036.resources.data ├── 0037.images.data ├── 0037.resources.data ├── 0038.images.data ├── 0038.resources.data ├── 0039.images.data ├── 0039.resources.data ├── 0040.images.data ├── 0040.resources.data ├── 0041.images.data ├── 0041.resources.data ├── 0042.images.data ├── 0042.resources.data ├── 0043.images.data ├── 0043.resources.data ├── 0044.images.data ├── 0044.resources.data ├── 0045.images.data ├── 0045.resources.data ├── 0046.images.data ├── 0046.resources.data ├── 0047.images.data ├── 0047.resources.data ├── 0048.images.data ├── 0048.resources.data ├── 0049.images.data ├── 0049.resources.data ├── 0050.images.data ├── 0050.resources.data ├── 0051.images.data ├── 0051.resources.data ├── 0052.images.data ├── 0052.resources.data ├── 0053.images.data ├── 0053.resources.data ├── 0054.images.data ├── 0054.resources.data ├── 0055.images.data ├── 0055.resources.data ├── 0056.images.data ├── 0056.resources.data ├── 0057.images.data ├── 0057.resources.data ├── 0058.images.data ├── 0058.resources.data ├── 0059.images.data ├── 0059.resources.data ├── 0060.images.data ├── 0060.resources.data ├── 0061.images.data ├── 0061.resources.data ├── 0062.images.data ├── 0062.resources.data ├── 0063.images.data ├── 0063.resources.data ├── 0064.images.data ├── 0064.resources.data ├── 0065.images.data ├── 0065.resources.data ├── 0066.images.data ├── 0066.resources.data ├── 0067.images.data ├── 0067.resources.data ├── 0068.images.data ├── 0068.resources.data ├── 0069.images.data ├── 0069.resources.data ├── 0070.images.data ├── 0070.resources.data ├── 0071.images.data ├── 0071.resources.data ├── 0072.images.data ├── 0072.resources.data ├── 0073.images.data ├── 0073.resources.data ├── 0074.images.data └── 0074.resources.data ├── network ├── Makefile ├── urnn.data ├── urnn.trained ├── urnn_run.c ├── urnn_run_reverse.c ├── urnn_train.c └── urnn_train_reverse.c ├── scripts ├── Lab_to_xyz.pl ├── convert_hex_to_val.cpp ├── convert_hex_to_val.pl ├── convert_hex_to_val_2.pl ├── convert_val_to_xresources_colors.pl ├── convert_val_to_xresources_colors_2.pl ├── extract_hex_from_xresources.pl ├── extracter.pl ├── fix_colors.pl ├── prepare_inputs.pl ├── reverse_training_file.pl ├── rgb_to_xyz.pl ├── test.sh ├── test_reverse.sh ├── testrun.sh ├── xyz_to_Lab.pl └── xyz_to_rgb.pl └── urnn /.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | *.o 3 | colors/sin_colors/colors 4 | colors/convert/convert 5 | network/urnn_run 6 | network/urnn_train 7 | network/urnn_train_reverse 8 | network/urnn_run_reverse 9 | network/out.reverse 10 | network/out 11 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "inputs"] 2 | path = inputs 3 | url = git@github.com:nixers-projects/urnnputs.git 4 | -------------------------------------------------------------------------------- /LICENSE1: -------------------------------------------------------------------------------- 1 | COPYRIGHT AND PERMISSION NOTICE 2 | 3 | Copyright (c) 2015, the iotek dev team 4 | 5 | All rights reserved. 6 | 7 | Redistribution and use in source and binary forms, with or without 8 | modification, are permitted provided that the following conditions are met: 9 | 10 | 1. The author is informed of the use of his/her code. The author does 11 | not have to consent to the use; however he/she must be informed. 12 | 2. If the author wishes to know when his/her code is being used, it 13 | the duty of the author to provide a current email address at the top of 14 | his/her code, above or included in the copyright statement. 15 | 3. The author can opt out of being contacted, by not providing a form 16 | of contact in the copyright statement. 17 | 4. If any portion of the author’s code is used, credit must be given. 18 | a. For example, if the author’s code is being modified and/or 19 | redistributed in the form of a closed-source binary program, 20 | then the end user must still be made somehow aware that the 21 | author’s work has contributed to that program. 22 | b. If the code is being modified and/or redistributed in the 23 | form of code to be compiled, then the author’s name in the 24 | copyright statement is sufficient. 25 | 5. The following copyright statement must be included at the beginning 26 | of the code, regardless of binary form or source code form. 27 | 28 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 29 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 30 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 31 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 32 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 33 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 34 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 35 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 36 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 37 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 38 | -------------------------------------------------------------------------------- /LICENSE2: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017, the iotek dev team 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are met: 6 | 7 | 1. Redistributions of source code must retain the above copyright notice, this 8 | list of conditions and the following disclaimer. 9 | 2. Redistributions in binary form must reproduce the above copyright notice, 10 | this list of conditions and the following disclaimer in the documentation 11 | and/or other materials provided with the distribution. 12 | 13 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 14 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 15 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 16 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 17 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 18 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 19 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 20 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 22 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | 24 | The views and conclusions contained in the software and documentation are those 25 | of the authors and should not be interpreted as representing official policies, 26 | either expressed or implied, of the FreeBSD Project. 27 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## urnn (unix ricing neural network) 2 | 3 | A neural network to smartly create coherent terminal colorschemes based on an image. 4 | 5 | ### Examples (Colors generated from wallpapers): 6 | 7 | ![1](http://pub.iotek.org/p/84nIYJl.png) | ![2](http://pub.iotek.org/p/jL2NNE5.png) 8 | -----------------------------------------|---------------------------------------- 9 | [3](http://pub.iotek.org/p/CG8ZGqZ.png) [4](http://pub.iotek.org/p/wG8Fd90.png) [5](http://pub.iotek.org/p/vhTj9zq.png) [6](http://pub.iotek.org/p/nBMMXv4.png) [7](http://pub.iotek.org/p/QPDnQzb.png) [8](http://pub.iotek.org/p/xzUveTc.png) [9](http://pub.iotek.org/p/VOTEaE3.png) [10](http://pub.iotek.org/p/mWpHBQG.png) [11](http://pub.iotek.org/p/oyQhwYt.png) [12](http://pub.iotek.org/p/JxiBe5s.png) [13](http://pub.iotek.org/p/tcAK5Jw.png) [14](http://pub.iotek.org/p/YyRXROw.png) [15](https://i.imgur.com/hp70r3o.png) [16](https://i.imgur.com/WZXJ7yU.jpg) [17](https://i.imgur.com/QHY404d.png) [18](https://i.imgur.com/PF2Kf18.png) 10 | 11 | ### How do I use this? 12 | This project depends on [libfann](https://github.com/libfann/fann) and libpng. After you have those and clone: 13 | ``` bash 14 | ./urnn colors 15 | \____/ \___________/ 16 | | | 17 | | \- The wallpaper you want to have your terminal 18 | | colors fit with. 19 | | 20 | \- The colors command will print to STDOUT, in an Xresources 21 | format the colors that resulted after passing through the 22 | neural network. If the colors are bad you can retrain the 23 | network (see the help for more commands) 24 | 25 | ``` 26 | 27 | ### Repo layout 28 | 29 | Folder | Contents 30 | --------|--------- 31 | colors | Programs for extracting colors from png images in different ways. 32 | scripts | Scripts for misc tasks(using the color extractors, parsing .Xresources files, ...) 33 | network | Folder containing the meat of this project, programs and scripts to train and use the neural network, as well as extract data and put it in the correct form to use. 34 | inputs | Git submodule that points to the [urnnputs](https://github.com/nixers-projects/urnnputs), containing images and resources file to extract data from to use to train the neural network. 35 | dataset | The extracted data from the inputs folder in a form suitable used to train urnn(explained below) 36 | 37 | #### Dataset contents(color representation) 38 | 39 | Colors are converted to a value that is between 0 and 1, for speed/use with [fann](https://github.com/libfann/fann). 40 | 41 | for example, say we have a pixel with the rgb value of (255, 120, 70). to display this information in a format that the neural network can understand, we have to convert it to 3 floats. each consist of the color/255 (max value). 42 | 43 | ``` 44 | 255/255 = 1.00000000 45 | 120/255 = 0.47058823 46 | 70/255 = 0.27450980 47 | ``` 48 | 49 | so there you have it. our pixel is represented by 1.00000000 0.47058823 0.27450980 50 | 51 | ### TODO 52 | 53 | * [x] Turn the input of the network between [-1, 1] so that the training is faster 54 | * [ ] Get more data for the training 55 | * [ ] Test multiple color extracters and parameters for the training 56 | * [ ] Easy wrappers for all the mini-tools written 57 | 58 | ### How To Contribute 59 | 60 | Have inputs(pairs of xresources and walls) that you want to add? 61 | If you just want to submit them for addition to the inputs, see https://github.com/nixers-projects/urnnputs#contributing 62 | 63 | If you want to test one or more here to see what kind of effect you can have on the network: 64 | ``` bash 65 | $ urnn add /some/image.png /test/.Xresouces 66 | $ urnn add /some/other/image.png /second/.Xresouces 67 | $ urnn refresh 68 | $ urnn retrain 69 | ``` 70 | You will then have a trained set including your inputs, and could test out the `urnn colors` command and see that kind of effect you had. If any of the outputs are desirable, consider submitting a pull request with them ;) 71 | 72 | #### Related links 73 | - [Venams blog post](http://venam.nixers.net/blog/programming/2015/07/06/project-summer-july-2015.html) 74 | - [libfann](https://github.com/libfann/fann) 75 | -------------------------------------------------------------------------------- /colors/README.md: -------------------------------------------------------------------------------- 1 | This folder contains different programs for extracting color from png files, in different ways. 2 | -------------------------------------------------------------------------------- /colors/convert/README.md: -------------------------------------------------------------------------------- 1 | ### convert/ 2 | 3 | **make sure you set GOMAXPROCS=4 (or however many processors you have)** 4 | -------------------------------------------------------------------------------- /colors/convert/conv.sh: -------------------------------------------------------------------------------- 1 | if [[ -f convert ]]; then 2 | cat $1 | ./convert 90 3 | else 4 | echo "You should compile the go script" 5 | echo "Use go build convert.go" 6 | fi 7 | -------------------------------------------------------------------------------- /colors/convert/convert.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "bytes" 5 | "fmt" 6 | "image" 7 | _ "image/png" 8 | "io/ioutil" 9 | "math" 10 | "strconv" 11 | "os" 12 | ) 13 | 14 | func convertRGBToXYZStep(raw float64, out chan float64) { 15 | if raw > 0.04045 { 16 | raw = math.Pow(((raw + 0.055) / 1.055), 2.4) 17 | } else { 18 | raw = raw / 12.92 19 | } 20 | out <- (raw * 100) 21 | } 22 | 23 | func convertRGBToXYZ(r, g, b int) (float64, float64, float64) { 24 | rr := float64(r) / float64(255) 25 | gr := float64(g) / float64(255) 26 | br := float64(b) / float64(255) 27 | 28 | rc := make(chan float64) 29 | gc := make(chan float64) 30 | bc := make(chan float64) 31 | 32 | go convertRGBToXYZStep(rr, rc) 33 | go convertRGBToXYZStep(gr, gc) 34 | go convertRGBToXYZStep(br, bc) 35 | 36 | rd := <-rc 37 | gd := <-gc 38 | bd := <-bc 39 | 40 | x := (rd * 0.4124) + (gd * 0.3576) + (bd * 0.1805) 41 | y := (rd * 0.2126) + (gd * 0.7152) + (bd * 0.0722) 42 | z := (rd * 0.0193) + (gd * 0.1192) + (bd * 0.9505) 43 | 44 | return x, y, z 45 | } 46 | 47 | func convertXYZToLABStep(raw float64, out chan float64) { 48 | if raw > 0.008856 { 49 | raw = math.Pow(raw, (float64(1) / float64(3))) 50 | } else { 51 | raw = (7.787 * raw) + (float64(16) / float64(116)) 52 | } 53 | out <- raw 54 | } 55 | 56 | func convertXYZToLAB(x, y, z float64) (float64, float64, float64) { 57 | xr := x / 95.047 58 | yr := y / 100.000 59 | zr := z / 108.883 60 | 61 | xc := make(chan float64) 62 | yc := make(chan float64) 63 | zc := make(chan float64) 64 | 65 | go convertXYZToLABStep(xr, xc) 66 | go convertXYZToLABStep(yr, yc) 67 | go convertXYZToLABStep(zr, zc) 68 | 69 | xd := <-xc 70 | yd := <-yc 71 | zd := <-zc 72 | 73 | l := (116.0 * yd) - 16.0 74 | a := 500.0 * (xd - yd) 75 | b := 200.0 * (yd - zd) 76 | 77 | return l, a, b 78 | } 79 | 80 | func convertRadToDeg(rad float64) float64 { 81 | return (rad * 180.0) / math.Pi 82 | } 83 | 84 | func convertDegToRad(deg float64) float64 { 85 | return (deg * math.Pi) / 180.0 86 | } 87 | 88 | func convertLABToHue(a, b float64) float64 { 89 | var bias float64 = 0 90 | if a >= 0 && b == 0 { 91 | return 0 92 | } 93 | if a < 0 && b == 0 { 94 | return 180 95 | } 96 | if a == 0 && b > 0 { 97 | return 90 98 | } 99 | if a == 0 && b < 0 { 100 | return 270 101 | } 102 | if a > 0 && b > 0 { 103 | bias = 0 104 | } 105 | if a < 0 { 106 | bias = 180 107 | } 108 | if a > 0 && b < 0 { 109 | bias = 360 110 | } 111 | return (convertRadToDeg(math.Atan(b/a)) + bias) 112 | } 113 | 114 | func round(v float64, decimals int) float64 { 115 | var pow float64 = 1 116 | for i := 0; i < decimals; i++ { 117 | pow *= 10 118 | } 119 | return float64(int((v*pow)+0.5)) / pow 120 | } 121 | 122 | func calculateDelta(l1, a1, b1, l2, a2, b2 float64) float64 { 123 | wht_l := 1.0 124 | wht_c := 1.0 125 | wht_h := 1.0 126 | 127 | xc1 := math.Sqrt((a1 * a1) + (b1 * b1)) 128 | xc2 := math.Sqrt((a2 * a2) + (b2 * b2)) 129 | xcx := (xc1 + xc2) / 2.0 130 | xgx := 0.5 * (1.0 - math.Sqrt((math.Pow(xcx, 7.0))/((math.Pow(xcx, 7.0))+(math.Pow(25.0, 7.0))))) 131 | xnn := (1.0 + xgx) * a1 132 | xc1 = math.Sqrt((xnn * xnn) + (b1 * b1)) 133 | xh1 := convertLABToHue(xnn, b1) 134 | xnn = (1.0 + xgx) * a2 135 | xc2 = math.Sqrt((xnn * xnn) + (b2 * b2)) 136 | xh2 := convertLABToHue(xnn, b2) 137 | xdl := l2 - l1 138 | xdc := xc2 - xc1 139 | 140 | var xdh float64 141 | if (xc1 * xc2) == 0 { 142 | xdh = 0 143 | } else { 144 | xnn = round(xh2-xh1, 12) 145 | if math.Abs(xnn) <= 180 { 146 | xdh = xh2 - xh1 147 | } else { 148 | if xnn > 180 { 149 | xdh = xh2 - xh1 - 360.0 150 | } else { 151 | xdh = xh2 - xh1 + 360.0 152 | } 153 | } 154 | } 155 | 156 | xdh = 2.0 * math.Sqrt(xc1*xc2) * math.Sin(convertDegToRad(xdh/2.0)) 157 | xlx := (l1 + l2) / 2.0 158 | xcy := (xc1 + xc2) / 2.0 159 | 160 | var xhx float64 161 | if (xc1 * xc2) == 0 { 162 | xhx = xh1 + xh2 163 | } else { 164 | xnn = math.Abs(round(xh1-xh2, 12)) 165 | if xnn > 180 { 166 | if (xh2 + xh1) < 360 { 167 | xhx = xh1 + xh2 + 360.0 168 | } else { 169 | xhx = xh1 + xh2 - 360.0 170 | } 171 | } else { 172 | xhx = xh1 + xh2 173 | } 174 | xhx = xhx / 2.0 175 | } 176 | 177 | xtx := 1.0 - 0.17*math.Cos(convertDegToRad(xhx-30.0)) + 0.24*math.Cos(convertDegToRad(2.0*xhx)) + 0.32*math.Cos(convertDegToRad(3.0*xhx+6.0)) - 0.20*math.Cos(convertDegToRad(4.0*xhx-63.0)) 178 | xph := 30.0 * math.Exp((-1.0 * ((xhx - 275.0) / 25.0) * ((xhx - 275.0) / 25.0))) 179 | xrc := 2.0 * math.Sqrt((math.Pow(xcy, 7.0))/((math.Pow(xcy, 7.0))+math.Pow(25.0, 7.0))) 180 | xsl := 1.0 + ((0.015 * ((xlx - 50.0) * (xlx - 50.0))) / math.Sqrt(20.0+((xlx-50.0)*(xlx-50.0)))) 181 | xsc := 1.0 + (0.045 * xcy) 182 | xsh := 1.0 + (0.015 * xcy * xtx) 183 | xrt := (-1.0 * math.Sin(convertDegToRad(2.0*xph))) * xrc 184 | xdl = xdl / (wht_l * xsl) 185 | xdc = xdc / (wht_c * xsc) 186 | xdh = xdh / (wht_h * xsh) 187 | e := math.Sqrt(math.Pow(xdl, 2) + math.Pow(xdc, 2) + math.Pow(xdh, 2) + (xrt * xdc * xdh)) 188 | return e 189 | } 190 | 191 | type Pixel struct { 192 | Hex string 193 | Lab [3]float64 194 | Count int 195 | } 196 | 197 | func extractColors(img image.Image, width, height int, userDelta float64) map[string]Pixel { 198 | 199 | pixels := make(map[string]Pixel) 200 | row := make(chan Pixel, height*width) 201 | done := make(chan bool) 202 | 203 | var most_used string 204 | var most_used_num int 205 | 206 | go func() { 207 | for i := 0; i < (height * width); i++ { 208 | pixel := <-row 209 | ext_pixel := pixels[pixel.Hex] 210 | ext_pixel.Count++ 211 | ext_pixel.Lab = pixel.Lab 212 | pixels[pixel.Hex] = ext_pixel 213 | } 214 | for k, v := range pixels { 215 | if v.Count > most_used_num { 216 | most_used_num = v.Count 217 | most_used = k 218 | } 219 | } 220 | done <- true 221 | }() 222 | 223 | for i := 0; i < height; i++ { 224 | go func(y int) { 225 | for a := 0; a < width; a++ { 226 | color := img.At(a, y) 227 | r, g, b, _ := color.RGBA() 228 | hex := fmt.Sprintf("#%-x", []byte{uint8(r), uint8(g), uint8(b)}) 229 | l1, a1, b1 := convertXYZToLAB(convertRGBToXYZ(int(r), int(g), int(b))) 230 | list := [3]float64{l1, a1, b1} 231 | row <- Pixel{hex, list, 0} 232 | } 233 | }(i) 234 | } 235 | 236 | <-done 237 | var list []string 238 | for k, v := range pixels { 239 | e := pixels[most_used] 240 | delta := calculateDelta(v.Lab[0], v.Lab[1], v.Lab[2], e.Lab[0], e.Lab[1], e.Lab[2]) 241 | if delta < userDelta || v.Count < 100 { 242 | list = append(list, k) 243 | } 244 | } 245 | for _, v := range list { 246 | delete(pixels, v) 247 | } 248 | return pixels 249 | } 250 | 251 | func usage() { 252 | fmt.Fprintf(os.Stderr, "Usage cat image.png | %s [delta]\n", os.Args[0]) 253 | os.Exit(2) 254 | } 255 | 256 | func main() { 257 | // reads stdin into rawImg which is a []byte containing all the bytes 258 | // of the image 259 | if len(os.Args) != 2 { 260 | usage() 261 | } 262 | rawImg, err := ioutil.ReadAll(os.Stdin) 263 | if err != nil { 264 | panic(err) 265 | return 266 | } 267 | 268 | // decodes the rawImg []byte into an image.Image object that we can use 269 | // later to get the pixels 270 | img, _, err := image.Decode(bytes.NewReader(rawImg)) 271 | if err != nil { 272 | panic(err) 273 | return 274 | } 275 | 276 | width := int(img.Bounds().Dx()) 277 | height := int(img.Bounds().Dy()) 278 | 279 | delta, err := strconv.ParseFloat(os.Args[1], 64) 280 | colors := extractColors(img, width, height, delta) 281 | for k, v := range colors { 282 | fmt.Println(k, v.Count) 283 | } 284 | } 285 | -------------------------------------------------------------------------------- /colors/convert/testrun.sh: -------------------------------------------------------------------------------- 1 | cat test.png | ./convert 70 | sort -k 2 -g -r | cut -d ' ' -f1 | head -n 10 | ../helper_scripts/convert_hex_to_val.pl -s 1 | xargs -n3 | ../helper_scripts/convert_val_to_xresources_colors.pl -s 1 2 | -------------------------------------------------------------------------------- /colors/sin_colors/LICENSE: -------------------------------------------------------------------------------- 1 | © 2015 Dimitris Papastamos 2 | © 2015 Lazaros Koromilas 3 | 4 | Permission to use, copy, modify, and distribute this software for any 5 | purpose with or without fee is hereby granted, provided that the above 6 | copyright notice and this permission notice appear in all copies. 7 | 8 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 9 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 10 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 11 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 12 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 13 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15 | -------------------------------------------------------------------------------- /colors/sin_colors/Makefile: -------------------------------------------------------------------------------- 1 | VERSION = 0.3 2 | 3 | PREFIX = /usr/local 4 | MANPREFIX = $(PREFIX)/man 5 | 6 | CPPFLAGS = -I/usr/local/include 7 | CFLAGS = -Wall -O3 8 | LDFLAGS = -L/usr/local/lib -lpng 9 | OBJ = colors.o png.o 10 | BIN = colors 11 | 12 | all: $(BIN) 13 | 14 | $(BIN): $(OBJ) 15 | $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(OBJ) $(LDFLAGS) 16 | 17 | colors.o: arg.h colors.h tree.h 18 | png.o: colors.h 19 | 20 | install: all 21 | mkdir -p $(DESTDIR)$(PREFIX)/bin 22 | cp -f $(BIN) $(DESTDIR)$(PREFIX)/bin 23 | mkdir -p $(DESTDIR)$(MANPREFIX)/man1 24 | cp -f $(BIN).1 $(DESTDIR)$(MANPREFIX)/man1 25 | 26 | uninstall: 27 | rm -f $(DESTDIR)$(PREFIX)/bin/$(BIN) 28 | rm -f $(DESTDIR)$(MANPREFIX)/man1/$(BIN).1 29 | 30 | clean: 31 | rm -f $(BIN) $(OBJ) 32 | -------------------------------------------------------------------------------- /colors/sin_colors/README: -------------------------------------------------------------------------------- 1 | What is it? 2 | =========== 3 | 4 | A simple program to extract colors from PNG files. It is similar to 5 | strings(1) but for pictures. For a given input[0] file it outputs a 6 | colormap[1] to stdout. 7 | 8 | # ./colors -p input.png | ./bin/hex2html > output.html 9 | 10 | 11 | [0] http://saturn.2f30.org/colors/input.png 12 | [1] http://saturn.2f30.org/colors/output.html 13 | -------------------------------------------------------------------------------- /colors/sin_colors/arg.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copy me if you can. 3 | * by 20h 4 | */ 5 | 6 | #ifndef ARG_H__ 7 | #define ARG_H__ 8 | 9 | extern char *argv0; 10 | 11 | /* use main(int argc, char *argv[]) */ 12 | #define ARGBEGIN for (argv0 = *argv, argv++, argc--;\ 13 | argv[0] && argv[0][1]\ 14 | && argv[0][0] == '-';\ 15 | argc--, argv++) {\ 16 | char argc_;\ 17 | char **argv_;\ 18 | int brk_;\ 19 | if (argv[0][1] == '-' && argv[0][2] == '\0') {\ 20 | argv++;\ 21 | argc--;\ 22 | break;\ 23 | }\ 24 | for (brk_ = 0, argv[0]++, argv_ = argv;\ 25 | argv[0][0] && !brk_;\ 26 | argv[0]++) {\ 27 | if (argv_ != argv)\ 28 | break;\ 29 | argc_ = argv[0][0];\ 30 | switch (argc_) 31 | 32 | /* Handles obsolete -NUM syntax */ 33 | #define ARGNUM case '0':\ 34 | case '1':\ 35 | case '2':\ 36 | case '3':\ 37 | case '4':\ 38 | case '5':\ 39 | case '6':\ 40 | case '7':\ 41 | case '8':\ 42 | case '9' 43 | 44 | #define ARGEND }\ 45 | } 46 | 47 | #define ARGC() argc_ 48 | 49 | #define ARGNUMF(base) (brk_ = 1, estrtol(argv[0], (base))) 50 | 51 | #define EARGF(x) ((argv[0][1] == '\0' && argv[1] == NULL)?\ 52 | ((x), abort(), (char *)0) :\ 53 | (brk_ = 1, (argv[0][1] != '\0')?\ 54 | (&argv[0][1]) :\ 55 | (argc--, argv++, argv[0]))) 56 | 57 | #define ARGF() ((argv[0][1] == '\0' && argv[1] == NULL)?\ 58 | (char *)0 :\ 59 | (brk_ = 1, (argv[0][1] != '\0')?\ 60 | (&argv[0][1]) :\ 61 | (argc--, argv++, argv[0]))) 62 | 63 | #endif 64 | -------------------------------------------------------------------------------- /colors/sin_colors/bin/hex2col.c: -------------------------------------------------------------------------------- 1 | /* See LICENSE file for copyright and license details. */ 2 | #include 3 | #include 4 | #include 5 | #include 6 | 7 | /* 8 | * X.org 256 colors palette 9 | * http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html 10 | */ 11 | int map[256][3] = { 12 | { 0, 0, 0}, {128, 0, 0}, { 0,128, 0}, {128,128, 0}, { 0, 0,128}, {128, 0,128}, { 0,128,128}, {192,192,192}, 13 | {128,128,128}, {255, 0, 0}, { 0,255, 0}, {255,255, 0}, { 0, 0,255}, {255, 0,255}, { 0,255,255}, {255,255,255}, 14 | { 0, 0, 0}, { 0, 0, 95}, { 0, 0,135}, { 0, 0,175}, { 0, 0,215}, { 0, 0,255}, { 0, 95, 0}, { 0, 95, 95}, 15 | { 0, 95,135}, { 0, 95,175}, { 0, 95,215}, { 0, 95,255}, { 0,135, 0}, { 0,135, 95}, { 0,135,135}, { 0,135,175}, 16 | { 0,135,215}, { 0,135,255}, { 0,175, 0}, { 0,175, 95}, { 0,175,135}, { 0,175,175}, { 0,175,215}, { 0,175,255}, 17 | { 0,215, 0}, { 0,215, 95}, { 0,215,135}, { 0,215,175}, { 0,215,215}, { 0,215,255}, { 0,255, 0}, { 0,255, 95}, 18 | { 0,255,135}, { 0,255,175}, { 0,255,215}, { 0,255,255}, { 95, 0, 0}, { 95, 0, 95}, { 95, 0,135}, { 95, 0,175}, 19 | { 95, 0,215}, { 95, 0,255}, { 95, 95, 0}, { 95, 95, 95}, { 95, 95,135}, { 95, 95,175}, { 95, 95,215}, { 95, 95,255}, 20 | { 95,135, 0}, { 95,135, 95}, { 95,135,135}, { 95,135,175}, { 95,135,215}, { 95,135,255}, { 95,175, 0}, { 95,175, 95}, 21 | { 95,175,135}, { 95,175,175}, { 95,175,215}, { 95,175,255}, { 95,215, 0}, { 95,215, 95}, { 95,215,135}, { 95,215,175}, 22 | { 95,215,215}, { 95,215,255}, { 95,255, 0}, { 95,255, 95}, { 95,255,135}, { 95,255,175}, { 95,255,215}, { 95,255,255}, 23 | {135, 0, 0}, {135, 0, 95}, {135, 0,135}, {135, 0,175}, {135, 0,215}, {135, 0,255}, {135, 95, 0}, {135, 95, 95}, 24 | {135, 95,135}, {135, 95,175}, {135, 95,215}, {135, 95,255}, {135,135, 0}, {135,135, 95}, {135,135,135}, {135,135,175}, 25 | {135,135,215}, {135,135,255}, {135,175, 0}, {135,175, 95}, {135,175,135}, {135,175,175}, {135,175,215}, {135,175,255}, 26 | {135,215, 0}, {135,215, 95}, {135,215,135}, {135,215,175}, {135,215,215}, {135,215,255}, {135,255, 0}, {135,255, 95}, 27 | {135,255,135}, {135,255,175}, {135,255,215}, {135,255,255}, {175, 0, 0}, {175, 0, 95}, {175, 0,135}, {175, 0,175}, 28 | {175, 0,215}, {175, 0,255}, {175, 95, 0}, {175, 95, 95}, {175, 95,135}, {175, 95,175}, {175, 95,215}, {175, 95,255}, 29 | {175,135, 0}, {175,135, 95}, {175,135,135}, {175,135,175}, {175,135,215}, {175,135,255}, {175,175, 0}, {175,175, 95}, 30 | {175,175,135}, {175,175,175}, {175,175,215}, {175,175,255}, {175,215, 0}, {175,215, 95}, {175,215,135}, {175,215,175}, 31 | {175,215,215}, {175,215,255}, {175,255, 0}, {175,255, 95}, {175,255,135}, {175,255,175}, {175,255,215}, {175,255,255}, 32 | {215, 0, 0}, {215, 0, 95}, {215, 0,135}, {215, 0,175}, {215, 0,215}, {215, 0,255}, {215, 95, 0}, {215, 95, 95}, 33 | {215, 95,135}, {215, 95,175}, {215, 95,215}, {215, 95,255}, {215,135, 0}, {215,135, 95}, {215,135,135}, {215,135,175}, 34 | {215,135,215}, {215,135,255}, {215,175, 0}, {215,175, 95}, {215,175,135}, {215,175,175}, {215,175,215}, {215,175,255}, 35 | {215,215, 0}, {215,215, 95}, {215,215,135}, {215,215,175}, {215,215,215}, {215,215,255}, {215,255, 0}, {215,255, 95}, 36 | {215,255,135}, {215,255,175}, {215,255,215}, {215,255,255}, {255, 0, 0}, {255, 0, 95}, {255, 0,135}, {255, 0,175}, 37 | {255, 0,215}, {255, 0,255}, {255, 95, 0}, {255, 95, 95}, {255, 95,135}, {255, 95,175}, {255, 95,215}, {255, 95,255}, 38 | {255,135, 0}, {255,135, 95}, {255,135,135}, {255,135,175}, {255,135,215}, {255,135,255}, {255,175, 0}, {255,175, 95}, 39 | {255,175,135}, {255,175,175}, {255,175,215}, {255,175,255}, {255,215, 0}, {255,215, 95}, {255,215,135}, {255,215,175}, 40 | {255,215,215}, {255,215,255}, {255,255, 0}, {255,255, 95}, {255,255,135}, {255,255,175}, {255,255,215}, {255,255,255}, 41 | { 8, 8, 8}, { 18, 18, 18}, { 28, 28, 28}, { 38, 38, 38}, { 48, 48, 48}, { 58, 58, 58}, { 68, 68, 68}, { 78, 78, 78}, 42 | { 88, 88, 88}, { 96, 96, 96}, {102,102,102}, {118,118,118}, {128,128,128}, {138,138,138}, {148,148,148}, {158,158,158} 43 | }; 44 | 45 | /* 46 | * takes a 24 bits colors as an argument, and return the nearest color from our 47 | * 256 X colors palette using the color quantization method. 48 | * check https://en.wikipedia.org/wiki/Color_quantization for more infos 49 | */ 50 | int 51 | quantization(int rgb[3]) 52 | { 53 | int i, tmp, index; 54 | int distance = 442 * 442; /* it's always 442 somewhere */ 55 | 56 | for (i = 0, tmp = 0; i < 256; i++) { 57 | tmp = (rgb[0] - map[i][0]) * (rgb[0] - map[i][0]) + 58 | (rgb[1] - map[i][1]) * (rgb[1] - map[i][1]) + 59 | (rgb[2] - map[i][2]) * (rgb[2] - map[i][2]); 60 | if (tmp < distance) { 61 | distance = tmp; 62 | index = i; 63 | } 64 | } 65 | return index; 66 | } 67 | 68 | /* 69 | * converts an hexadecimal representation of a color into a 3 dimensionnal 70 | * array (RGB decomposition) 71 | */ 72 | void 73 | hex2rgb(char *hex, int *rgb) 74 | { 75 | int i; 76 | char tmp[2]; 77 | for (i = 0; i < 3; i++) { 78 | strncpy(tmp, hex + 1 + 2 * i, 2); 79 | rgb[i] = strtol(tmp, NULL, 16); 80 | } 81 | } 82 | 83 | int 84 | main(int argc, char *argv[]) 85 | { 86 | char hex[8]; 87 | int rgb[3], color = 0, truemod = 0; 88 | 89 | /* either use the "true-colors" ANSI escape (works only with Xterm) */ 90 | if (argc > 1 && strncmp(argv[1], "-t", 2) == 0) 91 | truemod = 1; 92 | 93 | while (fgets(hex, 8, stdin)) { 94 | if (hex[0] == '#') { 95 | hex2rgb(hex, rgb); 96 | color = quantization(rgb); 97 | 98 | if (truemod) { 99 | printf("[48;2;%d;%d;%dm%8s ", rgb[0],rgb[1],rgb[2], ""); 100 | printf("[38;2;%d;%d;%dm%s ", rgb[0],rgb[1],rgb[2], hex); 101 | } else { 102 | printf("[48;5;%dm%8s ", color, ""); 103 | printf("[38;5;%dm%s", color, hex); 104 | } 105 | printf("\n"); 106 | } 107 | } 108 | 109 | printf(""); 110 | return 0; 111 | } 112 | -------------------------------------------------------------------------------- /colors/sin_colors/bin/hex2html: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cat << EOF 4 | 5 | 6 | 7 | 16 | 17 | 18 | EOF 19 | 20 | while read line; do 21 | echo "
" 22 | done 23 | 24 | cat << EOF 25 | 26 | 27 | EOF 28 | -------------------------------------------------------------------------------- /colors/sin_colors/colors.1: -------------------------------------------------------------------------------- 1 | .Dd June 11, 2015 2 | .Dt COLORS 1 3 | .Os 4 | .Sh NAME 5 | .Nm colors 6 | .Nd extract colors from pictures 7 | .Sh SYNOPSIS 8 | .Nm colors 9 | .Op Fl erv 10 | .Op Fl h | Fl p 11 | .Op Fl n Ar clusters 12 | .Ar file 13 | .Sh DESCRIPTION 14 | .Nm 15 | is a simple tool to extract colors from pictures. By default it selects 16 | initial clusters based on greyscale 17 | steps. 18 | .Sh OPTIONS 19 | .Bl -tag -width "-n clusters" 20 | .It Fl e 21 | Print empty clusters as well. 22 | .It Fl r 23 | Randomize cluster selection. 24 | .It Fl v 25 | Be verbose. 26 | .It Fl h 27 | Select initial clusters from the hue domain. 28 | .It Fl p 29 | Select initial clusters from the image pixel space. 30 | .It Fl n Ar clusters 31 | Set the number of clusters. It defaults to 8. 32 | .El 33 | .Sh AUTHORS 34 | .An Dimitris Papastamos Aq Mt sin@2f30.org , 35 | .An Lazaros Koromilas Aq Mt lostd@2f30.org . 36 | -------------------------------------------------------------------------------- /colors/sin_colors/colors.c: -------------------------------------------------------------------------------- 1 | /* See LICENSE file for copyright and license details. */ 2 | #include 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | 9 | #include "arg.h" 10 | #include "colors.h" 11 | #include "tree.h" 12 | 13 | #define LEN(x) (sizeof (x) / sizeof *(x)) 14 | 15 | struct point { 16 | int x; 17 | int y; 18 | int z; 19 | long long freq; 20 | struct cluster *c; 21 | RB_ENTRY(point) e; 22 | }; 23 | 24 | struct cluster { 25 | struct point center; 26 | size_t nelems; 27 | struct { 28 | long long nmembers; 29 | long long x, y, z; 30 | } tmp; 31 | }; 32 | 33 | char *argv0; 34 | 35 | struct cluster *clusters; 36 | size_t nclusters = 8; 37 | RB_HEAD(pointtree, point) pointhead; 38 | size_t npoints; 39 | size_t niters; 40 | 41 | int eflag; 42 | int rflag; 43 | int hflag; 44 | int pflag; 45 | int vflag; 46 | 47 | int 48 | distance(struct point *p1, struct point *p2) 49 | { 50 | int dx, dy, dz; 51 | 52 | dx = (p1->x - p2->x) * (p1->x - p2->x); 53 | dy = (p1->y - p2->y) * (p1->y - p2->y); 54 | dz = (p1->z - p2->z) * (p1->z - p2->z); 55 | return dx + dy + dz; 56 | } 57 | 58 | int 59 | pointcmp(struct point *p1, struct point *p2) 60 | { 61 | unsigned int a, b; 62 | 63 | a = p1->x << 16 | p1->y << 8 | p1->z; 64 | b = p2->x << 16 | p2->y << 8 | p2->z; 65 | return a - b; 66 | } 67 | RB_PROTOTYPE(pointtree, point, e, pointcmp) 68 | RB_GENERATE(pointtree, point, e, pointcmp) 69 | 70 | int 71 | isempty(struct cluster *c) 72 | { 73 | return c->nelems == 0; 74 | } 75 | 76 | void 77 | adjmeans(struct cluster *c, size_t n) 78 | { 79 | struct point *p; 80 | size_t i; 81 | 82 | for (i = 0; i < n; i++) { 83 | c[i].tmp.nmembers = 0; 84 | c[i].tmp.x = 0; 85 | c[i].tmp.y = 0; 86 | c[i].tmp.z = 0; 87 | } 88 | 89 | RB_FOREACH(p, pointtree, &pointhead) { 90 | p->c->tmp.nmembers += p->freq; 91 | p->c->tmp.x += p->x * p->freq; 92 | p->c->tmp.y += p->y * p->freq; 93 | p->c->tmp.z += p->z * p->freq; 94 | } 95 | 96 | for (i = 0; i < n; i++) { 97 | if (isempty(&c[i])) 98 | continue; 99 | c[i].center.x = c[i].tmp.x / c[i].tmp.nmembers; 100 | c[i].center.y = c[i].tmp.y / c[i].tmp.nmembers; 101 | c[i].center.z = c[i].tmp.z / c[i].tmp.nmembers; 102 | } 103 | } 104 | 105 | void 106 | initcluster_greyscale(struct cluster *c, int i) 107 | { 108 | c->nelems = 0; 109 | c->center.x = i; 110 | c->center.y = i; 111 | c->center.z = i; 112 | } 113 | 114 | void 115 | initcluster_pixel(struct cluster *c, int i) 116 | { 117 | struct point *p; 118 | 119 | c->nelems = 0; 120 | RB_FOREACH(p, pointtree, &pointhead) 121 | if (i-- == 0) 122 | break; 123 | c->center = *p; 124 | } 125 | 126 | struct hue { 127 | int rgb[3]; 128 | int i; /* index in rgb[] of color to change next */ 129 | } huetab[] = { 130 | { { 0xff, 0x00, 0x00 }, 2 }, /* red */ 131 | { { 0xff, 0x00, 0xff }, 0 }, /* purple */ 132 | { { 0x00, 0x00, 0xff }, 1 }, /* blue */ 133 | { { 0x00, 0xff, 0xff }, 2 }, /* cyan */ 134 | { { 0x00, 0xff, 0x00 }, 0 }, /* green */ 135 | { { 0xff, 0xff, 0x00 }, 1 }, /* yellow */ 136 | }; 137 | 138 | struct point 139 | hueselect(int i) 140 | { 141 | struct point p = { 0 }; 142 | struct hue h; 143 | int idx, mod; 144 | 145 | idx = i / 256; 146 | mod = i % 256; 147 | h = huetab[idx]; 148 | 149 | switch (h.rgb[h.i]) { 150 | case 0x00: 151 | h.rgb[h.i] += mod; 152 | break; 153 | case 0xff: 154 | h.rgb[h.i] -= mod; 155 | break; 156 | } 157 | p.x = h.rgb[0]; 158 | p.y = h.rgb[1]; 159 | p.z = h.rgb[2]; 160 | return p; 161 | } 162 | 163 | void 164 | initcluster_hue(struct cluster *c, int i) 165 | { 166 | c->nelems = 0; 167 | c->center = hueselect(i); 168 | } 169 | 170 | void (*initcluster)(struct cluster *c, int i); 171 | size_t initspace; 172 | 173 | void 174 | initclusters(struct cluster *c, size_t n) 175 | { 176 | size_t i, next; 177 | size_t step = initspace / n; 178 | 179 | clusters = malloc(sizeof(*clusters) * n); 180 | if (!clusters) 181 | err(1, "malloc"); 182 | for (i = 0; i < n; i++) { 183 | next = rflag ? rand() % initspace : i * step; 184 | initcluster(&clusters[i], next); 185 | } 186 | } 187 | 188 | void 189 | addmember(struct cluster *c, struct point *p) 190 | { 191 | c->nelems++; 192 | p->c = c; 193 | } 194 | 195 | void 196 | delmember(struct cluster *c, struct point *p) 197 | { 198 | c->nelems--; 199 | p->c = NULL; 200 | } 201 | 202 | int 203 | ismember(struct cluster *c, struct point *p) 204 | { 205 | return p->c == c; 206 | } 207 | 208 | void 209 | process(void) 210 | { 211 | struct point *p; 212 | int *dists, mind, mini, i, done = 0; 213 | 214 | dists = malloc(nclusters * sizeof(*dists)); 215 | if (!dists) 216 | err(1, "malloc"); 217 | 218 | while (!done) { 219 | done = 1; 220 | niters++; 221 | RB_FOREACH(p, pointtree, &pointhead) { 222 | for (i = 0; i < nclusters; i++) 223 | dists[i] = distance(p, &clusters[i].center); 224 | 225 | /* find the cluster that is nearest to the point */ 226 | mind = dists[0]; 227 | mini = 0; 228 | for (i = 1; i < nclusters; i++) { 229 | if (mind > dists[i]) { 230 | mind = dists[i]; 231 | mini = i; 232 | } 233 | } 234 | 235 | if (ismember(&clusters[mini], p)) 236 | continue; 237 | 238 | /* not done yet, move point to nearest cluster */ 239 | done = 0; 240 | for (i = 0; i < nclusters; i++) { 241 | if (ismember(&clusters[i], p)) { 242 | delmember(&clusters[i], p); 243 | break; 244 | } 245 | } 246 | addmember(&clusters[mini], p); 247 | } 248 | adjmeans(clusters, nclusters); 249 | } 250 | } 251 | 252 | void 253 | fillpoints(int r, int g, int b) 254 | { 255 | struct point n = { 0 }; 256 | struct point *p; 257 | 258 | n.x = r, n.y = g, n.z = b; 259 | p = RB_FIND(pointtree, &pointhead, &n); 260 | if (p) { 261 | p->freq++; 262 | return; 263 | } 264 | 265 | p = malloc(sizeof(*p)); 266 | if (!p) 267 | err(1, "malloc"); 268 | p->x = r; 269 | p->y = g; 270 | p->z = b; 271 | p->freq = 1; 272 | p->c = NULL; 273 | npoints++; 274 | RB_INSERT(pointtree, &pointhead, p); 275 | } 276 | 277 | void 278 | printclusters(void) 279 | { 280 | int i; 281 | 282 | for (i = 0; i < nclusters; i++) 283 | if (!isempty(&clusters[i]) || eflag) 284 | printf("#%02x%02x%02x\n", 285 | clusters[i].center.x, 286 | clusters[i].center.y, 287 | clusters[i].center.z); 288 | } 289 | 290 | void 291 | printstatistics(void) 292 | { 293 | struct point *p; 294 | size_t ntotalpoints = 0; 295 | size_t navgcluster = 0; 296 | 297 | RB_FOREACH(p, pointtree, &pointhead) { 298 | ntotalpoints += p->freq; 299 | navgcluster++; 300 | } 301 | navgcluster /= nclusters; 302 | 303 | fprintf(stderr, "Total number of points: %zu\n", ntotalpoints); 304 | fprintf(stderr, "Number of unique points: %zu\n", npoints); 305 | fprintf(stderr, "Number of clusters: %zu\n", nclusters); 306 | fprintf(stderr, "Average number of unique points per cluster: %zu\n", 307 | navgcluster); 308 | fprintf(stderr, "Number of iterations to converge: %zu\n", niters); 309 | } 310 | 311 | void 312 | usage(void) 313 | { 314 | fprintf(stderr, "usage: %s [-erv] [-h | -p] [-n clusters] file\n", argv0); 315 | exit(1); 316 | } 317 | 318 | int 319 | main(int argc, char *argv[]) 320 | { 321 | char *e; 322 | 323 | ARGBEGIN { 324 | case 'e': 325 | eflag = 1; 326 | break; 327 | case 'r': 328 | rflag = 1; 329 | break; 330 | case 'v': 331 | vflag = 1; 332 | break; 333 | case 'h': 334 | hflag = 1; 335 | pflag = 0; 336 | break; 337 | case 'p': 338 | pflag = 1; 339 | hflag = 0; 340 | break; 341 | case 'n': 342 | errno = 0; 343 | nclusters = strtol(EARGF(usage()), &e, 10); 344 | if (*e || errno || !nclusters) 345 | errx(1, "invalid number"); 346 | break; 347 | default: 348 | usage(); 349 | } ARGEND; 350 | 351 | if (argc != 1) 352 | usage(); 353 | 354 | RB_INIT(&pointhead); 355 | parseimg(argv[0], fillpoints); 356 | 357 | initcluster = initcluster_greyscale; 358 | initspace = 256; 359 | 360 | if (rflag) 361 | srand(time(NULL)); 362 | if (pflag) { 363 | initcluster = initcluster_pixel; 364 | initspace = npoints; 365 | } 366 | if (hflag) { 367 | initcluster = initcluster_hue; 368 | initspace = LEN(huetab) * 256; 369 | } 370 | /* cap number of clusters */ 371 | if (nclusters > initspace) 372 | nclusters = initspace; 373 | 374 | initclusters(clusters, nclusters); 375 | process(); 376 | printclusters(); 377 | if (vflag) 378 | printstatistics(); 379 | return 0; 380 | } 381 | -------------------------------------------------------------------------------- /colors/sin_colors/colors.h: -------------------------------------------------------------------------------- 1 | /* See LICENSE file for copyright and license details. */ 2 | void parseimg(char *, void (*)(int, int, int)); 3 | -------------------------------------------------------------------------------- /colors/sin_colors/png.c: -------------------------------------------------------------------------------- 1 | /* See LICENSE file for copyright and license details. */ 2 | #include 3 | #include 4 | 5 | #include 6 | #include "colors.h" 7 | 8 | void 9 | parseimg(char *f, void (*fn)(int, int, int)) 10 | { 11 | png_structp png_struct_p; 12 | png_infop png_info_p; 13 | png_bytepp png_row_p; 14 | png_uint_32 y, x, width, height; 15 | int depth, color, interlace; 16 | FILE *fp; 17 | 18 | if (!(fp = fopen(f, "r"))) 19 | err(1, "fopen %s", f); 20 | 21 | png_struct_p = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); 22 | png_info_p = png_create_info_struct(png_struct_p); 23 | if (!png_struct_p || !png_info_p || setjmp(png_jmpbuf(png_struct_p))) 24 | errx(1, "failed to initialize libpng"); 25 | 26 | png_init_io(png_struct_p, fp); 27 | png_set_add_alpha(png_struct_p, 255, PNG_FILLER_AFTER); 28 | png_set_gray_to_rgb(png_struct_p); 29 | png_read_png(png_struct_p, png_info_p, PNG_TRANSFORM_STRIP_16 | 30 | PNG_TRANSFORM_PACKING | PNG_TRANSFORM_EXPAND , NULL); 31 | png_get_IHDR(png_struct_p, png_info_p, &width, &height, &depth, 32 | &color, &interlace, NULL, NULL); 33 | png_row_p = png_get_rows(png_struct_p, png_info_p); 34 | 35 | for (y = 0; y < height; y++) { 36 | png_byte *row = png_row_p[y]; 37 | for (x = 0; x < width; x++) { 38 | png_byte *p = &row[x * 4]; 39 | if (color == PNG_COLOR_TYPE_RGB_ALPHA && !p[3]) 40 | continue; 41 | fn(p[0], p[1], p[2]); 42 | } 43 | } 44 | 45 | png_free_data(png_struct_p, png_info_p, PNG_FREE_ALL, -1); 46 | png_destroy_read_struct(&png_struct_p, &png_info_p, NULL); 47 | 48 | fclose(fp); 49 | } 50 | -------------------------------------------------------------------------------- /dataset/0001.images.data: -------------------------------------------------------------------------------- 1 | -0.733333333333333 -0.584313725490196 -0.396078431372549 -0.505882352941176 -0.137254901960784 0.364705882352941 -0.168627450980392 -0.309803921568627 -0.498039215686275 -0.145098039215686 0.341176470588235 0.717647058823529 0.231372549019608 -0.0901960784313726 -0.474509803921569 0.27843137254902 0.411764705882353 0.23921568627451 0.301960784313726 0.568627450980392 0.756862745098039 0.498039215686275 0.231372549019608 -0.333333333333333 0.725490196078431 0.529411764705882 -0.129411764705882 0.764705882352941 0.819607843137255 0.882352941176471 -------------------------------------------------------------------------------- /dataset/0001.resources.data: -------------------------------------------------------------------------------- 1 | 0.937254901960784 0.937254901960784 0.937254901960784 -0.584313725490196 -0.529411764705882 -0.309803921568627 0.937254901960784 0.937254901960784 0.937254901960784 0.976470588235294 0.105882352941177 0.498039215686275 0.403921568627451 0.788235294117647 0.0823529411764705 0.976470588235294 0.968627450980392 0.0666666666666667 0.0274509803921568 0.505882352941176 0.976470588235294 0.631372549019608 0.0509803921568628 0.937254901960784 0.16078431372549 0.576470588235294 0.992156862745098 -0.709803921568627 -0.67843137254902 -0.631372549019608 -0.403921568627451 -0.388235294117647 -0.372549019607843 0.976470588235294 0.105882352941177 0.498039215686275 0.403921568627451 0.788235294117647 0.0823529411764705 0.976470588235294 0.968627450980392 0.0666666666666667 0.0274509803921568 0.505882352941176 0.976470588235294 0.631372549019608 0.0509803921568628 0.937254901960784 0.16078431372549 0.576470588235294 0.992156862745098 -0.411764705882353 -0.458823529411765 -0.458823529411765 -------------------------------------------------------------------------------- /dataset/0002.images.data: -------------------------------------------------------------------------------- 1 | -1 -1 -1 -0.803921568627451 -0.803921568627451 -0.803921568627451 -0.756862745098039 0.396078431372549 -0.325490196078431 -0.607843137254902 -0.607843137254902 -0.607843137254902 -0.372549019607843 0.545098039215686 -0.215686274509804 -0.0274509803921569 0.63921568627451 -0.12156862745098 0.254901960784314 0.733333333333333 -0.00392156862745097 0.505882352941176 0.843137254901961 0.192156862745098 0.749019607843137 0.937254901960784 0.458823529411765 0.882352941176471 0.984313725490196 0.709803921568627 -------------------------------------------------------------------------------- /dataset/0002.resources.data: -------------------------------------------------------------------------------- 1 | -0.647058823529412 -0.647058823529412 -0.647058823529412 0.92156862745098 0.92156862745098 0.92156862745098 -0.647058823529412 -0.647058823529412 -0.647058823529412 0.741176470588235 0.741176470588235 0.741176470588235 0.192156862745098 0.662745098039216 -0.192156862745098 0.741176470588235 0.741176470588235 0.741176470588235 0.192156862745098 0.662745098039216 -0.192156862745098 0.741176470588235 0.741176470588235 0.741176470588235 0.741176470588235 0.741176470588235 0.741176470588235 0.741176470588235 0.741176470588235 0.741176470588235 0.741176470588235 0.741176470588235 0.741176470588235 0.741176470588235 0.741176470588235 0.741176470588235 0.741176470588235 0.741176470588235 0.741176470588235 0.741176470588235 0.741176470588235 0.741176470588235 0.192156862745098 0.662745098039216 -0.192156862745098 0.741176470588235 0.741176470588235 0.741176470588235 0.741176470588235 0.741176470588235 0.741176470588235 0.741176470588235 0.741176470588235 0.741176470588235 -------------------------------------------------------------------------------- /dataset/0003.images.data: -------------------------------------------------------------------------------- 1 | -1 -1 -1 -0.764705882352941 -0.764705882352941 -0.764705882352941 -0.631372549019608 -0.631372549019608 -0.631372549019608 -0.490196078431373 -0.490196078431373 -0.490196078431373 -0.215686274509804 -0.215686274509804 -0.215686274509804 -0.0196078431372549 -0.0196078431372549 -0.0196078431372549 0.176470588235294 0.176470588235294 0.176470588235294 0.372549019607843 0.372549019607843 0.372549019607843 0.568627450980392 0.568627450980392 0.568627450980392 0.764705882352941 0.764705882352941 0.764705882352941 -------------------------------------------------------------------------------- /dataset/0003.resources.data: -------------------------------------------------------------------------------- 1 | -0.733333333333333 -0.733333333333333 -0.733333333333333 0.52156862745098 0.52156862745098 0.380392156862745 -0.733333333333333 -0.733333333333333 -0.733333333333333 0.333333333333333 -0.466666666666667 -0.372549019607843 -0.113725490196078 0.176470588235294 -0.866666666666667 0.6 0.0666666666666667 -1 -0.2 0.0666666666666667 0.333333333333333 0.12156862745098 -0.129411764705882 0.12156862745098 -0.356862745098039 0.0901960784313725 0.0901960784313725 0.654901960784314 0.654901960784314 0.654901960784314 -0.694117647058824 -0.686274509803922 -0.733333333333333 1 -0.168627450980392 -0.168627450980392 0.388235294117647 0.67843137254902 -0.615686274509804 1 0.192156862745098 -1 0.129411764705882 0.380392156862745 0.63921568627451 0.0117647058823529 0.0117647058823529 0.301960784313726 0.0588235294117647 0.615686274509804 0.843137254901961 0.513725490196078 0.607843137254902 0.513725490196078 -------------------------------------------------------------------------------- /dataset/0004.images.data: -------------------------------------------------------------------------------- 1 | -1 -1 -1 -0.803921568627451 -0.803921568627451 -0.803921568627451 -0.607843137254902 -0.607843137254902 -0.607843137254902 -0.498039215686275 -0.6 0.0196078431372548 -0.466666666666667 -0.364705882352941 0.137254901960784 -0.286274509803922 -0.105882352941176 0.223529411764706 -0.145098039215686 -0.545098039215686 -0.0352941176470588 0.294117647058824 -0.419607843137255 -0.0509803921568628 0.67843137254902 -0.152941176470588 -0.0274509803921569 0.764705882352941 0.764705882352941 0.764705882352941 -------------------------------------------------------------------------------- /dataset/0004.resources.data: -------------------------------------------------------------------------------- 1 | -1 -1 -1 0.835294117647059 0.835294117647059 0.835294117647059 -0.670588235294118 -0.670588235294118 -0.670588235294118 0.670588235294118 -0.388235294117647 -0.349019607843137 0.450980392156863 0.584313725490196 -0.419607843137255 0.811764705882353 0.0980392156862746 -0.458823529411765 -0.0431372549019607 0.301960784313726 0.709803921568627 0.529411764705882 0.184313725490196 0.694117647058824 -0.12156862745098 0.505882352941176 0.388235294117647 -0.482352941176471 -0.482352941176471 -0.482352941176471 -0.2 -0.2 -0.2 1 -0.6 -0.592156862745098 0.23921568627451 0.537254901960784 -1 0.811764705882353 0.545098039215686 -0.443137254901961 -0.0431372549019607 0.301960784313726 0.709803921568627 0.435294117647059 -0.0666666666666667 0.756862745098039 -0.341176470588235 0.615686274509804 0.67843137254902 0.584313725490196 0.537254901960784 0.537254901960784 -------------------------------------------------------------------------------- /dataset/0005.images.data: -------------------------------------------------------------------------------- 1 | -0.725490196078431 -0.686274509803922 -0.592156862745098 -0.694117647058824 -0.623529411764706 -0.537254901960784 -0.654901960784314 -0.545098039215686 -0.466666666666667 -0.584313725490196 -0.435294117647059 -0.372549019607843 -0.482352941176471 -0.301960784313726 -0.294117647058823 -0.325490196078431 -0.145098039215686 -0.207843137254902 -0.129411764705882 0.0274509803921568 -0.0980392156862745 0.0509803921568628 0.184313725490196 0.0117647058823529 0.231372549019608 0.333333333333333 0.113725490196078 0.427450980392157 0.474509803921569 0.231372549019608 -------------------------------------------------------------------------------- /dataset/0005.resources.data: -------------------------------------------------------------------------------- 1 | -0.858823529411765 -0.858823529411765 -0.858823529411765 0.341176470588235 0.349019607843137 0.364705882352941 -0.670588235294118 -0.670588235294118 -0.670588235294118 -0.403921568627451 -0.6 -0.6 0.168627450980392 0.223529411764706 -0.380392156862745 0.184313725490196 -0.152941176470588 -0.388235294117647 -0.52156862745098 -0.294117647058823 -0.105882352941176 0.184313725490196 0.0823529411764705 0.215686274509804 -0.419607843137255 -0.262745098039216 -0.286274509803922 0.262745098039216 0.309803921568627 0.356862745098039 -0.545098039215686 -0.545098039215686 -0.545098039215686 0.105882352941177 -0.396078431372549 -0.396078431372549 0.427450980392157 0.482352941176471 -0.137254901960784 0.474509803921569 0.247058823529412 -0.192156862745098 -0.0431372549019607 0.231372549019608 0.474509803921569 0.364705882352941 0.23921568627451 0.403921568627451 0.00392156862745097 0.254901960784314 0.215686274509804 0.56078431372549 0.592156862745098 0.623529411764706 -------------------------------------------------------------------------------- /dataset/0006.images.data: -------------------------------------------------------------------------------- 1 | -0.992156862745098 -0.16078431372549 -0.0666666666666667 -0.976470588235294 0.0666666666666667 0.0431372549019609 -0.882352941176471 -0.545098039215686 -0.372549019607843 -0.552941176470588 -0.2 -0.301960784313726 -0.498039215686275 0.403921568627451 0.0666666666666667 -0.223529411764706 0.0588235294117647 -0.231372549019608 0.113725490196078 0.396078431372549 -0.113725490196078 0.254901960784314 0.0196078431372548 -0.27843137254902 0.458823529411765 0.584313725490196 -0.0588235294117647 0.772549019607843 0.843137254901961 0.0509803921568628 -------------------------------------------------------------------------------- /dataset/0006.resources.data: -------------------------------------------------------------------------------- 1 | -0.772549019607843 -0.756862745098039 -0.741176470588235 0.741176470588235 0.749019607843137 0.607843137254902 -0.686274509803922 -0.670588235294118 -0.63921568627451 0.294117647058824 -0.482352941176471 -0.482352941176471 0.0980392156862746 0.16078431372549 -0.498039215686275 0.741176470588235 0.152941176470588 -0.254901960784314 -0.254901960784314 0.0117647058823529 0.231372549019608 0.0431372549019609 -0.192156862745098 0.12156862745098 -0.262745098039216 0.105882352941177 0.0588235294117647 -0.12156862745098 -0.0588235294117647 0.00392156862745097 -0.568627450980392 -0.537254901960784 -0.490196078431373 0.6 -0.2 -0.2 0.419607843137255 0.482352941176471 -0.184313725490196 0.882352941176471 0.552941176470588 -0.0901960784313726 0.0117647058823529 0.270588235294118 0.490196078431373 0.396078431372549 0.16078431372549 0.466666666666667 0.0823529411764705 0.490196078431373 0.435294117647059 0.545098039215686 0.568627450980392 0.552941176470588 -------------------------------------------------------------------------------- /dataset/0007.images.data: -------------------------------------------------------------------------------- 1 | -1 -1 -1 -0.56078431372549 -0.725490196078431 -0.984313725490196 -0.294117647058823 -0.56078431372549 -0.976470588235294 -0.247058823529412 -0.388235294117647 -0.827450980392157 -0.215686274509804 -0.215686274509804 -0.215686274509804 -0.0196078431372549 -0.0196078431372549 -0.0196078431372549 0.176470588235294 0.176470588235294 0.176470588235294 0.372549019607843 0.372549019607843 0.372549019607843 0.568627450980392 0.568627450980392 0.568627450980392 0.764705882352941 0.764705882352941 0.764705882352941 -------------------------------------------------------------------------------- /dataset/0007.resources.data: -------------------------------------------------------------------------------- 1 | -0.866666666666667 -0.913725490196078 -1 0.466666666666667 -0.0117647058823529 -1 -0.866666666666667 -0.913725490196078 -1 -0.0666666666666667 -0.372549019607843 -1 0.466666666666667 -0.0117647058823529 -1 -0.0666666666666667 -0.372549019607843 -1 0.2 -0.192156862745098 -1 0.466666666666667 -0.0352941176470588 -1 -0.333333333333333 -0.552941176470588 -1 0.466666666666667 -0.0117647058823529 -1 -0.0666666666666667 -0.372549019607843 -1 -0.0666666666666667 -0.372549019607843 -1 0.466666666666667 -0.0117647058823529 -1 -0.0666666666666667 -0.372549019607843 -1 0.2 -0.192156862745098 -1 0.466666666666667 -0.0117647058823529 -1 -0.333333333333333 -0.552941176470588 -1 1 0.349019607843137 -1 -------------------------------------------------------------------------------- /dataset/0008.images.data: -------------------------------------------------------------------------------- 1 | -1 -1 -1 -0.63921568627451 -0.709803921568627 -0.67843137254902 -0.52156862745098 -0.63921568627451 -0.63921568627451 -0.52156862745098 -0.545098039215686 -0.631372549019608 -0.419607843137255 -0.450980392156863 -0.623529411764706 -0.317647058823529 -0.372549019607843 -0.592156862745098 -0.137254901960784 -0.254901960784314 -0.52156862745098 0.0666666666666667 -0.137254901960784 -0.450980392156863 0.23921568627451 0.0745098039215686 -0.356862745098039 0.474509803921569 0.301960784313726 -0.207843137254902 -------------------------------------------------------------------------------- /dataset/0008.resources.data: -------------------------------------------------------------------------------- 1 | -0.835294117647059 -0.788235294117647 -0.796078431372549 -0.0117647058823529 0.2 0.0196078431372548 -0.63921568627451 -0.662745098039216 -0.56078431372549 0.192156862745098 -0.388235294117647 -0.2 -0.0431372549019607 0.0980392156862746 -0.341176470588235 0.23921568627451 -0.215686274509804 -0.56078431372549 -0.552941176470588 -0.325490196078431 -0.192156862745098 0.231372549019608 0.137254901960784 -0.16078431372549 -0.349019607843137 -0.207843137254902 -0.325490196078431 0.0196078431372548 0.0117647058823529 0.0117647058823529 -0.443137254901961 -0.490196078431373 -0.301960784313726 0.317647058823529 -0.145098039215686 -0.325490196078431 0.247058823529412 0.396078431372549 -0.0901960784313726 0.396078431372549 0.247058823529412 -0.262745098039216 -0.372549019607843 -0.0431372549019607 0.137254901960784 0.443137254901961 0.192156862745098 -0.333333333333333 -0.0117647058823529 0.2 0.0196078431372548 0.482352941176471 0.482352941176471 0.286274509803922 -------------------------------------------------------------------------------- /dataset/0009.images.data: -------------------------------------------------------------------------------- 1 | -0.890196078431372 -0.890196078431372 -0.913725490196078 -0.803921568627451 -0.756862745098039 -0.850980392156863 -0.686274509803922 -0.6 -0.764705882352941 -0.545098039215686 -0.458823529411765 -0.623529411764706 -0.380392156862745 -0.309803921568627 -0.411764705882353 -0.254901960784314 -0.2 -0.129411764705882 -0.00392156862745097 0.0352941176470589 0.207843137254902 0.301960784313726 0.333333333333333 0.529411764705882 0.63921568627451 0.647058823529412 0.811764705882353 0.984313725490196 0.976470588235294 0.992156862745098 -------------------------------------------------------------------------------- /dataset/0009.resources.data: -------------------------------------------------------------------------------- 1 | -0.788235294117647 -0.788235294117647 -0.788235294117647 0.466666666666667 0.466666666666667 0.466666666666667 -0.537254901960784 -0.537254901960784 -0.537254901960784 -0.0980392156862745 -0.607843137254902 -0.733333333333333 -0.568627450980392 -0.105882352941176 -0.733333333333333 0.184313725490196 -0.0980392156862745 -0.6 0.168627450980392 -0.341176470588235 -0.466666666666667 -0.317647058823529 -0.0901960784313726 -0.466666666666667 0.317647058823529 0.0352941176470589 -0.466666666666667 1 1 1 -0.537254901960784 -0.537254901960784 -0.537254901960784 -0.0980392156862745 -0.607843137254902 -0.733333333333333 -0.568627450980392 -0.105882352941176 -0.733333333333333 0.184313725490196 -0.0980392156862745 -0.6 0.168627450980392 -0.341176470588235 -0.466666666666667 -0.317647058823529 -0.0901960784313726 -0.466666666666667 0.317647058823529 0.0352941176470589 -0.466666666666667 1 1 1 -------------------------------------------------------------------------------- /dataset/0010.images.data: -------------------------------------------------------------------------------- 1 | -0.858823529411765 -0.874509803921569 -0.803921568627451 -0.741176470588235 -0.764705882352941 -0.670588235294118 -0.623529411764706 -0.670588235294118 -0.545098039215686 -0.490196078431373 -0.56078431372549 -0.403921568627451 -0.349019607843137 -0.443137254901961 -0.254901960784314 -0.192156862745098 -0.301960784313726 -0.0745098039215686 -0.0196078431372549 -0.12156862745098 0.16078431372549 0.270588235294118 0.129411764705882 0.388235294117647 0.6 0.6 0.6 0.772549019607843 0.772549019607843 0.772549019607843 -------------------------------------------------------------------------------- /dataset/0010.resources.data: -------------------------------------------------------------------------------- 1 | 0.866666666666667 0.819607843137255 0.670588235294118 0.984313725490196 0.929411764705882 0.780392156862745 -1 -0.662745098039216 -0.576470588235294 0.725490196078431 -0.607843137254902 -0.631372549019608 0.0431372549019609 0.2 -1 0.419607843137255 0.0745098039215686 -1 -0.701960784313725 0.0901960784313725 0.647058823529412 0.654901960784314 -0.576470588235294 0.0196078431372548 -0.670588235294118 0.262745098039216 0.192156862745098 0.984313725490196 0.929411764705882 0.780392156862745 -0.945098039215686 -0.576470588235294 -0.482352941176471 0.725490196078431 -0.607843137254902 -0.631372549019608 0.0431372549019609 0.2 -1 0.419607843137255 0.0745098039215686 -1 -0.701960784313725 0.0901960784313725 0.647058823529412 0.654901960784314 -0.576470588235294 0.0196078431372548 -0.670588235294118 0.262745098039216 0.192156862745098 0.984313725490196 0.929411764705882 0.780392156862745 -------------------------------------------------------------------------------- /dataset/0011.images.data: -------------------------------------------------------------------------------- 1 | -1 -1 -1 -0.803921568627451 -0.803921568627451 -0.803921568627451 -0.576470588235294 -0.576470588235294 -0.576470588235294 -0.411764705882353 -0.411764705882353 -0.411764705882353 -0.215686274509804 -0.215686274509804 -0.215686274509804 -0.0196078431372549 -0.0196078431372549 -0.0196078431372549 0.176470588235294 0.176470588235294 0.176470588235294 0.372549019607843 0.372549019607843 0.372549019607843 0.568627450980392 0.568627450980392 0.568627450980392 0.764705882352941 0.764705882352941 0.764705882352941 -------------------------------------------------------------------------------- /dataset/0011.resources.data: -------------------------------------------------------------------------------- 1 | -0.607843137254902 -0.623529411764706 -0.631372549019608 0.843137254901961 0.717647058823529 0.396078431372549 -0.686274509803922 -0.686274509803922 -0.686274509803922 0.6 -0.717647058823529 -0.772549019607843 0.192156862745098 0.184313725490196 -0.796078431372549 0.686274509803922 0.2 -0.741176470588235 -0.458823529411765 0.0431372549019609 0.0666666666666667 0.388235294117647 -0.231372549019608 0.0509803921568628 -0.184313725490196 0.231372549019608 -0.168627450980392 0.317647058823529 0.2 0.0352941176470589 0.145098039215686 0.0274509803921568 -0.0901960784313726 0.968627450980392 -0.427450980392157 -0.592156862745098 0.443137254901961 0.466666666666667 -0.701960784313725 0.96078431372549 0.482352941176471 -0.631372549019608 0.0274509803921568 0.294117647058824 0.192156862745098 0.654901960784314 0.0509803921568628 0.215686274509804 0.113725490196078 0.505882352941176 -0.0274509803921569 0.843137254901961 0.717647058823529 0.396078431372549 -------------------------------------------------------------------------------- /dataset/0012.images.data: -------------------------------------------------------------------------------- 1 | -0.937254901960784 -0.937254901960784 -0.937254901960784 -0.819607843137255 -0.819607843137255 -0.819607843137255 -0.592156862745098 -0.686274509803922 -0.811764705882353 -0.317647058823529 -0.458823529411765 -0.686274509803922 0.00392156862745097 -0.192156862745098 -0.545098039215686 0.317647058823529 0.0980392156862746 -0.364705882352941 0.607843137254902 0.349019607843137 -0.2 0.764705882352941 0.764705882352941 0.764705882352941 0.905882352941176 0.537254901960784 -0.176470588235294 0.929411764705882 0.56078431372549 -0.105882352941176 -------------------------------------------------------------------------------- /dataset/0012.resources.data: -------------------------------------------------------------------------------- 1 | -0.811764705882353 -0.811764705882353 -0.811764705882353 0.843137254901961 0.835294117647059 0.545098039215686 0.137254901960784 -0.0745098039215686 -0.427450980392157 0.984313725490196 0.576470588235294 -0.223529411764706 0.717647058823529 0.419607843137255 -0.0901960784313726 -0.176470588235294 -0.333333333333333 -0.607843137254902 -0.341176470588235 -0.490196078431373 -0.803921568627451 0.137254901960784 -0.0745098039215686 -0.427450980392157 0.984313725490196 0.576470588235294 -0.223529411764706 0.717647058823529 0.419607843137255 -0.0901960784313726 -0.176470588235294 -0.333333333333333 -0.607843137254902 -0.341176470588235 -0.490196078431373 -0.803921568627451 0.137254901960784 -0.0745098039215686 -0.427450980392157 0.984313725490196 0.576470588235294 -0.223529411764706 0.717647058823529 0.419607843137255 -0.0901960784313726 -0.176470588235294 -0.333333333333333 -0.607843137254902 -0.341176470588235 -0.490196078431373 -0.803921568627451 0.137254901960784 -0.0745098039215686 -0.427450980392157 -------------------------------------------------------------------------------- /dataset/0013.images.data: -------------------------------------------------------------------------------- 1 | -0.976470588235294 -0.937254901960784 -0.984313725490196 -0.741176470588235 -0.670588235294118 -0.545098039215686 -0.584313725490196 -0.717647058823529 -0.811764705882353 -0.23921568627451 -0.482352941176471 -0.662745098039216 -0.152941176470588 -0.254901960784314 -0.388235294117647 0.0588235294117647 -0.0352941176470588 -0.168627450980392 0.23921568627451 0.215686274509804 0.2 0.419607843137255 0.419607843137255 0.403921568627451 0.615686274509804 0.576470588235294 0.513725490196078 0.796078431372549 0.796078431372549 0.796078431372549 -------------------------------------------------------------------------------- /dataset/0013.resources.data: -------------------------------------------------------------------------------- 1 | -0.796078431372549 -0.788235294117647 -0.772549019607843 0.356862745098039 0.435294117647059 0.513725490196078 -0.772549019607843 -0.756862745098039 -0.741176470588235 0.341176470588235 -0.207843137254902 -0.435294117647059 0.0666666666666667 0.333333333333333 -0.333333333333333 0.113725490196078 -0.16078431372549 -0.725490196078431 -0.466666666666667 -0.2 0.0666666666666667 0.952941176470588 0.952941176470588 0.952941176470588 -0.333333333333333 0.0666666666666667 0.0666666666666667 0.333333333333333 0.466666666666667 0.6 -0.466666666666667 -0.333333333333333 -0.2 0.733333333333333 -0.0666666666666667 -0.0666666666666667 0.466666666666667 0.733333333333333 0.0666666666666667 0.6 0.380392156862745 -0.254901960784314 -0.0666666666666667 0.2 0.466666666666667 0.341176470588235 0.349019607843137 0.364705882352941 0.0666666666666667 0.466666666666667 0.466666666666667 0.733333333333333 0.866666666666667 1 -------------------------------------------------------------------------------- /dataset/0014.images.data: -------------------------------------------------------------------------------- 1 | -0.898039215686275 -0.929411764705882 -0.890196078431372 -0.796078431372549 -0.850980392156863 -0.788235294117647 -0.623529411764706 -0.741176470588235 -0.694117647058824 -0.498039215686275 -0.545098039215686 -0.513725490196078 -0.286274509803922 -0.396078431372549 -0.223529411764706 0.105882352941177 -0.294117647058823 -0.223529411764706 0.176470588235294 0.176470588235294 0.176470588235294 0.372549019607843 0.372549019607843 0.372549019607843 0.568627450980392 0.568627450980392 0.568627450980392 0.764705882352941 0.764705882352941 0.764705882352941 -------------------------------------------------------------------------------- /dataset/0014.resources.data: -------------------------------------------------------------------------------- 1 | -0.811764705882353 -0.827450980392157 -0.858823529411765 0.835294117647059 0.694117647058824 0.780392156862745 -0.607843137254902 -0.749019607843137 -0.537254901960784 -0.450980392156863 -0.6 -0.356862745098039 -0.0196078431372549 -0.137254901960784 0.0823529411764705 -0.356862745098039 -0.450980392156863 -0.207843137254902 0.56078431372549 -0.27843137254902 -0.231372549019608 -0.0509803921568628 -0.654901960784314 -0.545098039215686 0.443137254901961 0.215686274509804 0.341176470588235 0.835294117647059 0.694117647058824 0.780392156862745 -0.670588235294118 -0.827450980392157 -0.6 -0.56078431372549 -0.717647058823529 -0.450980392156863 -0.294117647058823 -0.427450980392157 -0.176470588235294 -0.552941176470588 -0.647058823529412 -0.380392156862745 0.286274509803922 -0.647058823529412 -0.592156862745098 -0.207843137254902 -0.866666666666667 -0.749019607843137 0.0823529411764705 -0.168627450980392 -0.0352941176470588 0.349019607843137 0.192156862745098 0.286274509803922 -------------------------------------------------------------------------------- /dataset/0015.images.data: -------------------------------------------------------------------------------- 1 | -0.92156862745098 -0.937254901960784 -0.780392156862745 -0.827450980392157 -0.850980392156863 -0.654901960784314 -0.725490196078431 -0.741176470588235 -0.505882352941176 -0.411764705882353 -0.411764705882353 -0.411764705882353 -0.215686274509804 -0.215686274509804 -0.215686274509804 -0.0196078431372549 -0.0196078431372549 -0.0196078431372549 0.176470588235294 0.176470588235294 0.176470588235294 0.372549019607843 0.372549019607843 0.372549019607843 0.568627450980392 0.568627450980392 0.568627450980392 0.764705882352941 0.764705882352941 0.764705882352941 -------------------------------------------------------------------------------- /dataset/0015.resources.data: -------------------------------------------------------------------------------- 1 | -0.741176470588235 -0.741176470588235 -0.741176470588235 0.803921568627451 0.780392156862745 0.552941176470588 -0.725490196078431 -0.725490196078431 -0.725490196078431 0.450980392156863 -0.317647058823529 -0.356862745098039 -0.827450980392157 -0.207843137254902 -0.427450980392157 0.388235294117647 0.0352941176470589 -0.325490196078431 -0.458823529411765 -0.0352941176470588 0.0588235294117647 -0.341176470588235 -0.427450980392157 -0.105882352941176 -0.12156862745098 -0.411764705882353 -0.231372549019608 0.607843137254902 0.607843137254902 0.607843137254902 -0.63921568627451 -0.63921568627451 -0.63921568627451 0.811764705882353 -0.137254901960784 -0.2 -0.788235294117647 -0.0117647058823529 -0.294117647058823 0.733333333333333 0.294117647058824 -0.152941176470588 -0.317647058823529 0.207843137254902 0.325490196078431 -0.176470588235294 -0.286274509803922 0.113725490196078 0.0980392156862746 -0.262745098039216 -0.0431372549019607 0.929411764705882 0.929411764705882 0.929411764705882 -------------------------------------------------------------------------------- /dataset/0016.images.data: -------------------------------------------------------------------------------- 1 | -1 -1 -1 -0.819607843137255 -0.850980392156863 -0.890196078431372 -0.67843137254902 -0.490196078431373 -0.364705882352941 -0.670588235294118 -0.623529411764706 -0.670588235294118 -0.215686274509804 -0.152941176470588 -0.192156862745098 0.247058823529412 0.247058823529412 0.0901960784313725 0.490196078431373 -0.168627450980392 -0.952941176470588 0.662745098039216 0.584313725490196 0.301960784313726 0.670588235294118 0.0745098039215686 -0.796078431372549 0.874509803921569 0.819607843137255 0.631372549019608 -------------------------------------------------------------------------------- /dataset/0016.resources.data: -------------------------------------------------------------------------------- 1 | -0.733333333333333 -0.733333333333333 -0.733333333333333 0.333333333333333 0.333333333333333 0.333333333333333 -0.552941176470588 -0.552941176470588 -0.552941176470588 1 -1 -0.254901960784314 -0.576470588235294 0.396078431372549 -0.819607843137255 1 0.301960784313726 -1 -1 0.2 0.474509803921569 0.23921568627451 -0.129411764705882 0.992156862745098 0.0745098039215686 0.427450980392157 0.772549019607843 0.6 0.6 0.6 -0.63921568627451 -0.584313725490196 -0.568627450980392 1 -0.192156862745098 -0.192156862745098 -1 0.670588235294118 -0.168627450980392 1 0.333333333333333 -0.882352941176471 -0.27843137254902 0.741176470588235 0.741176470588235 0.23921568627451 -0.129411764705882 0.992156862745098 -0.450980392156863 0.286274509803922 1 1 1 1 -------------------------------------------------------------------------------- /dataset/0017.images.data: -------------------------------------------------------------------------------- 1 | -0.827450980392157 -0.898039215686275 -0.952941176470588 -0.764705882352941 -0.835294117647059 -0.874509803921569 -0.490196078431373 -0.662745098039216 -0.717647058823529 0.0901960784313725 -0.419607843137255 -0.576470588235294 0.192156862745098 -0.317647058823529 -0.552941176470588 0.27843137254902 -0.152941176470588 -0.505882352941176 0.474509803921569 0.0745098039215686 -0.435294117647059 0.615686274509804 0.458823529411765 0.0745098039215686 0.749019607843137 0.654901960784314 0.27843137254902 0.929411764705882 0.866666666666667 0.505882352941176 -------------------------------------------------------------------------------- /dataset/0017.resources.data: -------------------------------------------------------------------------------- 1 | -1 -1 -1 0.701960784313725 0.803921568627451 0.898039215686274 -1 -1 -1 -0.27843137254902 -0.482352941176471 -0.741176470588235 -0.341176470588235 -0.396078431372549 -0.764705882352941 -0.27843137254902 -0.411764705882353 -0.764705882352941 -0.364705882352941 -0.458823529411765 -0.67843137254902 -0.294117647058823 -0.482352941176471 -0.67843137254902 -0.364705882352941 -0.396078431372549 -0.694117647058824 0.207843137254902 0.207843137254902 0.207843137254902 -0.701960784313725 -0.701960784313725 -0.701960784313725 0.733333333333333 0.513725490196078 0.247058823529412 0.647058823529412 0.607843137254902 0.23921568627451 0.733333333333333 0.592156862745098 0.23921568627451 0.63921568627451 0.529411764705882 0.333333333333333 0.709803921568627 0.513725490196078 0.333333333333333 0.63921568627451 0.607843137254902 0.309803921568627 1 1 1 -------------------------------------------------------------------------------- /dataset/0018.images.data: -------------------------------------------------------------------------------- 1 | -0.686274509803922 -0.749019607843137 -0.686274509803922 -0.592156862745098 -0.709803921568627 -0.654901960784314 -0.498039215686275 -0.662745098039216 -0.6 -0.396078431372549 -0.6 -0.537254901960784 -0.231372549019608 -0.513725490196078 -0.458823529411765 -0.152941176470588 -0.349019607843137 -0.301960784313726 0.145098039215686 -0.364705882352941 -0.317647058823529 0.372549019607843 0.0117647058823529 -0.0823529411764706 0.474509803921569 0.294117647058824 0.184313725490196 0.647058823529412 0.498039215686275 0.403921568627451 -------------------------------------------------------------------------------- /dataset/0018.resources.data: -------------------------------------------------------------------------------- 1 | -0.780392156862745 -0.780392156862745 -0.725490196078431 0.215686274509804 0.466666666666667 0.552941176470588 -0.607843137254902 -0.607843137254902 -0.450980392156863 -0.294117647058823 -0.0588235294117647 0.0196078431372548 0.0980392156862746 0.0980392156862746 0.254901960784314 -0.764705882352941 0.0196078431372548 0.0980392156862746 -0.529411764705882 -0.0588235294117647 0.0980392156862746 -0.137254901960784 0.254901960784314 0.411764705882353 -0.137254901960784 0.0980392156862746 0.254901960784314 0.176470588235294 0.490196078431373 0.568627450980392 -0.607843137254902 -0.607843137254902 -0.450980392156863 -0.294117647058823 -0.0588235294117647 0.0196078431372548 0.0980392156862746 0.0980392156862746 0.254901960784314 -0.764705882352941 0.0196078431372548 0.0980392156862746 -0.529411764705882 -0.0588235294117647 0.0980392156862746 -0.137254901960784 0.254901960784314 0.411764705882353 -0.137254901960784 0.0980392156862746 0.254901960784314 0.176470588235294 0.490196078431373 0.568627450980392 -------------------------------------------------------------------------------- /dataset/0019.images.data: -------------------------------------------------------------------------------- 1 | -0.717647058823529 -0.827450980392157 -0.843137254901961 -0.6 -0.749019607843137 -0.756862745098039 -0.466666666666667 -0.631372549019608 -0.686274509803922 -0.341176470588235 -0.427450980392157 -0.701960784313725 -0.168627450980392 -0.223529411764706 -0.67843137254902 0.0117647058823529 -0.0196078431372549 -0.654901960784314 0.207843137254902 0.152941176470588 -0.568627450980392 0.403921568627451 0.341176470588235 -0.466666666666667 0.662745098039216 0.56078431372549 -0.301960784313726 0.764705882352941 0.764705882352941 0.764705882352941 -------------------------------------------------------------------------------- /dataset/0019.resources.data: -------------------------------------------------------------------------------- 1 | -0.819607843137255 -0.882352941176471 -0.898039215686275 -0.0901960784313726 -0.152941176470588 -0.435294117647059 -0.552941176470588 -0.67843137254902 -0.709803921568627 0.192156862745098 -0.105882352941176 -0.403921568627451 0.129411764705882 0.12156862745098 -0.607843137254902 0.333333333333333 0.176470588235294 -0.403921568627451 -0.0352941176470588 0.0431372549019609 -0.388235294117647 -0.16078431372549 -0.325490196078431 -0.466666666666667 -0.27843137254902 -0.364705882352941 -0.482352941176471 0.568627450980392 0.419607843137255 -0.286274509803922 -0.341176470588235 -0.411764705882353 -0.63921568627451 0.372549019607843 -0.207843137254902 -0.631372549019608 0.529411764705882 0.513725490196078 -0.52156862745098 0.568627450980392 0.419607843137255 -0.286274509803922 -0.12156862745098 0.262745098039216 -0.152941176470588 0.192156862745098 -0.105882352941176 -0.403921568627451 -0.0666666666666667 0.0588235294117647 -0.709803921568627 0.788235294117647 0.725490196078431 0.0980392156862746 -------------------------------------------------------------------------------- /dataset/0020.images.data: -------------------------------------------------------------------------------- 1 | -0.890196078431372 -0.756862745098039 -0.803921568627451 -0.819607843137255 -0.576470588235294 -0.662745098039216 -0.623529411764706 -0.333333333333333 -0.388235294117647 -0.6 -0.356862745098039 -0.725490196078431 -0.372549019607843 -0.12156862745098 -0.576470588235294 -0.356862745098039 -0.0666666666666667 -0.0980392156862745 -0.0823529411764706 0.168627450980392 0.396078431372549 -0.0588235294117647 0.12156862745098 -0.474509803921569 0.215686274509804 0.364705882352941 0.545098039215686 0.623529411764706 0.670588235294118 0.741176470588235 -------------------------------------------------------------------------------- /dataset/0020.resources.data: -------------------------------------------------------------------------------- 1 | -0.803921568627451 -0.803921568627451 -0.803921568627451 0.474509803921569 0.474509803921569 0.372549019607843 -0.803921568627451 -0.803921568627451 -0.803921568627451 0.254901960784314 -0.474509803921569 -0.223529411764706 0.215686274509804 0.152941176470588 -0.67843137254902 0.498039215686275 -0.0431372549019607 -0.67843137254902 -0.168627450980392 0.0980392156862746 0.0980392156862746 0.0431372549019609 -0.192156862745098 -0.0901960784313726 -0.0823529411764706 -0.0509803921568628 -0.0588235294117647 0.474509803921569 0.474509803921569 0.372549019607843 -0.450980392156863 -0.482352941176471 -0.537254901960784 0.364705882352941 0.0274509803921568 -0.0431372549019607 0.411764705882353 0.333333333333333 -0.623529411764706 0.56078431372549 0.294117647058824 -0.364705882352941 -0.0901960784313726 0.2 0.23921568627451 0.223529411764706 0.0117647058823529 0.113725490196078 0.247058823529412 0.294117647058824 0.129411764705882 0.474509803921569 0.474509803921569 0.372549019607843 -------------------------------------------------------------------------------- /dataset/0021.images.data: -------------------------------------------------------------------------------- 1 | -0.67843137254902 -0.725490196078431 -0.780392156862745 -0.631372549019608 -0.749019607843137 -0.607843137254902 -0.576470588235294 -0.654901960784314 -0.56078431372549 -0.482352941176471 -0.537254901960784 -0.505882352941176 -0.349019607843137 -0.411764705882353 -0.435294117647059 -0.192156862745098 -0.27843137254902 -0.349019607843137 -0.0196078431372549 -0.0980392156862745 -0.223529411764706 0.176470588235294 0.137254901960784 -0.0352941176470588 0.380392156862745 0.396078431372549 0.207843137254902 0.803921568627451 0.694117647058824 0.435294117647059 -------------------------------------------------------------------------------- /dataset/0021.resources.data: -------------------------------------------------------------------------------- 1 | -0.811764705882353 -0.811764705882353 -0.811764705882353 0.654901960784314 0.654901960784314 0.654901960784314 -0.725490196078431 -0.725490196078431 -0.725490196078431 -0.647058823529412 -0.662745098039216 -0.623529411764706 -0.505882352941176 -0.52156862745098 -0.498039215686275 -0.490196078431373 -0.529411764705882 -0.513725490196078 -0.482352941176471 -0.513725490196078 -0.490196078431373 -0.388235294117647 -0.419607843137255 -0.411764705882353 -0.137254901960784 -0.192156862745098 -0.207843137254902 0.0274509803921568 -0.0117647058823529 0.0117647058823529 -0.654901960784314 -0.670588235294118 -0.686274509803922 0.0745098039215686 0.0196078431372548 -0.0196078431372549 0.309803921568627 0.254901960784314 0.2 0.52156862745098 0.490196078431373 0.513725490196078 0.529411764705882 0.474509803921569 0.396078431372549 0.592156862745098 0.545098039215686 0.458823529411765 0.780392156862745 0.733333333333333 0.647058823529412 0.874509803921569 0.819607843137255 0.725490196078431 -------------------------------------------------------------------------------- /dataset/0022.images.data: -------------------------------------------------------------------------------- 1 | -0.811764705882353 -0.772549019607843 -0.654901960784314 -0.694117647058824 -0.631372549019608 -0.529411764705882 -0.576470588235294 -0.403921568627451 -0.223529411764706 -0.505882352941176 -0.670588235294118 -0.662745098039216 -0.458823529411765 -0.474509803921569 -0.498039215686275 -0.247058823529412 -0.286274509803922 -0.380392156862745 -0.0588235294117647 -0.482352941176471 -0.623529411764706 0.0352941176470589 -0.105882352941176 -0.309803921568627 0.349019607843137 0.168627450980392 -0.152941176470588 0.788235294117647 0.670588235294118 0.317647058823529 -------------------------------------------------------------------------------- /dataset/0022.resources.data: -------------------------------------------------------------------------------- 1 | -0.937254901960784 -0.929411764705882 -0.92156862745098 -0.247058823529412 -0.152941176470588 -0.0588235294117647 -0.552941176470588 -0.545098039215686 -0.52156862745098 -0.513725490196078 -0.709803921568627 -0.686274509803922 -0.686274509803922 -0.545098039215686 -0.513725490196078 -0.592156862745098 -0.450980392156863 -0.6 -0.67843137254902 -0.662745098039216 -0.529411764705882 -0.458823529411765 -0.686274509803922 -0.670588235294118 -0.623529411764706 -0.513725490196078 -0.466666666666667 -0.207843137254902 -0.231372549019608 -0.411764705882353 -0.490196078431373 -0.498039215686275 -0.474509803921569 -0.137254901960784 -0.607843137254902 -0.670588235294118 -0.388235294117647 -0.223529411764706 -0.349019607843137 -0.505882352941176 -0.349019607843137 -0.568627450980392 -0.505882352941176 -0.537254901960784 -0.435294117647059 -0.294117647058823 -0.654901960784314 -0.647058823529412 -0.411764705882353 -0.301960784313726 -0.294117647058823 -0.152941176470588 -0.2 -0.372549019607843 -------------------------------------------------------------------------------- /dataset/0023.images.data: -------------------------------------------------------------------------------- 1 | -0.898039215686275 -0.874509803921569 -0.811764705882353 -0.803921568627451 -0.780392156862745 -0.709803921568627 -0.733333333333333 -0.709803921568627 -0.647058823529412 -0.607843137254902 -0.592156862745098 -0.529411764705882 -0.372549019607843 -0.349019607843137 -0.294117647058823 -0.113725490196078 -0.0980392156862745 -0.0431372549019607 0.16078431372549 0.176470588235294 0.231372549019608 0.450980392156863 0.474509803921569 0.52156862745098 0.733333333333333 0.749019607843137 0.780392156862745 0.952941176470588 0.968627450980392 0.976470588235294 -------------------------------------------------------------------------------- /dataset/0023.resources.data: -------------------------------------------------------------------------------- 1 | -0.741176470588235 -0.741176470588235 -0.741176470588235 0.803921568627451 0.780392156862745 0.552941176470588 -0.764705882352941 -0.756862745098039 -0.725490196078431 0.756862745098039 -0.968627450980392 -0.741176470588235 0.482352941176471 0.482352941176471 0.482352941176471 -0.411764705882353 0.301960784313726 0.317647058823529 -0.647058823529412 0.0666666666666667 0.105882352941177 0.96078431372549 -0.764705882352941 -0.552941176470588 0.482352941176471 0.482352941176471 0.482352941176471 0.725490196078431 0.725490196078431 0.6 -0.764705882352941 -0.756862745098039 -0.725490196078431 0.756862745098039 -0.968627450980392 -0.741176470588235 0.482352941176471 0.482352941176471 0.482352941176471 -0.411764705882353 0.301960784313726 0.317647058823529 -0.647058823529412 0.0666666666666667 0.105882352941177 0.96078431372549 -0.764705882352941 -0.552941176470588 0.482352941176471 0.482352941176471 0.482352941176471 0.725490196078431 0.725490196078431 0.6 -------------------------------------------------------------------------------- /dataset/0024.images.data: -------------------------------------------------------------------------------- 1 | -1 -1 -1 -0.811764705882353 -0.756862745098039 -0.490196078431373 -0.631372549019608 -0.686274509803922 -0.341176470588235 -0.435294117647059 -0.545098039215686 -0.215686274509804 -0.113725490196078 -0.466666666666667 -0.105882352941176 -0.0823529411764706 0.215686274509804 0.0352941176470589 0.145098039215686 -0.16078431372549 0.0352941176470589 0.301960784313726 0.325490196078431 0.176470588235294 0.56078431372549 0.513725490196078 0.325490196078431 0.850980392156863 0.756862745098039 0.529411764705882 -------------------------------------------------------------------------------- /dataset/0024.resources.data: -------------------------------------------------------------------------------- 1 | -0.647058823529412 -0.647058823529412 -0.647058823529412 0.6 0.6 0.6 -1 -1 -1 0.898039215686274 -0.0666666666666667 -0.0431372549019607 0.2 0.6 0.2 0.952941176470588 0.137254901960784 -0.317647058823529 -0.2 0.2 0.6 0.6 0.2 0.6 -0.2 0.6 0.6 -0.364705882352941 -0.364705882352941 -0.364705882352941 -0.2 -0.2 -0.2 1 -0.6 -0.592156862745098 0.23921568627451 0.537254901960784 -1 1 0.6 -0.2 -0.2 0.2 0.6 0.435294117647059 -0.0666666666666667 0.756862745098039 -0.341176470588235 0.615686274509804 0.67843137254902 -0.552941176470588 -0.552941176470588 -0.552941176470588 -------------------------------------------------------------------------------- /dataset/0025.images.data: -------------------------------------------------------------------------------- 1 | -0.905882352941176 -0.796078431372549 -0.749019607843137 -0.866666666666667 -0.686274509803922 -0.631372549019608 -0.827450980392157 -0.568627450980392 -0.529411764705882 -0.756862745098039 -0.435294117647059 -0.443137254901961 -0.568627450980392 -0.27843137254902 -0.474509803921569 -0.325490196078431 -0.105882352941176 -0.435294117647059 -0.0196078431372549 0.0666666666666667 -0.388235294117647 0.0352941176470589 0.223529411764706 -0.0901960784313726 0.301960784313726 0.27843137254902 -0.27843137254902 0.458823529411765 0.474509803921569 -0.0666666666666667 -------------------------------------------------------------------------------- /dataset/0025.resources.data: -------------------------------------------------------------------------------- 1 | -1 -1 -1 1 1 1 -1 -1 -1 0.552941176470588 -0.458823529411765 -0.356862745098039 -0.63921568627451 0.0901960784313725 -0.317647058823529 0.741176470588235 0.23921568627451 -0.388235294117647 -0.443137254901961 0.23921568627451 0.466666666666667 -0.0823529411764706 -0.615686274509804 -0.411764705882353 -0.23921568627451 0.0352941176470589 0.0431372549019609 1 1 1 -0.505882352941176 -0.537254901960784 -0.498039215686275 0.552941176470588 -0.458823529411765 -0.356862745098039 -0.63921568627451 0.0901960784313725 -0.317647058823529 0.741176470588235 0.23921568627451 -0.388235294117647 -0.443137254901961 0.23921568627451 0.466666666666667 -0.0823529411764706 -0.615686274509804 -0.411764705882353 -0.23921568627451 0.0352941176470589 0.0431372549019609 1 1 1 -------------------------------------------------------------------------------- /dataset/0026.images.data: -------------------------------------------------------------------------------- 1 | -0.96078431372549 -0.96078431372549 -0.96078431372549 -0.819607843137255 -0.819607843137255 -0.819607843137255 -0.662745098039216 -0.662745098039216 -0.662745098039216 -0.466666666666667 -0.466666666666667 -0.466666666666667 -0.262745098039216 -0.262745098039216 -0.262745098039216 -0.0745098039215686 -0.0745098039215686 -0.0745098039215686 0.129411764705882 0.129411764705882 0.129411764705882 0.364705882352941 0.364705882352941 0.364705882352941 0.662745098039216 0.662745098039216 0.662745098039216 0.913725490196079 0.913725490196079 0.913725490196079 -------------------------------------------------------------------------------- /dataset/0026.resources.data: -------------------------------------------------------------------------------- 1 | -0.788235294117647 -0.772549019607843 -0.764705882352941 0.254901960784314 0.254901960784314 0.254901960784314 -0.788235294117647 -0.772549019607843 -0.764705882352941 0.952941176470588 -0.701960784313725 -0.105882352941176 0.0196078431372548 0.411764705882353 -0.843137254901961 0.984313725490196 0.184313725490196 -0.756862745098039 -0.325490196078431 0.52156862745098 0.67843137254902 0.0980392156862746 -0.341176470588235 0.992156862745098 -0.450980392156863 -0.341176470588235 -0.317647058823529 0.6 0.6 0.552941176470588 -0.372549019607843 -0.349019607843137 -0.341176470588235 0.419607843137255 -0.63921568627451 -0.631372549019608 0.427450980392157 0.780392156862745 -0.341176470588235 0.168627450980392 0.529411764705882 -0.63921568627451 0.796078431372549 0.466666666666667 0.0901960784313725 0.725490196078431 0.113725490196078 -0.545098039215686 0.0745098039215686 0.223529411764706 0.262745098039216 0.945098039215686 0.945098039215686 0.898039215686274 -------------------------------------------------------------------------------- /dataset/0027.images.data: -------------------------------------------------------------------------------- 1 | -0.733333333333333 -0.725490196078431 -0.764705882352941 -0.623529411764706 -0.63921568627451 -0.717647058823529 -0.490196078431373 -0.529411764705882 -0.63921568627451 -0.356862745098039 -0.372549019607843 -0.52156862745098 -0.2 -0.2 -0.364705882352941 -0.0196078431372549 -0.0117647058823529 -0.184313725490196 0.137254901960784 0.145098039215686 -0.0274509803921569 0.325490196078431 0.317647058823529 0.0588235294117647 0.52156862745098 0.482352941176471 0.137254901960784 0.67843137254902 0.654901960784314 0.325490196078431 -------------------------------------------------------------------------------- /dataset/0027.resources.data: -------------------------------------------------------------------------------- 1 | -0.819607843137255 -0.882352941176471 -0.898039215686275 -0.0901960784313726 -0.152941176470588 -0.435294117647059 -0.701960784313725 -0.709803921568627 -0.780392156862745 -0.607843137254902 -0.623529411764706 -0.694117647058824 -0.52156862745098 -0.474509803921569 -0.552941176470588 -0.466666666666667 -0.537254901960784 -0.654901960784314 -0.349019607843137 -0.396078431372549 -0.584313725490196 -0.215686274509804 -0.192156862745098 -0.325490196078431 -0.0352941176470588 0.0431372549019609 -0.0901960784313726 0.0274509803921568 -0.0352941176470588 -0.23921568627451 0.2 0.247058823529412 0.137254901960784 0.215686274509804 0.184313725490196 -0.0980392156862745 0.396078431372549 0.380392156862745 0.0980392156862746 0.537254901960784 0.466666666666667 0.0980392156862746 0.537254901960784 0.427450980392157 -0.0431372549019607 0.623529411764706 0.576470588235294 0.168627450980392 0.654901960784314 0.662745098039216 0.427450980392157 0.67843137254902 0.654901960784314 0.349019607843137 -------------------------------------------------------------------------------- /dataset/0028.images.data: -------------------------------------------------------------------------------- 1 | -0.968627450980392 -0.976470588235294 -0.976470588235294 -0.67843137254902 -0.749019607843137 -0.811764705882353 -0.372549019607843 -0.505882352941176 -0.631372549019608 -0.0509803921568628 -0.247058823529412 -0.443137254901961 0.23921568627451 0.00392156862745097 -0.223529411764706 0.443137254901961 0.247058823529412 0.0588235294117647 0.576470588235294 0.435294117647059 0.301960784313726 0.725490196078431 0.631372549019608 0.545098039215686 0.835294117647059 0.780392156862745 0.733333333333333 0.937254901960784 0.92156862745098 0.905882352941176 -------------------------------------------------------------------------------- /dataset/0028.resources.data: -------------------------------------------------------------------------------- 1 | -0.819607843137255 -0.882352941176471 -0.898039215686275 -0.0901960784313726 -0.152941176470588 -0.435294117647059 -0.850980392156863 -0.882352941176471 -0.905882352941176 -0.247058823529412 -0.403921568627451 -0.56078431372549 0.105882352941177 -0.00392156862745097 0.0431372549019609 0.129411764705882 -0.105882352941176 -0.325490196078431 0.333333333333333 0.105882352941177 -0.12156862745098 0.450980392156863 0.27843137254902 0.105882352941177 0.537254901960784 0.498039215686275 0.498039215686275 0.537254901960784 0.364705882352941 0.2 0.552941176470588 0.247058823529412 -0.0666666666666667 0.584313725490196 0.450980392156863 0.317647058823529 0.670588235294118 0.552941176470588 0.443137254901961 0.725490196078431 0.63921568627451 0.56078431372549 0.756862745098039 0.756862745098039 0.772549019607843 0.788235294117647 0.709803921568627 0.647058823529412 0.835294117647059 0.780392156862745 0.725490196078431 0.929411764705882 0.898039215686274 0.882352941176471 -------------------------------------------------------------------------------- /dataset/0029.images.data: -------------------------------------------------------------------------------- 1 | -1 -1 -1 -0.803921568627451 -0.803921568627451 -0.803921568627451 -0.270588235294118 -0.341176470588235 -0.482352941176471 -0.0901960784313726 -0.176470588235294 -0.325490196078431 0.0509803921568628 -0.0509803921568628 -0.207843137254902 0.176470588235294 0.0745098039215686 -0.0980392156862745 0.301960784313726 0.184313725490196 0.00392156862745097 0.443137254901961 0.325490196078431 0.152941176470588 0.615686274509804 0.498039215686275 0.333333333333333 0.819607843137255 0.670588235294118 0.419607843137255 -------------------------------------------------------------------------------- /dataset/0029.resources.data: -------------------------------------------------------------------------------- 1 | -0.756862745098039 -0.788235294117647 -0.811764705882353 0.450980392156863 0.364705882352941 0.23921568627451 -0.349019607843137 -0.419607843137255 -0.552941176470588 -0.0901960784313726 -0.176470588235294 -0.317647058823529 0.0588235294117647 -0.0588235294117647 -0.262745098039216 0.0588235294117647 -0.0431372549019607 -0.2 0.184313725490196 0.0823529411764705 -0.0823529411764706 0.309803921568627 0.207843137254902 0.0509803921568628 0.325490196078431 0.176470588235294 -0.0745098039215686 0.419607843137255 0.317647058823529 0.16078431372549 0.443137254901961 0.341176470588235 0.207843137254902 0.552941176470588 0.450980392156863 0.309803921568627 0.56078431372549 0.333333333333333 -0.0352941176470588 0.576470588235294 0.411764705882353 0.145098039215686 0.662745098039216 0.545098039215686 0.380392156862745 0.827450980392157 0.670588235294118 0.411764705882353 0.843137254901961 0.670588235294118 0.364705882352941 0.968627450980392 0.858823529411765 0.592156862745098 -------------------------------------------------------------------------------- /dataset/0030.images.data: -------------------------------------------------------------------------------- 1 | -0.827450980392157 -0.780392156862745 -0.63921568627451 -0.733333333333333 -0.67843137254902 -0.56078431372549 -0.568627450980392 -0.505882352941176 -0.474509803921569 -0.396078431372549 -0.349019607843137 -0.411764705882353 -0.207843137254902 -0.192156862745098 -0.309803921568627 0.00392156862745097 -0.168627450980392 -0.505882352941176 0.0431372549019609 -0.0196078431372549 -0.286274509803922 0.270588235294118 0.0901960784313725 -0.341176470588235 0.419607843137255 0.270588235294118 -0.2 0.52156862745098 0.23921568627451 -0.513725490196078 -------------------------------------------------------------------------------- /dataset/0030.resources.data: -------------------------------------------------------------------------------- 1 | -0.819607843137255 -0.882352941176471 -0.898039215686275 -0.0901960784313726 -0.152941176470588 -0.435294117647059 -0.803921568627451 -0.756862745098039 -0.615686274509804 -0.686274509803922 -0.63921568627451 -0.552941176470588 -0.623529411764706 -0.56078431372549 -0.466666666666667 -0.537254901960784 -0.466666666666667 -0.419607843137255 -0.529411764705882 -0.466666666666667 -0.584313725490196 -0.388235294117647 -0.349019607843137 -0.380392156862745 -0.270588235294118 -0.270588235294118 -0.584313725490196 -0.2 -0.176470588235294 -0.270588235294118 -0.12156862745098 -0.145098039215686 -0.325490196078431 0.0901960784313725 -0.0588235294117647 -0.356862745098039 0.129411764705882 0.168627450980392 0.0117647058823529 0.137254901960784 -0.12156862745098 -0.545098039215686 0.16078431372549 0.0509803921568628 -0.309803921568627 0.262745098039216 0.176470588235294 -0.231372549019608 0.356862745098039 0.137254901960784 -0.356862745098039 0.552941176470588 0.262745098039216 -0.505882352941176 -------------------------------------------------------------------------------- /dataset/0031.images.data: -------------------------------------------------------------------------------- 1 | -1 -1 -1 -0.568627450980392 -0.662745098039216 -0.63921568627451 -0.411764705882353 -0.52156862745098 -0.529411764705882 -0.215686274509804 -0.356862745098039 -0.403921568627451 -0.0588235294117647 -0.207843137254902 -0.301960784313726 0.12156862745098 -0.0509803921568628 -0.2 0.27843137254902 0.0901960784313725 -0.113725490196078 0.411764705882353 0.215686274509804 -0.0274509803921569 0.552941176470588 0.349019607843137 0.0666666666666667 0.67843137254902 0.458823529411765 0.152941176470588 -------------------------------------------------------------------------------- /dataset/0031.resources.data: -------------------------------------------------------------------------------- 1 | -0.819607843137255 -0.882352941176471 -0.898039215686275 -0.0901960784313726 -0.152941176470588 -0.435294117647059 -0.56078431372549 -0.654901960784314 -0.631372549019608 -0.435294117647059 -0.552941176470588 -0.545098039215686 -0.207843137254902 -0.349019607843137 -0.396078431372549 -0.0509803921568628 -0.2 -0.294117647058823 0.0274509803921568 -0.137254901960784 -0.262745098039216 0.113725490196078 -0.0666666666666667 -0.2 0.137254901960784 -0.0666666666666667 0.0117647058823529 0.207843137254902 0.0352941176470589 -0.145098039215686 0.349019607843137 0.152941176470588 -0.0666666666666667 0.458823529411765 0.262745098039216 -0.0117647058823529 0.474509803921569 0.270588235294118 0.0196078431372548 0.513725490196078 0.301960784313726 -0.0117647058823529 0.623529411764706 0.411764705882353 0.113725490196078 0.63921568627451 0.458823529411765 0.27843137254902 0.749019607843137 0.529411764705882 0.215686274509804 0.866666666666667 0.694117647058824 0.537254901960784 -------------------------------------------------------------------------------- /dataset/0032.images.data: -------------------------------------------------------------------------------- 1 | -1 -1 -1 -0.592156862745098 -0.592156862745098 -0.576470588235294 -0.388235294117647 -0.482352941176471 -0.56078431372549 -0.2 -0.364705882352941 -0.545098039215686 0.00392156862745097 -0.247058823529412 -0.513725490196078 0.12156862745098 -0.0509803921568628 -0.403921568627451 0.388235294117647 -0.0901960784313726 -0.498039215686275 0.435294117647059 0.12156862745098 -0.254901960784314 0.545098039215686 0.317647058823529 0.0431372549019609 0.686274509803922 0.576470588235294 0.419607843137255 -------------------------------------------------------------------------------- /dataset/0032.resources.data: -------------------------------------------------------------------------------- 1 | -0.819607843137255 -0.882352941176471 -0.898039215686275 -0.0901960784313726 -0.152941176470588 -0.435294117647059 -0.592156862745098 -0.592156862745098 -0.576470588235294 -0.443137254901961 -0.529411764705882 -0.568627450980392 -0.168627450980392 -0.137254901960784 -0.552941176470588 -0.145098039215686 -0.349019607843137 -0.545098039215686 0.12156862745098 -0.129411764705882 -0.419607843137255 0.254901960784314 0.0666666666666667 -0.545098039215686 0.356862745098039 0.12156862745098 -0.231372549019608 0.607843137254902 0.168627450980392 -0.23921568627451 -0.529411764705882 -0.458823529411765 -0.568627450980392 -0.341176470588235 -0.450980392156863 -0.552941176470588 -0.152941176470588 0.145098039215686 -0.482352941176471 -0.0980392156862745 -0.262745098039216 -0.458823529411765 0.2 -0.2 -0.545098039215686 0.325490196078431 -0.0666666666666667 -0.427450980392157 0.537254901960784 -0.0352941176470588 -0.498039215686275 0.623529411764706 0.482352941176471 0.286274509803922 -------------------------------------------------------------------------------- /dataset/0033.images.data: -------------------------------------------------------------------------------- 1 | -0.843137254901961 -0.850980392156863 -0.905882352941176 -0.670588235294118 -0.623529411764706 -0.749019607843137 -0.545098039215686 -0.741176470588235 -0.92156862745098 -0.380392156862745 -0.325490196078431 -0.592156862745098 -0.270588235294118 -0.584313725490196 -0.850980392156863 0.0117647058823529 0.0666666666666667 -0.427450980392157 0.0196078431372548 -0.372549019607843 -0.756862745098039 0.364705882352941 -0.0823529411764706 -0.63921568627451 0.56078431372549 0.364705882352941 -0.396078431372549 0.874509803921569 0.772549019607843 0.670588235294118 -------------------------------------------------------------------------------- /dataset/0033.resources.data: -------------------------------------------------------------------------------- 1 | -0.819607843137255 -0.882352941176471 -0.898039215686275 -0.0901960784313726 -0.152941176470588 -0.435294117647059 -0.866666666666667 -0.850980392156863 -0.898039215686275 -0.772549019607843 -0.725490196078431 -0.796078431372549 -0.647058823529412 -0.592156862745098 -0.717647058823529 -0.647058823529412 -0.796078431372549 -0.937254901960784 -0.623529411764706 -0.694117647058824 -0.850980392156863 -0.388235294117647 -0.654901960784314 -0.874509803921569 -0.372549019607843 -0.294117647058823 -0.56078431372549 -0.223529411764706 -0.364705882352941 -0.686274509803922 -0.192156862745098 -0.545098039215686 -0.835294117647059 -0.0274509803921569 0.0588235294117647 -0.380392156862745 0.215686274509804 -0.223529411764706 -0.694117647058824 0.262745098039216 0.294117647058824 -0.341176470588235 0.482352941176471 -0.0274509803921569 -0.623529411764706 0.498039215686275 0.294117647058824 -0.427450980392157 0.584313725490196 0.152941176470588 -0.552941176470588 0.647058823529412 0.372549019607843 -0.419607843137255 -------------------------------------------------------------------------------- /dataset/0034.images.data: -------------------------------------------------------------------------------- 1 | -1 -1 -1 -0.803921568627451 -0.803921568627451 -0.803921568627451 -0.607843137254902 -0.607843137254902 -0.607843137254902 -0.411764705882353 -0.411764705882353 -0.411764705882353 -0.215686274509804 -0.215686274509804 -0.215686274509804 -0.0196078431372549 -0.0196078431372549 -0.0196078431372549 0.176470588235294 0.176470588235294 0.176470588235294 0.372549019607843 0.372549019607843 0.372549019607843 0.568627450980392 0.568627450980392 0.568627450980392 0.898039215686274 0.905882352941176 0.905882352941176 -------------------------------------------------------------------------------- /dataset/0034.resources.data: -------------------------------------------------------------------------------- 1 | 0.874509803921569 0.890196078431372 0.92156862745098 -0.380392156862745 -0.286274509803922 -0.2 -0.662745098039216 -0.623529411764706 -0.537254901960784 0.498039215686275 -0.23921568627451 -0.168627450980392 0.27843137254902 0.490196078431373 0.0980392156862746 0.843137254901961 0.592156862745098 0.0901960784313725 0.12156862745098 0.262745098039216 0.403921568627451 0.411764705882353 0.113725490196078 0.356862745098039 0.176470588235294 0.419607843137255 0.411764705882353 0.505882352941176 0.545098039215686 0.615686274509804 -0.207843137254902 -0.0980392156862745 -0.0117647058823529 0.631372549019608 0.0588235294117647 -0.12156862745098 -0.592156862745098 -0.52156862745098 -0.450980392156863 -0.380392156862745 -0.286274509803922 -0.2 0.309803921568627 0.356862745098039 0.458823529411765 0.749019607843137 0.764705882352941 0.819607843137255 0.341176470588235 -0.0509803921568628 -0.192156862745098 0.874509803921569 0.890196078431372 0.92156862745098 -------------------------------------------------------------------------------- /dataset/0035.images.data: -------------------------------------------------------------------------------- 1 | -0.992156862745098 -0.992156862745098 -0.992156862745098 -0.756862745098039 -0.819607843137255 -0.874509803921569 -0.623529411764706 -0.701960784313725 -0.780392156862745 -0.294117647058823 -0.505882352941176 -0.694117647058824 0.00392156862745097 -0.0509803921568628 -0.0980392156862745 0.0196078431372548 -0.317647058823529 -0.623529411764706 0.286274509803922 0.254901960784314 0.223529411764706 0.584313725490196 0.545098039215686 0.513725490196078 0.827450980392157 0.827450980392157 0.811764705882353 0.866666666666667 0.184313725490196 -0.427450980392157 -------------------------------------------------------------------------------- /dataset/0035.resources.data: -------------------------------------------------------------------------------- 1 | -0.568627450980392 -0.662745098039216 -0.741176470588235 0.505882352941176 0.388235294117647 0.0901960784313725 -0.568627450980392 -0.662745098039216 -0.741176470588235 0.63921568627451 -0.0352941176470588 -0.427450980392157 -0.0352941176470588 0.0588235294117647 -0.435294117647059 0.568627450980392 0.419607843137255 -0.286274509803922 -0.12156862745098 0.0117647058823529 0.0431372549019609 0.0352941176470589 -0.12156862745098 0.00392156862745097 -0.12156862745098 0.192156862745098 -0.129411764705882 0.505882352941176 0.388235294117647 0.0901960784313725 -0.435294117647059 -0.529411764705882 -0.741176470588235 0.63921568627451 -0.0352941176470588 -0.427450980392157 -0.0352941176470588 0.0588235294117647 -0.435294117647059 0.568627450980392 0.419607843137255 -0.286274509803922 -0.12156862745098 0.0117647058823529 0.0431372549019609 0.0352941176470589 -0.12156862745098 0.00392156862745097 -0.12156862745098 0.192156862745098 -0.129411764705882 0.505882352941176 0.388235294117647 0.0901960784313725 -------------------------------------------------------------------------------- /dataset/0036.images.data: -------------------------------------------------------------------------------- 1 | -1 -1 -1 -0.741176470588235 -0.67843137254902 -0.654901960784314 -0.670588235294118 -0.615686274509804 -0.6 -0.584313725490196 -0.576470588235294 -0.584313725490196 -0.458823529411765 -0.505882352941176 -0.552941176470588 -0.23921568627451 -0.364705882352941 -0.513725490196078 0.0745098039215686 -0.215686274509804 -0.474509803921569 0.403921568627451 -0.0431372549019607 -0.435294117647059 0.686274509803922 0.247058823529412 -0.341176470588235 0.819607843137255 0.623529411764706 0.176470588235294 -------------------------------------------------------------------------------- /dataset/0036.resources.data: -------------------------------------------------------------------------------- 1 | -0.772549019607843 -0.717647058823529 -0.701960784313725 0.341176470588235 0.223529411764706 -0.113725490196078 -0.552941176470588 -0.443137254901961 -0.419607843137255 0.192156862745098 -0.223529411764706 -0.458823529411765 -0.0588235294117647 0.0196078431372548 -0.427450980392157 0.215686274509804 -0.168627450980392 -0.450980392156863 -0.513725490196078 -0.301960784313726 -0.364705882352941 0.450980392156863 0.145098039215686 -0.419607843137255 -0.270588235294118 -0.0509803921568628 -0.168627450980392 0.184313725490196 -0.0196078431372549 -0.262745098039216 -0.403921568627451 -0.254901960784314 -0.223529411764706 0.380392156862745 -0.0980392156862745 -0.372549019607843 0.0509803921568628 0.137254901960784 -0.364705882352941 0.372549019607843 -0.16078431372549 -0.482352941176471 -0.325490196078431 -0.0431372549019607 -0.137254901960784 0.67843137254902 0.231372549019608 -0.333333333333333 -0.2 0.0431372549019609 -0.0901960784313726 0.341176470588235 0.223529411764706 -0.113725490196078 -------------------------------------------------------------------------------- /dataset/0037.images.data: -------------------------------------------------------------------------------- 1 | -1 -1 -1 -0.803921568627451 -0.803921568627451 -0.803921568627451 -0.607843137254902 -0.607843137254902 -0.607843137254902 -0.411764705882353 -0.411764705882353 -0.411764705882353 -0.0745098039215686 -0.0745098039215686 -0.0745098039215686 -0.0196078431372549 -0.0196078431372549 -0.0196078431372549 0.0274509803921568 0.0274509803921568 0.0274509803921568 0.372549019607843 0.372549019607843 0.372549019607843 0.568627450980392 0.568627450980392 0.568627450980392 0.764705882352941 0.764705882352941 0.764705882352941 -------------------------------------------------------------------------------- /dataset/0037.resources.data: -------------------------------------------------------------------------------- 1 | -0.654901960784314 -0.63921568627451 -0.631372549019608 0.482352941176471 0.482352941176471 0.482352941176471 -0.654901960784314 -0.63921568627451 -0.631372549019608 0.294117647058824 -0.482352941176471 -0.482352941176471 0.129411764705882 0.866666666666667 0.129411764705882 0.882352941176471 0.552941176470588 -0.0901960784313726 -0.396078431372549 -0.192156862745098 0.207843137254902 -0.419607843137255 0.129411764705882 0.952941176470588 -0.262745098039216 0.105882352941177 0.0588235294117647 0.505882352941176 0.505882352941176 0.505882352941176 -0.56078431372549 -0.545098039215686 -0.537254901960784 0.294117647058824 -0.482352941176471 -0.482352941176471 0.129411764705882 0.866666666666667 0.129411764705882 0.882352941176471 0.552941176470588 -0.0901960784313726 -0.396078431372549 -0.192156862745098 0.207843137254902 -0.419607843137255 0.129411764705882 0.952941176470588 -0.262745098039216 0.105882352941177 0.0588235294117647 0.505882352941176 0.505882352941176 0.505882352941176 -------------------------------------------------------------------------------- /dataset/0038.images.data: -------------------------------------------------------------------------------- 1 | -1 -1 -1 -0.592156862745098 -0.709803921568627 -0.482352941176471 -0.450980392156863 -0.615686274509804 -0.435294117647059 -0.270588235294118 -0.490196078431373 -0.372549019607843 -0.0588235294117647 -0.309803921568627 -0.286274509803922 0.168627450980392 -0.0588235294117647 -0.152941176470588 0.364705882352941 0.231372549019608 0.0274509803921568 0.513725490196078 0.474509803921569 0.223529411764706 0.647058823529412 0.670588235294118 0.411764705882353 0.796078431372549 0.835294117647059 0.615686274509804 -------------------------------------------------------------------------------- /dataset/0038.resources.data: -------------------------------------------------------------------------------- 1 | -0.882352941176471 -0.898039215686275 -0.858823529411765 0.490196078431373 0.505882352941176 0.286274509803922 -0.615686274509804 -0.6 -0.764705882352941 0.23921568627451 -0.2 -0.701960784313725 0.568627450980392 0.427450980392157 0.756862745098039 -0.756862745098039 -0.0117647058823529 0.356862745098039 -0.184313725490196 -0.184313725490196 -0.317647058823529 0.952941176470588 0.835294117647059 0.443137254901961 0.733333333333333 0.623529411764706 0.552941176470588 0.6 0.552941176470588 0.435294117647059 -0.333333333333333 -0.364705882352941 -0.56078431372549 0.874509803921569 0.317647058823529 0.341176470588235 0.827450980392157 0.874509803921569 0.819607843137255 0.505882352941176 0.607843137254902 0.843137254901961 -0.474509803921569 0.419607843137255 0.788235294117647 0.686274509803922 0.333333333333333 0.819607843137255 0.803921568627451 0.843137254901961 0.796078431372549 0.63921568627451 0.796078431372549 0.780392156862745 -------------------------------------------------------------------------------- /dataset/0039.images.data: -------------------------------------------------------------------------------- 1 | -0.819607843137255 -0.796078431372549 -0.850980392156863 -0.725490196078431 -0.694117647058824 -0.764705882352941 -0.607843137254902 -0.576470588235294 -0.717647058823529 -0.482352941176471 -0.435294117647059 -0.584313725490196 -0.364705882352941 -0.262745098039216 -0.23921568627451 -0.23921568627451 -0.215686274509804 -0.545098039215686 -0.0588235294117647 0.0745098039215686 0.105882352941177 0.0509803921568628 0.0509803921568628 -0.309803921568627 0.380392156862745 0.364705882352941 0.0666666666666667 0.654901960784314 0.654901960784314 0.458823529411765 -------------------------------------------------------------------------------- /dataset/0039.resources.data: -------------------------------------------------------------------------------- 1 | -0.898039215686275 -0.92156862745098 -0.92156862745098 0.0666666666666667 0.12156862745098 -0.0509803921568628 -0.694117647058824 -0.780392156862745 -0.788235294117647 -0.23921568627451 -0.349019607843137 -0.498039215686275 -0.184313725490196 -0.215686274509804 -0.513725490196078 0.00392156862745097 -0.27843137254902 -0.545098039215686 -0.223529411764706 -0.270588235294118 -0.411764705882353 -0.231372549019608 -0.341176470588235 -0.545098039215686 -0.286274509803922 -0.325490196078431 -0.443137254901961 0.176470588235294 0.0431372549019609 -0.286274509803922 -0.396078431372549 -0.435294117647059 -0.482352941176471 0.317647058823529 -0.0196078431372549 -0.325490196078431 0.474509803921569 0.419607843137255 -0.192156862745098 0.623529411764706 0.474509803921569 0.0901960784313725 0.262745098039216 0.309803921568627 0.0980392156862746 0.490196078431373 0.223529411764706 -0.192156862745098 0.411764705882353 0.396078431372549 -0.184313725490196 0.796078431372549 0.733333333333333 0.490196078431373 -------------------------------------------------------------------------------- /dataset/0040.images.data: -------------------------------------------------------------------------------- 1 | -1 -1 -1 -0.615686274509804 -0.6 -0.584313725490196 -0.482352941176471 -0.474509803921569 -0.474509803921569 -0.372549019607843 -0.364705882352941 -0.356862745098039 -0.247058823529412 -0.231372549019608 -0.215686274509804 -0.0901960784313726 -0.0745098039215686 -0.0431372549019607 0.0823529411764705 0.145098039215686 0.223529411764706 0.333333333333333 0.325490196078431 0.325490196078431 0.537254901960784 0.529411764705882 0.513725490196078 0.717647058823529 0.686274509803922 0.63921568627451 -------------------------------------------------------------------------------- /dataset/0040.resources.data: -------------------------------------------------------------------------------- 1 | -0.741176470588235 -0.756862745098039 -0.772549019607843 0.607843137254902 0.584313725490196 0.419607843137255 -0.788235294117647 -0.788235294117647 -0.772549019607843 0.23921568627451 -0.490196078431373 -0.529411764705882 0.0117647058823529 0.223529411764706 -0.654901960784314 0.466666666666667 0.129411764705882 -0.709803921568627 -0.403921568627451 -0.0509803921568628 0.207843137254902 0.23921568627451 0.129411764705882 0.403921568627451 -0.325490196078431 0.0745098039215686 -0.0980392156862745 0.372549019607843 0.419607843137255 0.403921568627451 -0.411764705882353 -0.490196078431373 -0.466666666666667 0.843137254901961 -0.176470588235294 -0.231372549019608 0.372549019607843 0.615686274509804 -0.450980392156863 0.866666666666667 0.294117647058824 -0.576470588235294 -0.207843137254902 0.16078431372549 0.411764705882353 0.0431372549019609 0.0823529411764705 0.458823529411765 0.00392156862745097 0.474509803921569 0.443137254901961 0.631372549019608 0.623529411764706 0.56078431372549 -------------------------------------------------------------------------------- /dataset/0041.images.data: -------------------------------------------------------------------------------- 1 | -0.882352941176471 -0.827450980392157 -0.764705882352941 -0.772549019607843 -0.717647058823529 -0.662745098039216 -0.654901960784314 -0.6 -0.545098039215686 -0.505882352941176 -0.450980392156863 -0.403921568627451 -0.309803921568627 -0.254901960784314 -0.215686274509804 -0.0980392156862745 -0.0431372549019607 -0.0117647058823529 0.137254901960784 0.184313725490196 0.2 0.411764705882353 0.443137254901961 0.443137254901961 0.654901960784314 0.670588235294118 0.654901960784314 0.866666666666667 0.866666666666667 0.858823529411765 -------------------------------------------------------------------------------- /dataset/0041.resources.data: -------------------------------------------------------------------------------- 1 | -0.874509803921569 -0.835294117647059 -0.905882352941176 0.670588235294118 0.725490196078431 0.584313725490196 -0.803921568627451 -0.764705882352941 -0.772549019607843 0.615686274509804 -0.592156862745098 -0.568627450980392 -0.270588235294118 0.0588235294117647 0.2 -0.0196078431372549 0.309803921568627 0.129411764705882 -0.498039215686275 0.0509803921568628 0.113725490196078 0.192156862745098 -0.623529411764706 -0.443137254901961 0.247058823529412 0.0823529411764705 0.207843137254902 0.709803921568627 0.756862745098039 0.780392156862745 -0.623529411764706 -0.631372549019608 -0.670588235294118 0.850980392156863 -0.254901960784314 -0.215686274509804 -0.443137254901961 -0.0588235294117647 0.184313725490196 0.0431372549019609 0.23921568627451 0.309803921568627 -0.435294117647059 0.356862745098039 0.443137254901961 0.435294117647059 -0.349019607843137 0.0588235294117647 0.490196078431373 0.0823529411764705 0.184313725490196 0.905882352941176 0.913725490196079 0.898039215686274 -------------------------------------------------------------------------------- /dataset/0042.images.data: -------------------------------------------------------------------------------- 1 | -0.929411764705882 -0.905882352941176 -0.835294117647059 -0.843137254901961 -0.803921568627451 -0.717647058823529 -0.741176470588235 -0.709803921568627 -0.615686274509804 -0.63921568627451 -0.592156862745098 -0.490196078431373 -0.513725490196078 -0.458823529411765 -0.349019607843137 -0.364705882352941 -0.309803921568627 -0.215686274509804 -0.176470588235294 -0.129411764705882 -0.0666666666666667 0.0431372549019609 0.0901960784313725 0.137254901960784 0.309803921568627 0.356862745098039 0.388235294117647 0.662745098039216 0.686274509803922 0.694117647058824 -------------------------------------------------------------------------------- /dataset/0042.resources.data: -------------------------------------------------------------------------------- 1 | -0.92156862745098 -0.937254901960784 -0.929411764705882 0.568627450980392 0.584313725490196 0.6 -0.709803921568627 -0.709803921568627 -0.709803921568627 -0.623529411764706 -0.670588235294118 -0.631372549019608 -0.231372549019608 -0.145098039215686 -0.207843137254902 -0.145098039215686 -0.403921568627451 -0.427450980392157 -0.396078431372549 -0.364705882352941 -0.0745098039215686 0.0666666666666667 0.0980392156862746 0.0745098039215686 -0.0901960784313726 0.0196078431372548 0.0509803921568628 -0.0431372549019607 -0.0431372549019607 0.0509803921568628 -0.537254901960784 -0.513725490196078 -0.498039215686275 0.145098039215686 -0.23921568627451 -0.176470588235294 0.231372549019608 0.349019607843137 -0.0745098039215686 0.592156862745098 0.333333333333333 0.223529411764706 0.286274509803922 0.317647058823529 0.568627450980392 0.537254901960784 0.474509803921569 0.647058823529412 0.513725490196078 0.6 0.654901960784314 0.756862745098039 0.749019607843137 0.827450980392157 -------------------------------------------------------------------------------- /dataset/0043.images.data: -------------------------------------------------------------------------------- 1 | -0.694117647058824 -0.709803921568627 -0.701960784313725 -0.631372549019608 -0.631372549019608 -0.623529411764706 -0.529411764705882 -0.529411764705882 -0.52156862745098 -0.411764705882353 -0.411764705882353 -0.411764705882353 -0.27843137254902 -0.270588235294118 -0.270588235294118 -0.129411764705882 -0.12156862745098 -0.12156862745098 0.0352941176470589 0.0431372549019609 0.0431372549019609 0.223529411764706 0.231372549019608 0.231372549019608 0.388235294117647 0.403921568627451 0.403921568627451 0.552941176470588 0.584313725490196 0.592156862745098 -------------------------------------------------------------------------------- /dataset/0043.resources.data: -------------------------------------------------------------------------------- 1 | -0.811764705882353 -0.874509803921569 -0.811764705882353 0.372549019607843 0.466666666666667 0.450980392156863 -0.858823529411765 -0.788235294117647 -0.788235294117647 -0.16078431372549 -0.67843137254902 -0.670588235294118 -0.396078431372549 -0.372549019607843 -0.850980392156863 -0.0431372549019607 -0.427450980392157 -0.811764705882353 -0.411764705882353 -0.231372549019608 -0.207843137254902 0.137254901960784 -0.325490196078431 -0.419607843137255 -0.333333333333333 -0.0745098039215686 -0.231372549019608 0.372549019607843 0.411764705882353 0.247058823529412 -0.411764705882353 -0.262745098039216 -0.286274509803922 0.63921568627451 0.0980392156862746 -0.0509803921568628 0.325490196078431 0.262745098039216 -0.576470588235294 0.568627450980392 0.372549019607843 -0.27843137254902 0.427450980392157 0.498039215686275 0.349019607843137 0.709803921568627 0.443137254901961 0.301960784313726 0.552941176470588 0.607843137254902 0.403921568627451 0.952941176470588 0.937254901960784 0.937254901960784 -------------------------------------------------------------------------------- /dataset/0044.images.data: -------------------------------------------------------------------------------- 1 | -0.929411764705882 -0.929411764705882 -0.945098039215686 -0.803921568627451 -0.803921568627451 -0.835294117647059 -0.67843137254902 -0.67843137254902 -0.725490196078431 -0.537254901960784 -0.529411764705882 -0.568627450980392 -0.388235294117647 -0.388235294117647 -0.403921568627451 -0.207843137254902 -0.215686274509804 -0.23921568627451 -0.00392156862745097 -0.00392156862745097 -0.0431372549019607 0.223529411764706 0.215686274509804 0.184313725490196 0.482352941176471 0.482352941176471 0.474509803921569 0.811764705882353 0.811764705882353 0.803921568627451 -------------------------------------------------------------------------------- /dataset/0044.resources.data: -------------------------------------------------------------------------------- 1 | -0.866666666666667 -0.898039215686275 -0.882352941176471 0.388235294117647 0.372549019607843 0.137254901960784 -0.827450980392157 -0.796078431372549 -0.819607843137255 -0.380392156862745 -0.67843137254902 -0.670588235294118 -0.105882352941176 -0.223529411764706 -0.686274509803922 -0.262745098039216 -0.356862745098039 -0.725490196078431 -0.443137254901961 -0.192156862745098 -0.176470588235294 0.129411764705882 -0.215686274509804 -0.254901960784314 -0.341176470588235 -0.2 -0.223529411764706 0.27843137254902 0.231372549019608 0.0352941176470589 -0.482352941176471 -0.427450980392157 -0.545098039215686 0.270588235294118 0.0352941176470589 -0.176470588235294 0.607843137254902 0.482352941176471 -0.192156862745098 0.443137254901961 0.411764705882353 -0.168627450980392 0.435294117647059 0.513725490196078 0.396078431372549 0.725490196078431 0.490196078431373 0.152941176470588 0.56078431372549 0.552941176470588 0.411764705882353 0.874509803921569 0.858823529411765 0.756862745098039 -------------------------------------------------------------------------------- /dataset/0045.images.data: -------------------------------------------------------------------------------- 1 | -0.96078431372549 -0.96078431372549 -0.96078431372549 -0.819607843137255 -0.819607843137255 -0.819607843137255 -0.67843137254902 -0.67843137254902 -0.67843137254902 -0.52156862745098 -0.52156862745098 -0.52156862745098 -0.333333333333333 -0.333333333333333 -0.333333333333333 -0.145098039215686 -0.145098039215686 -0.145098039215686 0.0431372549019609 0.0431372549019609 0.0431372549019609 0.2 0.2 0.2 0.372549019607843 0.372549019607843 0.372549019607843 0.63921568627451 0.63921568627451 0.63921568627451 -------------------------------------------------------------------------------- /dataset/0045.resources.data: -------------------------------------------------------------------------------- 1 | -0.96078431372549 -0.976470588235294 -0.96078431372549 0.215686274509804 0.192156862745098 -0.105882352941176 -0.803921568627451 -0.850980392156863 -0.796078431372549 -0.262745098039216 -0.6 -0.474509803921569 -0.0666666666666667 -0.12156862745098 -0.498039215686275 0.16078431372549 -0.262745098039216 -0.52156862745098 -0.215686274509804 -0.0509803921568628 -0.0588235294117647 0.341176470588235 0.0666666666666667 -0.0431372549019607 -0.0117647058823529 0.0274509803921568 -0.0352941176470588 0.215686274509804 0.168627450980392 0.0745098039215686 -0.23921568627451 -0.23921568627451 -0.341176470588235 0.372549019607843 -0.0509803921568628 -0.168627450980392 0.301960784313726 0.309803921568627 -0.403921568627451 0.403921568627451 0.192156862745098 -0.286274509803922 0.364705882352941 0.309803921568627 0.184313725490196 0.615686274509804 0.380392156862745 0.16078431372549 0.592156862745098 0.52156862745098 0.364705882352941 0.819607843137255 0.741176470588235 0.545098039215686 -------------------------------------------------------------------------------- /dataset/0046.images.data: -------------------------------------------------------------------------------- 1 | -0.788235294117647 -0.827450980392157 -0.749019607843137 -0.654901960784314 -0.717647058823529 -0.686274509803922 -0.513725490196078 -0.6 -0.552941176470588 -0.364705882352941 -0.458823529411765 -0.403921568627451 -0.16078431372549 -0.301960784313726 -0.286274509803922 -0.0901960784313726 -0.137254901960784 0.0431372549019609 0.23921568627451 -0.0352941176470588 -0.137254901960784 0.23921568627451 0.184313725490196 0.356862745098039 0.592156862745098 0.286274509803922 0.0980392156862746 0.694117647058824 0.584313725490196 0.6 -------------------------------------------------------------------------------- /dataset/0046.resources.data: -------------------------------------------------------------------------------- 1 | -0.874509803921569 -0.890196078431372 -0.803921568627451 0.168627450980392 0.372549019607843 0.380392156862745 -0.890196078431372 -0.819607843137255 -0.866666666666667 -0.23921568627451 -0.764705882352941 -0.623529411764706 0.215686274509804 0.113725490196078 -0.788235294117647 0.356862745098039 -0.176470588235294 -0.764705882352941 -0.388235294117647 0.176470588235294 0.701960784313725 0.662745098039216 0.113725490196078 0.6 -0.647058823529412 -0.0352941176470588 -0.0431372549019607 -0.247058823529412 -0.105882352941176 0.254901960784314 -0.615686274509804 -0.505882352941176 -0.52156862745098 0.866666666666667 -0.176470588235294 -0.0588235294117647 0.945098039215686 0.890196078431372 -0.443137254901961 0.584313725490196 0.733333333333333 -0.176470588235294 0.6 0.576470588235294 0.631372549019608 0.913725490196079 0.654901960784314 0.474509803921569 0.709803921568627 0.929411764705882 0.898039215686274 0.741176470588235 0.850980392156863 0.858823529411765 -------------------------------------------------------------------------------- /dataset/0047.images.data: -------------------------------------------------------------------------------- 1 | -0.835294117647059 -0.858823529411765 -0.850980392156863 -0.733333333333333 -0.764705882352941 -0.756862745098039 -0.670588235294118 -0.694117647058824 -0.686274509803922 -0.490196078431373 -0.505882352941176 -0.498039215686275 -0.270588235294118 -0.301960784313726 -0.301960784313726 -0.0588235294117647 -0.0745098039215686 -0.0666666666666667 0.184313725490196 0.168627450980392 0.176470588235294 0.443137254901961 0.435294117647059 0.443137254901961 0.725490196078431 0.717647058823529 0.725490196078431 0.984313725490196 0.984313725490196 0.984313725490196 -------------------------------------------------------------------------------- /dataset/0047.resources.data: -------------------------------------------------------------------------------- 1 | -0.811764705882353 -0.803921568627451 -0.835294117647059 0.749019607843137 0.725490196078431 0.482352941176471 -0.733333333333333 -0.772549019607843 -0.749019607843137 0.552941176470588 -0.623529411764706 -0.662745098039216 -0.0274509803921569 0.0666666666666667 0.223529411764706 -0.215686274509804 0.152941176470588 0.0117647058823529 -0.301960784313726 -0.0509803921568628 -0.137254901960784 0.207843137254902 -0.694117647058824 -0.63921568627451 0.505882352941176 0.215686274509804 0.145098039215686 0.874509803921569 0.811764705882353 0.717647058823529 -0.686274509803922 -0.741176470588235 -0.780392156862745 0.701960784313725 -0.537254901960784 -0.482352941176471 -0.388235294117647 -0.0823529411764706 0.0745098039215686 -0.0196078431372549 0.113725490196078 0.0980392156862746 -0.427450980392157 0.0901960784313725 0.23921568627451 0.341176470588235 -0.607843137254902 -0.317647058823529 0.396078431372549 0.0274509803921568 -0.00392156862745097 0.819607843137255 0.874509803921569 0.772549019607843 -------------------------------------------------------------------------------- /dataset/0048.images.data: -------------------------------------------------------------------------------- 1 | -0.890196078431372 -0.890196078431372 -0.850980392156863 -0.803921568627451 -0.796078431372549 -0.756862745098039 -0.709803921568627 -0.686274509803922 -0.662745098039216 -0.607843137254902 -0.568627450980392 -0.568627450980392 -0.474509803921569 -0.419607843137255 -0.466666666666667 -0.333333333333333 -0.27843137254902 -0.356862745098039 -0.184313725490196 -0.145098039215686 -0.247058823529412 -0.0117647058823529 0.0117647058823529 -0.12156862745098 0.254901960784314 0.23921568627451 0.0745098039215686 0.647058823529412 0.56078431372549 0.403921568627451 -------------------------------------------------------------------------------- /dataset/0048.resources.data: -------------------------------------------------------------------------------- 1 | -0.850980392156863 -0.819607843137255 -0.835294117647059 0.458823529411765 0.427450980392157 0.231372549019608 -0.647058823529412 -0.67843137254902 -0.67843137254902 -0.23921568627451 -0.403921568627451 -0.537254901960784 0.301960784313726 0.231372549019608 -0.364705882352941 0.294117647058824 -0.16078431372549 -0.458823529411765 -0.262745098039216 -0.16078431372549 -0.16078431372549 0.396078431372549 0.2 -0.145098039215686 -0.176470588235294 -0.113725490196078 -0.207843137254902 0.403921568627451 0.231372549019608 0.129411764705882 -0.63921568627451 -0.576470588235294 -0.631372549019608 -0.0509803921568628 -0.490196078431373 -0.545098039215686 0.0352941176470589 0.0823529411764705 -0.466666666666667 0.294117647058824 -0.0431372549019607 -0.309803921568627 -0.207843137254902 -0.0352941176470588 0.145098039215686 0.294117647058824 -0.0196078431372549 -0.00392156862745097 -0.231372549019608 -0.0901960784313726 -0.223529411764706 0.654901960784314 0.654901960784314 0.552941176470588 -------------------------------------------------------------------------------- /dataset/0049.images.data: -------------------------------------------------------------------------------- 1 | -0.756862745098039 -0.890196078431372 -0.937254901960784 -0.419607843137255 -0.607843137254902 -0.670588235294118 -0.325490196078431 -0.537254901960784 -0.6 -0.23921568627451 -0.458823529411765 -0.529411764705882 -0.152941176470588 -0.364705882352941 -0.458823529411765 -0.0588235294117647 -0.254901960784314 -0.380392156862745 0.0509803921568628 -0.137254901960784 -0.301960784313726 0.176470588235294 -0.0117647058823529 -0.2 0.333333333333333 0.152941176470588 -0.0666666666666667 0.537254901960784 0.372549019607843 0.105882352941177 -------------------------------------------------------------------------------- /dataset/0049.resources.data: -------------------------------------------------------------------------------- 1 | -0.874509803921569 -0.882352941176471 -0.874509803921569 0.27843137254902 0.223529411764706 -0.137254901960784 -0.694117647058824 -0.631372549019608 -0.482352941176471 -0.552941176470588 -0.356862745098039 -0.443137254901961 -0.137254901960784 -0.129411764705882 -0.254901960784314 -0.458823529411765 -0.325490196078431 -0.176470588235294 -0.215686274509804 -0.254901960784314 -0.6 0.27843137254902 0.23921568627451 -0.505882352941176 0.207843137254902 0.192156862745098 -0.105882352941176 0.56078431372549 0.372549019607843 0.176470588235294 -0.333333333333333 -0.27843137254902 -0.262745098039216 -0.254901960784314 -0.137254901960784 -0.325490196078431 -0.0274509803921569 0.0274509803921568 0.0117647058823529 -0.356862745098039 -0.490196078431373 -0.396078431372549 -0.231372549019608 -0.207843137254902 -0.568627450980392 0.419607843137255 0.2 -0.270588235294118 0.254901960784314 0.0588235294117647 -0.270588235294118 0.662745098039216 0.419607843137255 0.0588235294117647 -------------------------------------------------------------------------------- /dataset/0050.images.data: -------------------------------------------------------------------------------- 1 | -0.874509803921569 -0.882352941176471 -0.905882352941176 -0.788235294117647 -0.819607843137255 -0.866666666666667 -0.709803921568627 -0.756862745098039 -0.819607843137255 -0.63921568627451 -0.662745098039216 -0.756862745098039 -0.56078431372549 -0.568627450980392 -0.694117647058824 -0.458823529411765 -0.474509803921569 -0.623529411764706 -0.254901960784314 -0.356862745098039 -0.513725490196078 -0.0117647058823529 -0.16078431372549 -0.333333333333333 0.262745098039216 0.0901960784313725 -0.0823529411764706 0.568627450980392 0.419607843137255 0.262745098039216 -------------------------------------------------------------------------------- /dataset/0050.resources.data: -------------------------------------------------------------------------------- 1 | -0.984313725490196 -0.945098039215686 -0.945098039215686 -0.12156862745098 -0.0980392156862745 -0.372549019607843 -0.552941176470588 -0.592156862745098 -0.576470588235294 -0.294117647058823 -0.670588235294118 -0.63921568627451 -0.00392156862745097 0.0980392156862746 -0.474509803921569 -0.152941176470588 -0.419607843137255 -0.670588235294118 -0.552941176470588 -0.458823529411765 -0.568627450980392 0.105882352941177 -0.184313725490196 -0.513725490196078 -0.364705882352941 -0.341176470588235 -0.513725490196078 0.12156862745098 -0.0823529411764706 -0.450980392156863 -0.466666666666667 -0.513725490196078 -0.552941176470588 -0.396078431372549 -0.615686274509804 -0.741176470588235 0.349019607843137 0.364705882352941 -0.325490196078431 -0.2 -0.00392156862745097 -0.529411764705882 -0.105882352941176 -0.215686274509804 -0.349019607843137 0.458823529411765 -0.0117647058823529 -0.631372549019608 -0.0745098039215686 -0.0823529411764706 -0.286274509803922 0.372549019607843 0.23921568627451 -0.270588235294118 -------------------------------------------------------------------------------- /dataset/0051.images.data: -------------------------------------------------------------------------------- 1 | -1 -1 -1 -0.803921568627451 -0.803921568627451 -0.803921568627451 -0.662745098039216 -0.592156862745098 -0.52156862745098 -0.545098039215686 -0.411764705882353 -0.364705882352941 -0.411764705882353 -0.262745098039216 -0.270588235294118 -0.231372549019608 -0.0823529411764706 -0.152941176470588 -0.0352941176470588 0.0980392156862746 -0.0352941176470588 0.184313725490196 0.286274509803922 0.0901960784313725 0.568627450980392 0.568627450980392 0.568627450980392 0.764705882352941 0.764705882352941 0.764705882352941 -------------------------------------------------------------------------------- /dataset/0051.resources.data: -------------------------------------------------------------------------------- 1 | -0.929411764705882 -0.945098039215686 -0.945098039215686 0.615686274509804 0.584313725490196 0.427450980392157 -0.874509803921569 -0.858823529411765 -0.866666666666667 -0.325490196078431 -0.647058823529412 -0.694117647058824 -0.301960784313726 -0.325490196078431 -0.725490196078431 -0.0745098039215686 -0.419607843137255 -0.686274509803922 -0.411764705882353 -0.247058823529412 -0.341176470588235 0.00392156862745097 -0.388235294117647 -0.474509803921569 -0.23921568627451 -0.0980392156862745 -0.301960784313726 0.529411764705882 0.52156862745098 0.364705882352941 -0.403921568627451 -0.301960784313726 -0.435294117647059 0.294117647058824 -0.0666666666666667 -0.286274509803922 0.270588235294118 0.16078431372549 -0.466666666666667 0.505882352941176 0.2 -0.270588235294118 0.286274509803922 0.388235294117647 0.223529411764706 0.498039215686275 0.286274509803922 0.00392156862745097 0.388235294117647 0.411764705882353 0.27843137254902 0.882352941176471 0.874509803921569 0.843137254901961 -------------------------------------------------------------------------------- /dataset/0052.images.data: -------------------------------------------------------------------------------- 1 | -0.984313725490196 -1 -1 -0.725490196078431 -0.890196078431372 -0.96078431372549 -0.52156862745098 -0.717647058823529 -0.796078431372549 -0.333333333333333 -0.537254901960784 -0.662745098039216 -0.0980392156862745 -0.317647058823529 -0.576470588235294 0.207843137254902 -0.00392156862745097 -0.403921568627451 0.482352941176471 0.294117647058824 -0.0980392156862745 0.67843137254902 0.529411764705882 0.207843137254902 0.858823529411765 0.756862745098039 0.537254901960784 0.984313725490196 0.976470588235294 0.866666666666667 -------------------------------------------------------------------------------- /dataset/0052.resources.data: -------------------------------------------------------------------------------- 1 | -0.984313725490196 -0.992156862745098 -0.992156862745098 0.858823529411765 0.796078431372549 0.670588235294118 -0.701960784313725 -0.780392156862745 -0.827450980392157 0.568627450980392 -0.380392156862745 -0.584313725490196 0.0274509803921568 0.105882352941177 -0.537254901960784 0.356862745098039 -0.309803921568627 -0.788235294117647 -0.450980392156863 -0.2 -0.113725490196078 0.207843137254902 0.184313725490196 0.23921568627451 -0.16078431372549 -0.0431372549019607 -0.419607843137255 0.380392156862745 0.286274509803922 0.168627450980392 -0.27843137254902 -0.388235294117647 -0.458823529411765 0.764705882352941 -0.215686274509804 -0.380392156862745 0.545098039215686 0.67843137254902 -0.419607843137255 0.929411764705882 0.592156862745098 -0.505882352941176 0.262745098039216 0.301960784313726 0.388235294117647 0.0980392156862746 0.00392156862745097 -0.0745098039215686 -0.0274509803921569 0.427450980392157 0.2 0.576470588235294 0.56078431372549 0.513725490196078 -------------------------------------------------------------------------------- /dataset/0053.images.data: -------------------------------------------------------------------------------- 1 | -0.984313725490196 -0.984313725490196 -0.984313725490196 -0.929411764705882 -0.898039215686275 -0.913725490196078 -0.850980392156863 -0.749019607843137 -0.803921568627451 -0.850980392156863 -0.537254901960784 -0.615686274509804 -0.835294117647059 0.631372549019608 -0.0823529411764706 -0.756862745098039 -0.16078431372549 -0.356862745098039 -0.63921568627451 0.192156862745098 0.207843137254902 -0.286274509803922 0.756862745098039 0.6 0.482352941176471 0.505882352941176 -0.607843137254902 0.545098039215686 0.905882352941176 0.803921568627451 -------------------------------------------------------------------------------- /dataset/0053.resources.data: -------------------------------------------------------------------------------- 1 | -0.835294117647059 -0.796078431372549 -0.819607843137255 0.56078431372549 0.545098039215686 0.490196078431373 -0.843137254901961 -0.843137254901961 -0.843137254901961 0.490196078431373 -0.576470588235294 -0.152941176470588 0.733333333333333 0.835294117647059 0.0509803921568628 0.835294117647059 0.490196078431373 -0.12156862745098 -0.0745098039215686 0.427450980392157 0.811764705882353 0.647058823529412 0.545098039215686 0.898039215686274 -0.184313725490196 0.396078431372549 0.419607843137255 0.207843137254902 0.262745098039216 0.349019607843137 -0.52156862745098 -0.552941176470588 -0.52156862745098 0.545098039215686 -0.788235294117647 -0.607843137254902 0.607843137254902 0.811764705882353 -0.741176470588235 0.811764705882353 0.450980392156863 -0.301960784313726 -0.380392156862745 -0.184313725490196 0.364705882352941 0.16078431372549 0.129411764705882 0.749019607843137 -0.419607843137255 0.584313725490196 0.584313725490196 -0.23921568627451 -0.12156862745098 -0.0901960784313726 -------------------------------------------------------------------------------- /dataset/0054.images.data: -------------------------------------------------------------------------------- 1 | -0.952941176470588 -0.976470588235294 -0.803921568627451 -0.6 -0.733333333333333 -0.623529411764706 -0.505882352941176 -0.184313725490196 -0.247058823529412 -0.388235294117647 -0.529411764705882 -0.52156862745098 -0.137254901960784 -0.0901960784313726 -0.27843137254902 -0.113725490196078 -0.325490196078431 -0.474509803921569 0.16078431372549 -0.0509803921568628 -0.380392156862745 0.490196078431373 0.231372549019608 -0.294117647058823 0.568627450980392 0.568627450980392 0.568627450980392 0.764705882352941 0.764705882352941 0.764705882352941 -------------------------------------------------------------------------------- /dataset/0054.resources.data: -------------------------------------------------------------------------------- 1 | -0.686274509803922 -0.764705882352941 -0.796078431372549 0.52156862745098 0.419607843137255 -0.0117647058823529 -0.866666666666667 -0.811764705882353 -0.811764705882353 0.129411764705882 -0.576470588235294 -0.631372549019608 -0.113725490196078 -0.207843137254902 -0.850980392156863 0.356862745098039 -0.262745098039216 -0.788235294117647 -0.137254901960784 -0.0823529411764706 -0.349019607843137 0.23921568627451 -0.443137254901961 -0.568627450980392 -0.176470588235294 -0.0666666666666667 -0.270588235294118 0.717647058823529 0.529411764705882 0.152941176470588 -0.396078431372549 -0.286274509803922 -0.466666666666667 0.482352941176471 -0.0352941176470588 -0.349019607843137 0.27843137254902 0.286274509803922 -0.623529411764706 0.615686274509804 0.113725490196078 -0.513725490196078 0.270588235294118 0.349019607843137 0.113725490196078 0.733333333333333 0.0901960784313725 -0.137254901960784 0.341176470588235 0.388235294117647 -0.0196078431372549 0.937254901960784 0.835294117647059 0.764705882352941 -------------------------------------------------------------------------------- /dataset/0055.images.data: -------------------------------------------------------------------------------- 1 | -0.945098039215686 -0.984313725490196 -0.858823529411765 -0.811764705882353 -0.898039215686275 -0.584313725490196 -0.67843137254902 -0.317647058823529 0.254901960784314 -0.654901960784314 -0.803921568627451 -0.333333333333333 -0.576470588235294 -0.6 -0.0509803921568628 -0.301960784313726 -0.0901960784313726 0.356862745098039 -0.192156862745098 0.23921568627451 0.6 0.2 0.576470588235294 0.819607843137255 0.396078431372549 0.286274509803922 -0.00392156862745097 0.835294117647059 0.843137254901961 0.803921568627451 -------------------------------------------------------------------------------- /dataset/0055.resources.data: -------------------------------------------------------------------------------- 1 | -0.835294117647059 -0.827450980392157 -0.780392156862745 0.615686274509804 0.576470588235294 0.568627450980392 -0.811764705882353 -0.694117647058824 -0.615686274509804 0.796078431372549 -0.545098039215686 -0.584313725490196 0.670588235294118 0.764705882352941 0.450980392156863 0.717647058823529 0.435294117647059 0.372549019607843 -0.317647058823529 0.0588235294117647 0.607843137254902 0.592156862745098 -0.309803921568627 0.513725490196078 -0.192156862745098 0.2 0.294117647058824 -0.317647058823529 -0.388235294117647 -0.592156862745098 -0.576470588235294 -0.607843137254902 -0.725490196078431 0.882352941176471 -0.764705882352941 -0.607843137254902 0.850980392156863 0.874509803921569 0.0117647058823529 0.858823529411765 0.788235294117647 0.490196078431373 -0.450980392156863 0.0901960784313725 0.717647058823529 0.490196078431373 -0.396078431372549 0.733333333333333 -0.0431372549019607 0.584313725490196 0.647058823529412 -0.215686274509804 -0.262745098039216 -0.0509803921568628 -------------------------------------------------------------------------------- /dataset/0056.images.data: -------------------------------------------------------------------------------- 1 | -0.905882352941176 -0.874509803921569 -0.843137254901961 -0.686274509803922 -0.686274509803922 -0.654901960784314 -0.474509803921569 -0.513725490196078 -0.505882352941176 -0.294117647058823 -0.364705882352941 -0.372549019607843 -0.129411764705882 -0.223529411764706 -0.23921568627451 0.0431372549019609 -0.0666666666666667 -0.105882352941176 0.23921568627451 0.0980392156862746 0.00392156862745097 0.396078431372549 0.231372549019608 0.113725490196078 0.545098039215686 0.372549019607843 0.23921568627451 0.717647058823529 0.537254901960784 0.396078431372549 -------------------------------------------------------------------------------- /dataset/0056.resources.data: -------------------------------------------------------------------------------- 1 | -0.788235294117647 -0.827450980392157 -0.827450980392157 -0.192156862745098 -0.176470588235294 -0.301960784313726 -0.717647058823529 -0.63921568627451 -0.67843137254902 -0.513725490196078 -0.615686274509804 -0.498039215686275 -0.0352941176470588 -0.301960784313726 -0.529411764705882 -0.458823529411765 -0.380392156862745 -0.474509803921569 -0.286274509803922 -0.0431372549019607 -0.0823529411764706 0.333333333333333 -0.0196078431372549 0.286274509803922 0.0823529411764705 0.27843137254902 0.207843137254902 -0.0901960784313726 -0.0274509803921569 -0.0196078431372549 0.403921568627451 0.388235294117647 0.356862745098039 0.631372549019608 0.372549019607843 0.192156862745098 0.662745098039216 0.427450980392157 0.129411764705882 0.168627450980392 0.396078431372549 0.0274509803921568 0.686274509803922 0.537254901960784 0.223529411764706 0.788235294117647 0.67843137254902 0.529411764705882 0.741176470588235 0.756862745098039 0.67843137254902 0.819607843137255 0.749019607843137 0.545098039215686 -------------------------------------------------------------------------------- /dataset/0057.images.data: -------------------------------------------------------------------------------- 1 | -0.905882352941176 -0.929411764705882 -0.858823529411765 -0.701960784313725 -0.662745098039216 -0.6 -0.490196078431373 -0.435294117647059 -0.403921568627451 -0.262745098039216 -0.184313725490196 -0.176470588235294 -0.0901960784313726 -0.270588235294118 -0.568627450980392 -0.0823529411764706 0.0823529411764705 0.129411764705882 0.176470588235294 0.00392156862745097 -0.356862745098039 0.231372549019608 0.403921568627451 0.403921568627451 0.56078431372549 0.380392156862745 -0.0980392156862745 0.764705882352941 0.756862745098039 0.552941176470588 -------------------------------------------------------------------------------- /dataset/0057.resources.data: -------------------------------------------------------------------------------- 1 | -0.749019607843137 -0.741176470588235 -0.749019607843137 0.27843137254902 0.286274509803922 0.16078431372549 -0.827450980392157 -0.796078431372549 -0.772549019607843 -0.701960784313725 -0.411764705882353 -0.419607843137255 -0.16078431372549 -0.23921568627451 -0.552941176470588 -0.286274509803922 -0.27843137254902 -0.427450980392157 0.0431372549019609 0.0274509803921568 0.0431372549019609 0.419607843137255 0.27843137254902 0.16078431372549 -0.137254901960784 0.270588235294118 0.192156862745098 0.372549019607843 0.372549019607843 0.529411764705882 0.396078431372549 0.380392156862745 0.396078431372549 0.615686274509804 0.419607843137255 0.325490196078431 0.819607843137255 0.631372549019608 0.145098039215686 0.349019607843137 0.231372549019608 -0.0352941176470588 0.52156862745098 0.466666666666667 0.286274509803922 0.843137254901961 0.772549019607843 0.537254901960784 0.701960784313725 0.866666666666667 0.756862745098039 0.874509803921569 0.780392156862745 0.686274509803922 -------------------------------------------------------------------------------- /dataset/0058.images.data: -------------------------------------------------------------------------------- 1 | -0.874509803921569 -0.796078431372549 -0.756862745098039 -0.780392156862745 -0.733333333333333 -0.647058823529412 -0.67843137254902 -0.56078431372549 -0.513725490196078 -0.513725490196078 -0.364705882352941 -0.380392156862745 -0.333333333333333 -0.137254901960784 -0.223529411764706 -0.12156862745098 0.0823529411764705 -0.0823529411764706 0.12156862745098 0.247058823529412 0.0431372549019609 0.435294117647059 0.443137254901961 0.192156862745098 0.780392156862745 0.701960784313725 0.411764705882353 0.929411764705882 0.882352941176471 0.63921568627451 -------------------------------------------------------------------------------- /dataset/0058.resources.data: -------------------------------------------------------------------------------- 1 | -0.984313725490196 -0.984313725490196 -0.968627450980392 0.654901960784314 0.701960784313725 0.647058823529412 -0.874509803921569 -0.874509803921569 -0.890196078431372 0.294117647058824 -0.474509803921569 -0.435294117647059 0.105882352941177 0.505882352941176 -0.427450980392157 0.741176470588235 0.0745098039215686 -0.482352941176471 -0.309803921568627 -0.0117647058823529 -0.0588235294117647 0.0588235294117647 0.223529411764706 0.749019607843137 -0.145098039215686 0.16078431372549 -0.0274509803921569 0.16078431372549 0.16078431372549 0.0980392156862746 -0.184313725490196 -0.301960784313726 -0.349019607843137 0.725490196078431 -0.247058823529412 -0.294117647058823 0.741176470588235 0.898039215686274 0.113725490196078 0.929411764705882 0.709803921568627 0.0352941176470589 0.23921568627451 0.317647058823529 0.270588235294118 0.27843137254902 0.356862745098039 0.6 0.349019607843137 0.741176470588235 0.670588235294118 0.52156862745098 0.545098039215686 0.552941176470588 -------------------------------------------------------------------------------- /dataset/0059.images.data: -------------------------------------------------------------------------------- 1 | -0.874509803921569 -0.866666666666667 -0.803921568627451 -0.733333333333333 -0.749019607843137 -0.756862745098039 -0.545098039215686 -0.607843137254902 -0.67843137254902 -0.341176470588235 -0.411764705882353 -0.537254901960784 -0.152941176470588 -0.2 -0.356862745098039 -0.0117647058823529 -0.0117647058823529 -0.16078431372549 0.223529411764706 0.215686274509804 0.0666666666666667 0.435294117647059 0.192156862745098 -0.317647058823529 0.529411764705882 0.403921568627451 0.176470588235294 0.741176470588235 0.701960784313725 0.654901960784314 -------------------------------------------------------------------------------- /dataset/0059.resources.data: -------------------------------------------------------------------------------- 1 | -0.819607843137255 -0.858823529411765 -0.874509803921569 0.458823529411765 0.466666666666667 0.286274509803922 -0.717647058823529 -0.764705882352941 -0.788235294117647 -0.0431372549019607 -0.372549019607843 -0.647058823529412 -0.309803921568627 -0.341176470588235 -0.443137254901961 0.0745098039215686 -0.254901960784314 -0.513725490196078 -0.403921568627451 -0.380392156862745 -0.349019607843137 -0.168627450980392 -0.215686274509804 -0.317647058823529 -0.207843137254902 -0.0588235294117647 -0.23921568627451 0.0588235294117647 -0.0745098039215686 -0.168627450980392 -0.505882352941176 -0.505882352941176 -0.568627450980392 0.552941176470588 0.12156862745098 -0.152941176470588 0.325490196078431 0.317647058823529 -0.0117647058823529 0.835294117647059 0.568627450980392 0.168627450980392 0.325490196078431 0.270588235294118 0.317647058823529 0.466666666666667 0.223529411764706 0.294117647058824 0.333333333333333 0.482352941176471 0.223529411764706 0.490196078431373 0.498039215686275 0.482352941176471 -------------------------------------------------------------------------------- /dataset/0060.images.data: -------------------------------------------------------------------------------- 1 | -0.984313725490196 -0.984313725490196 -0.984313725490196 -0.882352941176471 -0.850980392156863 -0.803921568627451 -0.694117647058824 -0.733333333333333 -0.756862745098039 -0.466666666666667 -0.513725490196078 -0.552941176470588 -0.231372549019608 -0.286274509803922 -0.325490196078431 0.0117647058823529 -0.0666666666666667 -0.12156862745098 0.247058823529412 0.145098039215686 0.0745098039215686 0.450980392156863 0.356862745098039 0.294117647058824 0.67843137254902 0.576470588235294 0.505882352941176 0.866666666666667 0.858823529411765 0.858823529411765 -------------------------------------------------------------------------------- /dataset/0060.resources.data: -------------------------------------------------------------------------------- 1 | -0.96078431372549 -0.96078431372549 -0.952941176470588 0.545098039215686 0.63921568627451 0.482352941176471 -0.898039215686275 -0.905882352941176 -0.905882352941176 0.0823529411764705 -0.694117647058824 -0.717647058823529 0.137254901960784 0.152941176470588 -0.772549019607843 0.0117647058823529 -0.372549019607843 -0.835294117647059 -0.6 -0.247058823529412 -0.270588235294118 0.231372549019608 0.247058823529412 0.286274509803922 -0.388235294117647 -0.168627450980392 -0.435294117647059 0.403921568627451 0.513725490196078 0.450980392156863 -0.63921568627451 -0.607843137254902 -0.63921568627451 0.592156862745098 -0.309803921568627 -0.490196078431373 0.717647058823529 0.780392156862745 -0.450980392156863 0.6 0.411764705882353 -0.584313725490196 0.0431372549019609 0.231372549019608 0.0901960784313725 0.145098039215686 0.231372549019608 -0.0823529411764706 0.00392156862745097 0.490196078431373 0.309803921568627 0.803921568627451 0.780392156862745 0.592156862745098 -------------------------------------------------------------------------------- /dataset/0061.images.data: -------------------------------------------------------------------------------- 1 | -1 -1 -1 -0.529411764705882 -0.529411764705882 -0.529411764705882 -0.443137254901961 -0.443137254901961 -0.443137254901961 -0.341176470588235 -0.341176470588235 -0.341176470588235 -0.192156862745098 -0.192156862745098 -0.192156862745098 -0.0431372549019607 -0.0431372549019607 -0.0431372549019607 0.152941176470588 0.152941176470588 0.152941176470588 0.380392156862745 0.380392156862745 0.380392156862745 0.576470588235294 0.576470588235294 0.576470588235294 0.772549019607843 0.772549019607843 0.772549019607843 -------------------------------------------------------------------------------- /dataset/0061.resources.data: -------------------------------------------------------------------------------- 1 | -0.756862745098039 -0.756862745098039 -0.749019607843137 0.6 0.6 0.505882352941176 -0.811764705882353 -0.796078431372549 -0.780392156862745 0.2 -0.592156862745098 -0.552941176470588 -0.231372549019608 0.0352941176470589 -0.623529411764706 0.443137254901961 0.0431372549019609 -0.615686274509804 -0.388235294117647 -0.0745098039215686 0.0666666666666667 -0.0588235294117647 -0.294117647058823 0.0588235294117647 -0.223529411764706 -0.0352941176470588 -0.113725490196078 0.52156862745098 0.545098039215686 0.56078431372549 -0.411764705882353 -0.443137254901961 -0.466666666666667 0.749019607843137 -0.192156862745098 -0.247058823529412 0.0745098039215686 0.317647058823529 -0.388235294117647 0.749019607843137 0.325490196078431 -0.396078431372549 0.0588235294117647 0.317647058823529 0.419607843137255 0.2 0.129411764705882 0.403921568627451 0.254901960784314 0.333333333333333 0.317647058823529 0.796078431372549 0.796078431372549 0.725490196078431 -------------------------------------------------------------------------------- /dataset/0062.images.data: -------------------------------------------------------------------------------- 1 | -0.913725490196078 -0.937254901960784 -0.874509803921569 -0.725490196078431 -0.764705882352941 -0.733333333333333 -0.576470588235294 -0.63921568627451 -0.647058823529412 -0.435294117647059 -0.498039215686275 -0.537254901960784 -0.23921568627451 -0.341176470588235 -0.450980392156863 0.0196078431372548 -0.152941176470588 -0.364705882352941 0.294117647058824 0.0823529411764705 -0.254901960784314 0.537254901960784 0.27843137254902 -0.145098039215686 0.725490196078431 0.458823529411765 0.0117647058823529 0.874509803921569 0.615686274509804 0.184313725490196 -------------------------------------------------------------------------------- /dataset/0062.resources.data: -------------------------------------------------------------------------------- 1 | -0.780392156862745 -0.780392156862745 -0.796078431372549 0.137254901960784 0.0588235294117647 -0.380392156862745 -0.592156862745098 -0.631372549019608 -0.686274509803922 0.27843137254902 -0.129411764705882 -0.435294117647059 0.215686274509804 0.176470588235294 -0.623529411764706 0.427450980392157 0.0588235294117647 -0.498039215686275 0.113725490196078 0.113725490196078 -0.105882352941176 0.427450980392157 0.0980392156862746 -0.0274509803921569 -0.0274509803921569 -0.0352941176470588 -0.129411764705882 0.709803921568627 0.56078431372549 0.0901960784313725 -0.247058823529412 -0.192156862745098 -0.443137254901961 0.568627450980392 -0.231372549019608 -0.513725490196078 0.254901960784314 0.474509803921569 -0.623529411764706 0.490196078431373 0.0117647058823529 -0.576470588235294 -0.0117647058823529 0.247058823529412 0.0509803921568628 0.254901960784314 -0.129411764705882 -0.168627450980392 -0.301960784313726 -0.270588235294118 -0.215686274509804 0.835294117647059 0.733333333333333 0.545098039215686 -------------------------------------------------------------------------------- /dataset/0063.images.data: -------------------------------------------------------------------------------- 1 | -0.788235294117647 -0.333333333333333 0.0745098039215686 -0.654901960784314 -0.537254901960784 -0.450980392156863 -0.513725490196078 -0.309803921568627 -0.223529411764706 -0.356862745098039 -0.490196078431373 -0.513725490196078 -0.207843137254902 -0.0196078431372549 0.00392156862745097 -0.0666666666666667 -0.231372549019608 -0.403921568627451 0.254901960784314 0.00392156862745097 -0.286274509803922 0.411764705882353 0.372549019607843 0.0117647058823529 0.631372549019608 0.262745098039216 -0.270588235294118 0.819607843137255 0.584313725490196 -0.0274509803921569 -------------------------------------------------------------------------------- /dataset/0063.resources.data: -------------------------------------------------------------------------------- 1 | -0.67843137254902 -0.741176470588235 -0.756862745098039 -0.0980392156862745 -0.168627450980392 -0.490196078431373 -0.545098039215686 -0.568627450980392 -0.647058823529412 0.231372549019608 -0.27843137254902 -0.403921568627451 0.458823529411765 0.223529411764706 -0.733333333333333 0.294117647058824 -0.00392156862745097 -0.56078431372549 0.0666666666666667 0.247058823529412 0.0431372549019609 0.498039215686275 0.0352941176470589 0.168627450980392 -0.129411764705882 0.0431372549019609 -0.152941176470588 0.63921568627451 0.52156862745098 0.0274509803921568 -0.0117647058823529 0.0117647058823529 -0.231372549019608 0.505882352941176 -0.364705882352941 -0.6 0.647058823529412 0.513725490196078 -0.686274509803922 0.372549019607843 0.105882352941177 -0.615686274509804 0.254901960784314 0.388235294117647 0.0901960784313725 0.490196078431373 0.00392156862745097 -0.137254901960784 -0.137254901960784 0.129411764705882 -0.254901960784314 0.858823529411765 0.796078431372549 0.529411764705882 -------------------------------------------------------------------------------- /dataset/0064.images.data: -------------------------------------------------------------------------------- 1 | -0.929411764705882 -0.929411764705882 -0.937254901960784 -0.788235294117647 -0.835294117647059 -0.850980392156863 -0.56078431372549 -0.686274509803922 -0.733333333333333 -0.286274509803922 -0.270588235294118 -0.325490196078431 -0.145098039215686 -0.52156862745098 -0.654901960784314 0.152941176470588 0.270588235294118 0.27843137254902 0.231372549019608 -0.137254901960784 -0.333333333333333 0.615686274509804 0.215686274509804 -0.0588235294117647 0.709803921568627 0.466666666666667 0.262745098039216 0.772549019607843 0.725490196078431 0.654901960784314 -------------------------------------------------------------------------------- /dataset/0064.resources.data: -------------------------------------------------------------------------------- 1 | -0.937254901960784 -0.92156862745098 -0.913725490196078 0.890196078431372 0.882352941176471 0.890196078431372 -0.56078431372549 -0.701960784313725 -0.654901960784314 0.843137254901961 -0.388235294117647 -0.184313725490196 0.184313725490196 0.482352941176471 0.0196078431372548 0.905882352941176 0.356862745098039 -0.294117647058823 -0.364705882352941 0.231372549019608 0.717647058823529 -0.0196078431372549 -0.333333333333333 0.52156862745098 0.223529411764706 0.552941176470588 0.56078431372549 0.00392156862745097 -0.129411764705882 0.00392156862745097 -0.184313725490196 -0.341176470588235 -0.317647058823529 0.92156862745098 -0.27843137254902 -0.12156862745098 -0.0431372549019607 0.6 -0.615686274509804 0.984313725490196 0.647058823529412 -0.270588235294118 0.137254901960784 0.435294117647059 0.811764705882353 0.482352941176471 -0.0745098039215686 0.850980392156863 0.145098039215686 0.686274509803922 0.780392156862745 0.443137254901961 0.192156862745098 0.262745098039216 -------------------------------------------------------------------------------- /dataset/0065.images.data: -------------------------------------------------------------------------------- 1 | -0.772549019607843 -0.811764705882353 -0.709803921568627 -0.63921568627451 -0.662745098039216 -0.623529411764706 -0.56078431372549 -0.52156862745098 -0.513725490196078 -0.396078431372549 -0.372549019607843 -0.482352941176471 -0.176470588235294 -0.262745098039216 -0.372549019607843 0.105882352941177 -0.105882352941176 -0.262745098039216 0.380392156862745 0.0980392156862746 -0.152941176470588 0.568627450980392 0.435294117647059 0.0980392156862746 0.67843137254902 0.341176470588235 -0.192156862745098 0.890196078431372 0.772549019607843 0.294117647058824 -------------------------------------------------------------------------------- /dataset/0065.resources.data: -------------------------------------------------------------------------------- 1 | -0.92156862745098 -0.952941176470588 -0.952941176470588 0.254901960784314 0.113725490196078 -0.466666666666667 -0.372549019607843 -0.537254901960784 -0.67843137254902 0.333333333333333 -0.184313725490196 -0.537254901960784 0.466666666666667 0.152941176470588 -0.788235294117647 -0.215686274509804 -0.0745098039215686 -0.733333333333333 -0.286274509803922 -0.184313725490196 -0.498039215686275 0.0352941176470589 -0.0980392156862745 -0.176470588235294 0.16078431372549 -0.0352941176470588 -0.223529411764706 0.631372549019608 0.325490196078431 -0.364705882352941 0.00392156862745097 -0.105882352941176 -0.631372549019608 0.223529411764706 -0.301960784313726 -0.686274509803922 0.592156862745098 0.576470588235294 -0.631372549019608 0.756862745098039 0.27843137254902 -0.772549019607843 0.184313725490196 0.286274509803922 -0.137254901960784 -0.184313725490196 -0.27843137254902 -0.333333333333333 -0.396078431372549 -0.176470588235294 -0.482352941176471 0.56078431372549 0.270588235294118 -0.458823529411765 -------------------------------------------------------------------------------- /dataset/0066.images.data: -------------------------------------------------------------------------------- 1 | -1 -1 -1 -0.803921568627451 -0.803921568627451 -0.803921568627451 -0.607843137254902 -0.607843137254902 -0.607843137254902 -0.411764705882353 -0.411764705882353 -0.411764705882353 -0.215686274509804 -0.215686274509804 -0.215686274509804 -0.0196078431372549 -0.0196078431372549 -0.0196078431372549 0.176470588235294 0.176470588235294 0.176470588235294 0.372549019607843 0.372549019607843 0.372549019607843 0.568627450980392 0.568627450980392 0.568627450980392 0.898039215686274 0.905882352941176 0.905882352941176 -------------------------------------------------------------------------------- /dataset/0066.resources.data: -------------------------------------------------------------------------------- 1 | 0.819607843137255 0.819607843137255 0.835294117647059 -0.937254901960784 -0.952941176470588 -0.937254901960784 -0.356862745098039 -0.356862745098039 -0.356862745098039 0.498039215686275 -0.247058823529412 -0.16078431372549 0.466666666666667 0.466666666666667 0.0588235294117647 0.0588235294117647 -0.129411764705882 -0.168627450980392 -0.247058823529412 -0.16078431372549 -0.129411764705882 0.129411764705882 0.0980392156862746 0.223529411764706 0.0666666666666667 0.168627450980392 0.207843137254902 0.819607843137255 0.796078431372549 0.725490196078431 -0.12156862745098 -0.12156862745098 -0.12156862745098 0.0823529411764705 -0.0588235294117647 0.0431372549019609 0.498039215686275 0.372549019607843 -0.105882352941176 0.247058823529412 0.0745098039215686 0.0431372549019609 0.247058823529412 0.301960784313726 0.317647058823529 0.333333333333333 0.309803921568627 0.411764705882353 0.333333333333333 0.466666666666667 0.513725490196078 0.92156862745098 0.92156862745098 0.843137254901961 -------------------------------------------------------------------------------- /dataset/0067.images.data: -------------------------------------------------------------------------------- 1 | -0.835294117647059 -0.843137254901961 -0.850980392156863 -0.780392156862745 -0.811764705882353 -0.843137254901961 -0.694117647058824 -0.756862745098039 -0.819607843137255 -0.56078431372549 -0.686274509803922 -0.796078431372549 -0.356862745098039 -0.584313725490196 -0.764705882352941 0.0117647058823529 -0.458823529411765 -0.717647058823529 0.137254901960784 0.0666666666666667 -0.592156862745098 0.662745098039216 -0.325490196078431 -0.741176470588235 0.811764705882353 0.427450980392157 -0.513725490196078 0.945098039215686 0.890196078431372 0.505882352941176 -------------------------------------------------------------------------------- /dataset/0067.resources.data: -------------------------------------------------------------------------------- 1 | -0.937254901960784 -0.952941176470588 -0.937254901960784 0.819607843137255 0.835294117647059 0.850980392156863 -0.356862745098039 -0.356862745098039 -0.356862745098039 0.27843137254902 -0.325490196078431 -0.325490196078431 0.27843137254902 0.27843137254902 -0.325490196078431 0.733333333333333 -0.0666666666666667 -0.6 -0.325490196078431 -0.0196078431372549 0.27843137254902 0.129411764705882 0.0980392156862746 0.223529411764706 -0.325490196078431 0.27843137254902 0.27843137254902 0.819607843137255 0.796078431372549 0.725490196078431 -0.12156862745098 -0.12156862745098 -0.12156862745098 0.490196078431373 -0.152941176470588 -0.152941176470588 0.427450980392157 0.427450980392157 -0.294117647058823 0.866666666666667 0.6 -0.333333333333333 -0.152941176470588 0.168627450980392 0.490196078431373 0.333333333333333 0.309803921568627 0.411764705882353 -0.152941176470588 0.490196078431373 0.490196078431373 0.92156862745098 0.92156862745098 0.843137254901961 -------------------------------------------------------------------------------- /dataset/0068.images.data: -------------------------------------------------------------------------------- 1 | -0.803921568627451 -0.905882352941176 -0.913725490196078 -0.63921568627451 -0.756862745098039 -0.780392156862745 -0.498039215686275 -0.592156862745098 -0.592156862745098 -0.403921568627451 -0.427450980392157 -0.396078431372549 -0.192156862745098 -0.247058823529412 -0.262745098039216 0.00392156862745097 -0.0666666666666667 -0.105882352941176 0.137254901960784 0.0745098039215686 0.0274509803921568 0.333333333333333 0.262745098039216 0.2 0.63921568627451 0.584313725490196 0.498039215686275 0.984313725490196 0.984313725490196 0.976470588235294 -------------------------------------------------------------------------------- /dataset/0068.resources.data: -------------------------------------------------------------------------------- 1 | -0.937254901960784 -0.952941176470588 -0.937254901960784 0.819607843137255 0.835294117647059 0.850980392156863 -0.356862745098039 -0.356862745098039 -0.356862745098039 0.498039215686275 -0.247058823529412 -0.16078431372549 0.466666666666667 0.466666666666667 0.0588235294117647 0.0588235294117647 -0.129411764705882 -0.168627450980392 -0.247058823529412 -0.16078431372549 -0.129411764705882 0.129411764705882 0.0980392156862746 0.223529411764706 0.0666666666666667 0.168627450980392 0.207843137254902 0.819607843137255 0.796078431372549 0.725490196078431 -0.12156862745098 -0.12156862745098 -0.12156862745098 0.0823529411764705 -0.0588235294117647 0.0431372549019609 0.498039215686275 0.372549019607843 -0.105882352941176 0.247058823529412 0.0745098039215686 0.0431372549019609 0.247058823529412 0.301960784313726 0.317647058823529 0.333333333333333 0.309803921568627 0.411764705882353 0.333333333333333 0.466666666666667 0.513725490196078 0.92156862745098 0.92156862745098 0.843137254901961 -------------------------------------------------------------------------------- /dataset/0069.images.data: -------------------------------------------------------------------------------- 1 | -0.992156862745098 -1 -0.725490196078431 -0.992156862745098 -0.945098039215686 -0.474509803921569 -0.992156862745098 -0.843137254901961 -0.223529411764706 -0.976470588235294 -0.317647058823529 0.741176470588235 -0.968627450980392 -0.725490196078431 0.0823529411764705 -0.968627450980392 -0.545098039215686 0.403921568627451 -0.576470588235294 -0.105882352941176 0.725490196078431 -0.223529411764706 0.12156862745098 0.850980392156863 -0.0745098039215686 -0.466666666666667 -0.701960784313725 0.168627450980392 0.356862745098039 0.905882352941176 -------------------------------------------------------------------------------- /dataset/0069.resources.data: -------------------------------------------------------------------------------- 1 | -0.741176470588235 -0.741176470588235 -0.741176470588235 0.819607843137255 0.835294117647059 0.850980392156863 -0.356862745098039 -0.356862745098039 -0.356862745098039 0.419607843137255 0.419607843137255 0.419607843137255 0.113725490196078 0.113725490196078 0.113725490196078 0.254901960784314 0.254901960784314 0.254901960784314 -0.145098039215686 0.270588235294118 0.749019607843137 -0.0901960784313726 -0.0901960784313726 -0.0901960784313726 0.0509803921568628 0.0509803921568628 0.0509803921568628 0.819607843137255 0.796078431372549 0.725490196078431 -0.12156862745098 -0.12156862745098 -0.12156862745098 0.419607843137255 0.419607843137255 0.419607843137255 0.309803921568627 0.309803921568627 0.309803921568627 0.254901960784314 0.254901960784314 0.254901960784314 0.0588235294117647 0.403921568627451 0.796078431372549 -0.0901960784313726 -0.0901960784313726 -0.0901960784313726 0.0509803921568628 0.0509803921568628 0.0509803921568628 0.92156862745098 0.92156862745098 0.843137254901961 -------------------------------------------------------------------------------- /dataset/0070.images.data: -------------------------------------------------------------------------------- 1 | -1 -1 -1 -0.803921568627451 -0.803921568627451 -0.803921568627451 -0.450980392156863 -0.6 -0.592156862745098 -0.286274509803922 -0.474509803921569 -0.498039215686275 -0.0980392156862745 -0.356862745098039 -0.411764705882353 0.0745098039215686 -0.176470588235294 -0.294117647058823 0.168627450980392 0.105882352941177 -0.0823529411764706 0.403921568627451 -0.396078431372549 -0.333333333333333 0.592156862745098 -0.129411764705882 -0.12156862745098 0.741176470588235 0.152941176470588 0.0980392156862746 -------------------------------------------------------------------------------- /dataset/0070.resources.data: -------------------------------------------------------------------------------- 1 | -0.937254901960784 -0.952941176470588 -0.937254901960784 0.819607843137255 0.835294117647059 0.850980392156863 -0.356862745098039 -0.356862745098039 -0.356862745098039 0.529411764705882 -0.184313725490196 -0.176470588235294 0.184313725490196 0.529411764705882 -0.184313725490196 0.349019607843137 0.0509803921568628 -0.176470588235294 -0.0666666666666667 0.262745098039216 0.576470588235294 0.129411764705882 0.0980392156862746 0.223529411764706 -0.184313725490196 0.529411764705882 0.52156862745098 0.819607843137255 0.796078431372549 0.725490196078431 -0.12156862745098 -0.12156862745098 -0.12156862745098 0.631372549019608 0.129411764705882 0.0509803921568628 0.482352941176471 0.701960784313725 0.247058823529412 0.498039215686275 0.262745098039216 0.0823529411764705 0.0980392156862746 0.380392156862745 0.647058823529412 0.333333333333333 0.309803921568627 0.411764705882353 0.247058823529412 0.701960784313725 0.694117647058824 0.92156862745098 0.92156862745098 0.843137254901961 -------------------------------------------------------------------------------- /dataset/0071.images.data: -------------------------------------------------------------------------------- 1 | -0.858823529411765 -0.905882352941176 -0.858823529411765 -0.733333333333333 -0.796078431372549 -0.796078431372549 -0.615686274509804 -0.701960784313725 -0.725490196078431 -0.498039215686275 -0.607843137254902 -0.654901960784314 -0.364705882352941 -0.490196078431373 -0.568627450980392 -0.207843137254902 -0.356862745098039 -0.474509803921569 -0.0196078431372549 -0.192156862745098 -0.356862745098039 0.184313725490196 0.0196078431372548 -0.184313725490196 0.419607843137255 0.317647058823529 0.2 0.780392156862745 0.756862745098039 0.662745098039216 -------------------------------------------------------------------------------- /dataset/0071.resources.data: -------------------------------------------------------------------------------- 1 | -0.937254901960784 -0.952941176470588 -0.937254901960784 0.819607843137255 0.835294117647059 0.850980392156863 -0.356862745098039 -0.356862745098039 -0.356862745098039 0.0117647058823529 -0.270588235294118 -0.215686274509804 0.466666666666667 0.466666666666667 0.0588235294117647 0.0117647058823529 -0.176470588235294 -0.270588235294118 -0.270588235294118 -0.0823529411764706 0.0117647058823529 0.129411764705882 0.0980392156862746 0.223529411764706 0.0666666666666667 0.168627450980392 0.207843137254902 0.819607843137255 0.796078431372549 0.725490196078431 -0.12156862745098 -0.12156862745098 -0.12156862745098 0.247058823529412 -0.145098039215686 -0.0745098039215686 0.498039215686275 0.372549019607843 -0.105882352941176 0.231372549019608 0.0823529411764705 0.0117647058823529 -0.145098039215686 0.113725490196078 0.247058823529412 0.333333333333333 0.309803921568627 0.411764705882353 0.333333333333333 0.466666666666667 0.513725490196078 0.92156862745098 0.92156862745098 0.843137254901961 -------------------------------------------------------------------------------- /dataset/0072.images.data: -------------------------------------------------------------------------------- 1 | -1 -1 -1 -0.803921568627451 -0.803921568627451 -0.803921568627451 -0.607843137254902 -0.607843137254902 -0.607843137254902 -0.411764705882353 -0.411764705882353 -0.411764705882353 -0.215686274509804 -0.215686274509804 -0.215686274509804 -0.0196078431372549 -0.0196078431372549 -0.0196078431372549 0.176470588235294 0.176470588235294 0.176470588235294 0.372549019607843 0.372549019607843 0.372549019607843 0.937254901960784 0.647058823529412 0.411764705882353 0.937254901960784 0.850980392156863 0.749019607843137 -------------------------------------------------------------------------------- /dataset/0072.resources.data: -------------------------------------------------------------------------------- 1 | 0.913725490196079 0.811764705882353 0.647058823529412 -0.96078431372549 -0.96078431372549 -0.96078431372549 0.913725490196079 0.811764705882353 0.647058823529412 0.568627450980392 -0.6 -0.231372549019608 -0.294117647058823 0.568627450980392 -0.6 1 0.364705882352941 -0.96078431372549 -0.184313725490196 0.0666666666666667 0.372549019607843 -0.717647058823529 0.396078431372549 0.0823529411764705 -0.0117647058823529 0.192156862745098 0.207843137254902 -0.835294117647059 -0.835294117647059 -0.835294117647059 -0.12156862745098 -0.12156862745098 -0.12156862745098 0.341176470588235 -0.654901960784314 -0.341176470588235 -0.396078431372549 0.341176470588235 -0.654901960784314 0.843137254901961 0.23921568627451 -1 -0.333333333333333 -0.0666666666666667 0.254901960784314 -0.749019607843137 0.231372549019608 -0.0431372549019607 -0.0117647058823529 0.192156862745098 0.207843137254902 0.00392156862745097 0.00392156862745097 0.00392156862745097 -------------------------------------------------------------------------------- /dataset/0073.images.data: -------------------------------------------------------------------------------- 1 | -1 -1 -1 -0.827450980392157 -0.827450980392157 -0.827450980392157 -0.607843137254902 -0.607843137254902 -0.607843137254902 -0.411764705882353 -0.411764705882353 -0.411764705882353 -0.403921568627451 -0.137254901960784 0.0352941176470589 0.0196078431372548 0.00392156862745097 -0.0196078431372549 0.145098039215686 0.145098039215686 0.145098039215686 0.16078431372549 0.427450980392157 0.6 0.537254901960784 0.537254901960784 0.537254901960784 0.976470588235294 0.976470588235294 0.976470588235294 -------------------------------------------------------------------------------- /dataset/0073.resources.data: -------------------------------------------------------------------------------- 1 | 0.976470588235294 0.976470588235294 0.976470588235294 -0.866666666666667 -0.866666666666667 -0.866666666666667 -1 -1 -1 -0.2 0.0666666666666667 0.333333333333333 0.16078431372549 0.427450980392157 0.6 -0.403921568627451 -0.137254901960784 0.0352941176470589 -0.2 0.0666666666666667 0.333333333333333 0.16078431372549 0.427450980392157 0.6 -0.403921568627451 -0.137254901960784 0.0352941176470589 0.0588235294117647 0.0588235294117647 -0.254901960784314 -1 -1 -1 -0.2 0.0666666666666667 0.333333333333333 0.16078431372549 0.427450980392157 0.6 -0.403921568627451 -0.137254901960784 0.0352941176470589 -0.2 0.0666666666666667 0.333333333333333 0.16078431372549 0.427450980392157 0.6 -0.403921568627451 -0.137254901960784 0.0352941176470589 0.0588235294117647 0.0588235294117647 -0.254901960784314 -------------------------------------------------------------------------------- /dataset/0074.images.data: -------------------------------------------------------------------------------- 1 | -1 -1 -1 -0.701960784313725 -0.670588235294118 -0.647058823529412 -0.607843137254902 -0.607843137254902 -0.6 -0.482352941176471 -0.529411764705882 -0.537254901960784 -0.356862745098039 -0.435294117647059 -0.450980392156863 -0.2 -0.325490196078431 -0.356862745098039 -0.0117647058823529 -0.184313725490196 -0.247058823529412 0.168627450980392 -0.0352941176470588 -0.12156862745098 0.333333333333333 0.113725490196078 0.00392156862745097 0.498039215686275 0.286274509803922 0.168627450980392 -------------------------------------------------------------------------------- /dataset/0074.resources.data: -------------------------------------------------------------------------------- 1 | 0.647058823529412 0.466666666666667 0.356862745098039 -0.505882352941176 -0.545098039215686 -0.529411764705882 -0.505882352941176 -0.545098039215686 -0.529411764705882 -0.0588235294117647 -0.435294117647059 -0.435294117647059 -0.207843137254902 -0.0588235294117647 -0.435294117647059 -0.0588235294117647 -0.0588235294117647 -0.435294117647059 -0.435294117647059 -0.247058823529412 -0.0588235294117647 -0.0588235294117647 -0.435294117647059 -0.0588235294117647 -0.435294117647059 -0.0509803921568628 -0.0509803921568628 0.647058823529412 0.466666666666667 0.356862745098039 0.113725490196078 -0.0352941176470588 -0.113725490196078 0.0666666666666667 -0.513725490196078 -0.513725490196078 -0.262745098039216 0.0588235294117647 -0.513725490196078 0.0588235294117647 0.0588235294117647 -0.513725490196078 -0.513725490196078 -0.262745098039216 0.0588235294117647 0.0588235294117647 -0.513725490196078 0.0588235294117647 -0.513725490196078 0.0588235294117647 0.0588235294117647 0.647058823529412 0.466666666666667 0.356862745098039 -------------------------------------------------------------------------------- /network/Makefile: -------------------------------------------------------------------------------- 1 | CC=cc 2 | CFLAGS=-std=c99 3 | LIBS=-lfann -lm 4 | TARGETS:=urnn_train urnn_run urnn_train_reverse urnn_run_reverse 5 | 6 | all: 7 | @for target in $(TARGETS); do \ 8 | $(CC) $$target.c -o $$target $(LIBS) $(CFLAGS); \ 9 | done 10 | -------------------------------------------------------------------------------- /network/urnn_run.c: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * urnn_run.c 4 | * 5 | * Usage ./urnn_run [trained file] [input file] 6 | * Run the network 7 | * 8 | * Compile with: cc urnn_run.c -o urnn_run -l fann -l m 9 | * 10 | */ 11 | 12 | #include 13 | #include "floatfann.h" 14 | 15 | 16 | void 17 | HELP(char* argv[]) 18 | { 19 | printf("Usage %s \t [trained file] [input file]\nRun the network.\n", argv[0]); 20 | } 21 | 22 | 23 | void 24 | read_float_from_file(char* input, double from_file[]) 25 | { 26 | FILE* my_file = NULL; 27 | double input_data = 0.0; 28 | int index = 0; 29 | 30 | my_file = fopen(input, "r"); 31 | if (my_file == NULL) { 32 | printf("Couldn't open file for reading\n"); 33 | exit(1); 34 | } 35 | 36 | for (int i = 0; i < 30; i++) { 37 | fscanf(my_file,"%lf",&input_data); 38 | from_file[index] = input_data; 39 | index++; 40 | } 41 | fclose(my_file); 42 | if (index != 30) { 43 | printf("There wasn't 10 colors in the input\n"); 44 | } 45 | } 46 | 47 | 48 | int 49 | main(int argc, char* argv[]) 50 | { 51 | if (argc != 3) { 52 | HELP(argv); 53 | } 54 | else { 55 | fann_type *calc_out; 56 | fann_type input[30]; 57 | double from_file[30]; 58 | 59 | struct fann *ann = fann_create_from_file(argv[1]); 60 | read_float_from_file(argv[2], from_file); 61 | 62 | for (int i = 0; i < 30; i++) { 63 | input[i] = from_file[i]; 64 | } 65 | 66 | calc_out = fann_run(ann, input); 67 | 68 | for (int i = 0; i < 54; i++) { 69 | printf("%.15f ", calc_out[i]); 70 | } 71 | 72 | fann_destroy(ann); 73 | } 74 | return 0; 75 | } 76 | -------------------------------------------------------------------------------- /network/urnn_run_reverse.c: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * urnn_run_reverse.c 4 | * 5 | * Usage ./urnn_run_reverse [trained file] [input file] 6 | * Run the network 7 | * 8 | * Compile with: cc urnn_run_reverse.c -o urnn_run_reverse -l fann -l m 9 | * 10 | */ 11 | 12 | #include 13 | #include "floatfann.h" 14 | 15 | 16 | void 17 | HELP(char* argv[]) 18 | { 19 | printf("Usage %s \t [trained file] [input file]\nRun the network.\n", argv[0]); 20 | } 21 | 22 | 23 | void 24 | read_float_from_file(char* input, double from_file[]) 25 | { 26 | FILE* my_file = NULL; 27 | double input_data = 0.0; 28 | int index = 0; 29 | 30 | my_file = fopen(input, "r"); 31 | if (my_file == NULL) { 32 | printf("Couldn't open file for reading\n"); 33 | exit(1); 34 | } 35 | 36 | for (int i = 0; i < 54; i++) { 37 | fscanf(my_file,"%lf",&input_data); 38 | from_file[index] = input_data; 39 | index++; 40 | } 41 | fclose(my_file); 42 | if (index != 54) { 43 | printf("There wasn't 18 colors in the input\n"); 44 | } 45 | } 46 | 47 | 48 | int 49 | main(int argc, char* argv[]) 50 | { 51 | if (argc != 3) { 52 | HELP(argv); 53 | } 54 | else { 55 | fann_type *calc_out; 56 | fann_type input[54]; 57 | double from_file[54]; 58 | 59 | struct fann *ann = fann_create_from_file(argv[1]); 60 | read_float_from_file(argv[2], from_file); 61 | 62 | for (int i = 0; i < 54; i++) { 63 | input[i] = from_file[i]; 64 | } 65 | 66 | calc_out = fann_run(ann, input); 67 | 68 | for (int i = 0; i < 30; i++) { 69 | printf("%.15f ", calc_out[i]); 70 | } 71 | 72 | fann_destroy(ann); 73 | } 74 | return 0; 75 | } 76 | -------------------------------------------------------------------------------- /network/urnn_train.c: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * urnn_train.c 4 | * 5 | * Usage ./urnn_train [train file] [output file] 6 | * Train the network. 7 | * 8 | * Compile with: cc urnn_train.c -o urnn_train -l fann -l m 9 | * 10 | */ 11 | 12 | #include "fann.h" 13 | #include "math.h" 14 | #include "stdio.h" 15 | 16 | 17 | void 18 | HELP(char* argv[]) 19 | { 20 | printf("Usage %s \t [train file] [output file]\nTrain the network.\n", argv[0]); 21 | } 22 | 23 | 24 | int 25 | main(int argc, char* argv[]) 26 | { 27 | if (argc != 3) { 28 | HELP(argv); 29 | } 30 | else { 31 | const unsigned int num_input = 3*10; // 3 times 10 most used colors 32 | const unsigned int num_output = 3*18; // 3 times the 18 colors used in a colorscheme 33 | const unsigned int num_layers = 2+4; 34 | const float desired_error = (const float) 0.0014; //tolerance level 35 | const unsigned int max_epochs = 1500000; // allow for a long run 36 | const unsigned int epochs_between_reports = 20000; 37 | 38 | struct fann *ann = fann_create_standard(num_layers, num_input, 39 | 34, 40, 60, 47, 40 | num_output); 41 | fann_set_training_algorithm(ann, FANN_TRAIN_QUICKPROP); 42 | 43 | fann_set_activation_function_hidden(ann, FANN_ELLIOT_SYMMETRIC); 44 | fann_set_activation_function_output(ann, FANN_ELLIOT_SYMMETRIC); 45 | fann_set_activation_steepness_layer(ann, 0.34, 1); 46 | fann_set_activation_steepness_layer(ann, 0.3, 2); 47 | fann_set_activation_steepness_layer(ann, 0.5, 3); 48 | fann_set_activation_steepness_layer(ann, 0.34, 4); 49 | fann_set_activation_steepness_layer(ann, 0.34, 5); 50 | 51 | fann_train_on_file( 52 | ann, 53 | argv[1], 54 | max_epochs, 55 | epochs_between_reports, 56 | desired_error 57 | ); 58 | fann_save(ann, argv[2]); 59 | 60 | fann_destroy(ann); 61 | } 62 | 63 | return 0; 64 | } 65 | -------------------------------------------------------------------------------- /network/urnn_train_reverse.c: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * urnn_train.c 4 | * 5 | * Usage ./urnn_train_reverse [train file] [output file] 6 | * Train the network. 7 | * 8 | * Compile with: cc urnn_train_reverse.c -o urnn_train_reverse -l fann -l m 9 | * 10 | */ 11 | 12 | #include "fann.h" 13 | #include "math.h" 14 | #include "stdio.h" 15 | 16 | 17 | void 18 | HELP(char* argv[]) 19 | { 20 | printf("Usage %s \t [train file] [output file]\nTrain the network.\n", argv[0]); 21 | } 22 | 23 | 24 | int 25 | main(int argc, char* argv[]) 26 | { 27 | if (argc != 3) { 28 | HELP(argv); 29 | } 30 | else { 31 | const unsigned int num_input = 3*18; // 3 times 10 most used colors 32 | const unsigned int num_output = 3*10; // 3 times the 18 colors used in a colorscheme 33 | const unsigned int num_layers = 3; 34 | const unsigned int num_neurons_hidden = 32; 35 | const float desired_error = (const float) 0.0013; //tolerance level 36 | const unsigned int max_epochs = 1500000; // allow for a long run 37 | const unsigned int epochs_between_reports = 20000; 38 | 39 | struct fann *ann = fann_create_standard(num_layers, num_input, 40 | num_neurons_hidden, num_output); 41 | 42 | //fann_set_activation_function_hidden(ann, FANN_SIGMOID_SYMMETRIC); 43 | //fann_set_activation_function_output(ann, FANN_SIGMOID_SYMMETRIC); 44 | fann_set_activation_steepness_output(ann, 0.22); 45 | 46 | fann_train_on_file( 47 | ann, 48 | argv[1], 49 | max_epochs, 50 | epochs_between_reports, 51 | desired_error 52 | ); 53 | fann_save(ann, argv[2]); 54 | 55 | fann_destroy(ann); 56 | } 57 | 58 | return 0; 59 | } 60 | -------------------------------------------------------------------------------- /scripts/Lab_to_xyz.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Data::Dumper; 6 | 7 | =head1 8 | 9 | Lab_to_xyz.pl 10 | 11 | Usage ./Lab_to_xyz.pl 12 | 13 | Converts L, A, B To xyz (CIE XYZ) components. 14 | 15 | =cut 16 | 17 | #White point constant (X, Y, Z) 18 | our @CIEXYZ_D65 = (0.9505, 1.0, 1.0890); 19 | 20 | sub HELP { 21 | print "Usage $0 \t \n". 22 | "Converts L, A, B To xyz (CIE XYZ) components\n"; 23 | exit; 24 | } 25 | 26 | 27 | sub Fxyz { 28 | my ($t) = @_; 29 | return ( 30 | ($t > 0.008856)? 31 | ($t**(1.0/3.0)) : 32 | (7.787*$t + 16.0/116.0) 33 | ); 34 | } 35 | 36 | sub Lab_to_xyz { 37 | my ($l, $a, $b) = @_; 38 | 39 | my $delta = 6.0/29.0; 40 | 41 | my $fy = ($l+16)/116.0; 42 | my $fx = $fy + ($a/500.0); 43 | my $fz = $fy - ($b/200.0); 44 | 45 | return ( 46 | ($fx > $delta)? $CIEXYZ_D65[0] * ($fx**3) : ($fx - 16.0/116.0)*3*( 47 | $delta**2)*$CIEXYZ_D65[0], 48 | ($fy > $delta)? $CIEXYZ_D65[1] * ($fy**3) : ($fy - 16.0/116.0)*3*( 49 | $delta**2)*$CIEXYZ_D65[1], 50 | ($fz > $delta)? $CIEXYZ_D65[2] * ($fz**3) : ($fz - 16.0/116.0)*3*( 51 | $delta**2)*$CIEXYZ_D65[2] 52 | ); 53 | } 54 | 55 | 56 | 57 | sub main { 58 | my ($l, $a, $b) = @ARGV; 59 | HELP if (!defined($l) || !defined($a) || !defined($b)); 60 | my ($x, $y, $z) = Lab_to_xyz($l, $a, $b); 61 | print "$x $y $z"; 62 | } 63 | 64 | 65 | main; 66 | -------------------------------------------------------------------------------- /scripts/convert_hex_to_val.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * convert_hex_to_val.cpp 4 | * 5 | * Usage ./convert_hex_to_val [file with hexcode on every line] [ratio] 6 | * 7 | * Converts color hex code to red, green, blue percentage over the ratio. 8 | * 9 | * Compile with: g++ -std=c++11 convert_hex_to_val.cpp -o convert_hex_to_val 10 | * 11 | * NB: This program shouldn't fail otherwise it might corrupt the training data 12 | * 13 | */ 14 | 15 | 16 | #include 17 | #include 18 | #include 19 | #include 20 | 21 | 22 | void 23 | HELP(char* argv[]) 24 | { 25 | std::cout<< "Usage "<< argv[0] 26 | << " \t [file with hexcode on every line] [ratio]\n" 27 | << "Converts color hex code to red, green, blue percentage over the ratio.\n"; 28 | } 29 | 30 | 31 | int 32 | extract_hex_color_from_index(const std::string hex, const int i1, const int i2) 33 | { 34 | char col[3] = {hex[i1], hex[i2], '\0'}; 35 | int rgbcol = strtol(col, NULL, 16); 36 | return rgbcol; 37 | } 38 | 39 | 40 | float 41 | rule_of_three(const int number, const int over, const int ratio) 42 | { 43 | return ((float)number/(float)over)*ratio; 44 | } 45 | 46 | 47 | float* 48 | convert_hex_to_ratio(const std::string hex, const float val) 49 | { 50 | float red = rule_of_three( 51 | extract_hex_color_from_index(hex, 0, 1), 52 | 255, 53 | val 54 | ); 55 | float green = rule_of_three( 56 | extract_hex_color_from_index(hex, 2, 3), 57 | 255, 58 | val 59 | ); 60 | float blue = rule_of_three( 61 | extract_hex_color_from_index(hex, 4, 5), 62 | 255, 63 | val 64 | ); 65 | return new float[3]{red, green, blue}; 66 | } 67 | 68 | 69 | std::string 70 | strip(std::string line, const char c) 71 | { 72 | while (line[0] == c) { 73 | line = line.erase(0,1); 74 | } 75 | return line; 76 | } 77 | 78 | 79 | void 80 | convert_file(const std::string filename, const float ratio) 81 | { 82 | std::ifstream infile; 83 | infile.open(filename.c_str(), std::ifstream::in); 84 | if (infile.fail()){ 85 | std::cerr<< "Could not open file "<< filename<< std::endl; 86 | exit(1); 87 | } 88 | std::string line = ""; 89 | while (std::getline(infile, line)) { 90 | line = strip(line, '#'); 91 | float* col = convert_hex_to_ratio(line, ratio); 92 | std::cout<< col[0]<< " "<< col[1]<< " "<< col[2]<< " "; 93 | } 94 | } 95 | 96 | 97 | int 98 | main(int argc, char* argv[]) 99 | { 100 | if (argc != 3) { 101 | HELP(argv); 102 | } 103 | else { 104 | convert_file(argv[1], atof(argv[2])); 105 | } 106 | return 0; 107 | } 108 | -------------------------------------------------------------------------------- /scripts/convert_hex_to_val.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Data::Dumper; 6 | 7 | =head1 8 | 9 | convert_hex_to_val.pl 10 | 11 | Usage ./convert_hex_to_val.pl [file with hexcode on every line] [ratio] 12 | 13 | Converts color hex code to red, green, blue percentage over the ratio. 14 | 15 | NB: This program shouldn't fail otherwise it might corrupt the training data 16 | 17 | =cut 18 | 19 | 20 | sub HELP { 21 | print "Usage $0 \t [file with hexcode on every line] [ratio]\n" 22 | ."Converts color hex code to red, green, blue percentage over the ratio.\n" 23 | ."Use -s as a file for stdin\n"; 24 | exit; 25 | } 26 | 27 | 28 | sub convert_hex_to_ratio { 29 | my ($hex, $ratio) = @_; 30 | my $red = (hex(substr($hex, 0, 1).substr($hex, 1, 1))/255)*$ratio; 31 | my $green = (hex(substr($hex, 2, 1).substr($hex, 3, 1))/255)*$ratio; 32 | my $blue = (hex(substr($hex, 4, 1).substr($hex, 5, 1))/255)*$ratio; 33 | return ( 34 | $red, 35 | $green, 36 | $blue 37 | ); 38 | } 39 | 40 | 41 | sub convert_file { 42 | my ($filename, $ratio) = @_; 43 | my $fh; 44 | if ($filename eq '-s') { 45 | $fh = \*stdin; 46 | } 47 | else { 48 | open($fh, "<", $filename) or die "$!"; 49 | } 50 | while (<$fh>) { 51 | chomp; 52 | $_ =~ s/#//; 53 | my ($red, $green, $blue) = convert_hex_to_ratio($_, $ratio); 54 | print "$red $green $blue "; 55 | } 56 | } 57 | 58 | 59 | sub main { 60 | my $filename = shift @ARGV; 61 | my $ratio = shift @ARGV; 62 | HELP if (!$filename || !$ratio); 63 | convert_file($filename, $ratio); 64 | } 65 | 66 | 67 | main; 68 | -------------------------------------------------------------------------------- /scripts/convert_hex_to_val_2.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Data::Dumper; 6 | 7 | =head1 8 | 9 | convert_hex_to_val.pl 10 | 11 | Usage ./convert_hex_to_val.pl [file with hexcode on every line] [ratio] 12 | 13 | Converts color hex code to red, green, blue percentage over the ratio. 14 | 15 | NB: This program shouldn't fail otherwise it might corrupt the training data 16 | 17 | =cut 18 | 19 | 20 | sub HELP { 21 | print "Usage $0 \t [file with hexcode on every line] [ratio]\n" 22 | ."Converts color hex code to red, green, blue percentage over the ratio.\n" 23 | ."Use -s as a file for stdin\n"; 24 | exit; 25 | } 26 | 27 | 28 | sub convert_hex_to_ratio { 29 | my ($hex, $ratio) = @_; 30 | my $red = -($ratio - ((hex(substr($hex, 0, 1).substr($hex, 1, 1))/255)*2*$ratio)); 31 | my $green = -($ratio - ((hex(substr($hex, 2, 1).substr($hex, 3, 1))/255)*2*$ratio)); 32 | my $blue = -($ratio - ((hex(substr($hex, 4, 1).substr($hex, 5, 1))/255)*2*$ratio)); 33 | return ( 34 | $red, 35 | $green, 36 | $blue 37 | ); 38 | } 39 | 40 | 41 | sub convert_file { 42 | my ($filename, $ratio) = @_; 43 | my $fh; 44 | if ($filename eq '-s') { 45 | $fh = \*stdin; 46 | } 47 | else { 48 | open($fh, "<", $filename) or die "$!"; 49 | } 50 | my @avail_cols; 51 | while(<$fh>) { 52 | chomp; 53 | push @avail_cols, $_; 54 | } 55 | 56 | my $size = scalar(@avail_cols); 57 | my $num_col_left = 10-scalar(@avail_cols); 58 | for (0.. ($num_col_left-1) ) { 59 | my $to_add = int(rand($size)); 60 | push @avail_cols, $avail_cols[$to_add]; 61 | } 62 | 63 | for (@avail_cols) { 64 | chomp; 65 | $_ =~ s/#//; 66 | my ($red, $green, $blue) = convert_hex_to_ratio($_, $ratio); 67 | print "$red $green $blue "; 68 | } 69 | } 70 | 71 | 72 | sub main { 73 | my $filename = shift @ARGV; 74 | my $ratio = shift @ARGV; 75 | HELP if (!$filename || !$ratio); 76 | convert_file($filename, $ratio); 77 | } 78 | 79 | 80 | main; 81 | -------------------------------------------------------------------------------- /scripts/convert_val_to_xresources_colors.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Data::Dumper; 6 | 7 | =head1 8 | 9 | convert_val_to_xresources_colors.pl 10 | 11 | Usage ./convert_val_to_xresources_colors.pl [file with values on every line] [ratio] [-n] 12 | 13 | Use -s as input to pipe from stdin 14 | Use -n to show the name of the colors (you should input the 18 colors) 15 | Converts values outputed as red, green, blue percentage to xresources colors. 16 | 17 | =cut 18 | 19 | 20 | my $COL_INDEX = 0; 21 | my %COLORS_INDEXES = ( 22 | 0 => "background", 23 | 1 => "foreground", 24 | 2 => "color0", 25 | 3 => "color1", 26 | 4 => "color2", 27 | 5 => "color3", 28 | 6 => "color4", 29 | 7 => "color5", 30 | 8 => "color6", 31 | 9 => "color7", 32 | 10 => "color8", 33 | 11 => "color9", 34 | 12 => "color10", 35 | 13 => "color11", 36 | 14 => "color12", 37 | 15 => "color13", 38 | 16 => "color14", 39 | 17 => "color15" 40 | ); 41 | 42 | 43 | sub HELP { 44 | print "Usage $0 \t [file with values on every line] [ratio] [-n]\n" 45 | ."Converts values outputed as red, green, blue percentage to xresources colors.\n" 46 | ."Use -s as a file for stdin\n" 47 | ."Use -n to show the name of the colors (you should input the 18 colors)\n"; 48 | exit; 49 | } 50 | 51 | 52 | sub rgb_to_hex { 53 | my ($red, $green, $blue, $ratio) = @_; 54 | my $red_hex = sprintf("%02x", ($red*255)/$ratio); 55 | my $green_hex = sprintf("%02x", ($green*255)/$ratio); 56 | my $blue_hex = sprintf("%02x", ($blue*255)/$ratio); 57 | return "#$red_hex$green_hex$blue_hex"; 58 | } 59 | 60 | 61 | sub convert_file { 62 | my ($filename, $ratio, $show_name) = @_; 63 | my $fh; 64 | if ($filename eq '-s') { 65 | $fh = \*stdin; 66 | } 67 | else { 68 | open($fh, "<", $filename) or die "$!"; 69 | } 70 | while (<$fh>) { 71 | chomp; 72 | my ($red, $green, $blue) = $_ =~ m#(\d+(?:\.\d+)?) (\d+(?:\.\d+)?) (\d+(?:\.\d+)?)#; 73 | my $hexcode = rgb_to_hex($red, $green, $blue, $ratio); 74 | print "*$COLORS_INDEXES{$COL_INDEX}: " if $show_name; 75 | print "$hexcode\n"; 76 | $COL_INDEX++; 77 | } 78 | } 79 | 80 | 81 | sub main { 82 | my $filename = shift @ARGV; 83 | my $ratio = shift @ARGV; 84 | my $show_name = shift @ARGV; 85 | $show_name = ($show_name && $show_name eq '-n' ? 1 : 0); 86 | HELP if (!$filename || !$ratio); 87 | convert_file($filename, $ratio, $show_name); 88 | } 89 | 90 | 91 | main; 92 | -------------------------------------------------------------------------------- /scripts/convert_val_to_xresources_colors_2.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Data::Dumper; 6 | 7 | =head1 8 | 9 | convert_val_to_xresources_colors.pl 10 | 11 | Usage ./convert_val_to_xresources_colors.pl [file with values on every line] [ratio] [-n] 12 | 13 | Use -s as input to pipe from stdin 14 | Use -n to show the name of the colors (you should input the 18 colors) 15 | Converts values outputed as red, green, blue percentage to xresources colors. 16 | 17 | =cut 18 | 19 | 20 | my $COL_INDEX = 0; 21 | my %COLORS_INDEXES = ( 22 | 0 => "background", 23 | 1 => "foreground", 24 | 2 => "color0", 25 | 3 => "color1", 26 | 4 => "color2", 27 | 5 => "color3", 28 | 6 => "color4", 29 | 7 => "color5", 30 | 8 => "color6", 31 | 9 => "color7", 32 | 10 => "color8", 33 | 11 => "color9", 34 | 12 => "color10", 35 | 13 => "color11", 36 | 14 => "color12", 37 | 15 => "color13", 38 | 16 => "color14", 39 | 17 => "color15" 40 | ); 41 | 42 | 43 | sub HELP { 44 | print "Usage $0 \t [file with values on every line] [ratio] [-n]\n" 45 | ."Converts values outputed as red, green, blue percentage to xresources colors.\n" 46 | ."Use -s as a file for stdin\n" 47 | ."Use -n to show the name of the colors (you should input the 18 colors)\n"; 48 | exit; 49 | } 50 | 51 | 52 | sub rgb_to_hex { 53 | my ($red, $green, $blue, $ratio) = @_; 54 | my $red_hex = sprintf("%02x", -((-$red - $ratio)*255/2.0*$ratio)); 55 | my $green_hex = sprintf("%02x", -((-$green-$ratio)*255/2.0*$ratio)); 56 | my $blue_hex = sprintf("%02x", -((-$blue-$ratio)*255/2.0*$ratio)); 57 | return "#$red_hex$green_hex$blue_hex"; 58 | } 59 | 60 | 61 | sub convert_file { 62 | my ($filename, $ratio, $show_name) = @_; 63 | my $fh; 64 | if ($filename eq '-s') { 65 | $fh = \*stdin; 66 | } 67 | else { 68 | open($fh, "<", $filename) or die "$!"; 69 | } 70 | while (<$fh>) { 71 | chomp; 72 | my ($red, $green, $blue) = $_ =~ m#(-?\d+(?:\.\d+)?) (-?\d+(?:\.\d+)?) (-?\d+(?:\.\d+)?)#; 73 | my $hexcode = rgb_to_hex($red, $green, $blue, $ratio); 74 | print "*$COLORS_INDEXES{$COL_INDEX}: " if $show_name; 75 | print "$hexcode\n"; 76 | $COL_INDEX++; 77 | } 78 | } 79 | 80 | 81 | sub main { 82 | my $filename = shift @ARGV; 83 | my $ratio = shift @ARGV; 84 | my $show_name = shift @ARGV; 85 | $show_name = ($show_name && $show_name eq '-n' ? 1 : 0); 86 | HELP if (!$filename || !$ratio); 87 | convert_file($filename, $ratio, $show_name); 88 | } 89 | 90 | 91 | main; 92 | -------------------------------------------------------------------------------- /scripts/extract_hex_from_xresources.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Data::Dumper; 6 | 7 | =head1 8 | 9 | extract_hex_from_xresources.cpp 10 | 11 | Usage ./extract_hex_from_xresources.pl [xresources file] 12 | 13 | Extracts the hex codes from the .Xresources one per line and always in the same order 14 | 15 | =cut 16 | 17 | 18 | sub HELP { 19 | print "Usage $0 \t [xresources file]\n" 20 | ."Extracts the hex codes from the .Xresources one per line and always in the same order.\n" 21 | ."Use -s as a file for stdin\n"; 22 | exit; 23 | } 24 | 25 | 26 | my @COLORS; 27 | my %COLORS_INDEXES = ( 28 | background => 0, 29 | foreground => 1, 30 | color0 => 2, 31 | color1 => 3, 32 | color2 => 4, 33 | color3 => 5, 34 | color4 => 6, 35 | color5 => 7, 36 | color6 => 8, 37 | color7 => 9, 38 | color8 => 10, 39 | color9 => 11, 40 | color10 => 12, 41 | color11 => 13, 42 | color12 => 14, 43 | color13 => 15, 44 | color14 => 16, 45 | color15 => 17 46 | ); 47 | 48 | 49 | sub extract_hex { 50 | my ($source) = @_; 51 | my $fh; 52 | if ($source eq '-s') { 53 | $fh = \*stdin; 54 | } 55 | else { 56 | open($fh, "<", $source) or die "$!"; 57 | } 58 | while (<$fh>) { 59 | for my $i (keys %COLORS_INDEXES) { 60 | if (/$i\s*:/) { 61 | chomp; 62 | $_ =~ /#([\da-f]{6})/i; 63 | $COLORS[$COLORS_INDEXES{$i}] = lc($1); 64 | } 65 | } 66 | } 67 | print "$_\n" for (@COLORS); 68 | } 69 | 70 | 71 | sub main { 72 | my $resource_file = shift @ARGV; 73 | HELP if (!$resource_file); 74 | extract_hex($resource_file); 75 | } 76 | 77 | 78 | main; 79 | -------------------------------------------------------------------------------- /scripts/extracter.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Data::Dumper; 6 | 7 | =head1 8 | 9 | extracter.pl 10 | 11 | Usage ./extracter.pl 12 | 13 | extract the data from images and colorschemes - still a WIP 14 | 15 | =cut 16 | 17 | 18 | my @images = glob "../inputs/data/*.png"; 19 | my @resources = glob "../inputs/data/*.resources"; 20 | 21 | if (scalar(@images) != scalar(@resources)) { 22 | print "Not every images has an associated colorscheme"; 23 | } 24 | 25 | for (my $i = 0; $i < scalar(@images); $i ++) { 26 | my ($nb) = $images[$i] =~ /(\d+)/; 27 | my ($nb2) = $resources[$i] =~ /(\d+)/; 28 | if ($nb ne $nb2) { 29 | print "There are some stuffs wrong in the inputs directory\n"; 30 | exit 1; 31 | } 32 | print "[$nb] Converting colorscheme to specific format\n"; 33 | if (-f "../dataset/$nb.resources.data") { 34 | qx#rm ../dataset/$nb.resources.data#; 35 | } 36 | qx# 37 | cat $resources[$i] | 38 | ../scripts/extract_hex_from_xresources.pl -s | 39 | ../scripts/convert_hex_to_val_2.pl -s 1 > ../dataset/$nb.resources.data 40 | #; 41 | print "[$nb] Extracting 10 most used colors from background\n"; 42 | if (-f "../dataset/$nb.images.data") { 43 | qx#rm ../dataset/$nb.images.data#; 44 | } 45 | # 46 | # cat $images[$i] | 47 | # ../convert/convert 30 | 48 | # sort -k 2 -g -r | 49 | # cut -d ' ' -f1 | 50 | # head -n 10 | 51 | # 52 | my $result = qx#../colors/sin_colors/colors -en 10 $images[$i] | xargs -n 10#; 53 | my $fixed_colors = qx#../scripts/fix_colors.pl '$result'#; 54 | my @avail_cols = split / /,$fixed_colors; 55 | my $conv_arg = join "\n",@avail_cols; 56 | $result = qx# 57 | echo "$conv_arg" | 58 | ../scripts/convert_hex_to_val_2.pl -s 1 > ../dataset/$nb.images.data 59 | #; 60 | } 61 | -------------------------------------------------------------------------------- /scripts/fix_colors.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Data::Dumper; 6 | 7 | =head1 8 | 9 | fix_colors.pl 10 | 11 | Usage ./fix_colors.pl colors available 12 | 13 | Take a number of colors in hexcode and always output 10 colors from those in 14 | their hex value order 15 | 16 | =cut 17 | 18 | sub HELP { 19 | print "Usage $0 \t [list of colors]\n" 20 | ."Take a number of colors in hexcode and always output 10 colors from". 21 | "those in their hex value order\n"; 22 | exit; 23 | } 24 | 25 | sub get_lab_values { 26 | my ($col) = @_; 27 | my $red = hex(substr($col, 0, 1).substr($col, 1, 1)); 28 | my $green = hex(substr($col, 2, 1).substr($col, 3, 1)); 29 | my $blue = hex(substr($col, 4, 1).substr($col, 5, 1)); 30 | my $result = qx# 31 | ../scripts/rgb_to_xyz.pl $red $green $blue 32 | #; 33 | my @xyz_values = split / /, $result; 34 | $result = qx# 35 | ../scripts/xyz_to_Lab.pl $xyz_values[0] $xyz_values[1] $xyz_values[2] 36 | #; 37 | my @Lab_values = split / /, $result; 38 | return @Lab_values; 39 | } 40 | 41 | sub get_hex_from_lab { 42 | my ($midpoint_x, $midpoint_y, $midpoint_z) = @_; 43 | my $result = qx# 44 | ../scripts/Lab_to_xyz.pl $midpoint_x $midpoint_y $midpoint_z 45 | #; 46 | my @xyz_values = split / /, $result; 47 | $result = qx# 48 | ../scripts/xyz_to_rgb.pl $xyz_values[0] $xyz_values[1] $xyz_values[2] 49 | #; 50 | my @rgb_values = split / /, $result; 51 | my $red_hex = sprintf("%02x", $rgb_values[0]); 52 | my $green_hex = sprintf("%02x", $rgb_values[1]); 53 | my $blue_hex = sprintf("%02x", $rgb_values[2]); 54 | return "$red_hex$green_hex$blue_hex"; 55 | } 56 | 57 | sub main { 58 | my @avail_colors; 59 | if (scalar(@ARGV) == 1 and $ARGV[0] =~ / /) { 60 | chomp $ARGV[0]; 61 | @avail_colors = split / /, $ARGV[0]; 62 | } 63 | else { 64 | @avail_colors = @ARGV; 65 | } 66 | HELP if (scalar(@avail_colors) == 0); 67 | #remove any '#' char 68 | for (@avail_colors) { 69 | $_ =~ s/#//; 70 | } 71 | #If there are more than 10 colors, print the first 72 | if (scalar(@avail_colors) > 10) { 73 | #truncate the list 74 | @avail_colors = @avail_colors[0..9]; 75 | } 76 | else { 77 | my $nb_missing_colors = 10 - scalar(@avail_colors); 78 | 79 | my $midpoint_x = 0; 80 | my $midpoint_y = 0; 81 | my $midpoint_z = 0; 82 | for my $col (@avail_colors) { 83 | my @Lab_values = get_lab_values($col); 84 | $midpoint_x += $Lab_values[0]; 85 | $midpoint_y += $Lab_values[1]; 86 | $midpoint_z += $Lab_values[2]; 87 | } 88 | $midpoint_x /= scalar(@avail_colors); 89 | $midpoint_y /= scalar(@avail_colors); 90 | $midpoint_z /= scalar(@avail_colors); 91 | my $new_hex = get_hex_from_lab($midpoint_x, $midpoint_y, $midpoint_z); 92 | while(scalar(@avail_colors) != 10) { 93 | push @avail_colors, $new_hex; 94 | } 95 | } 96 | $_ = hex($_) for (@avail_colors); 97 | @avail_colors = sort{$a <=> $b} @avail_colors; 98 | printf("#%06x ",$_) for (@avail_colors); 99 | } 100 | 101 | main; 102 | -------------------------------------------------------------------------------- /scripts/prepare_inputs.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Data::Dumper; 6 | 7 | =head1 8 | 9 | prepare_inputs.pl 10 | 11 | Usage ./prepare_inputs.pl 12 | 13 | Prepare the input for the neural network training - still a WIP 14 | 15 | =cut 16 | 17 | my @images = glob "../dataset/*.images.data"; 18 | my @resources = glob "../dataset/*.resources.data"; 19 | my $number_of_inputs = 0; 20 | my $final_string = ""; 21 | 22 | if (scalar(@images) != scalar(@resources)) { 23 | print "Not every images data has an associated colorscheme data"; 24 | } 25 | 26 | 27 | for (my $i = 0; $i < scalar(@images); $i ++) { 28 | my ($nb) = $images[$i] =~ /(\d+)/; 29 | my ($nb2) = $resources[$i] =~ /(\d+)/; 30 | if ($nb ne $nb2) { 31 | print STDERR "There are some stuffs wrong in the dataset dir\n"; 32 | exit 1; 33 | } 34 | my $nb_col = qx#cat $images[$i] | xargs -n3 | wc -l#; 35 | print STDERR "[$nb]: \n"; 36 | if ($nb_col == 10) { 37 | $number_of_inputs++; 38 | $final_string .= qx# cat $images[$i] # . "\n"; 39 | $final_string .= qx# cat $resources[$i] # . "\n"; 40 | } 41 | else { 42 | print STDERR "Colorscheme file doesn't have 10 colors -> skipping\n"; 43 | } 44 | } 45 | $final_string = "$number_of_inputs 30 54\n". $final_string; 46 | print $final_string; 47 | -------------------------------------------------------------------------------- /scripts/reverse_training_file.pl: -------------------------------------------------------------------------------- 1 | use strict; 2 | use warnings; 3 | 4 | =head1 5 | Usage: cat urnn.data | reverse_training_file.pl 6 | =cut 7 | 8 | sub HELP { 9 | print "Usage: cat urnn.data | reverse_training_file.pl\n"; 10 | exit; 11 | } 12 | 13 | my $first_line = ; 14 | HELP unless $first_line; 15 | 16 | my ($nb_lines, $nb_inputs, $nb_dataset) = ($first_line =~ /(\d+) (\d+) (\d+)/) or die HELP; 17 | print "$nb_lines $nb_dataset $nb_inputs\n"; 18 | 19 | #reverse every other 2 lines 20 | while (my $in_line = ) { 21 | my $out_line = ; 22 | print $out_line; 23 | print $in_line; 24 | } 25 | -------------------------------------------------------------------------------- /scripts/rgb_to_xyz.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Data::Dumper; 6 | 7 | =head1 8 | 9 | rgb_to_xyz.pl 10 | 11 | Usage ./rgb_to_xyz.pl 12 | 13 | Converts red, green, blue (over 255) to xyz components. 14 | 15 | =cut 16 | 17 | sub HELP { 18 | print "Usage $0 \t \n". 19 | "Converts rgb colors to XYZ \n"; 20 | exit; 21 | } 22 | 23 | 24 | sub rgb_to_xyz { 25 | my ($red, $green, $blue) = @_; 26 | 27 | #normalize red, green, blue values 28 | my $rLinear = $blue/255.0; 29 | my $gLinear = $green/255.0; 30 | my $bLinear = $blue/255.0; 31 | 32 | #convert to a sRGB form 33 | my $r = ($rLinear > 0.04045)? ( 34 | (($rLinear + 0.055)/( 1 + 0.055))** 2.2) : 35 | ($rLinear/12.92) ; 36 | 37 | my $g = ($gLinear > 0.04045)? ( 38 | (($gLinear + 0.055)/( 39 | 1 + 0.055))** 2.2) : 40 | ($gLinear/12.92) ; 41 | 42 | my $b = ($bLinear > 0.04045)? ( 43 | (($bLinear + 0.055)/( 44 | 1 + 0.055))** 2.2) : 45 | ($bLinear/12.92) ; 46 | 47 | #converts 48 | return ( 49 | ($r*0.4124 + $g*0.3576 + $b*0.1805), 50 | ($r*0.2126 + $g*0.7152 + $b*0.0722), 51 | ($r*0.0193 + $g*0.1192 + $b*0.9505) 52 | ); 53 | } 54 | 55 | 56 | 57 | sub main { 58 | my ($r, $g, $b) = @ARGV; 59 | HELP if (!defined($r) || !defined($g) || !defined($b)); 60 | my ($x, $y, $z) = rgb_to_xyz($r, $g, $b); 61 | print "$x $y $z"; 62 | } 63 | 64 | 65 | main; 66 | 67 | #TEST: 68 | #print Dumper(rgb_to_xyz(255,255,255)); 69 | -------------------------------------------------------------------------------- /scripts/test.sh: -------------------------------------------------------------------------------- 1 | ../convert/colors -en 10 $1 | ../scripts/convert_hex_to_val.pl -s 1 > out 2 | ./urnn_run urnn.trained out | xargs -n3 | ../scripts/convert_val_to_xresources_colors.pl -s 1 -n 3 | -------------------------------------------------------------------------------- /scripts/test_reverse.sh: -------------------------------------------------------------------------------- 1 | ../scripts/extract_hex_from_xresources.pl $1 | ../scripts/convert_hex_to_val.pl -s 1 > out.reverse 2 | ./urnn_run_reverse urnn_reversed.trained out.reverse | xargs -n3 | ../scripts/convert_val_to_xresources_colors.pl -s 1 3 | -------------------------------------------------------------------------------- /scripts/testrun.sh: -------------------------------------------------------------------------------- 1 | cat ~/.Xresources | ./extract_hex_from_xresources.pl -s | ./convert_hex_to_val.pl -s 1 | xargs -n3 | ./convert_val_to_xresources_colors.pl -s 1 -n 2 | -------------------------------------------------------------------------------- /scripts/xyz_to_Lab.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Data::Dumper; 6 | 7 | =head1 8 | 9 | xyz_to_Lab.pl 10 | 11 | Usage ./xyz_to_Lab.pl 12 | 13 | Converts x, y, z (CIE XYZ) to Lab components. 14 | 15 | =cut 16 | 17 | #White point constant (X, Y, Z) 18 | our @CIEXYZ_D65 = (0.9505, 1.0, 1.0890); 19 | 20 | sub HELP { 21 | print "Usage $0 \t \n". 22 | "Converts x, y, z (CIE XYZ) to Lab components\n"; 23 | exit; 24 | } 25 | 26 | 27 | sub Fxyz { 28 | my ($t) = @_; 29 | return ( 30 | ($t > 0.008856)? 31 | ($t**(1.0/3.0)) : 32 | (7.787*$t + 16.0/116.0) 33 | ); 34 | } 35 | 36 | sub xyz_to_Lab { 37 | my ($x, $y, $z) = @_; 38 | 39 | my $L = 116.0 * Fxyz( $y/$CIEXYZ_D65[1] ) -16; 40 | my $A = 500.0 * (Fxyz( $x/$CIEXYZ_D65[0] ) - Fxyz( $y/$CIEXYZ_D65[1] ) ); 41 | my $B = 200.0 * (Fxyz( $y/$CIEXYZ_D65[1] ) - Fxyz( $z/$CIEXYZ_D65[2] ) ); 42 | 43 | return ($L, $A, $B); 44 | } 45 | 46 | 47 | 48 | sub main { 49 | my ($x, $y, $z) = @ARGV; 50 | HELP if (!defined($x) || !defined($y) || !defined($z)); 51 | my ($L, $A, $B) = xyz_to_Lab($x, $y, $z); 52 | print "$L $A $B"; 53 | } 54 | 55 | 56 | main; 57 | -------------------------------------------------------------------------------- /scripts/xyz_to_rgb.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | use warnings; 5 | use Data::Dumper; 6 | 7 | =head1 8 | 9 | xyz_to_rgb.pl 10 | 11 | Usage ./xyz_to_rgb.pl 12 | 13 | inverse of rgb_to_xyz.pl 14 | 15 | =cut 16 | 17 | sub HELP { 18 | print "Usage $0 \t \n". 19 | "Inverse of rgb_to_xyz.pl\n"; 20 | exit; 21 | } 22 | 23 | 24 | sub xyz_to_rgb { 25 | my ($x, $y, $z) = @_; 26 | 27 | my @Clinear; 28 | $Clinear[0] = $x*3.2410 - $y*1.5374 - $z*0.4986; # red 29 | $Clinear[1] = -$x*0.9692 + $y*1.8760 - $z*0.0416; # green 30 | $Clinear[2] = $x*0.0556 - $y*0.2040 + $z*1.0570; # blue 31 | 32 | for (my $i=0; $i<3; $i++) 33 | { 34 | $Clinear[$i] = ($Clinear[$i]<=0.0031308)? 12.92*$Clinear[$i] : ( 35 | 1+0.055)* ($Clinear[$i]**(1.0/2.4)) - 0.055; 36 | } 37 | 38 | return ( 39 | int($Clinear[0]*255.0), 40 | int($Clinear[1]*255.0), 41 | int($Clinear[2]*255.0) 42 | ); 43 | } 44 | 45 | 46 | sub main { 47 | my ($x, $y, $z) = @ARGV; 48 | HELP if (!defined($x) || !defined($y) || !defined($z)); 49 | my ($r, $g, $b) = xyz_to_rgb($x, $y, $z); 50 | print "$r $g $b"; 51 | } 52 | 53 | 54 | main; 55 | -------------------------------------------------------------------------------- /urnn: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # wrapper script for urnn scripts and functions 3 | 4 | # planned: 5 | usage() 6 | { 7 | echo "usage: $0 [retrain|regen|refresh|colors] (file) (file)" 8 | echo " retrain retrain urnn with the current dataset" 9 | # This will eventually have a (convert/colors) arg, for now using colors only. 10 | echo " regen regenerate ALL urnn data from inputs (HEAVY operation)" 11 | echo " refresh repopulate urnn.data file from dataset(after an add, for example)" 12 | echo " colors (img) generate xresources to STDOUT using current training result" 13 | echo " add (img) (Xres) generate and add urnn data to current dataset(for quickly testing)" 14 | echo " addinput (img) (Xres) generate and add urnn data to dataset, and add files to input/staging" 15 | exit 1 16 | } 17 | 18 | setup() 19 | { 20 | [ -f network/urnn_train ] && return 0 21 | make --silent -C network 22 | make --silent -C colors/sin_colors 23 | } 24 | 25 | retrain() 26 | { 27 | cd network 28 | ./urnn_train urnn.data urnn.trained 29 | } 30 | 31 | regen() 32 | { 33 | urnnputs 34 | 35 | # clear out the current dataset. 36 | rm dataset/*.data 37 | 38 | # Make new dataset from input/data. 39 | cd scripts 40 | ./extracter.pl 41 | cd .. 42 | 43 | # repopulate urnn.data 44 | refresh 45 | } 46 | 47 | refresh() 48 | { 49 | cd network 50 | 51 | # at top of urnn.data, we have: 52 | # 53 | # We're using top 10 colors from images, with 3 nodes for every color = 30 54 | # There are 18 Xresources colors (times 3 for color nodes) = 54 output nodes 55 | # and a set is a pair of image.data and resource data. 56 | sets=`find ../dataset/ -name "*.images.data" | wc -l` 57 | echo "$sets 30 54" > urnn.data 58 | for file in `ls ../dataset | sort`; do 59 | (cat ../dataset/$file; echo) >> urnn.data 60 | done 61 | } 62 | 63 | colors() 64 | { 65 | file="$1" 66 | [ -z "$file" ] && usage 67 | [ ! -f "$file" ] && echo "ERR: could not find $file" && exit 1 68 | 69 | # Is this a png file? 70 | if ! file "$file" | grep "PNG image data" > /dev/null; then 71 | type convert >/dev/null 2>&1 || { echo >&2 "File was not png. Unable to convert image to png file without imagemagick package."; exit 1; } 72 | convert "$file" "/tmp/urnn.png" 73 | file="/tmp/urnn.png" 74 | fi 75 | 76 | store="$(mktemp)" 77 | #TODO - make sure there are 10 colors 78 | cd scripts 79 | ./fix_colors.pl $(../colors/sin_colors/colors -en 10 $file | xargs -n 10 ) | xargs -n1 | perl convert_hex_to_val_2.pl -s 1 > $store 80 | cd ../ 81 | network/urnn_run network/urnn.trained $store | xargs -n3 | scripts/convert_val_to_xresources_colors_2.pl -s 1 -n 82 | } 83 | 84 | # Add inputs to the dataset folder 85 | # add (image file) (xresources file) 86 | # extracts colors from png and xresources and adds to the dataset folder. 87 | add() 88 | { 89 | image_file="$file_rel/$1" 90 | xres_file="$file_rel/$2" 91 | [ -z "$image_file" ] && usage 92 | [ -z "$xres_file" ] && usage 93 | [ ! -f "$image_file" ] && echo "ERR: could not find $image_file" && exit 1 94 | 95 | # Is this a png image_file? 96 | if ! file "$image_file" | grep "PNG image data"; then 97 | type convert >/dev/null 2>&1 || { echo >&2 "image_file was not png. Unable to convert image to png image_file without imagemagick package."; exit 1; } 98 | convert "$image_file" "/tmp/urnn.png" 99 | image_file="/tmp/urnn.png" 100 | fi 101 | 102 | # pick a unique-ish name for the files we're making. 103 | filename="$USER_`date +%N`" 104 | 105 | cd scripts 106 | # Xresources 107 | ./extract_hex_from_xresources.pl "$xres_file" | ./convert_hex_to_val_2.pl -s 1 > ../dataset/${filename}.resources.data 108 | #TODO - make sure there are 10 colors 109 | ./fix_colors.pl $(../colors/sin_colors/colors -en 10 "$image_file" | xargs -n 10 ) | xargs -n1 | ./convert_hex_to_val_2.pl -s 1 > ../dataset/${filename}.images.data 110 | cd ../ 111 | 112 | cd .. 113 | } 114 | 115 | # Add inputs to the dataset folder, and also move them to the input staging folder. 116 | addinput() 117 | { 118 | # Get file locations and add them to the dataset folder 119 | add "$1" "$2" 120 | 121 | # Copy the files to input/staging folder. 122 | cp "$image_file" "inputs/staging/${filename}.png" 123 | cp "$xres_file" "inputs/staging/${filename}.resources" 124 | echo "Generated by $USER" > "inputs/staging/${filename}.txt" 125 | } 126 | 127 | urnnputs() 128 | { 129 | if [ ! -d inputs/data ]; then 130 | echo "no input/data directory found, pulling urnnputs." 131 | git submodule init 132 | git submodule update 133 | fi 134 | } 135 | 136 | # Make things relative to dir this script resides in 137 | file_rel=$(pwd) 138 | cd $(dirname $([ -L $0 ] && readlink -f $0 || echo $0)) 139 | 140 | setup 141 | if [ $? -ne 0 ]; then 142 | echo "Compilation failed. Do you have libfann and libpng installed?" 143 | exit 1 144 | fi 145 | 146 | case $1 in 147 | retrain|refresh|regen|colors|add|addinput) 148 | $@ || usage;; 149 | *) 150 | usage;; 151 | esac 152 | --------------------------------------------------------------------------------