Commit Graph

6260 Commits

Author SHA1 Message Date
Davis King
8332489805 Fixed a few places where lab color space still referred to the channels
as being signed rather than unsigned.
2016-08-05 08:13:45 -04:00
Davis King
8db76eb89a Merge branch 'lab_pixel' of git://github.com/sutr90/dlib into sutr90-lab_pixel 2016-08-05 07:11:20 -04:00
sutr90
64e437a320 Added test for RGB to Lab to RGB conversion. 2016-08-05 10:59:07 +02:00
Davis King
8c037c3cb0 Added guards so dlib::async code isn't pulled in when using old versions of visual studio (since they don't support c++11). 2016-08-04 21:12:00 -04:00
Davis King
a5e264cb31 Added check for initializer list support so code compiles in visual studio. 2016-08-04 21:10:12 -04:00
Davis King
87e04764e5 Removed call to std::round() since visual studio 2012 doesn't support it. 2016-08-04 21:09:52 -04:00
Davis King
e282307b64 added missing requirement. 2016-08-03 11:18:37 -04:00
sutr90
fa865c218e Added tests for Lab pixels. 2016-08-03 14:48:59 +02:00
Davis King
bc4b2814af Fixed silly typo in script 2016-07-31 09:49:21 -04:00
Davis King
f2088e832b removed excessive error checking 2016-07-31 09:46:10 -04:00
Davis King
6402a37458 Made --resample use a 64bit hash of the image data
in the file names to make it so there won't ever be any name conflicts
in the cropped images.
2016-07-31 09:11:52 -04:00
Davis King
7c828d0812 Added some scripts that help with imglab XML file management. 2016-07-30 18:33:50 -04:00
Davis King
f77ca0c754 Added --files 2016-07-30 17:19:20 -04:00
Davis King
26c727c79e Added --ignore option. Also improved how scale jittering happens in --resample,
now the output images are always the same dimensions but the objects scale changes.
2016-07-30 14:34:53 -04:00
Davis King
ed78e8b1c0 Made this not use stdin's file descriptor for data transfer between the
processes since sometimes stdin was closed in some environments.  Also cleaned
up the code a little bit.
2016-07-29 09:03:05 -04:00
Davis King
d40e34cf22 merged 2016-07-28 19:13:10 -04:00
Davis King
284ace058a merged 2016-07-28 19:12:48 -04:00
Davis King
3a096469ef Changed code to avoid advancing iterator beyond end since some compilers
complain about this (and it's technically not allowed in C++).
2016-07-28 19:09:07 -04:00
Davis King
edb2790bcc fixed grammar in comment 2016-07-28 17:59:31 -04:00
sutr90
933ab00942 Fixed PNG saving. 2016-07-28 14:07:23 +02:00
sutr90
2c6351bea3 Fixes Lab tests. 2016-07-27 17:51:01 +02:00
sutr90
ebad74aa20 Fixed grayscale assignment. 2016-07-27 17:47:42 +02:00
sutr90
6e06fc873c Changed lab pixel range.
Added clamping on conversion functions.
2016-07-27 17:25:19 +02:00
sutr90
71ab04f7bc Added missing conversion between HSI and CIELab. 2016-07-26 22:11:56 +02:00
sutr90
385bcb7660 Added support for CIELab color space pixels. 2016-07-26 21:45:52 +02:00
Jan Rüegg
d83b54d275 Make filo compile with WIN32_LEAN_AND_MEAN defined (#169) 2016-07-26 08:30:20 -04:00
Davis King
435299081f Fixed potential division by zero. 2016-07-23 20:18:31 -04:00
Davis King
938e97713a fixed typo in comment 2016-07-23 13:34:08 -04:00
Davis King
0f06d78e33 Add guard so code compiles in old compilers. 2016-07-22 23:01:33 -04:00
Davis King
d635a7ee10 Improved cmake warning messages about cuDNN 2016-07-22 17:03:34 -04:00
Davis King
73156146f9 Added dlib::async() and default_thread_pool() 2016-07-22 16:24:25 -04:00
Davis King
bdbc8e418b Renamed something to avoid name clash with standard library. 2016-07-22 16:22:57 -04:00
Evgeniy Fominov
bbeac285d1 Shape predictor trainer optimizations (#126)
* Shape predictor trainer optimizations

* Fixed performance leak in single thread mode & made VS2010 support
2016-07-22 09:11:13 -04:00
Davis King
6eb5bd8068 merged 2016-07-21 22:33:43 -04:00
Davis King
5ecd904d76 merged 2016-07-21 22:33:27 -04:00
Davis King
cf321559e8 Made remove_unobtainable_rectangles() work with all scan_fhog_pyramid objects. 2016-07-21 22:32:48 -04:00
Davis King
5f48afc5b8 Improved --extract-chips and --resample a bit. 2016-07-21 22:32:25 -04:00
Davis King
fd6db8216a Made it so the matrix only uses matlab's allocation routines for matrices that
are directly the arguments of a mex function.  This way, we avoid the problem
of dlib::matrix objects being created in other threads that internally call
into matlab and mess it up (since matlab is not thread safe in any sense).
2016-07-21 17:10:51 -04:00
Davis King
41d261acb6 merged 2016-07-20 20:29:18 -04:00
Davis King
d0fae99107 merged 2016-07-20 20:28:47 -04:00
Davis King
437690c32d Added missing const. 2016-07-20 20:28:08 -04:00
Davis King
3748650aae Fixed path error in this cmake file. 2016-07-20 15:33:45 -04:00
Davis King
6f24b6d5ee Made the env var CUDA_VISIBLE_DEVICES propagate to the child process 2016-07-20 15:12:32 -04:00
Davis King
81a40ca795 Minor change to avoid linker errors in some cases. 2016-07-20 10:19:46 -04:00
Minglangjun Li
c256cf0999 Fixes #128. Added support to discontiguous Numpy arrays (#155) 2016-07-20 10:05:30 -04:00
Davis King
22758268fc Renamed iterator types to correctly reflect their requirements (i.e. not input
iterators in the sense implied by the C++ standard but rather at least forward
iterators).
2016-07-16 09:06:29 -04:00
Davis King
4b05b4d4bb Improved error message 2016-07-16 08:58:17 -04:00
vsooda
2849ebd70e fix shape_predictor dlib::searialize and dlib::desearialize error (#156)
* fix shape_predictor dlib::searialize and dlib::desearialize error

* declare shape_predictor searialize and desearialize inline

* fix inline declare issue: declare inline before implement
2016-07-12 09:46:06 -04:00
Davis King
e3281851b5 Added checks to see if cblas.h has already been #included. 2016-07-10 07:46:31 -04:00
Davis King
15022b227f Updated search paths for the Intel MKL so they will find newer versions of the MKL
on windows.
2016-07-07 19:29:42 -04:00