mirror of https://github.com/davisking/dlib.git
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().
This commit is contained in:
parent
5b1fc42a82
commit
7f7a93a21d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue