×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jan 2014
    Posts
    4

    Vectorized Image

    Is there a way to make conversion from raster to vector type of image on the smartphone? Is there already built in functionallity to convert that or should I use my own algorithms (I would appreciate if someone post a tutorial based on some good pseudocode) and would some control like Image control be able to display that kind of image?

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,559

    Re: Vectorized Image

    Doing such a thing well is not easy (or impossible if you accept any arbitrary image), I suspect. I don't recall seeing any good tools/algorithms for such for PCs or phones.

  3. #3
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    683

    Re: Vectorized Image

    There is definitely not a ready made control that does that.
    What I imagine an algorithm process will do is first take the image, run it through an edge detection algorithm or object detection algorithm then convert those object to vectors as accurate as possible, I would also suggest sampling the inside of the objects to apply them as textures to the objects.
    as for the background of the image I think that would be the most difficult since all the objects could be hiding its details and now that I think of it also some objects may partially hide other objects so your end result might not be very accurate at all.
    Heard of DVLUP? Join here

  4. #4
    Registered User
    Join Date
    Jan 2014
    Posts
    4

    Re: Vectorized Image

    I have found this http://cardhouse.com/computer/vector.htm on the internet, but I don't know how good that algorithm is and if I can use that algorithm on Image control that is within .NET for Windows Phone.

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,686

    Re: Vectorized Image

    A simple way to decide is to read its description and look at the very beginning of the code, the "if a[j,k] = 1 then" part. In short: it vectorizes a binary (black and white) image. Also it does that to some limited extent only as the description points it out already.
    Algorithms for vectorizing arbitrary images simply do not exist, otherwise you would see them in action everywhere as they would be an extremely useful step for computer vision and as such a huge leap for artificial intelligence in general.

Similar Threads

  1. Moving image over image or change image after 1 sec time period
    By chintandave_er in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2013-07-15, 11:23
  2. Image rotates if movie clip position changed before image loading
    By supriyaakg in forum [Archived] Flash Lite on Nokia Devices
    Replies: 2
    Last Post: 2010-12-30, 03:27
  3. Creating a javax.microedition.lcdui.Image Image on a J2Se environment
    By TacB0sS in forum Mobile Java Media (Graphics & Sounds)
    Replies: 5
    Last Post: 2010-08-24, 20:01
  4. Drawing Lines on an Image (image graphics object returns null)
    By nicenouman in forum Mobile Java General
    Replies: 4
    Last Post: 2006-09-21, 10:15
  5. Replies: 0
    Last Post: 2003-05-12, 17:38

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×