f3d Format for Storage of 3D Grids

Slides:



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

Reconstruction from Voxels (GATE-540)
Boundary Detection - Edges Boundaries of objects –Usually different materials/orientations, intensity changes.
Direct Volume Rendering. What is volume rendering? Accumulate information along 1 dimension line through volume.
What is DICOM? The standard for Digital Imaging and Communications in Medicine. Developed by the National Electrical Manufacturers Association (NEMA) in.
Volume Rendering Volume Modeling Volume Rendering Volume Modeling Volume Rendering 20 Apr
Efficient Sparse Voxel Octrees
Slide 1 Visualization of scientific data under Linux - Techniques and data wrangling Mike Walterman, Manager of Graphics Programming, Scientific Computing.
1 Image filtering Hybrid Images, Oliva et al.,
Modelling. Outline  Modelling methods  Editing models – adding detail  Polygonal models  Representing curves  Patched surfaces.
Introduction to Volume Visualization Mengxia Zhu Fall 2007.
Image representation using arrays Image processing examples
1 Image Filtering Readings: Ch 5: 5.4, 5.5, 5.6,5.7.3, 5.8 (This lecture does not follow the book.) Images by Pawan SinhaPawan Sinha formal terminology.
Hands-On Microsoft Windows Server 2003 Administration Chapter 6 Managing Printers, Publishing, Auditing, and Desk Resources.
ITUppsala universitet Data representation and fundamental algorithms Filip Malmberg
Image Filtering. Problem! Noise is a problem, even in images! Gaussian NoiseSalt and Pepper Noise.
Leicester, February 24, 2005 VisIVO, a VO-Enabled tool for Scientific Visualization and Data Analysis. VO-TECH Project. Stage01 Ugo Becciani INAF – Astrophysical.
Homework Due CSC508.
Visualization Services Group Steve Cutchin – Manager Amit Chourasia – Visualization Scientist Alex DeCastro – Visualization.
An Introduction to MINC John G. Sled. What is MINC? A medical image file format based on NetCDF A core set tools and libraries for image processing A.
2D/3D Shape Manipulation, 3D Printing Shape Representations Slides from Olga Sorkine February 20, 2013 CS 6501.
The future of MINC Robert D. Vincent
Segmentation support in Slicer Csaba Pinter Laboratory for Percutaneous Surgery, Queen’s University, Canada.
The netCDF-4 data model and format Russ Rew, UCAR Unidata NetCDF Workshop 25 October 2012.
AVS/Express and VisIt Training NERSC Users meeting June PPPL Cristina Siegerist NERSC/LBNL Visualization group June 13, 2006.
Volume Rendering CMSC 491/635. Volume data  3D Scalar Field: F(x,y,z) = ?  Implicit functions  Voxel grid  Scalar data  Density  Temperature  Wind.
Rachelle Howell and Ellen M. Rathje University of Texas at Austin NEEScomm IT Development Team.
CSC508 What You Should Be Doing Code, code, code –Programming Gaussian Convolution Sobel Edge Operator.
Representation of Objects with Sharp Details in Truncated Distance Fields Pavol Novotný Comenius University, Bratislava, Slovakia Miloš Šrámek Austrian.
Graphics and Images Graphics and images are both non-textual information, that can be displayed and printed. These images may appear on screen as well.
Sciamachy features and usage with respect to end-users The typical fate of retrieval people dealing with large datasets… C. Frankenberg, SRON team, IUP.
Proposal for Storing Whole Slide Images for Pathology in DICOM
11/29/ Image Processing. 11/29/ Systems and Software Image file formats Image processing applications.
 Lossless › Integer wavelet (+/- reversible color transformation).  Either lossless or lossy › Integer or floating point wavelet  Many features! › Region-of-interest.
Surgical Planning Laboratory -1- Brigham and Women’s Hospital Converting DTI data into Nrrd file format Sonia Pujol, Ph.D. Gordon.
The HDF Group Introduction to netCDF-4 Elena Pourmal The HDF Group 110/17/2015.
Visualization with ParaView. Before we begin… Make sure you have ParaView 3.14 installed so you can follow along in the lab section –
İmage enhancement Prepare image for further processing steps for specific applications.
CDS 301 Fall, 2008 Image Visualization Chap. 9 November 11, 2008 Jie Zhang Copyright ©
Geoprocessing and georeferencing raster data
GIS Data Shape files, Rasters, Coordinate Systems, ArcGIS.
1 Section 5.4 Digital Sound Processing Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
The DICOM Standard Miloš Šrámek Austrian Academy of Sciences.
Graph-based Segmentation
Medical Image File Formats and Converters
MPEG-4 Binary Information for Scenes (BIFS)
… Sampling … … Filtering … … Reconstruction …
Moving from HDF4 to HDF5/netCDF-4
Geographical Information Systems
Efficiently serving HDF5 via OPeNDAP
Volume Visualization Chap. 10 December 3 , 2009 Jie Zhang Copyright ©
Introduction to Computer Graphics
Outline Image formats and basic operations Image representation
3D Rendering Pipeline Hidden Surface Removal 3D Primitives
Jeremy Bolton, PhD Assistant Teaching Professor
ECE 692 – Advanced Topics in Computer Vision
Image filtering Images by Pawan Sinha.
Filtering Things to take away from this lecture An image as a function
From Voxels to 3D Uri Mike.
Chapter 9 Instruction Sets: Characteristics and Functions
Vectors and Paths, also File Export
Visualization CSE 694L Roger Crawfis The Ohio State University.
Detecting image intensity changes
Enabling the full potential of 3D Printing with the 3MF File Format
Edge Detection in Computer Vision
Modeling and Visualization Hajime Yoshida Naruto UE
Enabling the full potential of 3D Printing with the 3MF File Format
Image Filtering Readings: Ch 5: 5. 4, 5. 5, 5. 6, , 5
Review and Importance CS 111.
ECMWF usage, governance and perspectives
Presentation transcript:

