Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vista3d_ohifv3 support #1771

Closed
wants to merge 12 commits into from
Closed

vista3d_ohifv3 support #1771

wants to merge 12 commits into from

Conversation

tangy5
Copy link
Collaborator

@tangy5 tangy5 commented Oct 30, 2024

working on cleaning, and merge the ohif_vista and ohifv3, we need single build config for ohifv3.

To support point based probe tools.

tangy5 and others added 2 commits October 30, 2024 11:15
@tangy5 tangy5 marked this pull request as draft October 30, 2024 18:18
tangy5 and others added 5 commits October 30, 2024 12:59
Signed-off-by: tangy5 <[email protected]>
Signed-off-by: tangy5 <[email protected]>
@tangy5 tangy5 marked this pull request as ready for review October 31, 2024 08:06
@tangy5 tangy5 changed the title vista_ohifv3 support [do not merge] vista3d_ohifv3 support Oct 31, 2024
Signed-off-by: tangy5 <[email protected]>
@@ -0,0 +1,136 @@
from typing import Any, Dict
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when vista3d bundle is used.. why we need to have this related code in monailabel?

@@ -82,8 +82,8 @@ def __init__(
conf: Dict[str, str],
const: Optional[BundleConstants] = None,
type: Union[str, InferType] = "",
pre_filter: Optional[Sequence] = None,
post_filter: Optional[Sequence] = [SaveImaged],
pre_filter: Optional[Sequence] = [CropForegroundd],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any reasons why we needed these changes? which is applicable to everyone

@@ -19,4 +19,5 @@ mkdir -p www/html
cp -r ../../monailabel/endpoints/static/ohif www/html/ohif
cp -f config/monai_label.js www/html/ohif/app-config.js

nginx -p `pwd` -c config/nginx.conf -e logs/error.log
# nginx -p `pwd` -c config/nginx.conf -e logs/error.log
nginx -p `pwd` -c config/nginx.conf
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

default path for error log (/var/log something..) may not have permissions

@@ -0,0 +1,257 @@
export const segmentColors: { [key: number]: string } = {
1: '#dd5454',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what are these colors for?

onSegmentation = async () => {
const nid = this.notification.show({
title: 'MONAI Label',
message: 'Running Auto-Segmentation...',
type: 'info',
duration: 60000,
duration: 6000,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

6 seconds vs 60 seconds to allow to finish the auto segmentation?

@@ -219,7 +219,7 @@ export default class OptionTable extends BaseTab {
id={this.tabId}
name="activelearning"
value="activelearning"
defaultChecked
// defaultChecked
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any reasons why default is changed?

@SachidanandAlle
Copy link
Collaborator

OHIF V3 is tracked via: #1785

Please use branch: https://github.com/Project-MONAI/MONAILabel/tree/sachi/ohifv3 to verify vista3d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants