FAST
3.2.0
Framework for Heterogeneous Medical Image Computing and Visualization
|
#include <ScaleImage.hpp>
Additional Inherited Members | |
![]() | |
typedef std::shared_ptr< ProcessObject > | pointer |
![]() | |
typedef std::shared_ptr< Object > | pointer |
![]() | |
static std::string | getStaticNameOfClass () |
![]() | |
static std::string | getStaticNameOfClass () |
![]() | |
ProcessObject () | |
virtual void | preExecute () |
virtual void | postExecute () |
template<class DataType > | |
void | createInputPort (uint portID, bool required=true) |
template<class DataType > | |
void | createOutputPort (uint portID) |
template<class DataType > | |
std::shared_ptr< DataType > | getInputData (uint portID=0) |
template<class DataType > | |
std::shared_ptr< DataType > | getOutputData (uint portID=0) |
void | addOutputData (uint portID, DataObject::pointer data) |
bool | hasNewInputData (uint portID) |
virtual void | waitToFinish () |
void | createOpenCLProgram (std::string sourceFilename, std::string name="") |
cl::Program | getOpenCLProgram (std::shared_ptr< OpenCLDevice > device, std::string name="", std::string buildOptions="") |
void | createFloatAttribute (std::string id, std::string name, std::string description, float initialValue) |
void | createIntegerAttribute (std::string id, std::string name, std::string description, int initialValue) |
void | createBooleanAttribute (std::string id, std::string name, std::string description, bool initialValue) |
void | createStringAttribute (std::string id, std::string name, std::string description, std::string initialValue) |
float | getFloatAttribute (std::string id) |
int | getIntegerAttribute (std::string id) |
bool | getBooleanAttribute (std::string id) |
std::string | getStringAttribute (std::string id) |
std::vector< float > | getFloatListAttribute (std::string id) |
std::vector< int > | getIntegerListAttribute (std::string id) |
std::vector< bool > | getBooleanListAttribute (std::string id) |
std::vector< std::string > | getStringListAttribute (std::string id) |
void | changeDeviceOnInputs (uint deviceNumber, ExecutionDevice::pointer device) |
void | validateInputPortExists (uint portID) |
void | validateOutputPortExists (uint portID) |
![]() | |
Reporter & | reportError () |
Reporter & | reportWarning () |
Reporter & | reportInfo () |
ReporterEnd | reportEnd () const |
![]() | |
bool | mIsModified |
int | m_lastExecuteToken = -1 |
RuntimeMeasurementsManager::pointer | mRuntimeManager |
std::unordered_map< uint, bool > | mRequiredInputs |
std::unordered_map< uint, std::vector< uint > > | mInputDevices |
std::unordered_map< uint, ExecutionDevice::pointer > | mDevices |
std::unordered_map< uint, DeviceCriteria > | mDeviceCriteria |
std::unordered_map< uint, DataChannel::pointer > | mInputConnections |
std::unordered_map< uint, std::vector< std::weak_ptr< DataChannel > > > | mOutputConnections |
std::unordered_map< uint, bool > | mInputPorts |
std::unordered_set< uint > | mOutputPorts |
std::unordered_map< uint, std::pair< DataObject::pointer, uint64_t > > | mLastProcessed |
std::unordered_map< std::string, std::shared_ptr< OpenCLProgram > > | mOpenCLPrograms |
std::unordered_map< std::string, std::shared_ptr< Attribute > > | mAttributes |
std::unordered_map< std::string, std::string > | m_frameData |
std::unordered_set< std::string > | m_lastFrame |
int | m_maximumNrOfFrames = -1 |
![]() | |
std::weak_ptr< Object > | mPtr |
This process object will scale the pixel values of an image to a value between 0 and 1 (default) or other values if set.
void fast::ScaleImage::setHighestValue | ( | float | value | ) |
void fast::ScaleImage::setLowestValue | ( | float | value | ) |