Re: PictureBox max width

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



"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


.



Relevant Pages

  • Re: PictureBox max width
    ... many seconds of recording and the rate. ... and that's the length of display problem. ... what I don't understand is why you need to store all this ... no need whatsoever to store the actual bitmap that the data produces. ...
    (microsoft.public.vb.general.discussion)
  • Re: Bernstein/Solti/Karajan OOP
    ... mainly on American labels at a well-stocked suburban department ... My personal discovery of classical music came in late 1959. ... department store, May Co. in San Diego store, and they had them. ... The first Angel record I ever bought was Michael Rabin's recording of Wieniawski's Violin ...
    (rec.music.classical.recordings)
  • Re: contents of picturebox contents get wiped out ...
    ... VB uses an off screen bitmap to store an image of your ... picturebox, and uses the bitmap to redraw the picturebox when needed. ... Autoredraw is also often used to produce smoother graphic changes, ...
    (microsoft.public.vb.general.discussion)
  • Re: 37" LCD wide screen TV in place of 27" Flat screen
    ... The HD format can store 30 GB of data and Blu-Ray can ... Blockbuster has committed to Blu-Ray ... As far as DTV and Dish I would assume that with DVR recording ... Are there any dual-format players on the market yet? ...
    (rec.outdoors.rv-travel)
  • Re: OT: external soundcard for laptops
    ... One store claims Firewire is better because it is faster in "real ... (for recording multiple microphones as separate tracks). ... think that was the model) that can send 8 tracks at once over USB. ... But, as a jazz musician, I know he'll want to do some recording, so ...
    (rec.music.makers.guitar.acoustic)