diff --git a/samples/lookup_template.html b/samples/lookup_template.html index 69a8e3a3f9e726a382936c4b18bbb5db8d983ba7..6dae31c66a5b44ee5352c4b4f2e84c1903075281 100644 --- a/samples/lookup_template.html +++ b/samples/lookup_template.html @@ -11,11 +11,14 @@ <script lang="js" src="../lookup/windows.js"></script> </head> <body> +Template<br></br> +<img width="32" height="32" id='model' src='../data/red.png'></img><br></br> +Target<br></br> <img width="84" height="84" id='input1' src='../data/I1.png'></img> -<img width="32" height="32" id='model' src='../data/red.png'></img> +<br></br> <div id="res"></div> <script lang="javascript"> -var _task=new lookup_windows.MeanRGBSameSizeTemplate('model',10); +var _task=new lookup_windows.MeanRGBSameSizeTemplate('model',2); console.log(_task.process(Tools.get_imageData_from_imgEltId('input1'))); </script> diff --git a/samples/photo_fill_pixels.html b/samples/photo_fill_pixels.html index eb0cbff19fc52f2facdcaae38cebc002fdc9fb18..b6808f644a9f4fd549751c6e24fbb7c7c168d0cf 100644 --- a/samples/photo_fill_pixels.html +++ b/samples/photo_fill_pixels.html @@ -27,7 +27,7 @@ <br></br> <img id="img0" src="../data/ii2d.png" width="40" height="20"></img> <br></br> -<img id="big0" src="../data/ii2d.png" width="640" height="320"></img> +<!--img id="big0" src="../data/ii2d.png" width="640" height="320"></img--> <canvas id="output0" width="640" height="320"></canvas> <br></br> <img id="img1" src="../data/16_02.jpg" width="40" height="20"></img>