Commit cf7be09221781badd4eb741e7498471b9c117cfa

Authored by vhosouza
2 parents 1b7ed258 76b791fa
Exists in usp-navegador

UPD: Updating fork with trunk.

Showing 194 changed files with 18881 additions and 9528 deletions   Show diff stats

Too many changes.

To preserve performance only 100 of 194 files displayed.

docs/user_guide_pt_BR.pdf
No preview for this file type
docs/user_guide_pt_BR_source/cap_segmen.tex
... ... @@ -147,12 +147,11 @@ Há situações em que a segmentação por limiar não é eficiente, pois ela é
147 147 todo das imagens. Para aplicar a segmentação a imagens isoladas, pode-se usar a segmentação
148 148 manual. Com ela, é possível adicionar ou apagar uma determinada região da imagem que foi
149 149 segmentada por limiar. No entanto, a segmentação manual requer maior conhecimento de anatomia
150   -por parte do usuário. Para utilizá-la, é necessário clicar em \textbf{Ferramentas avançadas
151   -de edição} (figura \ref{fig:advanced_edition}) para abrir o painel de edição.
  150 +por parte do usuário. Para utilizá-la, é necessário clicar em \textbf{Edição Manual} (figura \ref{fig:advanced_edition}) para abrir o painel de edição.
152 151  
153 152 \begin{figure}[!htb]
154 153 \centering
155   -\includegraphics[scale=0.6]{edicao_avancada}
  154 +\includegraphics[scale=0.6]{edicao_avancada.png}
