1 / 33

Astronomical Image Processing with Visual Fortran

Astronomical Image Processing with Visual Fortran. 黃 信 健. Visual Fortran Graphic Control Histogram Equalization Pseudocolouring Sobel Edge Detector Laplacian Edge Detector Hough Transform. Outline. 32-bit RGB color value SETCOLORRGB SETBKCOLORRGB SETPIXELCOLOR SETPIXELSCOLOR.

odette
Download Presentation

Astronomical Image Processing with Visual Fortran

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Astronomical Image Processing with Visual Fortran 黃 信 健

  2. Visual Fortran Graphic Control Histogram Equalization Pseudocolouring Sobel Edge Detector Laplacian Edge Detector Hough Transform Outline

  3. 32-bit RGB color value SETCOLORRGB SETBKCOLORRGB SETPIXELCOLOR SETPIXELSCOLOR Visual Fortran Graphic Control

  4. LOADIMAGE SAVEIMAGE INTEGERTORGB RGBTOINTEGER Visual Fortran Graphic Control

  5. IMSL 2D Fourier Transform Histogram Equalization Gray scale Full color RGBTOHSI HSITORGB Image Enhancing Techniques

  6. 7.1 Visual Fortran Graphic Control

  7. 32-bit RGB color value • alpha channel • binary 1111111 = hex FF • #0000FF : full-intensity red, • #00FF00 : full-intensity green, • #FF0000 : full-intensity blue, • #FFFFFF: ?

  8. setcolorRGB

  9. setcolorRGB.F90

  10. setBKcolorRGB

  11. setBKcolorRGB.F90

  12. SETPIXELCOLOR

  13. SETPIXELCOLOR.F90

  14. SETPIXELSCOLOR

  15. SETPIXELSCOLOR.F90

  16. 7.1.2 Image2010

  17. Image2010 • LOADIMAGE • result = SAVEIMAGE (filename, ulxcoord, ulycoord, lrxcoord, lrycoord) • Put LOADIMAGE and SAVEIMAGE together

  18. Image2010 • CALL INTEGERTORGB (rgb, red, green, blue) • result = RGBTOINTEGER (red, green, blue) • Put INTEGERTORGB and RGBTOINTEGER together

  19. Image2010 • Histogram Equalization • Pseudocolouring

  20. 7.2 Histogram Equalization

  21. 7.3 Edge Detection Algoritms 7.3.1 Prewittt Masks

  22. 7.3.2 Sobel Edge Detector

  23. Extreme and zero crossing

  24. 7.3.3 Laplacian Edge Detector 3 x 3 mask for 4-neighborhoods and 8-neighborhood

  25. 7.3.4 Hough Transform • Generalized Hough transform • Classical Hough transform • features specified in some parametric forms • tolerant of gaps • relatively unaffected by image noise

  26. Straight line searching • An N3 operation! • Representation in parameter space • y = ax +b

  27. Polar representation • y = ax +b • xcosθ + ysinθ = r

  28. Applications • Driver drowsiness

  29. 2D Fourier Forward Transform

  30. Backward (Inverse) Transform

  31. 4.2 2D Fourier Transform

  32. High/Low pass Filter

  33. The End Next: sequential and parallel laplace solvers

More Related