FrIDA: An open source framework for image dataset analysis Toby Cornish, MD, PhD Department of Pathology Johns Hopkins Medical Institutions Baltimore,

Slides:



Advertisements
Similar presentations
NA-MIC National Alliance for Medical Image Computing Slicer Tutorial Module: Segmentation May 26, 2005.
Advertisements

Chapter Eleven Digital Darkroom Expert Techniques.
Computational Biology, Part 23 Biological Imaging II Robert F. Murphy Copyright  1996, 1999, All rights reserved.
Simple Face Detection system Ali Arab Sharif university of tech. Fall 2012.
Image Processing IB Paper 8 – Part A Ognjen Arandjelović Ognjen Arandjelović
LING 111 Teaching Demo By Tenghui Zhu Introduction to Edge Detection Image Segmentation.
Image Segmentation Image segmentation (segmentace obrazu) –division or separation of the image into segments (connected regions) of similar properties.
Eleven colors and rasters. Color objects Meta represents colors with color objects You can create a color by saying: [color r g b] r: amount of red (0-255)
Aim: How can we measure area on ImageJ?
Adobe Photoshop 6 Foundation Level Course. What is Photoshop? Photoshop is a graphics program, which allows you to manipulate elements of photographs.
Real-Time Face Detection and Tracking Using Multiple Cameras RIT Computer Engineering Senior Design Project John RuppertJustin HnatowJared Holsopple This.
GUIDED BY: C.VENKATESH PRESENTED BY: S.FAHIMUDDIN C.VAMSI KRISHNA ASST.PROFESSOR M.V.KRISHNA REDDY (DEPT.ECE)
Applied Anatomical Diagnostic Framework for Visualizing the Human Body in a 3-D, Immersive, Navigable and Interactive VR Environment May 4, 2012 Steven.
NA-MIC National Alliance for Medical Image Computing Interactive Editor tutorial Sonia Pujol, Ph.D. Surgical Planning Laboratory Harvard.
Spectral contrast enhancement
Entropy and some applications in image processing Neucimar J. Leite Institute of Computing
GIMP Graphic Image Manipulation Program. GIMP Image manipulation software Free Open Source Written by two students First version in 1996.
CGMB 314 Intro to Computer Graphics Fill Area Primitives.
Digital Images Chapter 8, Exploring the Digital Domain.
Color Correct and Remove Keystoning A minimalist approach to photographing your art By Paul Marley.
Lecture 4: ImagesIntro to IT COSC1078 Introduction to Information Technology Lecture 4 Images James Harland
Media Arts – Review Day 2 Photoshop Tools and Functions.
Graphics A graphics program allows you to combine pictures and text in many different ways. Features – General Level Draw graphics Enter Text Common Tools.
Chapter 9.  Mathematical morphology: ◦ A useful tool for extracting image components in the representation of region shape.  Boundaries, skeletons,
Working with Symbols and Interactivity
Aim: What is ImageJ and Why do we use it? Day 1. Brief Background Released in 1997 by Wayne Rasband Developed at the National Institutes of Health Runs.
Course Syllabus 1.Color 2.Camera models, camera calibration 3.Advanced image pre-processing Line detection Corner detection Maximally stable extremal regions.
Adobe Photoshop CS4 - Illustrated
Digital Image Processing Chapter 9: Morphological Image Processing 5 September 2007 Digital Image Processing Chapter 9: Morphological Image Processing.
Morphological Image Processing
Manipulate Graphics Skill Area Lecture Overview Photoshop’s GUI Basic Function Basic Image Manipulation.
Image Segmentation and Morphological Processing Digital Image Processing in Life- Science Aviad Baram
1 Chapter 1: Introduction 1.1 Images and Pictures Human have evolved very precise visual skills: We can identify a face in an instant We can differentiate.
Graphics. Graphic is the important media used to show the appearance of integrative media applications. According to DBP dictionary, graphics mean drawing.
Image Representation. Digital Cameras Scanned Film & Photographs Digitized TV Signals Computer Graphics Radar & Sonar Medical Imaging Devices (X-Ray,
Selecting in Adobe Photoshop by Michael Klapp. What is Selecting? A way to isolate sections of an image for editing.
1 Regions and Binary Images Hao Jiang Computer Science Department Sept. 25, 2014.
Ch 6 Color Image processing CS446 Instructor: Nada ALZaben.
Computational Biology, Part 22 Biological Imaging II Robert F. Murphy Copyright  1996, 1999, All rights reserved.
Magnify an image to see pixels Toolbox Document Tab Zoom Level Status Bar Document Window Panels Options Bar Menu Bar.
Chapter 3 - Photoshop® Elements Outline 3.1 Introduction 3.2 Image Basics 3.3 Vector and Raster Graphics 3.4 Toolbox Selection Tools Painting.
Tutorial # 9 – Q#6.16 from textbook Nov. 21,
1 Regions and Binary Images Hao Jiang Computer Science Department Sept. 24, 2009.
Interactive Frequency Filtering Program Geoff Franz.
Do Now: Take out your notebook and a pen. Good Morning Do Now: Take out your notebook and a pen. Good Morning Aim: What is color? Mr. Spaterella Technology.
Color Web Design Professor Frank. Color Displays Based on cathode ray tubes (CRTs) or back- lighted flat-screen Monitors transmit light - displays use.
PROJECT#3(b) Astrocyte Analysis
POWERPOINT PLUS 11/17/07 Class Notes. WHAT IS A PIXEL A pixel is a number that represents the intensity of light at a square spot in the picture. Pixels.
CS 101 – Sept. 14 Review Huffman code Image representation –B/W and color schemes –File size issues.
CS654: Digital Image Analysis
Intelligent Robotics Today: Vision & Time & Space Complexity.
HSB to RGB to HEX.
Image Representation Last update st March Heejune Ahn, SeoulTech.
Is the practical guidance to color mixing and the visual effects of a specific color combination.
BYST Morp-1 DIP - WS2002: Morphology Digital Image Processing Morphological Image Processing Bundit Thipakorn, Ph.D. Computer Engineering Department.
5th Intensive Course on Soil Micromorphology Naples th - 14th September Image Analysis Lecture 8 Introduction to Binary Morphology.
Morphological Image Processing (Chapter 9) CSC 446 Lecturer: Nada ALZaben.
Digital Image Processing CCS331 Relationships of Pixel 1.
HADI Tutorial Void Inspection Contents 1.Basic Void Inspection Procedure 2.Smooth ROI 3.Background Processing (Flatten BG) 4.Thresholding (Void.
Content Based Coding of Face Images
Sampling, Quantization, Color Models & Indexed Color
Histogram—Representation of Color Feature in Image Processing Yang, Li
6th Lecture – Rectangles and Regions, and intro to Bitmap Images
Vectors and Paths, also File Export
Department of Computer Engineering
Basic Concepts of Digital Imaging
© 2010 Cengage Learning Engineering. All Rights Reserved.
Image segmentation Grey scale image Binary image
Interactive Editor tutorial
DIGITAL IMAGE PROCESSING Elective 3 (5th Sem.)
Presentation transcript:

FrIDA: An open source framework for image dataset analysis Toby Cornish, MD, PhD Department of Pathology Johns Hopkins Medical Institutions Baltimore, MD

FrIDA Framework for Image Dataset Analysis Framework  provides tools that allow users to create their own analysis methods Image Dataset  iterates over a set of images, applying the same methods to each image Analysis  returns per image statistics about area and intensity in a given region of interest

FrIDA specs Written in Java Uses libraries from the popular Image J program (Wayne Rasband, NIH) Programmed by James Morgan Design by Toby Cornish, James Morgan and Angelo DeMarzo

FrIDA specs, cont. Licensed under MPL and currently available at sourceforge: – Requirements: –Java 6 runtime environment (JRE) Optional: –MySQL database

FrIDA Operates on 24 bit color image files, including TIFF, JPEG, etc. Currently supports analysis of: –Area (total, ROI) –Intensity (mean, median, min, max) Saves all analysis settings to either an XML file or a MySQL database Results are saved to an XML file or plain text file Central concept: Masking…

Masking Mask: –a binary image that defines certain pixels as included (foreground) or excluded (background) Color Image“Tissue” Mask Foreground = white Background = black

Masking, cont. Grayscale segmentation is an example of a process that produces a mask Color Image“Tissue” Mask Grayscale segmentation

Masking, cont. FrIDA currently supports these masking methods: –Color mask: uses HSB color space segmentation to select pixels within a color range –Lasso mask: freehand selection of pixels using bounding polygons –Metamask: combination of two masks using boolean logic

Main FrIDA window

Masking Color mask Lasso mask Metamask

Color space segmentation Segmentation  assigning the pixels in an image to a particular category, i.e. classifying them Color segmentation  grouping of pixels of similar color –The first step in any analysis of staining, i.e. which pixels are brown and which are blue?

HSB/HSV color space More intuitive for human interaction 1 pixel = 3 values –Hue, Saturation, Brightness (Value) –H x S  circle (chromaticity) Hue defines a color; saturation the amount of color present –B (V)  z-axis Defines the “brightness” S H 0o0o S B H

Color space segmentation S H = 0 to 35 degrees S = 0 to 100% I = 0 to 100% 0o0o 35 o

HSB segmentation in FrIDA “Color Mask” Select colors by either: –An eyedropper-style tool, and/or –Three pairs of sliders that define bandpass ranges for Hue, Saturation and Brightness

Hue: Min > Max  Bandstop

Brown Color masking, cont. HSB Segmentation

Masking Color mask Lasso mask Metamask

“Lasso” masking Freehand polygon tool for drawing regions of interest to be masked (red line)

“Lasso” masking, cont. Any number of lasso can be defined; multiple selections possible by holding down “shift”

“Lasso” masking Red lasso defines a mask Exclude Include

Masking Color mask Lasso mask Metamask

Meta masking Metamasks combine two or more masks using boolean logic: –AND: the intersection of two masks “all pixels in both mask1 AND mask2” –OR: the union of two masks “all pixels either in mask1 OR mask2” –NOT: uses the inverse of a mask “all pixels NOT in mask1”

Meta masking, cont. Metamasks combine two or more masks using boolean logic:

Meta masking, cont. Metamasks bring all the elements together for analysis…

Exclude Include Include AND (NOT Exclude) NOT Exclude NOT Brown AND Include AND (NOT Exclude) AND Brown

Original The mask is applied to the original image, selecting the pixels of interest and resultant image is analyzed ANALYSIS MASK Masked Original

Future directions Preprocessing of images Additional masks: –e.g., binary operations Erosion, dilation, watershed segmentation, size exclusion, shape descriptor exclusion Additional results: –Particle counting Integration with TMAJ: –Display of masks while browsing TMAs

Acknowledgements James Morgan, B.S. Bora Gurel, M.D. Angelo DeMarzo, M.D., Ph.D. Source for FrIDA can be obtained at sourceforge.net Anyone interested in a live demo may request one during the meeting