f3d Format for Storage of 3D Grids Miloš Šrámek Austrian Academy of Sciences

What would be nice... Support for different kinds of voxels Scalar and color voxels 8, 16, 32 bit integers, signed and unsigned, floats Different kinds of grids cartesian regular rectilinear

What would be nice... Self descriptive Stores all necessary data attributes Application specific comments Provide means to transfer information between different applications Preview image An icon image, giving an idea about the contents of the file. Data compression

What would be nice... Cross platform compatibility Little/Big endian Size of voxel representation Availability Covered by a non-restrictive license Ease of usage

3D Formats and Approaches Sequence of slices Preview is possible, otherwise awkward Raw 3D Data Easy to use (load), hard to manipulate Everything else is bad Package specific formats (AVS, DE, VTK): Too general (structured/unstructured, geometry, topology, attributes) Not available outside the package

Existing 3D Formats HDF and netCDF Too complicated No preview DICOM (ACR-NEMA) Complex, only 2D format, (usually) no compression ANALYZE No preview, no compression ETC...

The ‘f3d’ Format A 3D extension of the PNM format Keeps the basic simple structure of PNM: Magic (P5, P6) # Comments Dimensions (2D) 2D image data (preview) 3D extension 3D data is appended as compressed 2D slices (zlib compression) Parameters stored as PNM comments

Features Preview (data reprojected along an axis) Any image viewer Simplifies manipulation with files (what the hell is in this file?) ASCII header and comments Viewable by image viewers (xv) Viewable by vi (can be even edited!) Compression Ratio up to 50 for synthetic data or 2 for noisy measured data

PNM - f3d Header Comments Regular PNM comments, e.g.: # http://www.viskom.oeaw.ac.at/~milos f3d format attributes, e.g.: #!f3d 1.2 #!vdim 128 128 128 f3d format comments #!comment File created by 'vxtGrid3D' Application specific parameters, e.g.: #!comment vxt density 0.0 254.0

Basic C Library (libf3dformat) Reading: f3dReadHeader f3dReadSlice f3dReadGrid, f3dReadCubGrid Writing: analogous Other: f3dSetHdrComment, f3dDelHdrComment f3dHostType f3dVoxelSize

C++ Class Library (libf3dclass) Basic access to data voxels File storage and retrieval 3D data processing filters, segmentation, rendering, interpolation, transformations, gradient, ... Typeless reading of 3D data

f3d Tools f3d functionality implemented in the form of UNIX filters: f3dprog [sw] [input.f3d] > output.f3d Filter concatenation is possible: tool1 [sw] in.f3d |...| toolN [sw] > out.f3d f3dview – simple slice viewer

f3d Tools: Format Conversion Readers: raw data, stack of 8 and 16 bit slices, VTK, DICOM Example: convert a raw volume with 32 bit voxels to f3d: raw2f3d -i in.raw -r -l 5 -s 256 256 128 > out.f3d Command usage: f3dcmd -h

f3d Tools: Point Operators f3d2f3d (voxel type conversion), f3dinvert, f3dthresh, f3darith, f3d2rith2, f3dmask Example: Delete bone from CT data: f3dthresh -lo 90 in.f3d | f3dmask -i in.f3d > out.f3d

f3d Tools: Local Operators (Filters) Data processing in a local voxel neighborhood Order filters: f3dmax, f3dmin, f3dmedian Example: Noise removal by the median filter f3dmedian -k 3 in.f3d > out.f3d

f3d Tools: Local Operators (Filters) Data processing in a local voxel neighborhood Order filters: f3dmax, f3dmin, f3dmedian Example: Noise removal by the median filter f3dmedian -k 3 in.f3d | f3drender -lo 90 -surfg > out.png

f3d Tools: Local Operators Gaussian filtering Convolution by a Gaussian with different widths Example (data smoothing): f3dgauss -w 2 in.f3d > out.f3d

f3d Tools: Local Operators Gaussian filtering Convolution by a Gaussian with different widths Example (noise removal): f3dgauss -w 2 in.f3d > out.f3d

f3d Tools: Local Operators Gradient Estimation Convolution by a Gabor filter with different widths Example : f3dgabor -x -w 3 in.f3d > out.f3d -x -y -z

f3d Tools: Local Operators Gradient Estimation Convolution by a Gabor with different widths in all 3 directions Example : f3dgrad -w 3 in.f3d > out.f3d

f3d Tools: Local Operators Gradient Magnitude Estimation Magnitude of the Gabor filter applied to all 3 directions, edge detection Example : f3dgradmag -w 3 in.f3d > out.f3d -w 1 -w 3 -w 5

More about f3d http://bender.dam.fmph.uniba.sk/f3dtrac