<commit_before>/*===================================================================

The Medical Imaging Interaction Toolkit (MITK)

Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.

This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE.

See LICENSE.txt or http://www.mitk.org for details.

===================================================================*/

#ifndef _MITKPHOTOACOUSTICSOCLBEAMFORMER_H_
#define _MITKPHOTOACOUSTICSOCLBEAMFORMER_H_

#ifdef PHOTOACOUSTICS_USE_GPU
#include "mitkOclImageToImageFilter.h"
#endif

#include <itkObject.h>

#include "mitkOclDataSetToDataSetFilter.h"
#include "mitkImageToImageFilter.h"

namespace mitk
{
  #ifdef PHOTOACOUSTICS_USE_GPU

  /** Documentation
  *
  * \brief The PhotoacousticOCLBModeFilter simply takes the absolute of all pixels in the image.
  *
  * The filter gives the option to use a log after taking the absolute.
  */

  class PhotoacousticOCLBModeFilter : public OclDataSetToDataSetFilter, public itk::Object
  {

  public:
    mitkClassMacroItkParent(PhotoacousticOCLBModeFilter, itk::Object);
    itkNewMacro(Self);

    /**
    * @brief SetInput Set the input image
    * @param image a image.
    */<commit_msg>include typo fix<commit_after>/*===================================================================

The Medical Imaging Interaction Toolkit (MITK)

Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.

This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE.

See LICENSE.txt or http://www.mitk.org for details.

===================================================================*/

#ifndef _MITKPHOTOACOUSTICSOCLBEAMFORMER_H_
#define _MITKPHOTOACOUSTICSOCLBEAMFORMER_H_

#ifdef PHOTOACOUSTICS_USE_GPU
#include "mitkOclDataSetToDataSetFilter.h"
#endif

#include <itkObject.h>


#include "mitkImageToImageFilter.h"

namespace mitk
{
  #ifdef PHOTOACOUSTICS_USE_GPU

  /** Documentation
  *
  * \brief The PhotoacousticOCLBModeFilter simply takes the absolute of all pixels in the image.
  *
  * The filter gives the option to use a log after taking the absolute.
  */

  class PhotoacousticOCLBModeFilter : public OclDataSetToDataSetFilter, public itk::Object
  {

  public:
    mitkClassMacroItkParent(PhotoacousticOCLBModeFilter, itk::Object);
    itkNewMacro(Self);

    /**
    * @brief SetInput Set the input image
    * @param image a image.
    */
{'fraction_non_alphanumeric': 0.16242884250474382, 'fraction_numerical': 0.0, 'mean_word_length': 5.321342925659472, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5454533', 'n_tokens_mistral': 792, 'n_tokens_neox': 762, 'n_words': 228}