Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

sure, that's possible. in gereal, you look at the cmakelists.txt of that module, and see, that you would minimally need:

opencv_bioinspired opencv_core

i'd also throw in:

opencv_highgui (for showing things ?) opencv_imgcodecs (to load images ?) opencv_imgproc (conversions ?)

then you can use a whitelist of explicitly needed opencv modules (w/o opencv_ prefix):

cmake -DBUILD_LIST="core,bioinspired,imgproc"

alternatively, if you want ALL of the opencv main repo, but ONLY the bioinspired module from contrib, you can point:

cmake -DOPENCV_EXTRA_MODULES_PATH=/your/opencv_contrib/modules/bioinspired

sure, that's possible. in gereal, general, you look at the cmakelists.txt of that module, and see, that you would minimally need:

opencv_bioinspired opencv_core

i'd also throw in:

opencv_highgui (for showing things ?) opencv_imgcodecs (to load images ?) opencv_imgproc (conversions ?)

then you can use a whitelist of explicitly needed opencv modules (w/o opencv_ prefix):

cmake -DBUILD_LIST="core,bioinspired,imgproc"

alternatively, if you want ALL of the opencv main repo, but ONLY the bioinspired module from contrib, you can point:

cmake -DOPENCV_EXTRA_MODULES_PATH=/your/opencv_contrib/modules/bioinspired

sure, that's possible. in general, you look at the cmakelists.txt of that module, and see, that you would minimally need:

opencv_bioinspired opencv_core

i'd also throw in:

opencv_highgui (for showing things ?) opencv_imgcodecs (to load images ?) opencv_imgproc (conversions ?)

then you can use a whitelist of explicitly needed opencv modules (w/o opencv_ prefix):prefix), which will override all other BUILD_opencv_xxx settings:

cmake -DBUILD_LIST="core,bioinspired,imgproc"

alternatively, if you want ALL of the opencv main repo, but ONLY the bioinspired module from contrib, you can point:

cmake -DOPENCV_EXTRA_MODULES_PATH=/your/opencv_contrib/modules/bioinspired