[Insight-users] Set PPI

Matt McCormick matt.mccormick at kitware.com
Mon Aug 26 12:32:32 EDT 2013


Hi Vadim,

Here is an example that demonstrates how to do this:

 http://itk.org/ITKExamples/src/Filtering/ImageGrid/ChangeImageOriginSpacingOrDirection/Documentation.html

Thanks,
Matt

On Thu, Aug 22, 2013 at 8:11 AM, Vadim
<v.bertrand at pleiades-instruments.com> wrote:
> Hi Matt,
>
> Thanks for your answer.
> I can not try it right now, but what you suggest is reduce (or increase)
> the Image's Spacing to change the "real" size of the image (in inches or
> centimeters) ? By any chance, do you have an idea about which filter will
> be the most appropriate to do it ?
>
> Thanks a lot.
> Regards,
>
> --
>
> *Vadim BERTRAND*
>
> *Stagiaire Développeur Informatique*
>
> *v.bertrand at pleiades-instruments.com*
>
> *Tel: +33 (0)4 27 19 45 54*
>
> *[image: cid:image001.jpg at 01CD39CF.4D7C7CF0]*
>
>
> 2013/8/22 Vadim BERTRAND <v.bertrand at pleiades-instruments.com>
>
>> Hi Matt,
>>
>> Thanks for your answer.
>> I can not try it right now, but what you suggest is reduce (or increase)
>> the Image's Spacing to change the "real" size of the image (in inches or
>> centimeters) ? By any chance, do you have an idea about which filter will
>> be the most appropriate to do it ?
>>
>> Thanks a lot.
>> Regards,
>>
>> --
>>
>> *Vadim BERTRAND*
>>
>> *Stagiaire Développeur Informatique*
>>
>> *v.bertrand at pleiades-instruments.com*
>>
>> *Tel: +33 (0)4 27 19 45 54*
>>
>> *[image: cid:image001.jpg at 01CD39CF.4D7C7CF0]*
>>
>>
>> 2013/8/20 Matt McCormick-2 [via ITK Insight Users] <
>> ml-node+s2283740n7583828h51 at n2.nabble.com>
>>
>>> Hi Vadim,
>>>
>>> In medical imaging, the terminology of PPI (pixels per inch) is not that
>>> common, but the physical pixel density of an itk::Image is determined by
>>> the Image's Spacing.
>>>
>>> Thanks,
>>> Matt
>>>
>>>
>>> On Tue, Aug 20, 2013 at 2:33 PM, Vadim <[hidden email]<http://user/SendEmail.jtp?type=node&node=7583828&i=0>
>>> > wrote:
>>>
>>>> Hi everyone,
>>>>
>>>> I would like to know if it's possible to set the PPI value of an image
>>>> using
>>>> IK ?
>>>> If I'm not mistaken, this will have no impact on image's size (in
>>>> pixels) or
>>>> pixels' spacing, but it's only a matter of metadata, am I right about it
>>>> ?
>>>>
>>>> Thanks for your responses,
>>>> Vadim
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://itk-insight-users.2283740.n2.nabble.com/Set-PPI-tp7583826.html
>>>> Sent from the ITK Insight Users mailing list archive at Nabble.com.
>>>> _____________________________________
>>>> Powered by www.kitware.com
>>>>
>>>> Visit other Kitware open-source projects at
>>>> http://www.kitware.com/opensource/opensource.html
>>>>
>>>> Kitware offers ITK Training Courses, for more information visit:
>>>> http://www.kitware.com/products/protraining.php
>>>>
>>>> Please keep messages on-topic and check the ITK FAQ at:
>>>> http://www.itk.org/Wiki/ITK_FAQ
>>>>
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://www.itk.org/mailman/listinfo/insight-users
>>>>
>>>
>>>
>>> _____________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Kitware offers ITK Training Courses, for more information visit:
>>> http://www.kitware.com/products/protraining.php
>>>
>>> Please keep messages on-topic and check the ITK FAQ at:
>>> http://www.itk.org/Wiki/ITK_FAQ
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.itk.org/mailman/listinfo/insight-users
>>>
>>>
>>> ------------------------------
>>>  If you reply to this email, your message will be added to the
>>> discussion below:
>>>
>>> http://itk-insight-users.2283740.n2.nabble.com/Set-PPI-tp7583826p7583828.html
>>>  To unsubscribe from Set PPI, click here<http://itk-insight-users.2283740.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7583826&code=di5iZXJ0cmFuZEBwbGVpYWRlcy1pbnN0cnVtZW50cy5jb218NzU4MzgyNnwtMzE3OTI2ODIx>
>>> .
>>> NAML<http://itk-insight-users.2283740.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>
>>
>>
>
>
> image001.jpg (3K) <http://itk-insight-users.2283740.n2.nabble.com/attachment/7583842/0/image001.jpg>
> image001.jpg (3K) <http://itk-insight-users.2283740.n2.nabble.com/attachment/7583842/1/image001.jpg>
>
>
>
>
> --
> View this message in context: http://itk-insight-users.2283740.n2.nabble.com/Set-PPI-tp7583826p7583842.html
> Sent from the ITK Insight Users mailing list archive at Nabble.com.
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list