<div dir="ltr">This is perfect, thank you so much.<div><br></div><div>Cheers,</div><div>Greg</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div>--</div><div>Greg Kiar <<a href="mailto:gkiar07@gmail.com" target="_blank">gkiar07@gmail.com</a>></div></div></div></div>
<br><div class="gmail_quote">On Tue, Dec 1, 2015 at 3:50 PM, bthirion <span dir="ltr"><<a href="mailto:bertrand.thirion@inria.fr" target="_blank">bertrand.thirion@inria.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>    Hi Greg,<br>
      <br>
      You might take at look at <code>nilearn.image.</code><code>resample_img<br>
<a href="https://nilearn.github.io/modules/generated/nilearn.image.resample_img.html" target="_blank">https://nilearn.github.io/modules/generated/nilearn.image.resample_img.html</a><br>
        Best,<br>
        <br>
        Bertrand<br>
      </code><div><div class="h5"><br>
      On 01/12/2015 18:55, Greg Kiar wrote:<br>
    </div></div></div>
    <blockquote type="cite"><div><div class="h5">
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>I'm working with various parcellations of the brain which
          have been defined at a 3mm resolution, though my data exists
          in a 1mm space (the MNI152 space). When opening these images
          with a nifti viewer it is fine as the affine transform maps
          them properly to scale. However, when I'm working with data in
          python I would like my labels defined at 3mm to be in the
          MNI152 space (that they also overlap in voxel space, as well).
          I would like to write a script that "ingests" a low resolution
          (3mm) atlas into the 1mm MNI152 space, and nearest-neighbor
          interpolates values not defined, if you will. Do you know how
          I can easily do this?</div>
        <div><br>
        </div>
        <div>Thanks so much,</div>
        <div>Greg <br clear="all">
          <div>
            <div>
              <div dir="ltr">
                <div>--</div>
                <div>Greg Kiar <<a href="mailto:gkiar07@gmail.com" target="_blank">gkiar07@gmail.com</a>></div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
Neuroimaging mailing list
<a href="mailto:Neuroimaging@python.org" target="_blank">Neuroimaging@python.org</a>
<a href="https://mail.python.org/mailman/listinfo/neuroimaging" target="_blank">https://mail.python.org/mailman/listinfo/neuroimaging</a>
</pre>
    </blockquote>
    <br>
  </div>

</blockquote></div><br></div>