Skip to content

Commit

Permalink
Merge pull request #439 from kerautret/FixVol2slice
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoeurjo authored Jul 8, 2022
2 parents 14ff3d3 + 1aa846c commit 1e65d92
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
- heightfield2shading: new option to add a matcap rendering (from normal
direction interpreted as HSV vector)
(Bertrand Kerautret [#399](https://github.com/DGtal-team/DGtalTools/pull/399))

- vol2slice: fix infinite slices extraction.
(Bertrand Kerautret [#439](https://github.com/DGtal-team/DGtalTools/pull/439))

- *build*
- New cmake option (DGTAL_RANDOMIZED_BUILD_THRESHOLD) to set the
(approximated) % of tools build
Expand Down
2 changes: 1 addition & 1 deletion converters/vol2slice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ int main( int argc, char** argv )
DGtal::int64_t rescaleInputMin {0};
DGtal::int64_t rescaleInputMax {255};
int userStartSlice {0};
int userEndSlice;
int userEndSlice {0};
unsigned int sliceOrientation {2};


Expand Down
6 changes: 3 additions & 3 deletions volumetric/criticalKernelsThinning3D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,13 @@ int main(int argc, char* const argv[]){
}
trace.beginBlock("Reading input");
using Domain = Z3i::Domain ;

#ifdef WITH_ITK
using Image = ImageSelector < Z3i::Domain, unsigned char, ITKIMAGEDATA_CONTAINER_I>::Type ;
using Image = ImageSelector < Z3i::Domain, unsigned char, ITKIMAGEDATA_CONTAINER_I>::Type ;
#else
using Image = ImageSelector < Z3i::Domain, unsigned char>::Type ;
using Image = ImageSelector < Z3i::Domain, unsigned char>::Type ;
#endif



Image image = GenericReader<Image>::import(inputFileName);
trace.endBlock();
Expand Down

0 comments on commit 1e65d92

Please sign in to comment.