156 155 \caption{Ferramentas avançadas de edição}
157 156 \label{fig:advanced_edition}
158 157 \end{figure}
... ... @@ -271,4 +270,130 @@ Demais detalhes serão discutidos no capítulo \ref{cap_surface}.
271 270 \includegraphics[scale=0.5]{create_surface_edited.png}
272 271 \caption{Método de criação de superfície}
273 272 \label{fig:new_surface_edited}
  273 +\end{figure}
  274 +
  275 +
  276 +\section{Watershed}
  277 +
  278 +A segmentação por watershed, necessita que o usuário indique através de marcadores o que é objeto e o que é fundo. Esse método de segmentação interpreta a imagem como uma bacia hidrográfica, sendo que os valores dos níveis de cinza são as altitudes, formando vales e montanhas, os marcadores de fundo e objeto são as fontes de água. Essas fontes de água, começam "encher" essa bacia hidrográfica até se encontrarem, assim segmentando a imagem em fundo e objeto. Para utilizá-la, é necessário clicar na opção \textbf{Watershed} para abrir o painel de edição (figura~\ref{fig:watershed_painel}).
  279 +
  280 +\begin{figure}[!htb]
  281 +\centering
  282 +\includegraphics[scale=0.6]{watershed_panel.png}
  283 +\caption{Painel de segmentação por Watershed}
  284 +\label{fig:watershed_painel}
  285 +\end{figure}
  286 +
  287 +\begin{figure}[!htb]
  288 +\centering
  289 +\includegraphics[scale=0.6]{watershed_panel.png}
  290 +\caption{Painel de segmentação por Watershed}
  291 +\label{fig:watershed_painel}
  292 +\end{figure}
  293 +
  294 +Antes de iniciar a segmentação por Watershed, é recomendável limpar toda a máscara utilizando a ferramenta de limpeza de máscara, conforme é mostrado na seção~\ref{cap:limpeza_mascara}.
  295 +
  296 +Para inserir marcadores de fundo e objeto, é utilizada uma ferramenta em forma de pincel, a exemplo da segmentação manual, existe a opção de selecionar pincel retangular ou circular, também é possível alterar o tamanho deles.
  297 +
  298 +É necessário também selecionar o tipo de operação que será realizada pelo pincel. As opções são as
  299 +seguintes:\\
  300 +\\
  301 +\textbf{Objeto}, para inserir marcadores de objeto;\\
  302 +\textbf{Fundo}, para inserir marcadores de fundo (não é objeto);\\
  303 +\textbf{Apagar}, para apagar marcadores de objeto ou fundo.\\
  304 +
  305 +A opção "\textbf{Sobrescrever máscara}" é utilizada quando deseja-se que a máscara selecionada seja substituída pelo resultado da segmentação. Já a opção "\textbf{Considerar brilho e contraste}" é utilizada para o algoritmo levar em consideração a imagem que está sendo visualizada, assim é possível alterar o brilho e contraste e obter resultados melhores de segmentação.
  306 +
  307 +É possível configurar o método de \textit{Watershed} através do botão ao lado esquerdo do painel (figura~\ref{fig:watershed_conf}). Ao abrir essa opção é mostrada a janela~\ref{fig:watershed_janela_conf}. A opção método permite alterar o algoritmo que é utilizado na segmentação, existe o Wartershed convencional e o Watershed baseado no método de IFT (\textit{Image Forest Transform}), em alguns casos, como segmentação de cérebro ele apresenta melhor resultado.
  308 +
  309 +A conectividade dos pixels que serão levados em consideração, pode ser alterados, no caso 2D, é possível selecionar conectividade $4$ e $8$, já no caso 3D pode-se selecionar $6$,$18$ ou $26$. O valor "\textbf{Sigma da gaussiana}" é alterado para o método suavizar mais ou menos a imagem ao aplicar a segmentação, valores altos tendem a deixar a imagem mais suavizada e consequentemente o algoritmo seleciona menos detalhes e ruídos.
  310 +
  311 +\begin{figure}[!htb]
  312 +\centering
  313 +\includegraphics[scale=0.5]{configuration.png}
  314 +\caption{Botão para abrir a configuração do método de Watershed}
  315 +\label{fig:watershed_conf}
  316 +\end{figure}
  317 +
  318 +\begin{figure}[!htb]
  319 +\centering
  320 +\includegraphics[scale=0.5]{watershed_opcao.png}
  321 +\caption{Opções de configuração do método de Watershed}
  322 +\label{fig:watershed_janela_conf}
  323 +\end{figure}
  324 +
  325 +Existe a opção do método ser executado para todo o volume (expandir para outras fatias), para isso, após ser inserido os marcadores de objeto e de fundo, é necessário clicar no botão \textbf{Expandir watershed para 3D}, localizado no painel. Na figura~\ref{fig:watershed_2d} é exibido o resultado da segmentação do cérebro em uma fatia (2D), já na figura~\ref{fig:watershed_3d} é mostrado a expansão para todo o volume (3D).
  326 +
  327 +Ainda na figura~\ref{fig:watershed_2d}, podemos visualizar os marcadores de objeto em verde claro, os marcadores de fundo em vermelho e a máscara em verde transparente cobrindo a região selecionada (resultado).
  328 +
  329 +\begin{figure}[!htb]
  330 +\centering
  331 +\includegraphics[scale=0.2]{watershed_2d.png}
  332 +\caption{Watershed aplicado em uma fatia de um volume.}
  333 +\label{fig:watershed_2d}
  334 +\end{figure}
  335 +
  336 +\begin{figure}[!htb]
  337 +\centering
  338 +\includegraphics[scale=0.2]{watershed_3d.png}
  339 +\caption{Segmentação do cérebro com o método de Watershed aplicado em todo um volume (expandido em 3D).}
  340 +\label{fig:watershed_3d}
  341 +\end{figure}
  342 +
  343 +\section{Operações booleanas}
  344 +
  345 +Após efetuar segmentações, é possível realizar operações booleanas entre as máscaras. As operações booleanas suportadas são:\\
  346 +\\
  347 +\textbf{União}, realiza a união de duas máscaras;\\
  348 +\textbf{Diferença}, realiza a diferença entre a primeira máscara com a segunda;\\
  349 +\textbf{Intersecção}, para apagar marcadores de objeto ou fundo.\\
  350 +\textbf{Disjunção exclusiva}, também é conhecida como XOR, mantém as regiões de ambas as máscara que possuem diferença.\\
  351 +
  352 +Para ativar essa ferramenta é necessário ir no menu \textbf{Ferramentas}, \textbf{Operações boolenas}, como é exibido na figura~\ref{fig:booleano_menu}
  353 +
  354 +\begin{figure}[!htb]
  355 +\centering
  356 +\includegraphics[scale=0.5]{booleano_menu.png}
  357 +\caption{Menu para ativar a ferramenta de operações booleanas.}
  358 +\label{fig:booleano_menu}
  359 +\end{figure}
  360 +
  361 +É necessário selecionar a primeira máscara, a operação a ser realizada e a segunda máscara conforme mostra a figura~\ref{fig:booleano_janela}. Em seguida é necessário clicar no botão \textbf{Ok}.
  362 +
  363 +\begin{figure}[!htb]
  364 +\centering
  365 +\includegraphics[scale=0.5]{boolano_janela.png}
  366 +\caption{Ferramenta de operações booleanas.}
  367 +\label{fig:booleano_janela}
  368 +\end{figure}
  369 +
  370 +Na figura~\ref{fig:op_boolana}, apresentamos um exemplo de utilização da ferramenta.
  371 +
  372 +\begin{figure}[!htb]
  373 + \centering
  374 + \subfloat[Máscara A]{\includegraphics[width=0.332\textwidth]{booleano_m_a}}
  375 + \hfill
  376 + \subfloat[Máscara B]{\includegraphics[width=0.332\textwidth]{booleano_m_b}}
  377 + \hfill
  378 + \subfloat[União (A $\cup$ B)]{\includegraphics[width=0.332\textwidth]{booleano_uniao}}
  379 + \hfill
  380 + \subfloat[Diferença (A - B)]{\includegraphics[width=0.332\textwidth]{booleano_dif}}
  381 + \hfill
  382 + \subfloat[Intersecção (A $\cap$ B)]{\includegraphics[width=0.332\textwidth]{booleano_interc}}
  383 + \hfill
  384 + \subfloat[Disjunção exclusiva (A $\oplus$ B)]{\includegraphics[width=0.332\textwidth]{booleano_disj_exc}}
  385 + \caption{Exemplo de operações booleanas.}
  386 + \label{fig:op_boolana}
  387 +\end{figure}
  388 +
  389 +\section{Limpeza total da máscara}
  390 +\label{cap:limpeza_mascara}
  391 +
  392 +Pode-se efetuar a limpeza total da máscara (figura~\ref{fig:limpeza_mascara}), isso é recomendado antes de iniciar a inserção de marcadores de Watershed. A ferramenta está localizada no menu, \textbf{Ferramentas}, \textbf{Máscara}, \textbf{Limpar máscara}, também é possível executa-la pressionando as teclas \textbf{CTRL+SHIFT+A}.
  393 +
  394 +\begin{figure}[!htb]
  395 +\centering
  396 +\includegraphics[scale=0.6]{watershed_limpeza.png}
  397 +\caption{Limpeza de máscara}
  398 +\label{fig:limpeza_mascara}
