Open PaulHax opened 1 year ago
If I change this line in the example: https://github.com/PaulHax/itk-wasm-vector-image-example/blob/a8d2c9626d2c1eb225b7b5510f90ee9fe165b0db/VectorImageTest.cxx#L49
From
using PipelineOutputType = typename itk::VectorImage<typename ImageType::PixelType, ImageType::ImageDimension>;
To
using PipelineOutputType = itk::Image<itk::Vector<uint8_t, 2>, ImageType::ImageDimension>;
Output image has 2 components! 🎉
After
npm run test
with this pipeline: https://github.com/PaulHax/itk-wasm-vector-image-examplethe attached output image has only 1 component. I expected 2 after the ComposeImageFilter.
Could be doing something silly in the VectorImageTest.cxx file.