示例#1
0
NoFilter::DicomSeriesContainerType NoFilter::apply(
        ::fwDicomData::DicomSeries::sptr series) const throw(::fwDicomIOFilter::exceptions::FilterFailure)
{
    DicomSeriesContainerType result;
    result.push_back(series);
    return result;
}
示例#2
0
NoFilter::DicomSeriesContainerType NoFilter::apply(
    const ::fwMedData::DicomSeries::sptr& series, const ::fwLog::Logger::sptr& logger)
const
{
    DicomSeriesContainerType result;
    result.push_back(series);
    return result;
}
ImageDimensionsSplitter::DicomSeriesContainerType ImageDimensionsSplitter::apply(
    const ::fwMedData::DicomSeries::sptr& series, const ::fwLog::Logger::sptr& logger) const
{
    DicomSeriesContainerType result;
    result.push_back(series);

    // Columns splitter
    auto columnsSplitter = ::fwDicomIOFilter::splitter::TagValueSplitter::New();
    columnsSplitter->setTag(DCM_Columns);
    ::fwDicomIOFilter::helper::Filter::applyFilter(result, columnsSplitter, false, logger);

    // Rows splitter
    auto rowsSplitter = ::fwDicomIOFilter::splitter::TagValueSplitter::New();
    rowsSplitter->setTag(DCM_Rows);
    ::fwDicomIOFilter::helper::Filter::applyFilter(result, rowsSplitter, false, logger);

    return result;

}