Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Horos 3D module Export functions are not working properly

153 views
Skip to first unread message

David Wang

unread,
Dec 18, 2023, 12:25:23 AM12/18/23
to Horos Project
4.0.1 ver. Horos running on MacOs Sonoma 14.2. The movie capture by Fly Through and Movie Export also JPEG still image are only left lower corner and with a weird wide screen like scale. 

This is the working window looks like:
截圖 2023-12-18 下午1.21.34.png
And this is the export result (either still image or movie export, or fly through are the same):
3D VR Image.jpg
Is it the setting's problem or some bug?


Message has been deleted

James Chen

unread,
Apr 6, 2025, 1:00:01 PMApr 6
to Horos Project
I've experienced the same problem as the person who posted this email. It's been 2 years since the first posting. Are someone in Horos Group thinking of solve the problem? 

thanks.

Lohi Karhu

unread,
Apr 6, 2025, 1:46:57 PMApr 6
to James Chen, Horos Project

I've had trouble with horos, and I'm trying to get past the learning curve for 3dSlicer, which seems to be really powerful, and very actively developed.


--
You received this message because you are subscribed to the Google Groups "Horos Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to horos-projec...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/horos-project/dc8d475b-5cbc-4610-9d04-38508066b671n%40googlegroups.com.

Hiroaki Inomata

unread,
Apr 6, 2025, 11:13:31 PMApr 6
to Lohi Karhu, James Chen, Horos Project

The volume rendering feature of horos relies on an old version of a library called VTK. This version of VTK uses openGL as its graphics API.
As you know, openGL has been deprecated, and it is now recommended to use metal as the graphics API for Mac applications.

As this is the current situation, it is not easy to maintain the 3D volume rendering function.


Hiroaki Inomata MD


2025年4月7日(月) 2:46 Lohi Karhu <bfr...@gmail.com>:

Hiroaki Inomata

unread,
Apr 6, 2025, 11:32:22 PMApr 6
to Lohi Karhu, James Chen, Horos Project

Using the new Metal-enabled version of the 3D slicer is a good alternative to horos.

A better option would be to call the volume rendering functions written in Metal directly from Mac's apps.

We've created a test app and made it public, so please use it as a reference.
https://apps.apple.com/us/app/phorlix-lite/id6740269806


2025年4月7日(月) 12:13 Hiroaki Inomata <inomat...@gmail.com>:
phorlix-lite-106.png

Marco Dejaegher

unread,
Apr 7, 2025, 5:00:03 AMApr 7
to Hiroaki Inomata, Lohi Karhu, James Chen, Horos Project

 

Interesting interesting but not available

 

It's strange because I'm using this version ( Sequoia version 15.4 ) which is supposed to be compatible

 

 

From: <horos-...@googlegroups.com> on behalf of Hiroaki Inomata <inomat...@gmail.com>
Date: Monday, 7 April 2025 at 05:32
To: Lohi Karhu <bfr...@gmail.com>
Cc: James Chen <sjch...@gmail.com>, Horos Project <horos-...@googlegroups.com>
Subject: Re: Horos 3D module Export functions are not working properly

 


Using the new Metal-enabled version of the 3D slicer is a good alternative to horos.

A better option would be to call the volume rendering functions written in Metal directly from Mac's apps.

 

We've created a test app and made it public, so please use it as a reference.

https://apps.apple.com/us/app/phorlix-lite/id6740269806

 

 

202547() 12:13 Hiroaki Inomata <inomat...@gmail.com>:


The volume rendering feature of horos relies on an old version of a library called VTK. This version of VTK uses openGL as its graphics API.
As you know, openGL has been deprecated, and it is now recommended to use metal as the graphics API for Mac applications.

As this is the current situation, it is not easy to maintain the 3D volume rendering function.

 

 

Hiroaki Inomata MD

 

 

202547() 2:46 Lohi Karhu <bfr...@gmail.com>:

I've had trouble with horos, and I'm trying to get past the learning curve for 3dSlicer, which seems to be really powerful, and very actively developed.

 

On Sun, Apr 6, 2025, 19:00 James Chen <sjch...@gmail.com> wrote:

I've experienced the same problem as the person who posted this email. It's been 2 years since the first posting. Are someone in Horos Group thinking of solve the problem? 

 

thanks.

On Sunday, December 17, 2023 at 10:25:23PM UTC-7 b926...@gmail.com wrote:

4.0.1 ver. Horos running on MacOs Sonoma 14.2. The movie capture by Fly Through and Movie Export also JPEG still image are only left lower corner and with a weird wide screen like scale. 

 

This is the working window looks like:

And this is the export result (either still image or movie export, or fly through are the same):

Is it the setting's problem or some bug?

 

 

--
You received this message because you are subscribed to the Google Groups "Horos Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to horos-projec...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/horos-project/dc8d475b-5cbc-4610-9d04-38508066b671n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Horos Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to horos-projec...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/horos-project/CABdV20EsfP-mTjRP0tounp4uvJRo%3DAz%2BnKK%3DsfahnXHLvrmL9Q%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Horos Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to horos-projec...@googlegroups.com.

