-
-
Notifications
You must be signed in to change notification settings - Fork 382
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(CPR): Add MIP to ImageCPRMapper
- Loading branch information
Showing
7 changed files
with
416 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export const MipMode = { | ||
MAX: 0, | ||
MIN: 1, | ||
AVERAGE: 2, | ||
}; | ||
|
||
export default { | ||
MipMode, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export declare enum MipMode { | ||
MAX = 0, | ||
MIN = 1, | ||
AVERAGE = 2, | ||
} | ||
|
||
declare const _default: { | ||
MipMode: typeof MipMode; | ||
}; | ||
export default _default; |
48 changes: 44 additions & 4 deletions
48
Sources/Rendering/Core/ImageCPRMapper/example/controller.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,56 @@ | ||
<table> | ||
<tr> | ||
<td><h3 style="margin: 5px; padding-top: 5px;">CPR</h3></td> | ||
</tr> | ||
<tr> | ||
<td>Mode</td> | ||
<td> | ||
<select id='mode' style="width: 100%"></select> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Centerline</td> | ||
<td> | ||
<select id='centerline' style="width: 100%"></select> | ||
</td> | ||
</tr> | ||
<td> | ||
<label>Angle</label> | ||
<input id='angle' type='range' min='0' max='360' value='0' step="1"/> | ||
</td> | ||
<tr> | ||
<td>Angle</td> | ||
<td> | ||
<input id='angle' type='range' min='0' max='360' value='0' step="1"/> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Animate Angle</td> | ||
<td> | ||
<input id='animate' type='checkbox' /> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td><h3 style="margin: 5px; padding-top: 5px;">MIP</h3></td> | ||
</tr> | ||
<tr> | ||
<td>Enable</td> | ||
<td> | ||
<input id='mipEnable' type='checkbox' /> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Mode</td> | ||
<td> | ||
<select id='mipMode' style="width: 100%"></select> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Thickness</td> | ||
<td> | ||
<input id='mipThickness' type='range' min='0' max='1' value='0' step="0.01"/> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Number of samples</td> | ||
<td> | ||
<input id='mipSamples' type='range' min='1' max='101' value='1' step="2"/> | ||
</td> | ||
</tr> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.