[JdeRobot] Compressed Images

Oscar Garcia oscar.robotica at linaresdigital.com
Sun Mar 29 23:47:51 CEST 2015


El 29/03/15 a las 18:55, Roberto Calvo escribió:
> I attached some interesting plos as well. Soon I'll document this
> feature in the wiki.


I'm very confused with some plots.

* Size of regular COLOR images -> ~230.000 KB (?? or B). I think that 
it's B -> 320×240×3 = 230400 Bytes (225 KB).
* Size of compressed COLOR images (dark) -> 310 KB. I think that 310 KB 
it's BIGGER than 230 KB. Rate: 135% (compression: -26%). If it was 310 B 
(that's almost impossible in lossless compression) the rate was: 0'13% 
(compression: 99.8%).
* Size of compressed COLOR images (light) -> 32000 KB (?? or B). I think 
that it's about 32 KB. Rate : 14% (compression: 86%).

What was the correct units and data?



> If you notice that some component or library doesn't work correctly,
> please let me know.


Trying to compiling (new dependencies):

    -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
    -- checking for one of the modules 'openssl'
    CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:367 (message):
       None of the required 'openssl' found
    Call Stack (most recent call first):
       Deps/openssl/CMakeLists.txt:3 (pkg_search_module)
       CMakeLists.txt:114 (include)


Fixed with:

    sudo apt-get install libssl-dev


So cmake:

    -- checking for one of the modules 'openssl'
    -- Using OpenSSL 1.0.1f


Doing a "make":

    Linking CXX executable cameraview
    /usr/bin/ld: ../../interfaces/cpp/jderobot/libJderobotInterfaces.so: referencia sin definir al símbolo 'pthread_mutexattr_settype@@GLIBC_2.2.5'
    /lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
    collect2: error: ld returned 1 exit status
    make[2]: *** [src/stable/components/cameraview/cameraview] Error 1
    make[1]: *** [src/stable/components/cameraview/CMakeFiles/cameraview.dir/all] Error 2
    make: *** [all] Error 2


What package I need to continue compile process? In previous version 
there is not problems with libpthread.

Regards.

------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://gsyc.escet.urjc.es/pipermail/jde-developers/attachments/20150329/97fe88c2/attachment.htm 


More information about the Jde-developers mailing list