Find Jobs
Hire Freelancers

Convert 2D image to 3D solid with texture (Python)

$100-400 USD

Completed
Posted over 9 years ago

$100-400 USD

Paid on delivery
Hello Python 3D modeling/visualization experts! I'd like you to write Python code to convert 2D pictures into 3D printabale STL and VRML(or X3D) files, by interpreting grayscale color value of pixel as height. My preferred 3D library is VTK with Python binding. Required functionality ---------------------------- 1. Read 2D image (PNG, JPEG, GIF, etc as long as PIL or matplotlib's imread support) 2. Convert image to grayscale 3. Create 3D surface mesh by interpreting grayscale color value of each pixcel in 2D image as z axis height (warp height map?) 4a. Create flat bottom surface at certain z (specified by elevation argument) 4b. Create 3D bottom surface beneath (specified by thickness argument) the top surface created in step 3 by projecting all the vertices downwards along normal vectors (Note: it's not a simple offset in z direction) 5. Connect the two surfaces to make water tight solid for 3D printing 6. Cut out solid where z is less than certain value (specified by z_mask argument) i.e. take CSG intersection 7. Export the resulting solid as STL file 8. Map colored 2D image as texture onto the top 3D surface (image read in step 1 or another texture image) 9. Setup lighting(s), camera, etc and take a screenshot of rendering 10. Export it as VRML2.0 (or X3D) file and package it up for 3D color print at Shapeways For step 4&5, please refer to: [login to view URL] [login to view URL] [login to view URL] Basically I'd like you to replicate above surf2solid Matlab code for Python. Hopefully majority of functionality needed are readily available in existing Python libraries (VTK, Matplotlib, FreeCAD, etc). For step 10, please refer to the guidance by Shapeways: [login to view URL] Other requirements ------------------ * Implement as an importable module with 'if __name__ == "__main__":' to take command line arguments for testing (no need for GUI) * Take "resolution" argument with default 0.1 mm/pixel * Use Python logging facility to output debug messages * Add reasonable amount of comments in code so that I can maintain it later * Try to follow PEP8 Style Guide for Python Code * Frequent communication; One line status update once in two days; describing which part you are working on * All the outcome of the project belong to the project owner Sharing code by git would be nice. Private repo on GitHub or Bitbucket would be excellent. Target environment ------------------ Windows 7 32bit and linux (Ubuntu 13.10 64bit on Pythonanywhere) Python 2.7 Preferred libraries (use as needed) ---------------------------------- VTK 5.8.0 numpy 1.8.1 scipy 0.14.0 matplotlib 1.3.1 PIL 1.1.7 scikits-image 0.7.1 FreeCAD 0.14 You could use any other Python libraries as long as they are listed here (for Ptyhon2.7) [login to view URL] Please consult in advance if you'd like to use other Python libraries which is not listed in above list or if you'd like to use non-Python tools. All libraries/tools must be BSD-like license (i.e. ok for commercial use) and must be CLI (i.e. No GUI) What I provide as the project owner * Requirement (this document) * Example files (attached) * Feedback as the project progress * Reward as agreed at the start of project What you provide as a developer * Technical advice on requirements * Source code Project time frame and milestone I’d expect the project to be completed in about two weeks. 1st milestone: Requirements agreed and identified libraries to use (1/4 of reward) 2nd milestone: 1st version (proof of concept) submitted (1/4 of reward) 3rd milestone: 2nd version (functional) submitted (1/4 of reward) 4th milestone: Final version submitted and project completed (1/4 of reward)
Project ID: 6472241

About the project

10 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Good evening, I've been studying your project and I see that you are an excellent planner. This makes our collaboration easier. I am very interested in 3D modeling and visualization. I have worked for over 7 years in European projects. In Game Tools project, I developed in C++ a geometric simplification to convert heavy 3D models in light 3D models with the same aspect. In Ciudad multidimensional I developed in Java a 3D tunnelling machine simulator. In Grasp project, I developed in C++ a robot 3D simulator and a robot Editor in python. I will be happy to follow your detailed planning to achieve the project goals. I am available to speak with you when you want, in order to begin to work together and I am sure that it will be a good experience for both Regards, Gustavo Puche
$444 USD in 10 days
4.6 (1 review)
2.9
2.9
10 freelancers are bidding on average $3,263 USD for this job
User Avatar
First of all, thank you for your invitation. I'm aware I'm above your stipulated budget, but hopefully we can negotiate something. I've done lots of computer graphics (my master's degree was on computer graphics) and I know computational geometry can get tricky at times, and depending on the problem getting it perfect is not trivial. That's the main reason for the price. I'm asking for a single payment. I expect to have the money deposited in escrow at the beginning, but to have it released only after you have the code working and tested. I put great attention in the quality of my code. You'll find it is clean, well structured and properly documented. Besides it is guaranteed. That is, if you find any bug at any time, even after I've delivered the code and you have paid me, I'll fix it at no cost. I don't have a paid (private) GitHub (or similar) account. However I usually use Git for my projects, so I can set up a Git account on my server from which you can pull the code at any time. Hoping to do business with you, Guillermo Romero
$555 USD in 10 days
4.6 (9 reviews)
4.4
4.4
User Avatar
Hi, We have gone through your requirement and we understand that you are looking for highly skilled, qualified, and experience Development team for your project. As our teams have work on several similar projects so we would like to suggest you to hire dedicated developer to work on your project. We have a well-established track record and our services have always met with great customer satisfaction. We offer great services at a very competent price and have never been known to compromise on the quality of our services. We have total 120+ employees in our firm where we have 10+ in Mobile Unit, 10+ in Web Unit, 6+ in Python team, 10+ in .Net Unit, 10+ in Designing Unit, etc... We are ready to start the project immediately. We do follow a rigorous but flexible testing policy that makes us do the testing work from beginning. We do unit testing for each module or task pre-defined as per the milestones. We carry out the alpha testing for each module completed. We also have red-mine system in place for bugs and task management. Also we have our svn integrated to the same system. We also do use of Git and base-camp in case of project management. However, we would like to discuss further about this project and it will be good if we could talk via IM, Email or on phone. Looking forward for your response. Best Regards, Khushbu
$979 USD in 15 days
5.0 (2 reviews)
4.3
4.3
User Avatar
A proposal has not yet been provided
$400 USD in 5 days
4.7 (12 reviews)
4.2
4.2
User Avatar
Hi I have 10 years experience in image processing with openCV and VTK., DirectX Looking forward your project. skype: talk2gunav Thanks Guna
$500 USD in 15 days
5.0 (1 review)
0.8
0.8
User Avatar
Dear Very interesting job for me. I have been worked for python cuda-convnet for 3 months this year which could be found in code.google.com. It is a image recognition system which implements convolution network and it uses various python libraries such as matplotlib, numpy, scipy, and so on. Though I have no experience in 3D modeling in python, but I think I could carry out what you want with high attempt to make your dreams come true. Thanks
$444 USD in 15 days
5.0 (1 review)
0.0
0.0
User Avatar
i will do it thanks...................................................................................................................................
$100 USD in 3 days
5.0 (1 review)
0.0
0.0
User Avatar
A proposal has not yet been provided
$27,777 USD in 100 days
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$333 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of JAPAN
Urayasu-shi, Japan
4.9
8
Payment method verified
Member since Feb 1, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.