274 399 \end{figure}
275 400 \ No newline at end of file
... ...
docs/user_guide_pt_BR_source/img/icons/configuration.png 0 → 100644

469 Bytes

docs/user_guide_pt_BR_source/img/invesalius_screen/boolano_janela.png 0 → 100644

8.19 KB

docs/user_guide_pt_BR_source/img/invesalius_screen/booleano_dif.png 0 → 100644

140 KB

docs/user_guide_pt_BR_source/img/invesalius_screen/booleano_disj_exc.png 0 → 100644

125 KB

docs/user_guide_pt_BR_source/img/invesalius_screen/booleano_interc.png 0 → 100644

137 KB

docs/user_guide_pt_BR_source/img/invesalius_screen/booleano_m_a.png 0 → 100644

210 KB

docs/user_guide_pt_BR_source/img/invesalius_screen/booleano_m_b.png 0 → 100644

140 KB

docs/user_guide_pt_BR_source/img/invesalius_screen/booleano_menu.png 0 → 100644

9.54 KB

docs/user_guide_pt_BR_source/img/invesalius_screen/booleano_uniao.png 0 → 100644

128 KB

docs/user_guide_pt_BR_source/img/invesalius_screen/edicao_avancada.png

503 Bytes | W: | H:

341 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin
docs/user_guide_pt_BR_source/img/invesalius_screen/edition_slices.png

3.76 KB | W: | H:

7.78 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
docs/user_guide_pt_BR_source/img/invesalius_screen/watershed_2d.png 0 → 100644

256 KB

docs/user_guide_pt_BR_source/img/invesalius_screen/watershed_3d.png 0 → 100644

363 KB

docs/user_guide_pt_BR_source/img/invesalius_screen/watershed_limpeza.png 0 → 100644

9.48 KB

docs/user_guide_pt_BR_source/img/invesalius_screen/watershed_opcao.png 0 → 100644

9.99 KB

docs/user_guide_pt_BR_source/img/invesalius_screen/watershed_panel.png 0 → 100644

5.41 KB

icons/3D_glasses.png

3.7 KB | W: | H:

1.16 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/3D_glasses_original.png

14.9 KB | W: | H:

12.6 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/Floppy.png

3.29 KB | W: | H:

688 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/annotation.png

43.5 KB | W: | H:

43.6 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/bool_difference.png 0 → 100644

739 Bytes

icons/bool_disjunction.png 0 → 100644

695 Bytes

icons/bool_intersection.png 0 → 100644

675 Bytes

icons/bool_union.png 0 → 100644

698 Bytes

icons/ca.bmp 0 → 100644
No preview for this file type
icons/configuration.png 0 → 100644

469 Bytes

