Auto Focus System based on RTS2 and EPICS Jiajing Liu, Guangyu Zhang, Jian Wang Modern Physics Department, University of Science and.

Slides:



Advertisements
Similar presentations
Welcome to the University of Michigan – Dearborn Observatory Founded 2007.
Advertisements

Active Shape Models Suppose we have a statistical shape model –Trained from sets of examples How do we use it to interpret new images? Use an “Active Shape.
M ATLAB L ECTURE 3 Histogram Processing. H ISTOGRAM E QUALIZATION The imhist function create a histogram that show the distribution of intensities in.
Automatic measurement of pores and porosity in pork ham and their correlations with processing time, water content and texture JAVIER MERÁS FERNÁNDEZ MSc.
Multiple People Detection and Tracking with Occlusion Presenter: Feifei Huo Supervisor: Dr. Emile A. Hendriks Dr. A. H. J. Stijn Oomes Information and.
6/9/2015Digital Image Processing1. 2 Example Histogram.
Im Rahmen des K plus Programms gefördert durch: Analysis of Cell Arrays: A Tool for Evaluation of High Density Micro Colony Chips in Fluorescence Assays.
Multimedia Data Introduction to Image Processing Dr Mike Spann Electronic, Electrical and Computer.
Edge detection. Edge Detection in Images Finding the contour of objects in a scene.
Detecting Image Region Duplication Using SIFT Features March 16, ICASSP 2010 Dallas, TX Xunyu Pan and Siwei Lyu Computer Science Department University.
Distinctive Image Feature from Scale-Invariant KeyPoints
Object Detection and Tracking Mike Knowles 11 th January 2005
Filters and Edges. Zebra convolved with Leopard.
California Car License Plate Recognition System ZhengHui Hu Advisor: Dr. Kang.
STC Robot Optimally Covering an Unknown Indoor Environment Majd Srour, Anis Abboud Under the supervision of: Yotam Elor and Prof. Alfred Bruckstein.
Image Filtering. Problem! Noise is a problem, even in images! Gaussian NoiseSalt and Pepper Noise.
Real-Time Face Detection and Tracking Using Multiple Cameras RIT Computer Engineering Senior Design Project John RuppertJustin HnatowJared Holsopple This.
3D CT Image Data Visualize Whole lung tissues Using VTK 8 mm
A Primer on Image Acquisition and Data Reduction Using TheSky6, CCDSoft V5 and Microsoft Excel Thomas C. Smith Dark Ridge Observatory (DRO)
FEATURE EXTRACTION FOR JAVA CHARACTER RECOGNITION Rudy Adipranata, Liliana, Meiliana Indrawijaya, Gregorius Satia Budhi Informatics Department, Petra Christian.
Image Restoration and Reconstruction (Noise Removal)
PortableVision-based HCI A Hand Mouse System on Portable Devices 連矩鋒 (Burt C.F. Lien) Computer Science and Information Engineering Department National.
Sensing for Robotics & Control – Remote Sensors R. R. Lindeke, Ph.D.
Multimedia Data Introduction to Image Processing Dr Sandra I. Woolley Electronic, Electrical.
Image processing Fourth lecture Image Restoration Image Restoration: Image restoration methods are used to improve the appearance of an image.
School of Computer Science Queen’s University Belfast Practical TULIP lecture next Tues 12th Feb. Wed 13th Feb 11-1 am. Thurs 14th Feb am. Practical.
Combining Undersampled Dithered Stars Guoliang Li & Lei Wang Purple Mountain Observatoy.
Calibration of the LSST Camera Andy Scacco. LSST Basics Ground based 8.4m triple mirror design Mountaintop in N. Chile Wide 3.5 degree field survey telescope.
An Implementation of the Median Filter and Its Effectiveness on Different Kinds of Images Kevin Liu Thomas Jefferson High School for Science.
Mixture of Gaussians This is a probability distribution for random variables or N-D vectors such as… –intensity of an object in a gray scale image –color.
1 Statistics, Data Analysis and Image Processing Lectures Vlad Stolojan Advanced Technology Institute University of Surrey.
Comparison of Digital Image Filtering Techniques Kevin Liu Thomas Jefferson High School for Science and Technology.
Long Term Monitoring of AGNs with Bell Astrophysical Observatory Whitney Wills Western Kentucky University Advisor: Dr. Michael Carini.
Chittampally Vasanth Raja 10IT05F vasanthexperiments.wordpress.com.
Chittampally Vasanth Raja vasanthexperiments.wordpress.com.
02-Gray Scale Control TTF. A TTF tells us how an imaging device relates the gray level of the input to the gray level of the output. P L Luminance, L.
UAV IMAGING G6: Shen, Yubing, Yushi. PANDABOARD Dual-Core 1.2 GHz ARM Cortex-A9 CPU 1 GB DDR2 SDRAM 5V Power Supply.
MOS Data Reduction Michael Balogh University of Durham.
Comparison of Digital Image Filtering Techniques Kevin Liu Thomas Jefferson High School for Science and Technology.
Processing Hardware, Software. Hardware Hardware Processing is performed by a computer ’ s central processing unit and is measured by the clock speed.
In-Sight 5100 Vision System. What is a Vision System?  Devices that capture and analyze visual information, and are used to automate tasks that require.
Final Year Project. Project Title Kalman Tracking For Image Processing Applications.
WASP Airborne Data Processor Laboratory for Imaging Algorithms and Systems Chester F. Carlson Center for Imaging Science Rochester Institute of Technology.
N Astronomical Information Processing System n C++, scripting, GUI’s, libraries, toolkits and applications n Designed by a team of astronomers and programmers.
Robo-AO Overview: System, capabilities, performance Christoph Baranec (PI)
Respectful Cameras Jeremy Schiff EECS Department University of California, Berkeley Ken Goldberg, Marci Meingast, Deirdre Mulligan, Pam Samuelson IEOR,
Canny Edge Detection. 5 STEPS 5 STEPS Apply Gaussian filter to smooth the image in order to remove the noise Apply Gaussian filter to smooth the image.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
SUREILLANCE IN THE DEPARTMENT THROUGH IMAGE PROCESSING F.Y.P. PRESENTATION BY AHMAD IJAZ & UFUK INCE SUPERVISOR: ASSOC. PROF. ERHAN INCE.
More digital 244 wk 12 Perry Sprawls, Ph.D. Professor Emeritus Department of Radiology Emory University School of Medicine Atlanta, GA,
Frank Bergschneider February 21, 2014 Presented to National Instruments.
Non-linear filtering Example: Median filter Replaces pixel value by median value over neighborhood Generates no new gray levels.
Astronomical Spectroscopic Techniques. Contents 1.Optics (1): Stops, Pupils, Field Optics and Cameras 2.Basic Electromagnetics –Math –Maxwell's equations.
Study on CORBA and EPICS based Control System Framework for Large Astronomical Telescopes Jian Wang Modern Physics Department, University.
LOGO FACE DETECTION APPLICATION Member: Vu Hoang Dung Vu Ha Linh Le Minh Tung Nguyen Duy Tan Chu Duy Linh Uong Thanh Ngoc CAPSTONE PROJECT Supervisor:
LOGO “ Add your company slogan ” Final Project Group: T2H2 Mai Thi Thu Nguyen Van Thanh Do Van Huu Pham Ngoc Huy Supervisor: DungHA TrungNT T2H2 Group:
EYE TELE ANALYSER Presented By Gisha S Asok S7 AEI Roll No:23 Guided By Joaquim Ignatious Monteiro lecturer 1.
Date of download: 7/2/2016 Copyright © 2016 SPIE. All rights reserved. Illustration of quantities in Eq. : Ath is the ratio of the striped area under the.
HADI Tutorial Void Inspection Contents 1.Basic Void Inspection Procedure 2.Smooth ROI 3.Background Processing (Flatten BG) 4.Thresholding (Void.
IMAGE PROCESSING is the use of computer algorithms to perform image process on digital images   It is used for filtering the image and editing the digital.
CCD Calibrations Eliminating noise and other sources of error.
Hand Gestures Based Applications
Astronomical Spectroscopic Techniques
Digital Image Processing
1-Introduction (Computing the image histogram).
Edge Detection The purpose of Edge Detection is to find jumps in the brightness function (of an image) and mark them.
LIGO Scientific Collaboration
Volume 93, Issue 9, Pages (November 2007)
7th Annual STEMtech conference
Automated Detection and Analysis of Ca2+ Sparks in x-y Image Stacks Using a Thresholding Algorithm Implemented within the Open-Source Image Analysis Platform.
Presentation transcript:

Auto Focus System based on RTS2 and EPICS Jiajing Liu, Guangyu Zhang, Jian Wang Modern Physics Department, University of Science and Technology of China, State Key Laboratory of Technologies of Particle Detection and Electronics

Contents Structure of BSST Toolkits and Librarys we uesd to implement Auto focus System RTS2-EPICS and Design of Telescope IOC Structure of Auto Focus System based on RTS2 Algorithms we used to deal with fits images while focusing The process of auto focus system Tasks to do in the future

Structure of BSST

Toolkits and Librarys we uesd to implement Auto focus System EPICS - Experimental Physics and Industrial Control System –EPICS is a set of Open Source software tools, libraries and applications used worldwide to create distributed soft real-time control systems for scientific instruments.

Toolkits and Librarys we uesd to implement Auto focus System EPICS - Experimental Physics and Industrial Control System –EPICS is a set of Open Source software tools, libraries and applications used worldwide to create distributed soft real-time control systems for scientific instruments. OpenCV –OpenCV is a library used in image processing, video capturing and etc. GNU Scientific Library (GSL) –The GNU Scientific Library (GSL) is a numerical library for C and C++ programmers.

Structure of RTS2-EPICS

Design of Telescope IOC

Run-time Database Design

Design of Telescope IOC Device Support Design

Struct of auto focus system BSSTFocus is a sub class of Focusd with auto focus function in it BSSTFocus receives “focus” command from other RTS2 module like Executor BSSTFocus can control Telescope IOC and CCD IOC to complete auto focus task The Connection class can either send epics cmd or rts2 cmd depend on the type of the modules.

Struct of auto focus system Inside BSSTFocus, we implement CCD DevClient and Telescope DevClient CCD DevClient and Telescope DevClient use CCD Connection and Telescope Connection to communicate with the CCD and Telescope IOC

Algorithms The focus algorithm is the very important part of auto focus system. We plan to implement 3 different algorithms to calculate the best focus position. Each algorithm has its advantage. We use OpenCV to Process the fits image. 1 calcute the area of the stars in the image. 2 calcute the HDF (Half Flux Diameter) of the stars in the image. 3 calcute the FWHM (Full Width Half Maximum) of the stars in the image. The image shot near the best focus position has the smallest area, HDF and FWHM.

Algorithms Step 1: Scale –Most of the pixels in the image has a low value as its shown in the histogram figure below. –Most stars are hidden in the background, even though there are some bright ones. So we need to scale the image first.

Algorithms Use IRAF’s Z-Scale algorithm to process the image. Z-Scale is an iterative algorithm to find 2 value (Z1 and Z2). The pixel values which are greater than Z2 are bright values. The pixel values which are lower than Z1 are dark values. For the values between Z1 and Z2 we need to scale them to deferent grey value levels The values between Z1 and Z2

Algorithms Step 2: smoothing After Z-Scale we need to smooth because of noise in the image. Different smoothing method has different result. Gaussian smoothing method can wipe off the noise in image, but make the edge of the stars blurry. Before Gaussion smooth After Gaussion smooth

Algorithms Median smoothing method can make the image get rid of the noise. The edge of stars is clear than Gaussian method. After Gaussion smoothAfter Median smooth

Algorithms The effect of Median smoothing method depend on the size of filter windows. We need to find a appropriate size of the filter windows. After compare the 4 image, we select the 5 pixels size filter windows. 9 pixels size 5 pixels size 3 pixels size 13 pixels size Before smooth

The process of auto focus system. We need to move camera to several positions and take images at each position Calculate the best focus position based on these images. Move camera to the best focus position. Find best focus position based on curve fitting

The process of auto focus system. We calculate the best focus position based on curve fitting method using GNU Scientific Library. We make this curve using samples which is also used in rts2saf modules. The results between rts2saf and area calculate method are similar. How to calculate the best focus position area calculate’s result rts2saf’s result

The process of auto focus system. Some times the focus curve may not a regular curve. So the curve fitting method may be not the best approach to find the position. So we need another method to find the position. Iterative approach used to find best focus position

The process of auto focus system. We can also use the curve fitting and iterative method together to find the best focus position. First use the curve fitting method to find a range then we use iterative method in this range to find the best focus position exactly. Use the curve fitting and iterative method together The range we used

The task to do in the future Implement the HDF and FWHM method compare these method to find which is better To do more test to make the software more stable.

Thanks