Libs/Image/ImageUtils.h
Namespaces
Name |
---|
shapeworks |
Classes
Name | |
---|---|
class | shapeworks::ImageUtils Helper functions for image. |
Source code
#pragma once
#include "Image.h"
#include "ShapeworksUtils.h"
#include <itkThinPlateSplineKernelTransform.h>
namespace shapeworks {
class ImageUtils
{
public:
static PhysicalRegion boundingBox(const std::vector<std::string>& filenames,
Image::PixelType isoValue = 1.0);
static PhysicalRegion boundingBox(const std::vector<std::reference_wrapper<const Image>>& images,
Image::PixelType isoValue = 1.0);
using TPSTransform = itk::ThinPlateSplineKernelTransform<double, 3>;
static TPSTransform::Pointer createWarpTransform(const std::string& source_landmarks_file,
const std::string& target_landmarks_file,
const int stride = 1);
};
} // shapeworks
Updated on 2022-07-23 at 16:40:07 -0600