[arrayfire] 112/408: Changes in examples to reflect asset modifications

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Sep 21 19:11:31 UTC 2015


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

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

commit 3a163f5f189dffc824e5bc87336419ba3626c71b
Author: pradeep <pradeep at arrayfire.com>
Date:   Tue Jul 7 13:32:21 2015 -0400

    Changes in examples to reflect asset modifications
---
 assets                                 | 2 +-
 examples/graphics/histogram.cpp        | 2 +-
 examples/image_processing/edge.cpp     | 2 +-
 examples/image_processing/filters.cpp  | 2 +-
 examples/image_processing/morphing.cpp | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/assets b/assets
index 77ba8d3..d5b0b7c 160000
--- a/assets
+++ b/assets
@@ -1 +1 @@
-Subproject commit 77ba8d3c8dc399c49da7413774b71985ce989a09
+Subproject commit d5b0b7cd5d44299458696571df7fb1aa7d99701e
diff --git a/examples/graphics/histogram.cpp b/examples/graphics/histogram.cpp
index c49a36f..bdb9a35 100644
--- a/examples/graphics/histogram.cpp
+++ b/examples/graphics/histogram.cpp
@@ -21,7 +21,7 @@ int main(int argc, char *argv[])
         af::Window myWindow(512, 512, "Histogram example using ArrayFire");
         af::Window imgWnd("Input Image");
 
-        array img = loadImage(ASSETS_DIR"/examples/images/lena.ppm", false);
+        array img = loadImage(ASSETS_DIR"/examples/images/arrow.jpg", false);
         array hist_out = histogram(img, 256, 0, 255);
 
         while (!myWindow.close() && !imgWnd.close()) {
diff --git a/examples/image_processing/edge.cpp b/examples/image_processing/edge.cpp
index 1c17320..1c3a35b 100644
--- a/examples/image_processing/edge.cpp
+++ b/examples/image_processing/edge.cpp
@@ -74,7 +74,7 @@ void edge(bool console)
     af::Window myWindow("Edge Dectectors");
     af::Window myWindow2(512, 512, "Histogram");
 
-    array in = loadImage(ASSETS_DIR "/examples/images/lena.ppm", false);
+    array in = loadImage(ASSETS_DIR "/examples/images/trees_ctm.jpg", false);
 
     array prewitt = edge(in, 1);
     array sobelFilter   = edge(in, 2);
diff --git a/examples/image_processing/filters.cpp b/examples/image_processing/filters.cpp
index 1032043..2971ee9 100644
--- a/examples/image_processing/filters.cpp
+++ b/examples/image_processing/filters.cpp
@@ -214,7 +214,7 @@ int main(int argc, char **argv)
         af::setDevice(device);
         af::info();
 
-        array lena = loadImage(ASSETS_DIR "/examples/images/lena.ppm", true);
+        array lena = loadImage(ASSETS_DIR "/examples/images/vegetable-woman.jpg", true);
 
         array prew_mag, prew_dir;
         array sob_mag, sob_dir;
diff --git a/examples/image_processing/morphing.cpp b/examples/image_processing/morphing.cpp
index 8a4413f..31f1cf0 100644
--- a/examples/image_processing/morphing.cpp
+++ b/examples/image_processing/morphing.cpp
@@ -80,7 +80,7 @@ static void morphing_demo(bool console)
 {
     af::Window wnd(1280, 720, "Morphological Operations");
     // load images
-    array img_rgb = loadImage(ASSETS_DIR "/examples/images/lena.ppm", true) / 255.f; // 3 channel RGB       [0-1]
+    array img_rgb = loadImage(ASSETS_DIR "/examples/images/man.jpg", true) / 255.f; // 3 channel RGB       [0-1]
 
     array mask = constant(1, 5, 5);
 

-- 
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