Comments (4)
In implementing this, the images could be cropped to the common region, or expanded to the largest containing region. For expansion, we would need to decide how to fill the padding. Perhaps go for the most convenient NearestNeighborExtrapolateImageFunction?
from itk.
The current implementation assumes that the image are "congruent"? Aside from a different size, would this proposal allow for any other variations in geometry metadata? Are we comparing values physical or pixel space?
P.S.: If we are comparing image A and B, then a perhaps new flexible comparison option is to resample image B onto the grid of image A, then proceed with the existing comparison. This essentially remove the requirement for image B to be congruent with image A.
from itk.
For ITKMontage
's tests, the origin is always the same, but size might differ. So change for this case would be relatively simple.
For the resampling approach, we should probably do it symmetrically, so both resample A to B, and B to A, and do existing comparison twice (in case one image a significantly bigger than the other). And do this only if the images are not congruent and the size tolerance was specified, otherwise do the classic comparison as before.
Are you willing to take this up this issue Brad?
from itk.
It would be nice to clean up this flag in Montage:
InsightSoftwareConsortium/ITKMontage@06cacd6
(#226)
from itk.
Related Issues (20)
- String manipulation security: Remove snprintf with user defined formatting options. HOT 8
- Crash when calling NrrdImageIO::Write() with an overly long file name HOT 5
- Detailed CMake options are not marked as advanced. HOT 1
- Defaulting copy constructor, copy assignment, move constructor, and move assignment functions HOT 8
- Inconsistent conversion of VectorImage to numpy HOT 2
- itkTestDriver link error with afl-clang-fast++ compiler HOT 1
- thread race with itkImage::SetPixel() found with thread sanitizer (TSan) HOT 6
- Create weekly builds with python wrapping for ITK and its modules, and submit them to pypi HOT 1
- TubeSpatialObject bounding box includes rounded ends even after they are turned off HOT 5
- Dicom series loaded with incorrect origin and spacing (linked from SimpleITK) HOT 8
- When dicom files converted to nii.gz files, it created a bug of repeated images HOT 2
- Unable to debug hxx files and h files HOT 10
- Wrap SpatialObjectToImageStatisticsCalculator for Python
- itkWarningMacro output streams to Jupyter server console (not the notebook) HOT 4
- About itk 5.4.0 HOT 1
- NumPy 2.0 support HOT 2
- itkParallelSparseFieldLevelSetImageFilterTest read/write race with GetPixel() / SetPixel() HOT 3
- itkNarrowBandImageFilterBaseTest read/write race with GetPixel() / SetPixel() HOT 1
- 3 SLIC tests: read/write race with GetPixel() / SetPixel() HOT 1
- libtbb missing from some ITK 5.4.0 wheels
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from itk.