Ask Your Question

joonho1145's profile - activity

2017-04-27 00:57:55 -0600 received badge  Notable Question (source)
2016-08-03 03:27:31 -0600 received badge  Popular Question (source)
2015-07-22 01:35:12 -0600 asked a question warpPerspective using panorama

Have multiple photos to create a panoramic picture gohanda. Source reference to the site below were implemented.

http://ramsrigoutham.com/2012/11/22/p...

The left image and the reference image can be synthesized on the right side. What I wonder is this standard to transform the above right picture source To paste the picture to the left, how do you modify the source? Please answer.

2015-07-21 08:01:42 -0600 asked a question How to Multi Thread Stitching?

I'm used Stitcher class. build it. and CUDA install GPU run.

code

void ThreadFunc(void* arg)
{
 ...
 Stitcher stitch = CreateDefault(true);
 stitch.stitch( vImg, rImg );
 ...
}

void main()
{
for(...)
 _beginThread( ThreadFunc, 0, this );
}

Thread running is dying. how to Muli thread stitching?

2015-07-16 00:10:07 -0600 asked a question opencv 3.0alpha knnMatchSingle error

I use Stitcher class. stitch function to use an error occurs, In knnMatchSingle function caller_t func = callers [query.depth ()]; The value of func is output when you call the 0x00000000 value.

The problem I do not opencv2.4.9 What is the reason not in opencv3.0 alpha?

thanks.

2015-07-15 04:36:41 -0600 answered a question Speedup stitching

Cuda toolkit install. The graphics card must support cuda. (NVIDIA GTX xxx) Cmake use opencv build.

int num_device = getCudaEnabledDeviceCount(); //GPU is must num_device == 1 if(num_device > 0) Stitcher stitcher = Stitcher::createDefault(true); //try_use_gpu //use GPU else Stitcher stitcher = Stitcher::createDefault(false); //use only CPU Stitcher::Status status = stitcher.stitch(imgs, rois, pano);

it is fast.

2015-07-15 04:10:33 -0600 received badge  Student (source)
2015-07-15 03:42:15 -0600 asked a question Multiple thread stitching

I use opencv to build a stitcher class to create a panorama image.

The camera image in real time to produce multiple Thread to make the panorama image is an error to use a stitch function.

The same error occurs when the graphics card is one haneungeot because of overlapping GPU is used.

How do I use multiple threads in Stitch?

Errors I got:

OpenCV Error: Gpu API call (unspecified launch failure) in CudaFuncTable::copy, file D:\opencv\source\modules\dynamicuda\include\opencv2/dynamicuda/dynamicuda.hpp, line 882
OpenCV Error: Gpu API call (unspecified launch failure) in unknown function, ...matrix_operation.cu, line 143
OpenCV Error: Gpu API call (unspecified launch failure) in unknown function, ...surf.cu, line 140
OpenCV Error: Gpu API call (unspecified launch failure) in unknown function, ...surf.cu, line 691
OpenCV Error: Gpu API call (unspecified launch failure) in unknown function, ...surf.cu, line 112
OpenCV Error: Gpu API call (unspecified launch failure) in CudaFuncTable::mallocPitch, .... dynamicuda.hpp, line 1143
2015-07-13 00:26:26 -0600 received badge  Enthusiast
2015-07-12 21:42:07 -0600 asked a question OpenCV Error: Gpu API call

I use Stitcher class to create an MFC project to create panoramic images. opencv was build in order to use cuda,

After creating multiple threads in a while loop in the main program, Call the stitch function to simultaneously produce multiple panoramic images It was coded.

Threads generated code is as follows:

void MakeThread() { for(int n = 0; n < MAX_IMAGE; n++) { _beginthread( CreateStitchImg, 0, (void*)this); Sleep(100); } }

void CreateStitchImg(void* arg) { vector< Mat > vImg; Mat rImg; Stitcher stitching = Stitcher::createDefault(true);

vImg.push_back( imread("D:\test1.jpg"));
vImg.push_back( imread("D:\test2.jpg"));

stitching.stitch(vImg, rImg);

}

