comp.lang.ada
 help / color / mirror / Atom feed
From: x24702@usma.edu (Zach Swanson)
Subject: Re: ada jpeg binding?
Date: 14 Mar 2002 19:29:28 -0800
Date: 2002-03-15T03:29:28+00:00	[thread overview]
Message-ID: <50c1a1b.0203141929.7146c649@posting.google.com> (raw)
In-Reply-To: mailman.1016128682.1080.comp.lang.ada@ada.eu.org

"Beard, Frank [Contractor]" <beardf@spawar.navy.mil> wrote in message news:<mailman.1016128682.1080.comp.lang.ada@ada.eu.org>...
> Zach,
> 
> You didn't say what OS you were trying to do this on, but if it's
> Windows:
> 
> If you only need to open and display them, then you can use the
> LoadBitmapFile function in conjunction with the Bitmap procedure
> from the Win32 API bindings.  I'm using the Aonix GUI Builder
> which in turn calls the APIs.  You should be able to get a copy
> of the Win32 bindings from www.adapower.com, or Windex probably
> provides them as well.
> 
> Frank


Sorry about that, we are working in Windows 2000 right now, although
what we'd like is a less OS specific interface, as we are recommending
the next research team use some version of Linux. (for other reasons
in the project)

What we're looking for specifically concerning the jpeg format is the
ability to read the file into memory, access the individual pixel
components to change values, and then write the file back to disk.
Right now we're having to do some pretty covoluted hacks to get around
not having jpeg access.

If you're wondering what we need all this for, our senior capstone
project is to design an autonomous vehicle for the IGVC. (Intelligent
Ground Vehicle Contest www.igvc.org) My team is responsible for the
autonomous portion of the project. We're using a digital camera to
provide computer vision (using a parabolic mirror and mirror
undistortion techniques), and the camera returns the files in jpeg
format. (no other format available with this model) Right now we have
to use some libraries built for cygwin that can read jpegs, but then
we have to precompile this code and run it as a spawned process to
convert the jpeg to a bitmap so that we can load it into our main ada
routines.



  reply	other threads:[~2002-03-15  3:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-14 17:56 ada jpeg binding? Beard, Frank [Contractor]
2002-03-15  3:29 ` Zach Swanson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-03-14  5:06 Zach Swanson
2002-03-14 11:13 ` Bobby D. Bryant
2002-03-14 13:25 ` Steve Sangwine
2002-03-16  2:53 ` Steve Doiel
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox