Commit 0f674d51 authored by Tobias Lasser's avatar Tobias Lasser
Browse files

change 2d example to Siddon's method

parent 8e3d8003
Pipeline #155842 passed with stages
in 59 seconds
......@@ -10,6 +10,7 @@
#include "Logger.h"
#include <iostream>
#include <SiddonsMethod.h>
using namespace elsa;
......@@ -32,8 +33,8 @@ void example2d()
arc, size(0)*100, size(0));
// setup operator for 2d X-ray transform
Logger::get("Info")->info("Simulating sinogram using binary method");
BinaryMethod projector(phantom.getDataDescriptor(), sinoDescriptor, geometry);
Logger::get("Info")->info("Simulating sinogram using Siddon's method");
SiddonsMethod projector(phantom.getDataDescriptor(), sinoDescriptor, geometry);
// simulate the sinogram
auto sinogram = projector.apply(phantom);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment