vtkImageYBRToRGB.h

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

Generated on Sat Dec 4 2010 08:58:49 for GDCM by doxygen 1.7.2
SourceForge.net Logo