Results 1 to 2 of 2

Thread: QwtPlotSpectrogram: how to render only last line of spectrogram image

  1. #1
    Join Date
    Jan 2010
    Location
    Poland Warsaw
    Posts
    25
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QwtPlotSpectrogram: how to render only last line of spectrogram image

    Hello.

    I have wrote simple program that captures data from soundcard, processes it (compute FFT) and plot computed data as waterfall using QwtPlotSpectrogram. Everything works fine but this program uses a lot of CPU resources, and more specifically - rendering entire spectrogram image stress CPU.

    I wonder if it is possible to render only the last line of the spectrogram and to add it to an existing image (and then remove the oldest spectrogram line).

    Could You give me some tips how to save some CPU resources.

    Thanks.

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,311
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QwtPlotSpectrogram: how to render only last line of spectrogram image

    Check the archive of this forum - there is already a thread about a waterfall plot. When you have read it continue here.

    Uwe

Similar Threads

  1. Draw line on image using QPainter
    By Qt Coder in forum Qt Programming
    Replies: 29
    Last Post: 11th August 2015, 12:09
  2. Replies: 2
    Last Post: 24th January 2011, 19:40
  3. Replies: 3
    Last Post: 15th May 2010, 18:48
  4. Image reading and writing line by line
    By Astrologer in forum Qt Programming
    Replies: 7
    Last Post: 29th April 2010, 08:15
  5. Why doesn't the line appear on my Image?
    By Gh0stR1der in forum Newbie
    Replies: 1
    Last Post: 18th April 2009, 23:42

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.