GDCM  2.2.0
vtkImageYBRToRGB.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program: GDCM (Grassroots DICOM). A DICOM library
00004 
00005   Copyright (c) 2006-2011 Mathieu Malaterre
00006   All rights reserved.
00007   See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
00008 
00009      This software is distributed WITHOUT ANY WARRANTY; without even
00010      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00011      PURPOSE.  See the above copyright notice for more information.
00012 
00013 =========================================================================*/
00014 /*=========================================================================
00015 
00016   Portions of this file are subject to the VTK Toolkit Version 3 copyright.
00017 
00018   Program:   Visualization Toolkit
00019   Module:    $RCSfile: vtkImageYBRToRGB.h,v $
00020 
00021   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00022   All rights reserved.
00023   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00024 
00025      This software is distributed WITHOUT ANY WARRANTY; without even
00026      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00027      PURPOSE.  See the above copyright notice for more information.
00028 
00029 =========================================================================*/
00030 // .NAME vtkImageYBRToRGB - Converts YBR components to RGB.
00031 // .SECTION Description
00032 // For each pixel with hue, saturation and value components this filter
00033 // outputs the color coded as red, green, blue.  Output type must be the same
00034 // as input type.
00035 
00036 // .SECTION See Also
00037 // vtkImageRGBToHSV
00038 
00039 #ifndef VTKIMAGEYBRTORGB_H
00040 #define VTKIMAGEYBRTORGB_H
00041 
00042 #include "vtkThreadedImageAlgorithm.h"
00043 
00044 class VTK_EXPORT vtkImageYBRToRGB : public vtkThreadedImageAlgorithm
00045 {
00046 public:
00047   static vtkImageYBRToRGB *New();
00048   vtkTypeRevisionMacro(vtkImageYBRToRGB,vtkThreadedImageAlgorithm);
00049 
00050   void PrintSelf(ostream& os, vtkIndent indent);
00051 
00052 protected:
00053   vtkImageYBRToRGB();
00054   ~vtkImageYBRToRGB() {};
00055 
00056   void ThreadedExecute (vtkImageData *inData, vtkImageData *outData,
00057                        int ext[6], int id);
00058 private:
00059   vtkImageYBRToRGB(const vtkImageYBRToRGB&);  // Not implemented.
00060   void operator=(const vtkImageYBRToRGB&);  // Not implemented.
00061 };
00062 
00063 #endif

Generated on Fri Mar 30 2012 12:44:09 for GDCM by doxygen 1.8.0
SourceForge.net Logo