However, stitch while creating a panoramic image from a different thread The following errors occurred.

Do you know why?

--log OpenCV Error: Gpu API call (unspecified launch failure) in unkonwn function, file D:/opencv/sources/modules/nonfree/src/cuda/surf.cu, line 250

OpenCV Error: Gpu API call (unspecified launch failure) in CudaFuncTable::mallocPitch, file D:/opencv/sources/modules/dynamicuda/include/opencv2/dynamicuda/dynamicuda/hpp, line 1134

2015-07-07 21:29:11 -0600 asked a question getCudaEnabledDeviceCount return 0

I use cuda.

cudaError_t error = cudaGetDeviceCount(&count);

count is 1

and getCudaEnabledDeviceCount() returns 0 and I do not understand why...

Is it linked to HAVE_CUDA? I have build OpenCV with CMake WITH_CUDA checked.

//cuda_info.cpp
int cv::cuda::getCudaEnabledDeviceCount()
{
#ifndef HAVE_CUDA
    return 0;
#else
    int count;
    cudaError_t error = cudaGetDeviceCount(&count);

    if (error == cudaErrorInsufficientDriver)
        return -1;

    if (error == cudaErrorNoDevice)
        return 0;

    cudaSafeCall( error );
    return count;
#endif
}
2015-07-07 02:31:39 -0600 asked a question opencv_world checked build error.

I'm use opencv 3.0 CMake 3.0.0 rc

BUILD_opencv_world checked. Why build error?

error log.

Processing WORLD modules... module opencv_hal... module opencv_cudev...

CMake Error at modules/cudev/CMakeLists.txt:21 (add_subdirectory): add_subdirectory given source "test" which is not an existing directory. Call Stack (most recent call first): modules/world/CMakeLists.txt:13 (include) modules/world/CMakeLists.txt:25 (include_one_module)

2015-07-07 02:03:59 -0600 asked a question How to build opencv_world300d.dll , lib?

I'm build opencv 3.0 CMake 3.0.0rc WITH_CUDA

build ok. but, opencv_world300d.dll, lib is not there.

How to build opencv_world300d.dll , lib?

2015-07-06 20:14:46 -0600 asked a question Why is getCudaEnabledDeviceCount function returns 0?

I've installed the cuda7. I used the opencv3.0 version CMake 3.0.0rc used to build up. After checking the build-up WITH_CUDA to invoke a function getCudaEnabledDeviceCount Return 0.

Is that returns zero?

2015-07-05 23:41:36 -0600 commented question Stitcher::CreateDefault by GPU

int nCuda = getCudaEnabledDeviceCount()

nCuda == 0

why?

2015-07-03 05:33:45 -0600 asked a question how to real time stitching ?

I'm used Stitcher class

it's very slowly

how got to real time stitching?

Stitcher stitcher = Stitcher::createDefault();
Stitcher::Status status = stitcher.stitch(vImg, rImg);
2015-07-02 22:37:32 -0600 asked a question Stitcher::CreateDefault by GPU
Stitcher stitcher = Stitcher::createDefault(true);

but,

int nCuda = getCudaEnabledDeviceCount() ;
return 0

why return 0?

2015-07-02 22:37:31 -0600 asked a question Build problem ( opencv 3.0, cuda 7)

I Use windows7 64bit, use following CMake options

BUILD_opencv_world checked. warning message

CMake Warning (dev) at cmake/OpenCVUtils.cmake:798 (get_target_property): Policy CMP0045 is not set: Error on non-existent target in get_target_property. Run "cmake --help-policy CMP0045" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

get_target_property() called with non-existent target "opencv_calib3d". Call Stack (most recent call first): CMakeLists.txt:765 (ocv_get_all_libs) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVUtils.cmake:798 (get_target_property): Policy CMP0045 is not set: Error on non-existent target in get_target_property. Run "cmake --help-policy CMP0045" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

get_target_property() called with non-existent target "opencv_core". Call Stack (most recent call first): CMakeLists.txt:765 (ocv_get_all_libs) This warning is for project developers. Use -Wno-dev to suppress it. .... .... ....

It does not build properly.