vtkgdcm
vtkImageRGBToYBR.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: vtkImageRGBToYBR.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=========================================================================*/
42#ifndef VTKIMAGERGBTOYBR_H
43#define VTKIMAGERGBTOYBR_H
44
45#include "vtkgdcmModule.h"
46#include "vtkThreadedImageAlgorithm.h"
47
48class VTKGDCM_EXPORT vtkImageRGBToYBR : public vtkThreadedImageAlgorithm
49{
50public:
52 vtkTypeMacro(vtkImageRGBToYBR,vtkThreadedImageAlgorithm);
53
54 void PrintSelf(ostream& os, vtkIndent indent);
55
56protected:
59
60 void ThreadedExecute (vtkImageData *inData, vtkImageData *outData,
61 int ext[6], int id);
62private:
63 vtkImageRGBToYBR(const vtkImageRGBToYBR&); // Not implemented.
64 void operator=(const vtkImageRGBToYBR&); // Not implemented.
65};
66
67#endif
Converts YBR components to RGB.
void PrintSelf(ostream &os, vtkIndent indent)
void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int ext[6], int id)
static vtkImageRGBToYBR * New()