Skip to content

ice-github/ImageInformationAnalyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImageInformationAnalyzer

What is this repository?

An implimentation of the following article

you can detect blood vessels from a RGB JPEG image. No need to use IR camera

How to build

Clone repository

git clone https://github.com/ice-github/ImageInformationAnalyzer
cd ImageInformationAnalyzer
git submodule init
git submodule update

Prepare install dir

mkdir ThirdParty/install
INSTALL_DIR=`pwd`/ThirdParty/install

Build Eigen

cd ThirdParty/Eigen
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR .. 
make && make install
cd ../../

*you should consider removing "build" directory because CMake may refer the build directory as Eigen3 dir

Build glog

cd ThirdParty/glog
mkdir working && cd working
cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR -DWITH_GFLAGS=false .. 
make && make install
cd ../../

Build ceres-solver

cd ThirdParty/ceres-solver
mkdir working && cd working
cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR -DEIGEN_INCLUDE_DIR=$INSTALL_DIR/include/eigen3 -DMINI GLOG=true -DBUILD_EXAMPLES=false -DBUILD_TESTING=false -DGFLAGS=false ..
make && make install
cd ../../

*you may encount errors about map/set but the errors can be fixed by adding std::, e.g. std::map

Build Project

cmake -DOpenCV_DIR=${opencv cmake directory} -DEigen3_DIR=$INSTALL_DIR/share/eigen3/cmake -DCeres_DIR=$INSTALL_DIR/CMake ..

*OpenCV_DIR indicates the directory of OpenCVConfig.cmake file. e.g. opencv/build

How to run

./sample ${Project directory}/img/Hand.jpg

*you can change the luminance by using the setting window and "Apply" button

Original Hand

B-G image Setting image Setting image

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published