[Rtk-users] rtksubselect

Ana Vaniqui ana.vaniqui at maastro.nl
Thu Jun 23 10:41:51 EDT 2016


Hi,


I just want to add that a tutorial on regular expressions for beginners would be very much appreciated..


Kind regards,

Ana


________________________________
From: Rtk-users <rtk-users-bounces at public.kitware.com> on behalf of Cyril Mory <cyril.mory at uclouvain.be>
Sent: Thursday, June 23, 2016 4:22:39 PM
To: Christoph Zöllner; rtk-users at public.kitware.com
Subject: Re: [Rtk-users] rtksubselect

Hi Christoph,

The error lies in the regular expression: replace the "*.his" with ".*.his" and it should work.

By the way: does anyone know have a tutorial on regular expressions for beginners to recommend ?

Cyril

On 06/23/2016 03:48 PM, Christoph Zöllner wrote:
Dear all,

I want to use rtksubselect to create single geometryfiles for every projection for parallelization purposes. When using the following command:

rtksubselect -g geometryfilename.xml --out_proj subsettest.mha --out_geometry subsettestgeom.xml -f 1 -l 2 -p projectionfolder -r *.his

I get this error:

ExceptionObject caught with paste->Update() in file /scratch-local/rauscher/rtk/RTK/applications/rtksubselect/rtksubselect.cxx line 113

itk::InvalidRequestedRegionError (0x1818600)
Location: "unknown"
File: /scratch-local/rauscher/itk/InsightToolkit-4.8.2/Modules/Core/Common/src/itkDataObject.cxx
Line: 393
Description: Requested region is (at least partially) outside the largest possible region.


Invalid requested region error triggered by ProjectionsReader
img->GetRequestedRegion() = [ ImageRegion (0x180ea40)
  Dimension: 3
  Index: [4, 4, 1]
  Size: [504, 504, 1]
 ]
img->GetLargestPossibleRegion() = [ ImageRegion (0x180ea08)
  Dimension: 3
  Index: [4, 4, 0]
  Size: [504, 504, 1]
 ]
it works for the first file though when using -f 0 -l 1

regards,
Christoph



_______________________________________________
Rtk-users mailing list
Rtk-users at public.kitware.com<mailto:Rtk-users at public.kitware.com>
http://public.kitware.com/mailman/listinfo/rtk-users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/rtk-users/attachments/20160623/3bdf9215/attachment-0010.html>


More information about the Rtk-users mailing list