<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Christoph,<br>
<br>
The error lies in the regular expression: replace the "*.his" with
".*.his" and it should work.<br>
<br>
By the way: does anyone know have a tutorial on regular expressions
for beginners to recommend ? <br>
<br>
Cyril<br>
<br>
<div class="moz-cite-prefix">On 06/23/2016 03:48 PM, Christoph
Zöllner wrote:<br>
</div>
<blockquote cite="mid:576BE8A3.40409@physik.uni-muenchen.de"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
Dear all,<br>
<br>
I want to use rtksubselect to create single geometryfiles for
every projection for parallelization purposes. When using the
following command:<br>
<br>
<blockquote>rtksubselect -g geometryfilename.xml --out_proj
subsettest.mha --out_geometry subsettestgeom.xml -f 1 -l 2 -p
projectionfolder -r *.his <br>
</blockquote>
<br>
I get this error:<br>
<br>
<blockquote>ExceptionObject caught with paste->Update() in file
/scratch-local/rauscher/rtk/RTK/applications/rtksubselect/rtksubselect.cxx
line 113<br>
<br>
itk::InvalidRequestedRegionError (0x1818600)<br>
Location: "unknown" <br>
File:
/scratch-local/rauscher/itk/InsightToolkit-4.8.2/Modules/Core/Common/src/itkDataObject.cxx<br>
Line: 393<br>
Description: Requested region is (at least partially) outside
the largest possible region.<br>
<br>
<br>
Invalid requested region error triggered by ProjectionsReader<br>
img->GetRequestedRegion() = [ ImageRegion (0x180ea40)<br>
Dimension: 3<br>
Index: [4, 4, 1]<br>
Size: [504, 504, 1]<br>
]<br>
img->GetLargestPossibleRegion() = [ ImageRegion (0x180ea08)<br>
Dimension: 3<br>
Index: [4, 4, 0]<br>
Size: [504, 504, 1]<br>
]<br>
</blockquote>
it works for the first file though when using -f 0 -l 1<br>
<br>
regards,<br>
Christoph<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Rtk-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rtk-users@public.kitware.com">Rtk-users@public.kitware.com</a>
<a class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/rtk-users">http://public.kitware.com/mailman/listinfo/rtk-users</a>
</pre>
</blockquote>
<br>
</body>
</html>