Hiroaki Inomata

unread,
Apr 7, 2025, 10:05:19 AMApr 7
to Marco Dejaegher, Lohi Karhu, James Chen, Horos Project

Sorry, our phorlix lite  is only compatible with Apple Silicon.

It is possible that Horlix might work on an Intel Mac, but since it has not been notarized by Apple, you may have trouble installing it.



2025年4月7日(月) 17:59 Marco Dejaegher <dejaegh...@gmail.com>:
compatibility.png

Marco Dejaegher

unread,
Apr 7, 2025, 10:17:47 AMApr 7
to Hiroaki Inomata, Lohi Karhu, James Chen, Horos Project

 

Ok I will do a test as soon as possible

 

Do you happen to know of a lite version of a viewer compatible with Mac as was the case with Weasis?

 

I mean a viewer that can be burned onto a CD, for example, and which can be used to view studies.

 

Regards

 

Marco

Error! Filename not specified.

And this is the export result (either still image or movie export, or fly through are the same):

Error! Filename not specified.

Is it the setting's problem or some bug?

 

 

--
You received this message because you are subscribed to the Google Groups "Horos Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to horos-projec...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/horos-project/dc8d475b-5cbc-4610-9d04-38508066b671n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Horos Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to horos-projec...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/horos-project/CABdV20EsfP-mTjRP0tounp4uvJRo%3DAz%2BnKK%3DsfahnXHLvrmL9Q%40mail.gmail.com.

Hiroaki Inomata

unread,
Apr 7, 2025, 11:16:50 AMApr 7
to Marco Dejaegher, Lohi Karhu, James Chen, Horos Project

>Do you happen to know of a lite version of a viewer compatible with Mac as was the case with Weasis?

 >I mean a viewer that can be burned onto a CD, for example, and which can be used to view studies.


i don't know.
Phorlix lite uses a library called dcmtk to analyze dicom tags.
The reason why Phorlix lite only works on Apple Silicon is because the dcmtk was only built  for Apple Silicon.
It will probably work on Intel Mac if you build dcmtk for Intel architecture.


2025年4月7日(月) 23:17 Marco Dejaegher <dejaegh...@gmail.com>:

Hiroaki Inomata

unread,
Apr 9, 2025, 3:04:58 PMApr 9
to Marco Dejaegher, Lohi Karhu, James Chen, Horos Project
Traffic seems to have stopped... :-/

I think the build system of the horos project is a bit too complicated for beginners including me.
For example, it uses shell scripts to get the libraries like:

>path="$( cd "$(dirname "${ZSH_SOURCE[0]}")" && pwd )/$(basename "${ZSH_SOURCE[0]}")"

>cd "$TARGET_NAME"; pwd

>

>env=$(env|sort|grep -v 'LLBUILD_BUILD_ID=\|LLBUILD_LANE_ID=\|LLBUILD_TASK_ID=\|Apple_PubSub_Socket_Render=\|DISPLAY=\|SHLVL=\|SSH_AUTH_SOCK=\|SECURITYSESSIONID=')

>hash="$(git describe --always --tags --dirty) $(md5 -q "$path")-$(md5 -qs "$env")" 
(in Horos->Scripts->DCMTK->CMake.sh)

For those without skills about shell script, this may be hard to understand.

However, the great open-source libraries that make up horos can be built independently.
Of course, dcmtk can also be built independently using CMake.
See: https://github.com/DCMTK/dcmtk/blob/master/INSTALL ,dcmtk_cmake.png, ...

All you have to do is specify the parameters according to your environment and purpose and build it.


Hiroaki Inomata, MD


2025年4月8日(火) 0:16 Hiroaki Inomata <inomat...@gmail.com>:
dcmtk_cmake.png

Hiroaki Inomata

unread,
Apr 13, 2025, 9:17:22 AMApr 13
to Horos Project

2025年4月10日(木) 4:04 Hiroaki Inomata <inomat...@gmail.com>:

Hiroaki Inomata

unread,
Apr 13, 2025, 11:54:59 AMApr 13
to Horos Project
Sorry, I posted by mistake...
But this is a good opportunity to explain. 

libdcmtk.a in the project's lib folder is the dcmtk built for MacOS. 
Once you can build dcmtk, it's not difficult to call dcmtk functions on xcode.

>    dataset = dcmfmt.getDataset();

>    

>    const char *string = NULL;

>    //Patients Name

>    if (dataset->findAndGetString(DCM_PatientName, string, OFFalse).good() && string != NULL)

>    {   printf("Input File: %s\n", ifname);

>        printf("Patient Name: %s\n", string);

>    }


If you build the project, you'll see that it's a simple command line tool that simply extracts a patient name
from a specified file.



2025年4月13日(日) 22:17 Hiroaki Inomata <inomat...@gmail.com>:
dcmtk-patientname.png
Reply all
Reply to author
Forward
0 new messages