To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 14480
14479  |  14481
Subject: 
Re: Announcing Bitsticker (and other txt/bit-to-dat utilities)
Newsgroups: 
lugnet.cad
Date: 
Mon, 19 Mar 2007 20:20:39 GMT
Viewed: 
3601 times
  
In lugnet.cad, Timothy Gould wrote:
   In lugnet.cad, Timothy Gould wrote:
   --snip--

   More seriously, as I was just searching through the Lugnet archives for further incriminating evidence that I’ve sort of been reinventing the wheel with Bitsticker, I came upon this thread by Tim Gould from 2005: Automatic sticker creation. That is clearly a more practical implementation of an image-to-LDraw converter! Has that been released? More to the point, I’m simply curious about how the vectorization is achieved. This comment in particular is right on:

   The advantage this has over BMP2DAT (from what I can gather, haven’t really used it) is that my program finds the lines and then triangulates the resulting polygon rather than turning pixels into quads (correct me if this is not what BMP2DAT does).

Does it use a library like potrace or did you write your own vectorization code? (I’ve done a lot of work with remote sensing and GIS so vectorization is just a fascinating topic to me.) Hopefully I have just overlooked some more recent announcement pertaining to this project.

Thanks,

Jim

Unfortunately I got too busy with other things and kind of let is slide. With a rewrite in a compiled language and using a decent triangulation (such as the one Ross uses) and vectorisation algorithm I suspect it could be made to work better.

Tim

Hmmm. It would appear that using the Potrace API and the Triangle API would do almost all the difficult work for software of this sort. I might look into restarting the project although I’m not sure how far I could get with it. Of course if anyone would like to take it over I’d be willing to offer as much help (including source code) as I could.

Tim

Neat. I have also used autotrace, a similar program. I haven’t used either enough to recommend one over the other, but for some reason I do recall preferring potrace’s output. (I’ve only used the programs, not programmed with them.)

I don’t know how much use people would find for it (the same applies to Bitsticker), but personally I think this would be a really cool program. I can’t offer to take it over, but as with a couple other LDraw programs I’ve had my fingers in recently, I’d be glad to help test it out.

Take care,

Jim



Message is in Reply To:
  Re: Announcing Bitsticker (and other txt/bit-to-dat utilities)
 
(...) Hmmm. It would appear that using the Potrace API and the Triangle API would do almost all the difficult work for software of this sort. I might look into restarting the project although I'm not sure how far I could get with it. Of course if (...) (17 years ago, 19-Mar-07, to lugnet.cad, FTX)

18 Messages in This Thread:






Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR