From 2c6d4ba1d5cffd26c5c9527175d565a81226e18d Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Wed, 19 Feb 2014 21:41:44 +0000
Subject: [PATCH] Single image feature extraction for VOC

---
 src/image.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/image.h b/src/image.h
index 72c4b2c..0d7d6e2 100644
--- a/src/image.h
+++ b/src/image.h
@@ -33,13 +33,13 @@
 image make_random_kernel(int size, int c, float scale);
 image float_to_image(int h, int w, int c, float *data);
 image copy_image(image p);
-image load_image(char *filename);
+image load_image(char *filename, int h, int w);
+image ipl_to_image(IplImage* src);
 
 float get_pixel(image m, int x, int y, int c);
 float get_pixel_extend(image m, int x, int y, int c);
 void set_pixel(image m, int x, int y, int c, float val);
 
-
 image get_image_layer(image m, int l);
 
 void two_d_convolve(image m, int mc, image kernel, int kc, int stride, image out, int oc, int edge);

--
Gitblit v1.10.0