Ask Your Question

Aly Osama's profile - activity

2018-05-30 18:14:23 -0500 received badge  Notable Question (source)
2018-05-30 18:14:23 -0500 received badge  Popular Question (source)
2017-05-10 16:25:00 -0500 received badge  Taxonomist
2015-01-06 16:12:43 -0500 received badge  Self-Learner (source)
2015-01-06 14:30:56 -0500 answered a question Error while building opencv master branch

i know the problem i have ATI graphics card and i installed ‘libopencv-dev‘ so i need to replace it with ‘ocl-icd-libopencl1‘ , you can check this link

installing ‘libopencv-dev‘ on non nvidia graphics card messes up the drivers. As a workaround for non nvidia cards like AMD/ATI, Radeon, replace libopencv-dev below with ‘ocl-icd-libopencl1‘ which is a generic driver. Please note that I have not tried this out yet as I have no ATI/Radeon cards to test with .

2015-01-06 13:47:53 -0500 asked a question libopencv-dev importance

i want to know what is the importance of installing libopencv-dev package on ubuntu ? if i want to build opencv from the source code ?

2015-01-06 01:04:01 -0500 received badge  Enthusiast
2015-01-04 04:09:16 -0500 asked a question Error while building opencv master branch

i try to build the master branch and i found this error what shall i do ?

Linking CXX shared library ../../lib/libopencv_imgproc.so
/usr/bin/ld: ../../../3rdparty/ippicv/unpack/ippicv_lnx/lib/ia32/libippicv.a(jmp_ippiResizeGetBufferSize_16s_as.s.o): relocation R_386_GOTOFF against undefined symbol `ippicvJumpIndexForMergedLibs' can not be used when making a shared object
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libopencv_imgproc.so.3.0.0] Error 1
make[1]: *** [modules/imgproc/CMakeFiles/opencv_imgproc.dir/all] Error 2
make: *** [all] Error 2

also it didn't recognize #include "opencl_kernels_imgproc.hpp" in imgwrap.cpp

2015-01-03 17:10:32 -0500 commented question Build modified opencv source code

i checked it , it was CMAKE_INSTALL_PREFIX:PATH=/usr/local so it think it hit my updated libs

2015-01-03 15:00:53 -0500 received badge  Supporter (source)
2015-01-03 14:43:50 -0500 received badge  Editor (source)
2015-01-03 05:03:25 -0500 commented question Build modified opencv source code

i try fflush(stdout) and endl but it didn't work

2015-01-03 01:58:49 -0500 asked a question Build modified opencv source code

i want to fix a bug in function in imgproc so i try to edit source code in ( opencv/modules/imgproc/src/.. ) i write an output stream at the beginning of this function to check when i run the code if its my modified code or not

std::cout<<"My New Code"<<std::endl;

then i rebuild opencv and install it again

make 
sudo make install

when i try to use the function again , nothing appear on my screen . so how can i do this ? also if there is a good method that help me to fix any bug and see what have i changed ?

2015-01-02 03:55:00 -0500 answered a question Is there any book available for JAVA OpenCV?

you can check the list of opencv books
if you want to learn how to deal with Java opencv you have to read this

2015-01-01 22:48:53 -0500 commented answer DICOM images in opencv

Do you know the reason , why they didn't implement its reader , its an essential format for medical images .

2015-01-01 11:59:21 -0500 commented question Object detection for Android application

could you tell us what is your problem you need to detect so we can recommend you a suitable classifier ?

2015-01-01 11:58:12 -0500 answered a question How to access pixels in a binary image?

the binary images is made up of uchars , so you can access any pixel in the image using this

binImage.at<uchar>(i,j)
2015-01-01 11:58:12 -0500 answered a question does opencv support flv video format?

yes , you can write flv format video using CV_FOURCC('F','L','V','1')

cvCreateVideoWriter("disparity_output.flv",CV_FOURCC('F','L','V','1') , 32, size, 0);

if it does't work you can try recompiling opencv with ffmpeg, you can check this link for more details

2015-01-01 11:39:45 -0500 asked a question DICOM images in opencv

i want to read and view dicom images in opencv to perform medical imaging operations , how can i do that ? Thanks