Statismo CLI vs Scalismo

67 views
Skip to first unread message

Ibrahim A

unread,
May 20, 2017, 5:16:03 AM5/20/17
to statismo
Hi,

do I need to learn Scalismo or using Statismo CLI is enough to perform all the needed tasks? 

Thanks!   
Ibraheem

Marcel Luethi

unread,
May 22, 2017, 4:44:15 AM5/22/17
to Ibrahim A, statismo
Hi Ibraheem,

Statismo CLI is meant to simplify some common tasks. As soon as you need to integrate it in other applications, or if you need fine grained control over what is happening, statismo-CLI is not the right tool.

Whether you should learn Statismo depends a bit on your background and software stack.
If you like programming in C++ and if the rest of your software is already written in C++,  using Statismo directly is maybe the best option. In all other cases I would advise you against using Statismo. The alternatives are Scalismo (https://github.com/unibas-gravis/scalismo) or RvtkStatismo (https://github.com/zarquon42b/RvtkStatismo). Both are built on the same principles and use the same file format, but are much easier to use, especially in a research environment.

Best regards,

Marcel






--
You received this message because you are subscribed to the Google Groups "statismo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to statismo-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Marcel Luethi

unread,
Jun 28, 2017, 3:35:02 AM6/28/17
to 暖, statism...@googlegroups.com
Hi 暖,

The methods ComputeCoefficientsForDataset returns the coefficients of
the best model instance for a given dataset (e.g. mesh / deformation
field). The squared norm of the resulting coefficient vector can be
interpreted as the Mahalanobis distance to the dataset
(https://en.wikipedia.org/wiki/Mahalanobis_distance).

Regarding the formula you pasted: Statismo does not deal with
rotations, so quaternions are not implemented. But the final linear
combination sum b_m p_m seems to be an expansion of the shape in terms
of the model parameters. This can be achieved by calling the method
StatisticalModel::drawSample(coefficients), where the coefficients
would be the expansion coefficients in above formula.



Best regards,

Marcel

On Wed, Jun 28, 2017 at 5:13 AM, 暖 <13005...@qq.com> wrote:
> Hi Marcel,
> I want to know the function "ComputeCoefficientsForDataset" in
> "StasticalModel.hxx" is to compute the distance between the mean shape of
> the input shapemodel and the input targetmeah, also it realize the
> computation of the in the figure below:
> Thanks very much !
>
>
> ------------------ 原始邮件 ------------------
> 发件人: "Marcel Luethi";<marcel...@gmail.com>;
> 发送时间: 2017年5月22日(星期一) 下午4:44
> 收件人: "Ibrahim A"<ibr...@gmail.com>;
> 抄送: "statismo"<statism...@googlegroups.com>;
> 主题: Re: Statismo CLI vs Scalismo
>> email to statismo-user...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "statismo" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to statismo-user...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages