Re: need a simple image builder
- From: "Pixel.to.life" <pixel.to.life@xxxxxxxxx>
- Date: Tue, 19 Jun 2007 16:55:09 -0000
On Jun 19, 2:04 am, JMR <j...@xxxxxxxxxxxxxx> wrote:
Martin Leese escribió:
JMR wrote:
I have 3d scanner ascci files with this structure:
The first two lines correspond to Width and Height of the needed image
the following records are the pixels in this format
i j X Y Z G
where i, j are the pixel indexes (from 1 to W and H respectively)
X,Y,Z are 3D coordinates
G is a gray value from 0 to 255
1278...
938
1 1 -1.288 8.604 -2.640 89
1 2 -1.281 8.586 -2.634 89
1 3 -1.286 8.634 -2.649 89
What I would love is a very simple parser that converted this to a
grayscale image file (bmp, png, tif, ...)
Could anyone here help me? (I'm not a programmer :-( )
You say that you are not a programmer.
Maybe you should abandon this project and
do something else. Alternatively,
investigate software to process LIDAR data.
Your problem occurs in that field as well.
Very kind invitation. But no, I just can't abandon
As I said tha data are output of a 3d scanner.
In fact I was asking for the simplest thing.
I just wanted the image with grays as pixel values.
I can easily clean the text file and have just
W
H
g
g
g
g
g
g
...
and just write the file raw by raw. Thanks.
I guess could be able to write a program in VB after one or two days of
reading the FM, If I had to pay a computer engineer for such a terrible
task, I surely would have to abandon because heritage recording tasks
are not very proffitable. It would almost be like calling NASA for
mounting a LEGO toy for under 2 year old kids.- Hide quoted text -
- Show quoted text -
In that case, you can load raw pixel data using a program like
'ezDICOM'. Just remove all header information, keep only the pixels,
save back to a file. Then load the file as 'raw' format in the
software. It will ask for dimensions, and bytes per pixel.
.
- References:
- need a simple image builder
- From: JMR
- Re: need a simple image builder
- From: Martin Leese
- Re: need a simple image builder
- From: JMR
- need a simple image builder
- Prev by Date: Re: Outsourcing : "Image Thinning" module.
- Next by Date: Re: Installation Problem with Sony XCD-V50 monochrome FireWire Camera
- Previous by thread: Re: need a simple image builder
- Next by thread: Re: need a simple image builder
- Index(es):
Relevant Pages
|