home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 22 / CD_ASCQ_22_0695.iso / win / graphic / hubble22 / tutorial.txt < prev    next >
Text File  |  1995-04-13  |  20KB  |  347 lines

  1.  
  2.                         TUTORIAL.TXT for HUBBLE 2.20
  3.  
  4. 1. USES OF SOME IMAGE PROCESSING OPERATION.
  5.  
  6.    -  A NOTES ON 24-BITS TRUE COLOR IMAGE
  7.       When displaying a 24-bits true color image, there can be two
  8.       versions to be displayed. By default, If the display adapter
  9.       is not capable of displaying true color, the ditherred version
  10.       (can be turn on and off from "Option Menu") will be displayed.
  11.       However, in some instances, when displaying a ditherred version, 
  12.       some tiny stray image may be visible at some edge, this will not 
  13.       effect the correctness of the image's subsequent operation.
  14.    
  15.    - EQUALIZATION
  16.      This method of image processing can help obtaining image with
  17.      more desirable intensity distribution. The easiest is to use the
  18.      default equalization to obtain better contrast. However, if the result 
  19.      is still not good enough, users can choose "Customized Contrast Control"
  20.      from the "Process Menu". Under this method, users can interactively
  21.      adjust the intensity distribution of the image. If two standard 
  22.      equalization method still cannot give the desired result, A "Customized"
  23.      mothod can be use. If users choose this method, different intensity
  24.      distribution can be specified by just click or drag the mouse on the
  25.      intensity distribution histogram. Resulting effect can be observed
  26.      immediately after users release the mouse button. Users can easily
  27.      and precisely achieve this intensity re-distribution at will without
  28.      having to know the theory behind the operation.
  29.      
  30.    - TONE AND COLOR ADJUSTMENT
  31.      This is similar to EQUALIZATION mention above, except that users
  32.      adjust the intensity level instead of the intensity itself. However,
  33.      this method may not give noticeable result for pure color image.
  34.  
  35.    - COLOR CONVERSION AND DITHERING
  36.      See below.
  37.  
  38.    - FILTERING OPERATION
  39.      In case users don't like the result because it's too bright or too dark,
  40.      a scaling factor can be used. Right shift mean multiply by 2, left shift 
  41.      mean devide by two. Remember, if used multiply or devide as a scaling 
  42.      method, do not use a value of zero.
  43.  
  44.    - BIBLIOGRAPHY
  45.  
  46. 2. USE OF DESKTOP PUBLISHING FEATURES IN DOCUMENT BASED PROCESSING
  47.  
  48.    A. A Tour Through Sample HUBBLE Document File
  49.  
  50.       A.1 Switch to [Document Based Processing] from [Option Menu] (Alt-O, D)
  51.       A.2 Load HUBBLE document file *HUBBLE.PUB* Using [File Menu] (Alt-F, O)
  52.       A.3 After the HUBBLE document is loaded, Users can edit paragraph text 
  53.           of the document using cursor keys, <enter> keys, <Del> key, etc.,
  54.           or add text to a paragraph text.
  55.       A.4 To manipulate other graphic element, choose one of the menu commands
  56.           or click on a toolbox icon.
  57.       A.5 To Manipulate (Move/Resize/Delete) bitmap image, choose (Alt-E, M) 
  58.           from the [Edit Menu]. Move mouse cursor on or around the bitmap
  59.           image, a hand cursor means users can move the image, a cross-arrow
  60.           means users can resize the image. Drag mouse (move mouse while left
  61.           button is down) to move or resize. Use <Del> key to delete the image.
  62.       A.6 Press [Esc] key to return to normal default operation. (Text input)
  63.       A.7 Click on [Drawing Tools] icon (The one with line, square, and circle)
  64.           To move, resize, add, or delete drawings.
  65.           E.g. Click on <SIZE> button to resize or move the current drawing.
  66.           Press <Enter> key to signal the operation (move/resize) is completed.
  67.           Click on <Cancel> to return to normal default operation.
  68.       A.8 Users can also reposition relative top-bottom placement of graphic 
  69.           elements or drawings from [Edit Menu] (Alt-E, n) (Edit, Reposition).
  70.           Use <TAB> key to select current drawing, up-arrow to reposition the 
  71.           drawing to the top, use down-arrow to reposition drawing bottom of
  72.           the drawing stack. Press [Esc] key to return to normal default 
  73.           operation. (Text input)
  74.  
  75.    B. Document Resolution and Printing
  76.  
  77.       B.1 Users can customize page layout and paragraph format from
  78.           [Option Menu] (Alt-O, P). A Page and Paragraph Format Dialog
  79.           is invoked. One item in the dialog box is the setting of 
  80.           document resolution. This setting only affect the printing
  81.           quality of the document.
  82.       B.2 The best result is when the resolution setting is the same 
  83.           as the printer's resolution. However, if the printer 
  84.           resolution is too high, HUBBLE may not be able to handle
  85.           (It consume too much memory). In this case, choose a lower
  86.           resolution. In general, choose a resolution between 100 
  87.           to 200 pixels/inch.
  88.       B.3 Choose [Print Preview] for several resolution settings to
  89.           determine best resolution setting.
  90. 2. USE OF DESKTOP PUBLISHING FEATURES IN DOCUMENT BASED PROCESSING (Cont'd)
  91.  
  92.    C. Available Fonts Style and Size
  93.  
  94.       C.1 Most elements of HUBBLE document, drawings, image, etc. can be 
  95.           move or resized. However, "Fonts Size and Style" for paragraph
  96.           text input is limited to those installed on the Windows.
  97.       C.2 There is a way to customize paragraph text "Fonts SIZE" when
  98.           printing. The trick is to use [Page and Paragraph Format] from
  99.           [Edit Menu] to define document page size. However, when printing, 
  100.           users can reduce or enlarge the printing page.
  101.       C.3 For example, users define a document page of 4" by 5". However,
  102.           when printing, users can chose the printing page size (from
  103.           [print Dialog]) to be 8" by 10". In effect, users are printing
  104.           the document page which a "Fonts SIZE" twice the size of those
  105.           available from the fonts installed on the system.
  106.  
  107. 3. USE OF TOOLBOX:(GENERAL) AND OTHER IMAGE OR DOCUMENT EDITING COMMANDS
  108.  
  109.    A. %%%%%%%%%%%%%%% IMPORTANT SPECIAL NOTICES %%%%%%%%%%%%%%%%%%%
  110.  
  111.       A.1 *** BRUSH SELECTION and LINE SELECTION *** from [Option Menu]
  112.           LINE SELECTION affect the attributes of drawing tools.
  113.                         (Tools with icon of a line, a circle, a square)
  114.           BRUSH SELECTION affect the attributes of pencil tool. 
  115.                         (freehand drawing, Tools with icon a pencil)
  116.       A.2 Generally, users signal the end of an operation by
  117.           pressing the <Enter> key.
  118.       A.3 Usually, there may be several image editing elelments (drawings,
  119.           bitmap image, etc.) available at the same time. Depend on specific
  120.           tools or commands used, users may be able to know which editing
  121.           element is the current (active) one by making one of the following
  122.           observation:
  123.           A.3.1 By moving the mouse cursor, a hand-shaped cursor will appear
  124.                 above the active editing element.
  125.           A.3.2 Color of the editing element is inverted. This situation is
  126.                 is typical for MOVE/RESIZE operation.
  127.           A.3.3 By changing the editing element's attribute, e.g. by toggling
  128.                 between OPAQUE and TRANSPARENT mode.
  129. 3. USE OF TOOLBOX:(GENERAL) AND OTHER IMAGE OR DOCUMENT EDITING COMMANDS (Cont'd)
  130.  
  131.    B. GENERAL CONCEPT
  132.       B.1 Users access to toolbox by clicking on the appropriate
  133.           <TOOLBOX> icon. A set of <PUSH BUTTON> will appear on the 
  134.           status line from which users can choose to perform or fine 
  135.           tune the operations. After users perform a task, such as 
  136.           enter text lines or make drawings, the program still allow users 
  137.           to make further adjustment. Commonly available feature are 
  138.           <SIZE> (resize and move), <FG> changing the foreground color, 
  139.           <BG> changing the background color, etc.     
  140.           Modifications made to the image are grouped in **logical units**
  141.           of operation, such as a drawing, a line of text, or a group 
  142.           of pixels. Hence <SIZE>, <FG>, <BG>, etc. are applied to the
  143.           whole unit of operation. Users can have many unit of operation
  144.           (e.g. many geometric drawings) at the same time, and can change
  145.           focus to different unit by using <TAB> key of push <TAB>button
  146.           on the status line.
  147.       NOTES:
  148.           All change made by toolbox are still not committed to 
  149.           the image (changes have to be committed to the image to become
  150.           part of the image) until users click on the <WRT> (write) or 
  151.           <OK> push button.
  152.           Please refer to online help for detail.
  153.           -- users can click on <cancel> push button to end the operation. --
  154.  
  155.    C. Notes on TOOLBOX:(RECTANGLE) and TOOLBOX:(Image Patching)
  156.       C.1 Similarity and Difference
  157.           TOOLBOX:(RECTANGLE) allow users to define a rectangular
  158.           area on the image and then users can either <COPY>,
  159.           <CUT>, <SCALE>, or <Stitch or Image Patching>
  160.           (push <OK> button).
  161.           TOOLBOX:(Image Patching) only allow users to do
  162.           <Stitch or Image Patching> but allow users to select 
  163.           different shapes for the selected area.
  164.       C.2 Current Limitation
  165.           Some limitation for TOOLBOX:(Image Patching) may restrict
  166.           its use. Please read the file Newinfo.txt.
  167.       C.3 <COPY-RECTANGLE> function is also available through [Edit-Menu].
  168.  
  169.    D. Notes on TOOLBOX:(RECTANGLE) and [Edit Menu]-[Trim Image]
  170.       Trim image is an alternate implementation of <COPY-RECTANGLE> in
  171.       TOOLBOX:(RECTANGLE). However, its using keyboard to defined the 
  172.       selected rectangle.
  173.  
  174.    E. Current Limitation
  175.       Please read the file Newinfo.txt.
  176.  
  177. 4. USE OF TOOLBOX:(Image Patching) 
  178.    4.1 A Typical scenarios and steps of using TOOLBOX:(Image Patching)
  179.        a.) Support we want to change text on HUBBLE.BMP from "version 1.08"
  180.            to "version 2.20"
  181.        b.) Open HUBBLE.BMP, adjust display window to portion the image,
  182.            e.g. maximize the window.
  183.        c.) Click on TOOLBOX:(Image Patching) icon.
  184.        d.) Click on <RECT> on the status line.
  185.        e.) Draw a rectangle on the right of "version 1.08" to select an area.
  186.        f.) Click on <SIZE> on the status line to adjust the selected rectangle.
  187.        g.) Click on <Put> on the status line to move the selected area to
  188.            the left until it cover text "1.08" as follow:
  189.            g.1) Move mouse cursor over the selected area. (mouse cursor will
  190.                 change to hand shape cursor.
  191.            g.2) Drag mouse to the left (move mouse while left button is down)
  192.                 until the selected area cover text "1.08".
  193.            g.3) Click on <WRT> on the status line.
  194.                 Now, text "1.08" will be replaced with background image.
  195.        h.) Click on <Cancel> on the status line to exit TOOLBOX:(Image Patching).
  196.        i.) Click on TOOLBOX:TEXT icon.
  197.        j.) Enter "2.20" at the location which previously display text "1.08".
  198.        k.) Click on <TRAN> on the status line to show image background.
  199.        l.) Click on <SIZE> on the status line to adjust the location and size
  200.            of the text entered.
  201.        m.) Push [RETURN] after finish adjust text entered in l.)
  202.        n.) Click on <WRT> on the status line.
  203.        o.) Click on <Cancel> on the status line to exit TOOLBOX:TEXT.
  204.            
  205.    4.2 
  206.  
  207. 5. USE OF TOOLBOX:(PENCIL) and TOOLBOX:(DRAWING)
  208.    A. Basic Differences (Brush Style and Line Style)
  209.       TOOLBOX:(PENCIL) is a pixel editing tools, while
  210.       TOOLBOX:(DRAWING) is a line drawing tools. Hence,
  211.       shape and size of pixel using TOOLBOX:(PENCIL) are
  212.       controlled by brush style (from Option menu), and
  213.       shape and size of drawing using TOOLBOX:(DRAWING) 
  214.       are controlled by line style (also from Option menu).
  215.    B. Logical Unit of Operation.
  216.       A geometric drawing is considered a unit of operation.
  217.       For freehand drawing (either from TOOLBOX:(PENCIL) or
  218.       TOOLBOX:(DRAWING)), all drawing entered from initial
  219.       drawing until users push the [RETURN] key are considered
  220.       a logical unit. 
  221.       Users can modify a drawing unit by clicking on the <SIZE> 
  222.       button, then drag mouse on the image to move or resize the
  223.       drawings. For freehand drawing, users can modify the pixel
  224.       boundary after a group is formed by pushing the [SPACE BAR], 
  225.       and push [RETURN] to complete the operation.
  226. 6. CUSTOM COLOR CONVERSION AND DITHERING
  227.    6.0 Users can convert an image without using -Dithering- technique.
  228.        If dithering is disabled, operation speed will be much faster.
  229.    6.1 Display Update
  230.        To get updated display on source or target image on "Custom Conversion"
  231.        dialog box, click on the respective image display areas.
  232.    6.2 A Typical steps of using Custom Color Conversion
  233.        a.) Open an image file from File Menu.
  234.        b.) Select Custom Color Conversion and Dithering from Transform Menu.
  235.        c.) Select dithering technique such as "Error Diffusion" from the
  236.            "Dithering Method" listbox. (Other dithering techniques may have 
  237.            more restriction on palette which can be selected).
  238.        d.) Select "Color" from Target Quality and choose number of color
  239.            such as 256 or 16 colors.
  240.        e.) Click on "Build Palette >>" to make palette selection.
  241.        f.) Click on "Disable Dithering" check box to match the target image
  242.            with source image without using dithering technique. (This step is 
  243.            advised to be done last and is recommended if the target image is 
  244.            to be used for further editing such as area fill operation)
  245.        g.) Click on "TEST" or "OK" button.
  246. ***6.3 Scenarios where Custom Color Conversion and Dithering can be used
  247.        a.) When users want to merge two images or stitch one image over another
  248.            but can not be done because the two image are not compatible either
  249.            because they have different number of color or using different set
  250.            of color palette. e.g. imageA has 256-colors and 
  251.            imageB is a true-color image.
  252.            imageA = IBM$4A.BMP, imageB=IBM$4B.BMP
  253.            a1.) open imageA
  254.            a2.) Paste the image (imageA) to clipboard. 
  255.                 (to make palette of imageA available through clipboard)
  256.            a3.) Open imageB.
  257.            a4.) Select Custom Color Conversion and Dithering from 
  258.                 Transform Menu.
  259.            a5.) Select dithering technique such as "Error Diffusion" from the
  260.                 "Dithering Method" listbox. (Other dithering techniques may 
  261.                 have more restriction on palette which can be selected).
  262.            a6.) Select "Color" from Target Quality and choose 256-color.
  263.            a7.) Click on "Build Palette >>" to make palette selection.
  264.            a8.) Select "Clipboard Palette" the click on "OK".
  265.            a9.) Click on "Disable Dithering" check box to match the target 
  266.                 image with source image without using dithering technique. 
  267.                 (This step is advised to be done last and is recommended if 
  268.                 the target image is to be used for further editing such as 
  269.                 area fill operation)
  270.            a10.) Click on "OK" button.
  271.            ==> the resulting image can be used to merge or stitch with imageA.
  272.    6.4 NOTES
  273.        a.) Sometime it's better disabled dithering Technique for some kind
  274.            of subsequent processing.
  275.        b.) At the build palette menu, there is a checkbox to limit
  276.            palette selection.
  277.        c.) If after the palette is built, <OK> button may still be disabled,
  278.            this is because the selected dithering method is not compatible
  279.            with current selected palette. Choose other dithering method from
  280.            the listbox or change to other set of palette. (users may also
  281.            have to uncheck the "Disable Dithering" checkbox to enable the
  282.            dithering method listbox)
  283.         (** A somewhat intertwined selections to make everything compatible **)
  284. 7. GRAYSCALE/COLOR CONVERSION, -VS- CUSTOM COLOR CONVERSION AND DITHERING
  285.    7.1 GRAYSCALE CONVERSION
  286.        Are used to change image to color format with higher number of 
  287.        grayscale levels and/or convert color image to grayscale image
  288.        by averaging intensity of all color components using a pre-specified
  289.        formular.
  290.    7.2 GRAYSCALE/COLOR CONVERSION
  291.        Are used to change image to color format with higher number of colors.
  292.    7.3 CUSTOM COLOR CONVERSION AND DITHERING
  293.        Are used to convert the color format of an image to a different/new
  294.        set of color palette with the same or reduced number of colors. Without
  295.        dithering, the conversion is carried out using nearest color matching
  296.        method. With dithering, a wide range of methods are available (depending
  297.        on users preferences and suitability to specific needs) to approximate
  298.        the original image and give users the illusion that the image has
  299.        more colors than those available from the color palette used.
  300.  
  301. 8. HOW MAKE IMAGE COMPATIBLE
  302.    8.1 If the image is from clipboard, paste the image from clipboard.
  303.    8.2 suppose IMAGEa is the image with desired palette, and we want to
  304.        convert IMAGEb to be compatible (for merging and stitching)
  305.        with IMAGEa.
  306.    8.3 Copy IMAGEa to clipboard to make the palette available.
  307.    8.4 Use GRAYSCALE/COLOR CONVERSION (usually COLOR CONVERSION) to convert
  308.        IMAGEb to have the same (or even higher) number of colors than IMAGEa.
  309.    8.5 Use CUSTOM COLOR CONVERSION AND DITHERING and using the palette from 
  310.        clipboard (copied from step 6.3).
  311.    8.6 Disable dithering.
  312.    8.7 Complete the CUSTOM COLOR CONVERSION AND DITHERING process.
  313.    8.8 Also see --> 
  314.        (4). GRAYSCALE/COLOR CONVERSION, -VS- CUSTOM COLOR CONVERSION AND DITHERING
  315.        (5). CUSTOM COLOR CONVERSION AND DITHERING
  316.    
  317. 9. Stitch Image From Clipboard
  318.    If the clipboard image is not compatible to the base image (current
  319.    image which users want to have clipboard image stitch on).
  320.    9.1 Convert clipboard image to become compatible
  321.        Users should "Paste Image (Edit menu)" to a window first, then "Copy
  322.        base image to clipboard" (To make base image's palette available).
  323.        Next, users should use "CUSTOM CONVERSION and DITHERING" to convert
  324.        make the newly pasted image by using palette from clipboard as
  325.        its new palette. The method is explained in TUTORIAL.TXT, HUBBLE.DOC, 
  326.        and HUBBLE online help.
  327.    9.2 Convert base image to become compatible with clipboard image 
  328.        Users should "Paste Image (Edit menu)" to a window first, then 
  329.        use "CUSTOM CONVERSION and DITHERING" to convert base image to 
  330.        have palette compatible with the clipboard image. Users then
  331.        use this newly converted image as the base image to 
  332.        "Stitch Image From Clipboard". See TUTORIAL.TXT, HUBBLE.DOC, 
  333.        and HUBBLE online help on "CUSTOM CONVERSION and DITHERING" .
  334.  
  335. 10. HOW TO USE THE PROGRAM
  336.       A. Help will always be available by pressing the F1 key.  *********
  337.       B. If your scanner manufacturer do not supply TWAIN compatible driver,
  338.           you can use your scanner software to acquire image, save it in
  339.           BMP, PCX, or TIFF formats. Then use HUBBLE for further processing.
  340.       C. Use <DEL> key to delete current item of drawing, area fill, 
  341.           modification, etc. in TOOLBOX.
  342.      ENERAL NOTES
  343.          By default, A <Reduced Image> window will be displayed, and may be used
  344.          as a place for performing various house-keeping chores and for setting
  345.          up global variables, etc.
  346.  
  347.