Results 1 to 4 of 4

Thread: contour path generation for spectrogram

  1. #1
    Join Date
    Nov 2008
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Lightbulb contour path generation for spectrogram

    Hi list,

    Qwt now can only generate line segments for contour plot. I came across this article, implementing the vector generation based on CONREC algorithm, http://apptree.net/conrec.htm. Unfortunately it is a Cocoa Object-C program and I can not directly test.

    While I have made an naive try and found the following problems:
    1. the generated paths often aren't closed. And the situation is better when zoomed in.
    2. this algorithms does not include boundary conditions.

    Since my Qwt knowledge is very limited. Uwe, are you interested? This would open more options in contour plot, such as filled contour, labeling contour lines.
    Attached Files Attached Files

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

    Default Re: contour path generation for spectrogram

    Qwt already uses the CONREC algo. So what exactly is your suggestion ?

    Uwe

  3. #3
    Join Date
    Nov 2008
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: contour path generation for spectrogram

    The original CONREC algorithm generates the contour line segments randomly. And it does not give contour vectors. The one algorithm I refer to would allow the generation of contour lines as vectors, corresponding to Painter Path in Qt. As said, this is necessary for filled contour plot or contour lines labeling.
    This may be what you called "vectorizer" in another thread,
    http://www.qtcentre.org/forum/f-qwt-...ram-11528.html

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

    Default Re: contour path generation for spectrogram

    This sound like a substantial improvement and yes I'm interested to have the advanced CONREC algorithm in Qwt. Let me know ( by email ), if you need support for the implemention.

    Uwe

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.