GDCM 3.2.1

vtkImageYBRToRGB.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: GDCM (Grassroots DICOM). A DICOM library
4
5 Copyright (c) 2006-2011 Mathieu Malaterre
6 All rights reserved.
7 See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
8
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the above copyright notice for more information.
12
13=========================================================================*/
14/*=========================================================================
15
16 Portions of this file are subject to the VTK Toolkit Version 3 copyright.
17
18 Program: Visualization Toolkit
19 Module: $RCSfile: vtkImageYBRToRGB.h,v $
20
21 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
22 All rights reserved.
23 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
24
25 This software is distributed WITHOUT ANY WARRANTY; without even
26 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
27 PURPOSE. See the above copyright notice for more information.
28
29=========================================================================*/
30// .NAME vtkImageYBRToRGB - Converts YBR components to RGB.
31// .SECTION Description
32// For each pixel with hue, saturation and value components this filter
33// outputs the color coded as red, green, blue. Output type must be the same
34// as input type.
35
36// .SECTION See Also
37// vtkImageRGBToHSV
38
39#ifndef VTKIMAGEYBRTORGB_H
40#define VTKIMAGEYBRTORGB_H
41
42#include "vtkgdcmModule.h"
43#include "vtkThreadedImageAlgorithm.h"
44
45 class VTKGDCM_EXPORT vtkImageYBRToRGB : public vtkThreadedImageAlgorithm
46{
47 public:
48 static vtkImageYBRToRGB *New();
49 vtkTypeMacro(vtkImageYBRToRGB,vtkThreadedImageAlgorithm);
50
51 void PrintSelf(ostream& os, vtkIndent indent);
52
53 protected:
54 vtkImageYBRToRGB();
55 ~vtkImageYBRToRGB() {};
56
57 void ThreadedExecute (vtkImageData *inData, vtkImageData *outData,
58 int ext[6], int id);
59 private:
60 vtkImageYBRToRGB(const vtkImageYBRToRGB&); // Not implemented.
61 void operator=(const vtkImageYBRToRGB&); // Not implemented.
62};
63
64#endif
vtkImageYBRToRGB::vtkImageYBRToRGB
vtkImageYBRToRGB()
vtkImageYBRToRGB::vtkTypeMacro
vtkTypeMacro(vtkImageYBRToRGB, vtkThreadedImageAlgorithm)
vtkImageYBRToRGB::New
static vtkImageYBRToRGB * New()
vtkImageYBRToRGB::ThreadedExecute
void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int ext[6], int id)
vtkImageYBRToRGB::~vtkImageYBRToRGB
~vtkImageYBRToRGB()
Definition vtkImageYBRToRGB.h:55
vtkImageYBRToRGB::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)