home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 17 / CD_ASCQ_17_101194.iso / vrac / vester_e.zip / ARTICLE.TXT < prev    next >
Text File  |  1993-08-14  |  24KB  |  762 lines

  1.  
  2.  
  3.  
  4.                            
  5.                A Software-Based Color-SSTV/FAX480/Wefax System  
  6.           
  7.           John  Langner's  great article on Slow-Scan TV  (reference  1) 
  8.  
  9.      really  peaked  up my interest in creating such a system.  And  his 
  10.  
  11.      statement  "..be sure to use an external crystal-controlled  timing 
  12.  
  13.      source....any  attempt  to use software timing loops is  doomed  to 
  14.  
  15.      failure"  was just too much of a challenge to ignore. Since we  had 
  16.  
  17.      managed  to make some respectable 64 color (or gray  shades)  Wefax 
  18.  
  19.      systems  (references 2 and 3) for both Commodore and  IBM  machines 
  20.  
  21.      using  only  a simple clipper interface between  the  receiver  and 
  22.  
  23.      computer, it didn't appear that demodulating the SSTV signal  would 
  24.  
  25.      be  that  much  more  difficult. What  has  resulted  is  a  Color- 
  26.  
  27.      SSTV/FAX480/Wefax system for IBM and clone PC's that is essentially 
  28.  
  29.      built with software.
  30.  
  31.           We  will not re-plow ground that John has already  covered  so 
  32.  
  33.      well. If this article prompt's your interest, you should definitely 
  34.  
  35.      read his article (reference 1) to fill in the gaps and learn  some-
  36.  
  37.      thing about the history of SSTV.
  38.  
  39.  
  40.  
  41.      HARDWARE
  42.  
  43.           Figure  1  is the simple clipper circuit. It is  identical  to 
  44.  
  45.      that  used in reference  3 with the addition of an  extra  coupling 
  46.  
  47.      circuit used in Transmit mode to connect the computer to the trans-
  48.  
  49.      mitter audio input. This should go into the input where the  phone-
  50.  
  51.      patch normally connects (often labelled Line input). If you already 
  52.  
  53.      have a phone-patch, you can eliminate the isolation transformer, T2 
  54.  
  55.      in  figure 1, and go directly into the phone line terminals of  the 
  56.  
  57.      patch.  All patches I'm aware of have transformer isolation, but  a 
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.      simple  ohmmeter  check  will verify that is true  in  your  patch. 
  66.  
  67.      Resistor  R-x  is chosen to set the proper level for the  fax  audio 
  68.  
  69.      going  into  the transmitter.  Fax is a 100% duty cycle  signal  so 
  70.  
  71.      don't  set the level higher than your rig can handle without  over-
  72.  
  73.      heating. R-x ended up being 43K in my system where I went  directly 
  74.  
  75.      into the phone-patch. 
  76.  
  77.           In the interest of hardware minimization, we have not included 
  78.  
  79.      any  low  pass filtering on the audio coming out of  the  computer. 
  80.  
  81.      This is a square-wave signal rich in harmonics, not unlike what  is 
  82.  
  83.      generated  in  the  speech clippers in many  SSB  transceivers.  No 
  84.  
  85.      additional filtering is required with mechanical or crystal  filter 
  86.  
  87.      type  SSB transmitters, but if you wanted to use this on an old  AM 
  88.  
  89.      or  phasing type SSB rig, or on VHF/UHF FM type transmitters,  spe-
  90.  
  91.      cial audio filtering to give the required spectral purity would  be 
  92.  
  93.      required. Telephone company type approval is required to send  such 
  94.  
  95.      signals  over  the phone lines and undoubtedly they  would  require 
  96.  
  97.      very   restrictive  spectrum control filters. Each of  these  cases 
  98.  
  99.      would require a unique design which we have not addressed.
  100.  
  101.           There  is  nothing critical about the circuit  values  in  the 
  102.  
  103.      schematic nor is the construction critical. Do use a socket for the 
  104.  
  105.      IC.  Normal  perf board construction with short leads  works  fine. 
  106.  
  107.      Hundreds  of  these have been built with the  most  common  problem 
  108.  
  109.      being wiring errors. For some reason the pin numbers on the IC  get 
  110.  
  111.      confused with the pin numbers on the serial port connector.
  112.  
  113.           The  most  important  piece of hardware is  the  computer.  It 
  114.  
  115.      should  have an 80286 or better microprocessor. I have used an  old 
  116.  
  117.      12  mhz 286 laptop with the system but it definitely  gives  poorer 
  118.  
  119.      results  than the 386 machine at 16 mhz or 33 mhz. You need  a  VGA 
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.      color monitor which can provide 640x480 at 256 colors without inter-
  128.  
  129.      lace and a VGA (usually labelled as SVGA) video card that offers  a 
  130.  
  131.      640x480x256  mode.  There are many, many different types  of  cards 
  132.  
  133.      offering this mode. Our software is configured to directly  address 
  134.  
  135.      six  of  the most common SVGA chip types and also includes  a  VESA 
  136.  
  137.      standard  choice. If your card does not match one of the 6,  you'll 
  138.  
  139.      need a VESA driver program (a TSR program) for your specific  card. 
  140.  
  141.      These are available from the card manufacturer or you may find  one 
  142.  
  143.      in recent programs you have purchased. I'm told that  BBS:(416)729-
  144.  
  145.      4609 has many of these if all else fails.    
  146.  
  147.  
  148.  
  149.      SOFTWARE
  150.  
  151.           As  in  previous Wefax programs, we have used GWBASIC  as  the 
  152.  
  153.      programming  tool. While most of the real guts of the  program  are 
  154.  
  155.      contained in assembly language code (.ASM files), it is  interfaced 
  156.  
  157.      to the user through BASIC and all of the modifications to the  core 
  158.  
  159.      program  (.ASM  files) to adapt them to the multitude  of  SSTV/FAX 
  160.  
  161.      modes  is accomplished by POKE's in the BASIC program. This  allows 
  162.  
  163.      the  experimenters with only a limited knowledge of BASIC  program-
  164.  
  165.      ming to modify the program to add other modes, etc. In deference to 
  166.  
  167.      a few of my friends who complained about learning any BASIC, I have 
  168.  
  169.      included  a SYSTEM CONFIGURATION list in the programs which can  be 
  170.  
  171.      filled  out  by anyone; the program uses this to  figure  out  what 
  172.  
  173.      POKE's  to make. My work is aimed at the  experimentally  inclined, 
  174.  
  175.      however,  so  be prepared to learn a little BASIC if  you  want  to 
  176.  
  177.      maximise the utility of the system..
  178.  
  179.           One  other difference from most recent programs is the  system 
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.      is  strictly  keyboard  controlled. I find  Mouse  controlled  menu 
  188.  
  189.      selection  most awkward and since many laptop computers  only  have 
  190.  
  191.      one  serial port (where all the FAX action is) they would  be  pre-
  192.  
  193.      cluded from using the program. 
  194.  
  195.         
  196.  
  197.      PROGRAM CONFIGURATION CHOICES
  198.  
  199.            Like  Langner   does in Pasokon our previous  Wefax  programs 
  200.  
  201.      have  counted clock pulses between zero crossings (reference 2)  of 
  202.  
  203.      the  incoming fax signal to measure the audio frequency. The  clock 
  204.  
  205.      frequency affects the accuracy with which you can measure the audio 
  206.  
  207.      frequency, but in general all of the clocks in computers are easily 
  208.  
  209.      fast enough to give far more resolution in the measurement than you 
  210.  
  211.      can display. The 1.193 mhz clock used by IBM PC's to run the  time-
  212.  
  213.      of-day  display is a natural choice since it is common to  all  ma-
  214.  
  215.      chines.  It also keys a programmable timer which the PC has  avail-
  216.  
  217.      able  for generating audio tones. My Wefax programs have used  this 
  218.  
  219.      tone  timer to set up the sample-data period over which you make  a 
  220.  
  221.      measurement  of the incoming audio frequency. The  high  resolution 
  222.  
  223.      programs  used  a 1024 hz square wave tone with a  different  sample 
  224.  
  225.      being  gathered each 1/2 cycle. This 2048 samples per  second  just 
  226.  
  227.      about  matches the optimum for the typical Ham receiver  bandwidth, 
  228.  
  229.      so we decided to retain it for the SSTV program. Also we found that 
  230.  
  231.      the unmodified Wefax would copy the AVT-90 mode directly. Of course 
  232.  
  233.      it showed up as four (instead of three) successive black and  white 
  234.  
  235.      frames  on the 1024 x768 Wefax screen, but perfectly  synchronized. 
  236.  
  237.      Further,  this  sampled-data or pixel rate gave exactly  320  pixel 
  238.  
  239.      wide  AVT-94 pictures which just matches the screen on a  PC.  This 
  240.  
  241.      suggests that the AVT mode formats may have evolved  from  computer 
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.      based Wefax formats. 
  250.  
  251.           Once I had decided to use the Wefax pixel rate, I just  copied 
  252.  
  253.      SSTV picture data tagged with the mode used and then made a  series 
  254.  
  255.      of  guesses as to how many pixels were in each line until I  got  a 
  256.  
  257.      coherent set of pictures---typically three RGB frames. The  result-
  258.  
  259.      ing image allowed me to then measure the length of the various 1200  
  260.  
  261.      hz  synchronizing  pulses, the pixels per color frame, and  make  a 
  262.  
  263.      close  estimate  of the exact timing for each line.  These  numbers 
  264.  
  265.      were poked back into the Wefax program and then the line timing for 
  266.  
  267.      that  mode was tweaked into place by copying pictures in that  same 
  268.  
  269.      mode on the air. Fortunately I didn't spend too many weeks on  this 
  270.  
  271.      torturous  process before I ran into Bert, W5ZR, who just  happened 
  272.  
  273.      to  have that data all collected for the most popular  modes.  That 
  274.  
  275.      along  with the wealth of information in Langner's article  greatly 
  276.  
  277.      increased my rate of progress. 
  278.  
  279.           I started with 16 shades (ie,4 bits) per RGB color which  gave 
  280.  
  281.      me  the potential of 4096 (16x16x16) different colors  but  finally 
  282.  
  283.      abandoned  that  for  64 shades (6 bits)  per  color  which  allows 
  284.  
  285.      262,144  different colors. This fully uses the capability  inherent 
  286.  
  287.      in  the most common SVGA video cards. While it takes  more  memory, 
  288.  
  289.      you can always reduce the files to the lower resolution with   some 
  290.  
  291.      fairly  simple manipulation if the compressed file sizes  become  a 
  292.  
  293.      problem. Langner chose 32 shades (5 bits) per color for his Pasokon 
  294.  
  295.      color  resolution. With Windows driving the computer hardware  mar-
  296.  
  297.      ket,  memory  costs have had the fastest decrease per year  of  any 
  298.  
  299.      hardware element, so at least my choice was consistent with  market 
  300.  
  301.      trends.
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.           It  is worth noting that changing from 4 bits to 6 bits  would 
  310.  
  311.      have been a major effort on some hardware based systems, but was  a 
  312.  
  313.      minor change here in the software. 
  314.  
  315.           When it came to displaying the resulting color pictures on the 
  316.  
  317.      screen,  I  opted for filling the screen with the picture  (like  a 
  318.  
  319.      TV).  Having no need for Mouse selected menus the full  screen  was 
  320.  
  321.      available.  Since the color modes had a maximum of 320 pixels  wide 
  322.  
  323.      and  240  pixels down in the actual picture frames,  just  doubling 
  324.  
  325.      each  pixel  in both directions gave maximum picture  size  without 
  326.  
  327.      overscan when using a 640x480 VGA screen. This larger display was a 
  328.  
  329.      two edged sword,however, since it made defects in the picture proc-
  330.  
  331.      essing more obvious. It forced me to make improvements in both  the 
  332.  
  333.      fax  demodulation  software and in the  color  registration.  These 
  334.  
  335.      improvements  fed over to the Wefax to give much  better  satellite 
  336.  
  337.      photos--ground features are much more visible now.
  338.  
  339.           Since  all  of the displays I had seen of attempts to  show  a 
  340.  
  341.      variety  of  color pictures on a 256 color VGA board  had  left  me 
  342.  
  343.      unsatisfied, I decided to create my own technique. While describing 
  344.  
  345.      how I accomplished it is beyond the scope of this paper, I leave it 
  346.  
  347.      for  you to judge the results. Figure 2 shows a typical  Scottie  1 
  348.  
  349.      picture.  It fills the screen vertically but not horizontally.  The 
  350.  
  351.      AVT94 mode in figure 3 fills it horizontally but not vertically.      
  352.  
  353.           All  of the modes except the AVT modes include a 1200 hz  line 
  354.  
  355.      sync  pulse of some sort to re-sync each line. I chose to  use  this 
  356.  
  357.      only  to sync the beginning of each picture and adjusted the  crys-
  358.  
  359.      tal-controlled  line timing in each mode to eliminate slanted  pic-
  360.  
  361.      tures.  This is much more immune to interference and after  copying 
  362.  
  363.      hundreds of pictures on the air I have found this to be the optimum 
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.      choice  for  all but the Robot modes. Here there are a  variety  of 
  372.  
  373.      line  timings  that show up on the air, so I had to add  line  sync 
  374.  
  375.      capability  for  the two Robot modes. Actually you can  copy  in  a 
  376.  
  377.      synchronous fashion if the station  you are working has the  latest 
  378.  
  379.      Robot modifications so we kept both capabilities.
  380.  
  381.           Ralph  Taggart introduced his FAX480 mode (reference 4)  while 
  382.  
  383.      we were in the midst of developing this program. With the flexibil-
  384.  
  385.      ity built into the BASIC/.ASM structure described above I was  able 
  386.  
  387.      to  add  FAX480 to the available modes  within a couple  of  hours. 
  388.  
  389.      Since my processing was setup for 64 shades of gray, I kept it  for 
  390.  
  391.      this  mode.  Ralph  was limited to 16 shades  (presumably)  by  his 
  392.  
  393.      hardware base. Once  you have the higher pixel resolution, however, 
  394.  
  395.      I expect people  will also want the real photographic quality of 64 
  396.  
  397.      shades.  After  all, it takes up no more r-f spectrum  or  time  to 
  398.  
  399.      transmit than 16 shades.
  400.  
  401.           Finally,  we had to make choices on the Transmit program.  One 
  402.  
  403.      of  the common practices in use on SSTV is to retransmit a  picture 
  404.  
  405.      you  just received so people out of the skip zone of  the  original 
  406.  
  407.      transmitter  can  see  it.  We  included  the  capability  in   the 
  408.  
  409.      Receive/Transmit  program to parrot back any picture just  received 
  410.  
  411.      in  the  mode it was originally sent in since that  was  relatively 
  412.  
  413.      simple.  While  you can transmit any picture you receive  and  have 
  414.  
  415.      saved,  we  chose  to exclude the Robot modes when it came  to  the 
  416.  
  417.      program used to create new picture files. This was both to conserve 
  418.  
  419.      our  time to more important tasks and because I believe  the  Robot 
  420.  
  421.      color  modes  will  fade with time due to  the  extremely  accurate 
  422.  
  423.      tuning  required  to  maintain color fidelity  and  the  fact  that  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.      chroma  information is shortchanged to maintain compatibility  with 
  432.  
  433.      the old black and white systems. This is not to denigrate the Robot 
  434.  
  435.      systems since they still give some of the best pictures going,  but 
  436.  
  437.      I have noted that many people with the Robot hardware are now using 
  438.  
  439.      Scottie and Martin  modes most of the time---and their pictures are 
  440.  
  441.      gorgeous! 
  442.  
  443.  
  444.  
  445.      DESCRIPTION OF PROGRAMS
  446.  
  447.           RT.BAS---This  is  the receiving and  retransmit  program.  On 
  448.  
  449.      receive,  you only need to choose the mode from the menu, and  wait 
  450.  
  451.      for the picture to be completed. As of this writing Robot 36 and 72 
  452.  
  453.      modes are available in either a synchronous or a line-synced  mode. 
  454.  
  455.      Other modes (all synchronous) are Scottie 1 and 2, Martin 1, AVT90, 
  456.  
  457.      AVT94,  Wraase  48, FAX480 and Wefax. I have the  info  to  include 
  458.  
  459.      AVT125 but it is so inferior to FAX480 that I didn't. AVT188 can be 
  460.  
  461.      copied  as AVT94 but you won't get the whole picture. I  definitely 
  462.  
  463.      want to include the Scottie DX mode but haven't yet heard it on the 
  464.  
  465.      air.  The receiving does not yet include automatic  recognition  of 
  466.  
  467.      modes  from the VIS  header, but the transmit does include the  VIS 
  468.  
  469.      headers and the AVT picture sync count down sequence, so others can 
  470.  
  471.      use auto recognition on your transmitted pictures.
  472.  
  473.           When receiving, if you fail to get the mode selection made  in 
  474.  
  475.      time to catch the frame sync you can bypass directly to copying  by 
  476.  
  477.      hitting the Spacebar. On all but the AVT modes, the next line  sync 
  478.  
  479.      is  picked up and starts the picture. The AVT modes will just  copy 
  480.  
  481.      out of sync. But since the program allows you to scroll horizontal-
  482.  
  483.      ly across the RGB color frames you can re-sync after the picture is 
  484.  
  485.      copied. There is a barely detectable loss in color registration  on 
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.      AVT modes when you miss the sync, but that's better than losing  the 
  494.  
  495.      whole  picture. Having noted that a few of the systems I've  copied 
  496.  
  497.      have  a nonstandard color registration I also included the  ability 
  498.  
  499.      to  adjust color registration after the picture is  received.  This 
  500.  
  501.      shouldn't be needed very often, but is handy to have.
  502.  
  503.           You also can SAVE the picture--usually after you have scrolled 
  504.  
  505.      the  picture  so the CRT screen frames just the part  you  want  to 
  506.  
  507.      keep.
  508.  
  509.           TX.BAS---You  can  transmit any picture file with  this.  When 
  510.  
  511.      queried,  you  give the mode and the file name and  after  a  brief 
  512.  
  513.      pause  while  it loads, hit G(o) to transmit. To  avoid  additional 
  514.  
  515.      switching complexity, VOX is used to turn on the transmitter. Since 
  516.  
  517.      all  pictures start with a long 1900 hz calibration tone,  any  VOX 
  518.  
  519.      delay has no impact.
  520.  
  521.           VU.BAS---As  it's name infers, this program allows  viewing  a 
  522.  
  523.      file picture. It has the same adjustments available as the  RT.BAS. 
  524.  
  525.      One  that  I haven't mentioned yet, applicable only  to  the  Robot  
  526.  
  527.      modes,  is the ability to "re-tune" (in 10 hz increments) the  pic-
  528.  
  529.      ture as you view it's color balance.
  530.  
  531.           QRM  seen in the pictures is of two types, some of  it  giving 
  532.  
  533.      signals  inside  the 1500-2300 hz range where the fax  is  and  the 
  534.  
  535.      other giving signals that measure outside this range. Allowing  for 
  536.  
  537.      some  tuning tolerance, the program identifies color bytes  outside 
  538.  
  539.      the  range  as  being "ringers" and substitutes the  value  of  the 
  540.  
  541.      previous byte for the damaged one. I could have gotten more sophis-
  542.  
  543.      ticated  and taken  the average of all four surrounding  bytes  but 
  544.  
  545.      when I tried the simpler version it worked so well we kept it. Note 
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.      that we are replacing only one color byte, not the whole pixel when 
  554.  
  555.      a  ringer  occurs.(Note to Paul Pagel--we can  supply   Before  and 
  556.  
  557.      After pictures to illustrate the improvement if you have room.) 
  558.  
  559.           SLIDESHO.BAS---Once  you  collect a bunch  of  pictures,  this 
  560.  
  561.      program  gives you the vehicle to display them in slide-show  fash-
  562.  
  563.      ion. It is best  placed in your DOS or TOOLS directory where it can 
  564.  
  565.      be  called up from anywhere in the directory tree. My pictures  are 
  566.  
  567.      collected  by  mode into compressed archive files. Also,  I  use  a 
  568.  
  569.      RAMDISK to access the extra memory above 640k. A simple batch file, 
  570.  
  571.      SSARC.BAT,  clears  the RAMDISK, decompresses the  chosen  archived 
  572.  
  573.      file  into many picture files in  the RAMDISK, and loads in  SLIDE-
  574.  
  575.      SHO. All files are then viewed sequentially wihout having to  refer 
  576.  
  577.      to their name.
  578.  
  579.           TIFCONV.BAS---This  converts pictures which are in a  640x480, 
  580.  
  581.      24 bit color, TIFF format into the proper format to be  transmitted 
  582.  
  583.      in  any  of the modes except Robot. TIFF is the most common  format 
  584.  
  585.      used  to  transfer higher resolution pictures between  programs.  I 
  586.  
  587.      have used this program with both the Computer Eyes/RT and SSC frame 
  588.  
  589.      grabbers.  The picture which outputs from this can be  viewed  with 
  590.  
  591.      VU.BAS and of course is bounded by 320x240 with 18 bit color.  Four 
  592.  
  593.      TIFF  bytes  are  averaged   to get each  output  byte  (except  in 
  594.  
  595.      FAX480).  This gives some desirable smoothing to  the  (affordable) 
  596.  
  597.      real  time  grabber images. In FAX480, the three  color  bytes  per 
  598.  
  599.      pixel are combined to give a gray shade pixel.
  600.  
  601.           LABEL.BAS---To  add  call  signs and other text  to  the  SSTV 
  602.  
  603.      formatted pictures, this program was generated. It takes any TIFF 1 
  604.  
  605.      bit (ie;black and white) file and creates a mask cut out where  the 
  606.  
  607.      black is. You can superimpose over the SSTV picture where the  mask 
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.      is  cut out either any color you want or transfer a cut out of  any 
  616.  
  617.      background  file. Typical background files might be a picture of  a 
  618.  
  619.      shiny brass plate, a highly polished piece of mahogany,or an orange 
  620.  
  621.      peel---anything with an interesting pattern. The letters look  like 
  622.  
  623.      they were cut out of the background picture. Obviously you can  use 
  624.  
  625.      squares or circles in addition to fonts to transfer a piece of  one 
  626.  
  627.      file  onto another one. We use a cheap hand scanner (which  I  have 
  628.  
  629.      never found any previous use for) to capture any interesting  fonts 
  630.  
  631.      that show up. You can get a three dimensional effect by painting  a 
  632.  
  633.      color  through  the  mask, then moving the mask a  few  pixels  and 
  634.  
  635.      rerunning through LABEL with a background file or another color. Or 
  636.  
  637.      run  several  different  masks through LABEL  in  sequence  to  get  
  638.  
  639.      different colors or patterns on different letters.
  640.  
  641.  
  642.  
  643.      FILE FORMATS
  644.  
  645.           When I started copying pictures, the data bytes were saved  in 
  646.  
  647.      exactly the sequence received, with formats labelled as S1, S2, M1, 
  648.  
  649.      etc. This ends up using 3 bytes per pixel, which seems a bit  prof-
  650.  
  651.      ligate. One of the oldtimers in SSTV looked at my pictures which he 
  652.  
  653.      thought looked OK but complained that 6 bits per color looked  like 
  654.  
  655.      too much memory. The Pasokon uses 5 bits in the Targa format  which 
  656.  
  657.      squeezes  the colors for one pixel into 2 bytes. A 50% increase  in 
  658.  
  659.      bytes  did  seem to be a high price to pay. After  looking  at  the 
  660.  
  661.      Targa format, however, it occurred to me that it might not compress 
  662.  
  663.      too well. I took several typical pictures taken in the hamshack and 
  664.  
  665.      ran  them  through  to form Targa, TIFF, and  Scottie  1  formatted 
  666.  
  667.      pictures.  Then  I  compressed  all the  files  using  PKARC  which  
  668.  
  669.  
  670.  
  671.  
  672.  
  673.  
  674.  
  675.      doesn't  remove  any information.  To my surprise,  the  Scottie  1 
  676.  
  677.      files  (10 samples) averaged a squash factor of 49% while both  the 
  678.  
  679.      Targa  and  TIFF  files  only  squashed by 10  to  11%.  So  the  3 
  680.  
  681.      byte/pixel S1 format used less memory in compressed form than the 2 
  682.  
  683.      byte/pixel  Targa  format! Being a little suspicious of  the  large 
  684.  
  685.      difference, I examined the large collection of archived SSTV  files 
  686.  
  687.      copied on the air that I have. Here the squash factor averaged only 
  688.  
  689.      34% with the lowest squash factors being heavily QRMed pictures. My 
  690.  
  691.      discrimination  in  deciding  what to save has  increased  as  more 
  692.  
  693.      pictures  were collected and that shows up in the data as  improved 
  694.  
  695.      squash factors over time. Interesting! There may be other  compres-
  696.  
  697.      sion algorithms designed for Targa which do better. 
  698.  
  699.  
  700.  
  701.      SUMMARY
  702.  
  703.           We  have  presented  a brief description  of  a  basic  Color- 
  704.  
  705.      SSTV/FAX480/Wefax system which is constructed almost entirely  with 
  706.  
  707.      software. It is still being added to. The software is free, is  not 
  708.  
  709.      copy  protected and can be obtained from the ARRL BBS at  (888)888-
  710.  
  711.      8888.  Since I expect to be cruising on my sailboat LADY when  this 
  712.  
  713.      is published, mail won't be answered until late spring (except  for 
  714.  
  715.      Christmas  holiday). You may be able to locate me on the  Slow-Scan 
  716.  
  717.      frequency, 14,230 khz., if you need information sooner. 
  718.  
  719.  
  720.  
  721.                                                   Ben Vester, K3BC
  722.  
  723.      8/14/93
  724.  
  725.  
  726.  
  727.      References:
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.      (1)  J. Langner, "Slow-Scan TV--It isn't expensive anymore!",  QST, 
  738.  
  739.      Jan 1993, pp 20-30.
  740.  
  741.  
  742.  
  743.      (2)   B. Vester, "C-64 Wefax Improvements",  Technical  Correspond-
  744.  
  745.      ence, QST, Jan 1988, pp 47-49
  746.  
  747.  
  748.  
  749.      (3)   B. Vester, "Improved HF Weather Facsimile Programs",  Techni-
  750.  
  751.      cal Correspondence, QST, Sept 1991, pp 40-41
  752.  
  753.  
  754.  
  755.      (4)   R. Taggart, "A  New Standard for Amateur Radio Analog Facsim-
  756.  
  757.      ile", QST, Feb 1993, pp 31-36
  758.  
  759.  
  760.  
  761.  
  762.