icons/connectivity_largest.png

37.6 KB | W: | H:

37.8 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/connectivity_manual.png

36.4 KB | W: | H:

36.6 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/connectivity_split_all.png

38.7 KB | W: | H:

38.8 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/cross.png

628 Bytes | W: | H:

558 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/cross_original.png

12.4 KB | W: | H:

1.37 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/cs.bmp 0 → 100644
No preview for this file type
icons/data_duplicate.png

806 Bytes | W: | H:

840 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/data_new.png

767 Bytes | W: | H:

893 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/data_remove.png

643 Bytes | W: | H:

563 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/file_export.png

20.9 KB | W: | H:

15.8 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/file_from_internet.png

1.59 KB | W: | H:

1.62 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/file_from_internet_original.png

25.8 KB | W: | H:

3.04 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/file_import.png

1.04 KB | W: | H:

1.36 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/file_import_original.png

8.54 KB | W: | H:

1.96 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/file_open.png

3.78 KB | W: | H:

1.23 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/file_open_original.png

11.2 KB | W: | H:

1.93 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/file_save.png

993 Bytes | W: | H:

1.22 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/file_save_original.png

11.2 KB | W: | H:

1.71 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/it.bmp 0 → 100644
No preview for this file type
icons/it.png 0 → 100644

196 Bytes

icons/it_IT.bmp
No preview for this file type
icons/it_IT.png

144 Bytes

icons/ko.bmp
No preview for this file type
icons/layout_data_only.png

1.28 KB | W: | H:

1.43 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/layout_data_only_original.gif

1.57 KB | W: | H:

788 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/layout_data_only_original.png

952 Bytes | W: | H:

1004 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/layout_full.png

1.3 KB | W: | H:

1.46 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/layout_full_original.gif

1.57 KB | W: | H:

804 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/layout_full_original.png

943 Bytes | W: | H:

996 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/mask.png

3.75 KB

icons/mask_small.png

1.25 KB

icons/measure_angle.png

1.76 KB | W: | H:

1.79 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/measure_angle_original.png

15.8 KB | W: | H:

2.16 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/measure_line.png

1.75 KB | W: | H:

1.79 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/measure_line_original.png

14.5 KB | W: | H:

2.09 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/object_add.png

1.04 KB | W: | H:

1.23 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/object_add_original.png

8.72 KB | W: | H:

9.17 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/object_remove.png

1.56 KB | W: | H:

1.61 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/object_remove_original.png

9.04 KB | W: | H:

9.47 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/print.png

3.8 KB | W: | H:

1.27 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/print_original.png

21.8 KB | W: | H:

2.21 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/redo_menu.png

3.44 KB | W: | H:

1017 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/redo_original.png

15.3 KB | W: | H:

1.64 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/redo_small.png

4.03 KB | W: | H:

1.49 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/ro.bmp 0 → 100644
No preview for this file type
icons/show_task.png

4.09 KB | W: | H:

4.31 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/show_task_min.png

1.67 KB | W: | H:

1.73 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/slice.png

1.31 KB | W: | H:

827 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/slice_original.png

6.7 KB | W: | H:

828 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/slice_plane.png

1.05 KB | W: | H:

1.23 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/slice_plane_original.png

2.58 KB | W: | H:

2.64 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/splash_de.png

217 KB | W: | H:

244 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/splash_de_DE.png

217 KB | W: | H:

244 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/splash_el_GR.png

217 KB | W: | H:

244 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/splash_en.png

217 KB | W: | H:

244 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/splash_es.png

218 KB | W: | H:

244 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/splash_fr.png

220 KB | W: | H:

244 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/splash_it.png 0 → 100644

244 KB

icons/splash_it_IT.png

217 KB

icons/splash_ko.png

217 KB | W: | H:

244 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/splash_pt.png

220 KB | W: | H:

245 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/splash_zh_TW.png

217 KB | W: | H:

244 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/surface_export.png

5.04 KB | W: | H:

2.67 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/surface_export_original.png

27.2 KB | W: | H:

27.4 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/text.png

572 Bytes | W: | H:

477 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/text_inverted.png

706 Bytes | W: | H:

543 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/text_inverted_original.png

2.22 KB | W: | H:

541 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/text_original.png

2.69 KB | W: | H:

567 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/tool_annotation.png

1.7 KB | W: | H:

1.73 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/tool_annotation_original.png

21.2 KB | W: | H:

21.6 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/tool_contrast.png

1.01 KB | W: | H:

1.07 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
icons/tool_contrast_original.png

1.55 KB | W: | H:

1.65 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin