# 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 #include "gdcmTypes.h" // GDCM_EXPORT
    00029
    00030 class GDCM_EXPORT vtkImageYBRToRGB : public vtkThreadedImageAlgorithm
    00031 {
    00032 public:
    00033   static vtkImageYBRToRGB *New();
    00034   vtkTypeRevisionMacro(vtkImageYBRToRGB,vtkThreadedImageAlgorithm);
    00035
    00036   void PrintSelf(ostream& os, vtkIndent indent);
    00037
    00038 protected:
    00039   vtkImageYBRToRGB();
    00040   ~vtkImageYBRToRGB() {};
    00041
    00042   void ThreadedExecute (vtkImageData *inData, vtkImageData *outData,
    00043                        int ext[6], int id);
    00044 private:
    00045   vtkImageYBRToRGB(const vtkImageYBRToRGB&);  // Not implemented.
    00046   void operator=(const vtkImageYBRToRGB&);  // Not implemented.
    00047 };
    00048
    00049 #endif
    00050