Commit 7f7a93a2 authored by Davis King's avatar Davis King

A minor change to allow a wider variety of output image types to be used. In

particular, this change allows complex valued images to be the output of
extract_image_chips().
parent 5b1fc42a
......@@ -1621,7 +1621,7 @@ namespace dlib
}
// now make an image pyramid
dlib::array<image_type2> levels(max_depth);
dlib::array<array2d<typename image_traits<image_type1>::pixel_type> > levels(max_depth);
if (levels.size() != 0)
pyr(img,levels[0]);
for (unsigned long i = 1; i < levels.size(); ++i)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment