Ask Your Question

aeromind's profile - activity

2020-11-16 15:01:32 -0600 received badge  Good Question (source)
2018-10-04 07:40:52 -0600 received badge  Famous Question (source)
2017-09-14 02:35:29 -0600 received badge  Notable Question (source)
2015-04-14 04:37:38 -0600 received badge  Popular Question (source)
2015-02-11 08:00:04 -0600 received badge  Notable Question (source)
2014-03-14 11:17:41 -0600 received badge  Popular Question (source)
2012-08-15 14:05:43 -0600 received badge  Nice Question (source)
2012-08-14 11:55:20 -0600 commented answer Smoothing image-better way of doing that

thanks! Thats a pretty good and complete answer

2012-08-13 17:47:32 -0600 asked a question Smoothing image-better way of doing that

Actually I'm trying to reduce noise in camera capture, and one way could be using smooth. But i dont know what method of smoothing to use,because there are many types ( For example: gaussian, blur,median, and others...). Which one is better to get performance and quality together ?

2012-08-13 01:26:05 -0600 received badge  Student (source)
2012-08-12 09:15:39 -0600 asked a question Best site for general documentation

Hello, i'm new in opencv development and i'm having some problems to find documentation about some functions,their parameters and their uses inside a context. Could someone says any useful site that contains good information about each native functions in opencv?

2012-08-08 11:13:52 -0600 received badge  Supporter (source)
2012-08-08 11:13:38 -0600 commented answer error write avi file

it's working now! i don't know exactly what made the error,maybe a lib was left behind before the last installation. thank you!

2012-08-08 11:11:40 -0600 received badge  Scholar (source)
2012-08-08 08:09:27 -0600 commented answer error write avi file

i'm certain that i installed it because i checked the version and showed: daniel@ubuntu:~$ ffmpeg -version ffmpeg version git-2012-08-08-e40f7f1 built on Aug 7 2012 23:31:39 with gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1) configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3 --enable-x11grab libavutil 51. 66.101 / 51. 66.101 libavcodec 54. 51.100 / 54. 51.100 libavformat 54. 22.101 / 54. 22.101 libavdevice 54. 2.100 / 54. 2.100 libavfilter 3. 6.100 / 3. 6.100 libswscale 2. 1.101 / 2. 1.101 libswresample 0. 15.100 / 0. 15.100 libpostproc 52. 0.100 / 52. 0.100

2012-08-08 06:57:07 -0600 commented answer error write avi file

No,how can i do that? i just followed the steps in this site: https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide

2012-08-07 21:52:42 -0600 commented answer error write avi file

i still have problems with it. i reinstalled the ffmpeg, but the error remains the same.what should i do?

2012-08-07 10:59:11 -0600 commented answer error write avi file

i thought that i had all the codecs installed sucessfully,but i'm going to check it right now and soon give the feedback

2012-08-03 19:56:25 -0600 asked a question error write avi file

Hello there, i got started recently in opencv and i'm having the following error when i try run a code that convert the video to a grayscale:

OpenCV Error: Unsupported format or combination of formats (Gstreamer Opencv backend doesn't support this codec acutally.) in CvVideoWriter_GStreamer::open, file /home/daniel/Downloads/OpenCV-2.4.2/modules/highgui/src/cap_gstreamer.cpp, line 479 terminate called after throwing an instance of 'cv::Exception' what(): /home/daniel/Downloads/OpenCV-2.4.2/modules/highgui/src/cap_gstreamer.cpp:479: error: (-210) Gstreamer Opencv backend doesn't support this codec acutally. in function CvVideoWriter_GStreamer::open

the code is:


// argv[1]: input video file
// argv[2]: name of new output file
//
#include "cv.h"
#include "highgui.h"
int main( int argc, char* argv[] )
{
    CvCapture* capture = 0;
    capture = cvCreateFileCapture( argv[1] );
    if(!capture)
    {
        return -1;
    }
    IplImage *bgr_frame=cvQueryFrame(capture);//Init the video read
    double fps = cvGetCaptureProperty (
    capture,
    CV_CAP_PROP_FPS
    );

    CvSize size = cvSize(
    (int)cvGetCaptureProperty( capture, CV_CAP_PROP_FRAME_WIDTH),
    (int)cvGetCaptureProperty( capture, CV_CAP_PROP_FRAME_HEIGHT)
    );
    CvVideoWriter *writer = cvCreateVideoWriter("window",
    CV_FOURCC('M','J','P','G'),
    fps,
    size
    );
    IplImage* logpolar_frame = cvCreateImage(
    size,
    IPL_DEPTH_8U,
    3
    );
    while( (bgr_frame=cvQueryFrame(capture)) != NULL ) {
    cvLogPolar( bgr_frame, logpolar_frame,
    cvPoint2D32f(bgr_frame->width/2,
    bgr_frame->height/2),
    40,
    CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS );
    cvWriteFrame( writer, logpolar_frame );
    }
    cvReleaseVideoWriter( &writer );
    cvReleaseImage( &logpolar_frame );
    cvReleaseCapture( &capture );
    return(0);
}