Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

poor results with raster to vector conversion


cherokeechief79
 Share

Recommended Posts

this is not what im trying to do but it is a good example of what i an trying to convert.this looks very well defined with the black against the white.im really just looking for some help with the spline settings. maybe i am wrong and this is still a difficult design to convert from a raster to a vector.i have not used this in a long time but i remember using it back in ver 9 and i converted a very detaild picture of my jeep outside and it did a very good job even with the horrible color contrasts (i had to convert to b+w 1st of course) i would think something like this pic would be easy and come out very well.

thanks for any input or help!

mark

 

 

 

 

 

 

depositphotos-tattoo-flying-black-dragon-vector-1442942324.jpg

Link to comment
Share on other sites

I had better luck with adobe illustrator. You can get a free license for a month but it works way better. I don't remember the exact steps but it was along the lines of

 

import the image

use the magic wand tool to get the color difference (this should trace the lines)

then delete or hide the main image (you will see the lines)

save and export as dxf (make sure you do it as a spline it will save you so much effort when trying to resize.)

import dxf into your part file

clean up geometry

done

Link to comment
Share on other sites

this is not what im trying to do but it is a good example of what i an trying to convert.this looks very well defined with the black against the white.im really just looking for some help with the spline settings. maybe i am wrong and this is still a difficult design to convert from a raster to a vector.i have not used this in a long time but i remember using it back in ver 9 and i converted a very detaild picture of my jeep outside and it did a very good job even with the horrible color contrasts (i had to convert to b+w 1st of course) i would think something like this pic would be easy and come out very well.

thanks for any input or help!

mark

 

 

 

 

 

 

depositphotos-tattoo-flying-black-dragon-vector-1442942324.jpg

 

This is what I come up with from your file straight into Mastercam. I used X5 (not sure what version you are using). The second file is from Adobe.

DRAGON.MCX-5

DRAGONADOBE.MCX-5

Link to comment
Share on other sites

Kinda looks to me like you're trying to do a vector to vector with raster to vector. Say that 5 times real fast! :smoke:

 

Raster is a pixel based image (.jpg, .bmp) and vector is based on mathematical formulas that are scalable (scale them up 1000% and lose NO quality). Illustrator, while it has some raster tools, is a vector creating/editing software. Perhaps that's why it does a better job in this case? I doesn't sound like it's converting anything...just giving you the outlines. Maybe it also does a nice job at converting raster images since it possesses some of the magic of Photoshop (raster creator/editor with some vector tools)?

 

Your jeep picture you did with V9, Mark, was a real raster to vector conversion.

 

Thad

Link to comment
Share on other sites

thank you!

that is about the same result i got in mc 10.6. the adobe one you did looked very good.i dont think i could have played around with the settings to get it as defined in mc. this is exactly what i wanted to know! although that dragon pic can be purchased as a vector the screenshot i captured is bust a bitmap and pixelated. i will try to dig up that old pic and file i did of my jeep years ago and post them.

Link to comment
Share on other sites

ok so i was ready to buy one of these other programs to do my tracing.i figured let me try it the old way i used to do it in ver 9 which was not using splines and i got very good results! the reason i was using splines was because i read an art tutorial which stated the best method was to use the "new" spline function. maybe i just dont get the spline way but ive tried adjusting just about everything. im pretty happy with the results im getting in mc the "old" way now.

thanks for the replies!

Link to comment
Share on other sites

I took the file and used 70 dpi and fine arcs and lines and no splines and smoothed it twice.

 

Looks better than Adobe.

 

 

ok so i was ready to buy one of these other programs to do my tracing.i figured let me try it the old way i used to do it in ver 9 which was not using splines and i got very good results! the reason i was using splines was because i read an art tutorial which stated the best method was to use the "new" spline function. maybe i just dont get the spline way but ive tried adjusting just about everything. im pretty happy with the results im getting in mc the "old" way now.

thanks for the replies!

I took the file and used 70 dpi and fine arcs and lines and no splines and smoothed it twice.

 

Looks better than Adobe.

  • Like 1
Link to comment
Share on other sites

that looks really good! when you said you used 70 dpi ,is that what it defaulted to when it came in? isnt the best resolution the actual size of the jpeg as it came in? what i mean is if the pic is very small say 1 x 2 the dpi would be very low and if the pic was say 14 x 16 the dpi would be much higher? im just trying to understand this a little better. also the art tutorial i looked at said to use the spline function because it would produce closed chains not necesarily the best conversion.

Link to comment
Share on other sites

that looks really good! when you said you used 70 dpi ,is that what it defaulted to when it came in? isnt the best resolution the actual size of the jpeg as it came in? what i mean is if the pic is very small say 1 x 2 the dpi would be very low and if the pic was say 14 x 16 the dpi would be much higher? im just trying to understand this a little better. also the art tutorial i looked at said to use the spline function because it would produce closed chains not necesarily the best conversion.

 

Setting to 70 dpi made the picture the largest size it would go. It was not the default DPI. I forget what size it was when I ran the ras2vec...but it was much higher and the pic was tiny.

 

Then, by smoothing it twice, Mastercam was able to smooth it better because of the size of the pic.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...