360 likes | 512 Views
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.
E N D
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 Visual Fortran Graphic Control
LOADIMAGE SAVEIMAGE INTEGERTORGB RGBTOINTEGER Visual Fortran Graphic Control
IMSL 2D Fourier Transform Histogram Equalization Gray scale Full color RGBTOHSI HSITORGB Image Enhancing Techniques
32-bit RGB color value • alpha channel • binary 1111111 = hex FF • #0000FF : full-intensity red, • #00FF00 : full-intensity green, • #FF0000 : full-intensity blue, • #FFFFFF: ?
Image2010 • LOADIMAGE • result = SAVEIMAGE (filename, ulxcoord, ulycoord, lrxcoord, lrycoord) • Put LOADIMAGE and SAVEIMAGE together
Image2010 • CALL INTEGERTORGB (rgb, red, green, blue) • result = RGBTOINTEGER (red, green, blue) • Put INTEGERTORGB and RGBTOINTEGER together
Image2010 • Histogram Equalization • Pseudocolouring
7.3 Edge Detection Algoritms 7.3.1 Prewittt Masks
7.3.3 Laplacian Edge Detector 3 x 3 mask for 4-neighborhoods and 8-neighborhood
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
Straight line searching • An N3 operation! • Representation in parameter space • y = ax +b
Polar representation • y = ax +b • xcosθ + ysinθ = r
Applications • Driver drowsiness
The End Next: sequential and parallel laplace solvers