[arrayfire] 09/41: Replace lena image in kmeans example

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Mar 21 14:56:21 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/experimental
in repository arrayfire.

commit 6dbf441efe713eadc665211028ad2ffcfb99b0a3
Author: pradeep <pradeep at arrayfire.com>
Date:   Wed Mar 9 19:05:44 2016 +0530

    Replace lena image in kmeans example
---
 examples/machine_learning/kmeans.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/machine_learning/kmeans.cpp b/examples/machine_learning/kmeans.cpp
index 51351aa..f75da9e 100644
--- a/examples/machine_learning/kmeans.cpp
+++ b/examples/machine_learning/kmeans.cpp
@@ -112,7 +112,7 @@ int kmeans_demo(int k, bool console)
 {
     printf("** ArrayFire K-Means Demo (k = %d) **\n\n", k);
 
-    array img = loadImage(ASSETS_DIR"/examples/images/lena.ppm", true) / 255; // [0-255]
+    array img = loadImage(ASSETS_DIR"/examples/images/vegetable-woman.jpg", true) / 255; // [0-255]
 
     int w = img.dims(0), h = img.dims(1), c = img.dims(2);
     array vec = moddims(img, w * h, 1, c);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git



More information about the debian-science-commits mailing list