| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0010442 | ITK | public | 2010-03-19 05:17 | 2010-11-18 21:09 | |||||
| Reporter | Julien | ||||||||
| Assigned To | kentwilliams | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | ITK-3-16 | ||||||||
| Target Version | Fixed in Version | ITK-4-A1 | |||||||
| Summary | 0010442: itkRandomNonRepeatingIteratorWithIndex has non-reproductible behavior | ||||||||
| Description | Using ReinitializeSeed to control the seed of the random number generator, i can't have a reproducible behavior. What I expect is that iterating on two images of the same size with the same initial seed means walking through the same set of pixels in the same order. | ||||||||
| Additional Information | A program to reproduce the bug is attached. And here is a fix : in itkImageRandomNonRepeatingConstIteratorWithIndex.h, replace the implementation of RandomPermutation::ReinitializeSeed(int seed) from "m_Generator->Initialize ( seed );" to "m_Generator->SetSeed( seed );" | ||||||||
| Tags | No tags attached. | ||||||||
| Resolution Date | 2010-11-15 | ||||||||
| Sprint | |||||||||
| Sprint Status | completed | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0023274) kentwilliams (developer) 2010-11-15 17:01 |
Fix and test pushed as gerrit topic http://review.source.kitware.com/#change,362 [^] |
|
(0023275) kentwilliams (developer) 2010-11-15 17:02 |
waiting for topic approval to push to ITK4 master. |
|
(0023401) Luis Ibanez (manager) 2010-11-18 21:09 |
We have decided to skip the "resolved" status and move directly to "closed". |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2010-03-19 05:17 | Julien | New Issue | |
| 2010-03-19 05:17 | Julien | File Added: itkImageRandomNonRepeatingIteratorWithIndexRepeatibilityTest.cxx | |
| 2010-11-07 08:59 | Hans Johnson | Status | new => assigned |
| 2010-11-07 08:59 | Hans Johnson | Assigned To | => kentwilliams |
| 2010-11-15 17:01 | kentwilliams | Note Added: 0023274 | |
| 2010-11-15 17:02 | kentwilliams | Resolution Date | => 2010-11-15 |
| 2010-11-15 17:02 | kentwilliams | Sprint Status | => completed |
| 2010-11-15 17:02 | kentwilliams | Note Added: 0023275 | |
| 2010-11-15 17:02 | kentwilliams | Status | assigned => resolved |
| 2010-11-15 17:02 | kentwilliams | Fixed in Version | => ITK-4-A1 |
| 2010-11-15 17:02 | kentwilliams | Resolution | open => fixed |
| 2010-11-18 21:09 | Luis Ibanez | Status | resolved => closed |
| 2010-11-18 21:09 | Luis Ibanez | Note Added: 0023401 | |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |