Re: PictureBox max width
- From: "Mike Williams" <mikea@xxxxxxxxxxxxxxxxx>
- Date: Fri, 20 Jun 2008 19:45:07 +0100
"Galen Somerville" <galen@xxxxxxxxxxxxxxxx> wrote in message news:%236NMDJu0IHA.4336@xxxxxxxxxxxxxxxxxxxxxxx
This has to do with Heart sounds and the ECG. Usually the
height is only 100 to 150 pixels. The length depends on how
many seconds of recording and the rate (usually 2,500 Hz).
Usually we delete bytes at the start so the sound begins right
after the ECG pulse. However many times the sound towards
the end is not good, probably from stehoscope being moved,
etc. So we need to remove bytes from the end of the recording
and that's the length of display problem.
In that case, what I don't understand is why you need to store all this data as a bitmap representing a "drawn graph" of the ECG data? This is just data, after all, and you should store it as simple data (an array of Singles or Longs or Bytes or whatever (depending on the range of values), with each element of the array representing the voltage or ECG trace value at each specific point in time. You can then draw the entire graph (or any part of the graph) onto the display at any time you wish, and you can draw it in realtime if you wish and at any magnification you desire. There is no need whatsoever to store the actual bitmap that the data produces. Using a method such as I have outlined enabled you to store a virtually inlimited number of data samples, representing a very long "real time" trace. The only bitmap you ever need to get involved with is the bitmap that the user can actually see at any one time, which can never be wider than the display itself.
Mike
.
- Follow-Ups:
- Re: PictureBox max width
- From: Galen Somerville
- Re: PictureBox max width
- References:
- PictureBox max width
- From: Galen Somerville
- Re: PictureBox max width
- From: Galen Somerville
- Re: PictureBox max width
- From: Mike Williams
- Re: PictureBox max width
- From: Galen Somerville
- Re: PictureBox max width
- From: Mike Williams
- Re: PictureBox max width
- From: Galen Somerville
- PictureBox max width
- Prev by Date: Re: create pdf file in VB6
- Next by Date: Re: Get hex values
- Previous by thread: Re: PictureBox max width
- Next by thread: Re: PictureBox max width
- Index(es):
Relevant Pages
|