# Tckconvert -image2scanner

**URL:** https://community.mrtrix.org/t/tckconvert-image2scanner/1612
**Category:** Uncategorized
**Created:** [May 4, 2018, 4:09pm UTC](https://community.mrtrix.org/t/tckconvert-image2scanner/1612 "2018-05-04T16:09:22Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Jeongwon\_Jeong](https://community.mrtrix.org/user_avatar/community.mrtrix.org/jeongwon_jeong/32/3515_2.png) [@Jeongwon\_Jeong](https://community.mrtrix.org/u/Jeongwon_Jeong)
#### Post date: [May 4, 2018, 4:09pm UTC](https://community.mrtrix.org/t/tckconvert-image2scanner/1612/1 "2018-05-04T16:09:22Z")

</div>

Hello, I am converting tmp.tck (total count: 138227) into tmp1.tck using the following command,  
tckconvert -force -image2scanner mask.nii tmp.tck tmp1.tck. But, the output tmp1.tck has only a half size of input streamlines (69114) as shown below. Any thought on this ??

…  
datatype: ‘Float32LE’  
count: ‘69114’  
total\_count: ‘138227’  
data: {1×69114 cell}

---

<div class="post-metadata">

### Author: ![jdtournier](https://community.mrtrix.org/user_avatar/community.mrtrix.org/jdtournier/32/2594_2.png) [@jdtournier](https://community.mrtrix.org/u/jdtournier)
#### Post date: [May 4, 2018, 4:42pm UTC](https://community.mrtrix.org/t/tckconvert-image2scanner/1612/2 "2018-05-04T16:42:32Z")

</div>

Can I just check: are you sure that the original `tmp.tck` file didn’t also have the same `count` field of 69114? It’s actually pretty rare for these two fields to match – the `total_count` field refers to the total number of streamlines successfully seeded, but many won’t survive the various tests subsequently applied (minimum length, include/exclude, etc.)… It doesn’t refer to the number of streamlines actually in the file itself.

If you can confirm that the `count` field genuinely doesn’t match before and after conversion, then we’ll need to investigate. Also, please try running `tckinfo -count`: this forces an explicit count of the streamlines in the file, rather than merely reporting the value in the header.
