Re: Raw image in header file



On Friday 17 March 2006 16:18, giovanniparodi79@xxxxxxxx opined (in
<1142612338.416396.143550@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>):

Sorry I would like to take a raw image file and convert it to an
header file, generating an array that contains in each cell the gray
level that corresponds to the pixel.
It will be useful in order to avoid read from hd that on my target
platform (an embedded system) can become very slow.
Hope this is not ot.

Well, I don't know of any such utility, but I believe that, quite
recently, it was mentioned in this group that there exists image format
that is already close to what you require. Search the group with Google
and you may strike lucky. (BTW, it is OT).

--
BR, Vladimir

WHERE CAN THE MATTER BE
Oh, dear, where can the matter be
When it's converted to energy?
There is a slight loss of parity.
Johnny's so long at the fair.

.



Relevant Pages

  • Re: Raw image in header file
    ... generating an array that contains in each cell the gray level ... that corresponds to the pixel. ... It will be useful in order to avoid read from hd that on my target ...
    (comp.lang.c)
  • Re: Speed of large [] array
    ... When I do image processing, using an 8-bit per pixel format is 4 times faster than using a 32-bit per pixel format, as long as I have to go through the majority of the pixels in a linear sequence. ... The reason behind that is very simple: If you can reduce the amount of data transferred 4 times, it doesn't matter that the processor has to execute a single sub-optimal instruction that involves byte access, the overall performance will still be nearly 4 times faster, because the memory transfer is the dominant operation. ...
    (microsoft.public.vc.language)
  • Re: OT: Gas Prices -- Help at last?
    ... They settled Iceland and Greenland around the ... About the time they left corresponds ... As far as the global warming trend goes, it doesn't matter whether the ...
    (rec.aviation.piloting)
  • Re: Does Handling Matter?
    ... Try swerving to avoid something in the road in a Suzuki Vitara and ... tell me that handling doesn't matter. ...
    (uk.rec.driving)
  • Re: OT:Police Shooting
    ... Dillon Pyron wrote: ... the guy has managed to come up with a way so that he will be able to avoid ... a trial on this matter... ... Hell, I would hazard to guess that the DA can't ...
    (rec.scuba)