Skip to content

Error when running the demo.m in selective_search_ijcv_with_python #16

@she-huanbo

Description

@she-huanbo

I download selective_search_ijcv_with_python and run the demo with matlab ;but I get the error is as follows:

Demo of how to run the code for:
J. Uijlings, K. van de Sande, T. Gevers, A. Smeulders
Segmentation as Selective Search for Object Recognition
IJCV 2013

Compiling the anisotropic gauss filtering of:
J. Geusebroek, A. Smeulders, and J. van de Weijer
Fast anisotropic gauss filtering
IEEE Transactions on Image Processing, 2003
Source code/Project page:
http://staff.science.uva.nl/~mark/downloads.html#anigauss

Building with 'gcc'.
Error using mex
/home/eesnake/caffe_code/rcnn-master/selective_search/selective_search_ijcv_with_python/Dependencies/anigaussm/anigauss.c:
In function ‘void f_iir_yline_filter(double_, double_, int, int, double_)’:
/home/eesnake/caffe_code/rcnn-master/selective_search/selective_search_ijcv_with_python/Dependencies/anigaussm/anigauss.c:329:43:
error: invalid conversion from ‘void_’ to ‘double_’ [-fpermissive]
/home/eesnake/caffe_code/rcnn-master/selective_search/selective_search_ijcv_with_python/Dependencies/anigaussm/anigauss.c:331:35:
error: invalid conversion from ‘void_’ to ‘double_’ [-fpermissive]
/home/eesnake/caffe_code/rcnn-master/selective_search/selective_search_ijcv_with_python/Dependencies/anigaussm/anigauss.c:332:35:
error: invalid conversion from ‘void_’ to ‘double_’ [-fpermissive]
/home/eesnake/caffe_code/rcnn-master/selective_search/selective_search_ijcv_with_python/Dependencies/anigaussm/anigauss.c:333:35:
error: invalid conversion from ‘void_’ to ‘double_’ [-fpermissive]
/home/eesnake/caffe_code/rcnn-master/selective_search/selective_search_ijcv_with_python/Dependencies/anigaussm/anigauss.c:334:35:
error: invalid conversion from ‘void_’ to ‘double_’ [-fpermissive]
/home/eesnake/caffe_code/rcnn-master/selective_search/selective_search_ijcv_with_python/Dependencies/anigaussm/anigauss.c:
In function ‘void f_iir_tline_filter(double_, double_, int, int, double_,
double)’:
/home/eesnake/caffe_code/rcnn-master/selective_search/selective_search_ijcv_with_python/Dependencies/anigaussm/anigauss.c:436:43:
error: invalid conversion from ‘void_’ to ‘double_’ [-fpermissive]
/home/eesnake/caffe_code/rcnn-master/selective_search/selective_search_ijcv_with_python/Dependencies/anigaussm/anigauss.c:439:47:
error: invalid conversion from ‘void_’ to ‘double_’ [-fpermissive]
/home/eesnake/caffe_code/rcnn-master/selective_search/selective_search_ijcv_with_python/Dependencies/anigaussm/anigauss.c:440:47:
error: invalid conversion from ‘void_’ to ‘double_’ [-fpermissive]
/home/eesnake/caffe_code/rcnn-master/selective_search/selective_search_ijcv_with_python/Dependencies/anigaussm/anigauss.c:441:47:
error: invalid conversion from ‘void_’ to ‘double_’ [-fpermissive]
/home/eesnake/caffe_code/rcnn-master/selective_search/selective_search_ijcv_with_python/Dependencies/anigaussm/anigauss.c:442:47:
error: invalid conversion from ‘void_’ to ‘double_’ [-fpermissive]
/home/eesnake/caffe_code/rcnn-master/selective_search/selective_search_ijcv_with_python/Dependencies/anigaussm/anigauss.c:
In function ‘void f_iir_derivative_filter(double_, double_, int, int, double,
int)’:
/home/eesnake/caffe_code/rcnn-master/selective_search/selective_search_ijcv_with_python/Dependencies/anigaussm/anigauss.c:648:32:
error: invalid conversion from ‘void_’ to ‘double_’ [-fpermissive]

Error in demo (line 20)
mex Dependencies/anigaussm/anigauss_mex.c Dependencies/anigaussm/anigauss.c
-output anigauss

Has anybody else come across this error or do you have suggestions how to deal with it?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions