CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Borneq

Search: Search took 0.05 seconds.

  1. Replies
    0
    Views
    21,172

    Structures for encoding compressed file

    How implement encoding with dictionary?
    I have buffer buf, current position ptr and my string buf[ptr]...buf[ptr+len-1] = buf[prev]..buf[prev+len]
    How fast find prev position for ptr positon?...
  2. Thread: Vector graphics

    by Borneq
    Replies
    0
    Views
    548

    Vector graphics

    How to better display vector graphics? WinForms or WPF? WinForms is easier to use but not such possibilities. In WPF can one draw rotated ellipses?
  3. What I must do to show icons depend on TreeViewItem.Tag?

    My old program shows correct icon.
    My new Drag&Drop program not shows.
    In old xaml is:

    <TreeView Name="treeView" Grid.Column="0" AllowDrop="True">
    <TreeView.Resources>
    ...
  4. Replies
    0
    Views
    6,660

    How to get/set TreeViewItem height?

    I must read TreeViewItem.height (for example: always 16) for extended Drag&Drop.
    If I try read item.height, it is NaN, because is not set.
    Item.ActualHeight is 16 for collapsed nodes but for...
  5. Replies
    0
    Views
    678

    [RESOLVED] How init new window with color

    One solution is

    wincl.hbrBackground = CreateSolidBrush(RGB(202, 238, 255));
    where WNDCLASSEX wincl is class.
    This solution is improvident because for each window must be one class. Better is...
  6. How compute windows size with and without border?

    I am working under Windows 8.1; I test window size with border and without border. Horizontal difference is 16, vertical 39. 39 = cyCaption+16;
    Frame has 8 on all sides? Why cySizeFrame = 4 and...
  7. Replies
    3
    Views
    1,225

    How create child window?

    I create main window by CreateWindowEx() but I want child window like button. Child window should automatically move when parent window moves.
    How create it?
  8. Replies
    1
    Views
    1,134

    Color quantization

    Which algorithm is best, which is fastest? Especially I think about Java implementation.
  9. Replies
    0
    Views
    1,799

    Which Algorithm of Tree component?

    I am trying create Tree component from scratch. Each node can have list of nodes. Any node can be expanded or not.
    Is necessary one list across all list,
    for example:


    a
    b
    d
    e...
  10. Replies
    0
    Views
    1,920

    Distinguish between "eight" and ellipse

    I have images: http://i.imgur.com/UNaUZZ9.png and http://i.imgur.com/HIJQupz.png
    How detect it is not ellipse? Is any OCR algorithm to this?
  11. Thread: Spot outline

    by Borneq
    Replies
    0
    Views
    1,136

    Spot outline

    Which algorithm is to find linestring outline of spot?
  12. Replies
    0
    Views
    1,033

    How to determine shape is even?

    I have cell kernels, mostly ellipses
    In 200 enlargement is :
    http://i.imgur.com/sJZYAEc.png
    First line: shape is like circle,in 2-nd and 3-rd ellipses horizontal and vertival, next line -...
  13. Replies
    4
    Views
    5,308

    Re: Symbolic transformations

    Algebraic programs prefers Lisp. If is possible code it with Java?
  14. Replies
    4
    Views
    5,308

    Symbolic transformations

    Which is method to symbolic transformations of equations?
    For example: I must find equation of line passing through two points (x0,y0) and (x1,y) in form Ax + By + C = 0
    this equation is...
  15. Replies
    5
    Views
    9,719

    Re: How divide cell?

    Voronoi is OK
  16. Replies
    3
    Views
    7,200

    Re: Maximal, completely inconsistent graph

    Wikipedia: Maximum_independent_set
    In general problem is NP-hard, but my greedy solution is OK for point set decimation
  17. Replies
    3
    Views
    7,200

    Re: Maximal, completely inconsistent graph

    Combinatorial approach:
    I have any idea:
    If we have only one vertex - nothing to do
    If we have connected 0 with 1 - let remove 0 or 1
    If we have three vertices, we have 3 similar cases and one...
  18. Replies
    3
    Views
    7,200

    Re: Maximal, completely inconsistent graph

    Original problem is:
    I have set of points. I must decimate this points obtain subset points, where distance between each pair is >=dmin.
    I use graphs giving connections between vertices if distance...
  19. Replies
    3
    Views
    7,200

    Maximal, completely inconsistent graph

    Sorry for my English, if the terminology will be confusing.
    We have graph with vertices: 0..7
    This vertices are connected bidirectional:
    0 with 1
    1 with 2
    3 with 4
    5 with 6
    6 with 7
    7...
  20. Replies
    5
    Views
    9,719

    Re: How divide cell?

    This image on the right is not exact how to should be. It is possible to divide cell to regions with one kernel in region or regions can overlapped.
  21. Replies
    5
    Views
    9,719

    How divide cell?

    I have 32719 I must divide cells into 32721
    Each cell has kernel - light blue rectangle. How is name properly algorithm?
Results 1 to 21 of 21





Click Here to Expand Forum to Full Width

Featured