Skip to content

Commit

Permalink
Merge pull request #271 from rolanddenis/fix_Khalimsky
Browse files Browse the repository at this point in the history
Minor fix in Freeman2Img
  • Loading branch information
kerautret committed Jun 9, 2016
2 parents 560bebe + 379f584 commit 15a2a3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# DGtalTools 0.9.2

- *global*:
- fix wrong Khalimsky space initialization in Freeman2Img.
(Roland Denis, [#271](https://github.com/DGtal-team/DGtalTools/pull/271))
- doxygen documentation added for all tools. (David Coeurjolly, Bertrand Kerautret, [#258]((https://github.com/DGtal-team/DGtalTools/pull/258))
- fix uses of temporaries when ConstAlias is needed.
(Roland Denis, [#253](https://github.com/DGtal-team/DGtalTools/pull/253))
Expand Down
2 changes: 1 addition & 1 deletion converters/freeman2img.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ else the space is automatically defined from the freemanchain bounding boxes.");
maxy = vectSpace[3];
}
KSpace aKSpace;
aKSpace.init(Z2i::Point(minx, miny), Z2i::Point(maxx, maxy), false);
aKSpace.init(Z2i::Point(minx, miny), Z2i::Point(maxx, maxy), true);
std::set<SCell> boundarySCell;
std::set<Cell> interiorCell;
for(std::vector< FreemanChain >::const_iterator it = vectFcs.begin(); it!= vectFcs.end(); it++){
Expand Down

0 comments on commit 15a2a3e

Please sign in to comment.