Simple software that measure the number of white pixels on a black bgnd and create .csv file

Completed Posted 6 years ago Paid on delivery
Completed Paid on delivery

Hi all, I need someone who can make a simple software for us. It is for our 3D printing work.

For 3D printing each part needs to be sliced into many .png images (ex: from 100 to 2000 slices or even more). So we create a folder with many .png images of slices of parts that the printer will use to build the object. See two image examples attached.

All images have black background and the image of the slice is showed with white pixels. We need to adjust the exposure time if we have small image (low number of pixels means low exposure time) or large image (high number of pixels means high exposure time). For now, I need to do that manually, open all images and use a soft to get the number of pixels for each image and adjust the exposure time manually. It takes a lot of time.

I would like to have a software that can open all .png images of a part (all slices), measure the number of white pixels for each images and list them in a .csv file. Of course, many consecutive images may have a similar number of pixels so we don’t need to list all images with their respective number of pixels but to gather many similar continuous images in a group and set a number of pixels for that group.

The software needs to generate a .csv file as showed (attached). This file is an example, it shows that images are gathered in groups because there have a similar number of white pixels. All groups of consecutive images are then assigned an exposure time. The rule is simple, for each 12 000 white pixels, and add one second. So 6000 pixels is 0.5 seconds and 120 000 pixels means 10 seconds. We can call this the exposure time factor.

Ex: we have a part that has been sliced into 1100 images.

Then we have the following in the .cvs file:

Layer 1 to 14 has 1 400 000 white pixels -> exposure time is 16 seconds

Layer 14 to 25 is 370 000 pixels -> exposure time is 31 seconds

And so on until we reach 1100 slices

The input of the software is the image folder with all .png images of slices and the exposure factor that I can adjust before generating the .csv file (I said 12 000 pixels adds 1 second of exposure time but this can vary). So I need to specify that number (ex: 1200) before the software generates the .csv file.

The output of the software is the .csv file as attached. Please note that the file needs to be exactly the same with all the ‘#’ and everything 100% the same (spaces, parentheses etc..) so that we can shoot it to our printer. It needs to be the same so that the printer can accept it.

Please note that you don’t need to adjust or calculate the slice thickness (always 0.05), the lift (make them all 5, the ups (all 15), downs (all 150) and delay (all 2). This will always be the same, you just need to write them as constants in the .cvs file.

The only things that needs to be calculate and adjusted is to group consecutive layers that are similar (so will get the same exposure time) and the exposure time factor.

Each consecutive images can form a group if they are within the same 0.5 seconds of exposure time (using the current exposure time factor).

Please note that if an image has a certain number of pixels and the very next one is significantly different (say image #30 has 100 000 pixels and #31 has 45 000), you need to separate the groups precisely at this point. First group is up to 30 and new group starts at 31.

There may be a case where a group is made of many hundreds of images or even a single one.

I need the interface to be simple. Browse to select the image folder, change the input parameter (12 000 pixels or other number), save .cvs file. No need for an installer. I need to run it on windows 7 64 bits.

I want it as simple as possible to reduce the cost. I only need it to be functional to create the .csv file, nothing extra.

Any questions?

Software Development

Project ID: #16400955

About the project

8 proposals Remote project Active 6 years ago

Awarded to:

UEmanuel

Hello, my name is Emanuel and I'm a software developer from Germany. Your project sounds really interesing an I'd like to work for you. The image reading is not very difficult and I've already finished some test cod More

$120 USD in 1 day
(2 Reviews)
3.9

8 freelancers are bidding on average $185 for this job

renardpaul

Hello, expert in C++ and Image Processing here. If you need to process fast a few hundreds of images in a folder, you probably want a fast, compiled language like C++. I can implement a very fast solution for counti More

$500 USD in 7 days
(2 Reviews)
3.3
imRaziel

hi. read the description. can do it with c# for windows. if possible, archive with a all pngs for 2-3 print would be helpful, to see what different versions can be

$200 USD in 1 day
(5 Reviews)
2.3
xzan88

Hi, I have read all the requirements carefully and I am sure I can make this software in a couple of days or so. I have past experience with image processing. The software will have a nice and simple user interface. Pl More

$200 USD in 2 days
(2 Reviews)
2.4
jitendra2013

A proposal has not yet been provided

$35 USD in 1 day
(0 Reviews)
0.0
frxz

Hello! I'm qualified enough to develop the application you request. I will do it within 1 day and I will provide the following: Since you are using Win7, I will provide you Executable file (.exe) Source code of t More

$35 USD in 1 day
(0 Reviews)
0.0
mokule

Hi, I'm an experienced programmer. I've done some similar image manipulation programs. I would do fast, reliable solution and provide exe file. I'm open to further maintain the program. I would need a series of ex More

$110 USD in 1 day
(0 Reviews)
0.0