-
|
Hello, Thank you. I am working with this image. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
|
Thank you so much for your kind help. I have another query. There is an
attached image file, which I have shared in this mail, where I am planning
to make a .dat file from this image and then convert it into a tesr file to
further work in Neper. Do I have to clean this image for this purpose or
can I be able work with it because the moment I am trying to extract
information directly from the image and make .dat file from it and then
make the tesr to tess file, its not working. The error message shows "merging
cells with same ids...Aborted (core dumped)". In the python code, do I have
to remove the boundary or noises present in this image file or should work
directly because I am trying out multiple time so unable to figure it out.
Thank You,
Noshin tasnim Tuli
…On Thu, Aug 28, 2025 at 7:25 AM Romain Quey ***@***.***> wrote:
This issue is (probably) with your tesr file, which start by
**general
2
415 586
415.000000000000 586.000000000000
On the last line, the voxel sizes are expected, which generally are not a
function of the numbers of pixels...
The voxel (or pixel) size corresponds to the physical length of the
tessellation divided by the number of voxels along that direction.
If you replace this by
**general
2
415 586
0.001 0.001
You can then run
neper -V check_rt.tesr -print tesr
neper -T -dim 2 -n from_morpho -morpho "tesr:file(check_rt.tesr)" -domain "square(0.415,0.586)" -o n4
neper -V n4.tess -dataedgerad 0.002 -print tess
tesr.png (view on web)
<https://github.com/user-attachments/assets/ace05f68-0f1d-469d-a6f8-42714cdc20e8> tess.png
(view on web)
<https://github.com/user-attachments/assets/2f2bf0b8-b5ce-44aa-9b85-b2809bccdb32>
Yes, any microstructure image can be converted into a .tesr file for
further work in Neper.
—
Reply to this email directly, view it on GitHub
<#1012 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BSZBGI7MDR5XVGWTGZHPM6D3P3YLVAVCNFSM6AAAAACD5UVXXOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIMRUGQ4TMNA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
Hello,
These are the .tesr file, .dat file, and picture attached.
Regards,
Noshin Tasnim Tuli
On Thu, Aug 28, 2025 at 9:52 PM Noshin Tasnim Tuli ***@***.***>
wrote:
… Hello,
These are the .tesr file, .dat file and picture attached.
Regards,
Noshin Tasnim Tuli
On Thu, Aug 28, 2025 at 1:51 PM Noshin Tasnim Tuli <
***@***.***> wrote:
> Sure, I am providing it in a while.
>
> Thank You,
> Regards,
> Noshin
>
> On Thu, Aug 28, 2025 at 1:48 PM Romain Quey ***@***.***>
> wrote:
>
>> Please join and write on the discussion forum
>> <#1012 (comment)>,
>> and provide your file there. Also provide your Neper commands.
>>
>> —
>> Reply to this email directly, view it on GitHub
>> <#1012 (reply in thread)>,
>> or unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/BSZBGI6VIBWTHSZMR2LZFRT3P5FIDAVCNFSM6AAAAACD5UVXXOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIMRUHA3DOOA>
>> .
>> You are receiving this because you authored the thread.Message ID:
>> ***@***.***>
>>
>
|
Beta Was this translation helpful? Give feedback.



This issue is (probably) with your tesr file, which start by
On the last line, the voxel sizes are expected, which generally are not a function of the numbers of voxels...
The voxel (or pixel) size corresponds to the physical length of the tessellation divided by the number of voxels along that direction.
If you replace this by
You can then run
Yes, any microstructure image can be converted into a …