From 15ba00ee62a62d23c7da148f5db7b517e6fa0cd5 Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauld.mccarthy@gmail.com> Date: Fri, 18 Mar 2016 15:40:03 +0000 Subject: [PATCH] Edit documentation --- fsleyes_doc/editing_images.rst | 163 ++++++++++++++++-- .../images/editing_images_2D_button.png | Bin 0 -> 578 bytes .../editing_images_bucket_fill_button.png | Bin 0 -> 563 bytes .../editing_images_create_mask_button.png | Bin 0 -> 651 bytes .../editing_images_create_roi_button.png | Bin 0 -> 679 bytes .../images/editing_images_erase_button.png | Bin 0 -> 660 bytes .../editing_images_local_search_button.png | Bin 0 -> 515 bytes .../editing_images_select_by_value_button.png | Bin 0 -> 657 bytes .../editing_images_select_radius_button.png | Bin 0 -> 636 bytes fsleyes_doc/quick_start.rst | 56 +----- 10 files changed, 154 insertions(+), 65 deletions(-) create mode 100644 fsleyes_doc/images/editing_images_2D_button.png create mode 100644 fsleyes_doc/images/editing_images_bucket_fill_button.png create mode 100644 fsleyes_doc/images/editing_images_create_mask_button.png create mode 100644 fsleyes_doc/images/editing_images_create_roi_button.png create mode 100644 fsleyes_doc/images/editing_images_erase_button.png create mode 100644 fsleyes_doc/images/editing_images_local_search_button.png create mode 100644 fsleyes_doc/images/editing_images_select_by_value_button.png create mode 100644 fsleyes_doc/images/editing_images_select_radius_button.png diff --git a/fsleyes_doc/editing_images.rst b/fsleyes_doc/editing_images.rst index a6cf5c36b..a63669dc8 100644 --- a/fsleyes_doc/editing_images.rst +++ b/fsleyes_doc/editing_images.rst @@ -1,39 +1,172 @@ +.. |command_key| unicode:: U+2318 +.. |shift_key| unicode:: U+21E7 +.. |control_key| unicode:: U+2303 +.. |alt_key| unicode:: U+2325 +.. |right_arrow| unicode:: U+21D2 + + .. _editing-images: -Editing images -============== +Editing NIFTI images +==================== + + +The ortho view has an *edit mode* which allows you to edit the values of NIFTI +overlays. .. _editing-images-edit-toolbar: +Create a copy! +-------------- + + +If you are worried about destroying your data, you may wish to create a copy +of your image, and edit that copy - you can do this via the *File* +|right_arrow| *Copy overlay* menu option. + + The edit toolbar -^^^^^^^^^^^^^^^^ +---------------- + + +.. TODO:: Image of edit toolbar goes here. + + +Open the edit toolbar (via the *Settings* |right_arrow| *Ortho view* +|right_arrow| *Edit toolbar* menu option), and click on the pencil button to +enter edit mode. + +Modifying the data in an image is a two-stage process: + + 1. Select the voxels you wish to change. + + 2. Change the value of the selected voxels. + + +Selecting voxels +---------------- + + +Voxels can be selected by right-clicking and dragging, or by holding down the +|command_key|/|control_key| and |shift_key| keys and left-clicking and +dragging. + +Voxels can be de-selected by holding down the |command_key|/|control_key| and +|shift_key| keys, and right-clicking and dragging. + +The selection size can be adjusted via the Selection size field in the edit +toolbar, or by holding down the |command_key|/|control_key| and |shift_key| +keys and spinning the mouse wheel. + +By default, the selection block is a 2-dimensional rectangle in the current +slice, but it can be made into a 3-dimensional cube by toggling the 2D/3D +button on the edit toolbar. + + +Select-by-value +--------------- + + +.. image:: images/editing_images_select_by_value_button.png + :align: left + +As an alternate to manually drawing the selection, voxels can be selected by +value. Select-by-value mode is enabled via the select-by-value button on the +edit toolbar. + + +In select-by-value mode, clicking on a voxel (the *seed*) will result in all +voxels that have a value similar to that voxel being selected. The threshold +by which voxels are considered to be similar can be changed via the edit +toolbar, or by spinning the mouse wheel. + + +When in select-by-value mode, the search region can be restricted in the +following ways: + + +.. image:: images/editing_images_2D_button.png + :align: left + +The region can be limited to the current slice, or the entire volume, via the +2D/3D buttons. + + +.. image:: images/editing_images_select_radius_button.png + :align: left + +The region be limited to a radius by pushing the radius button. The radius +can be changed on the edit toolbar, or by holding down the |alt_key| and +|shift_key| keys, and spinning the mouse wheel. + + +.. image:: images/editing_images_local_search_button.png + :align: left + +The search can be restricted to adjacent voxels by pushing the local search +button. When local search is enabled, voxels which are not adjacent to an +already-selected voxel are excluded from the search. + + +Changing voxel values +--------------------- + + +Once you are happy with your selection you can change the value of the +selected voxels in one of the following ways: + +.. image:: images/editing_images_bucket_fill_button.png + :align: left + +The values of all selected voxels can be replaced with the current fill value, +by clicking the bucket-fill button: + + +.. image:: images/editing_images_erase_button.png + :align: left + +The values of all selected voxels can be erased (replaced with 0) by clicking +the erase button: + + +The current fill value can be modified via the Fill value field on the edit +toolbar. + +Creating masks/ROIs +------------------- -.. _editing-images-fill-value: +Once you have made a selection, you can copy that selection into a new overlay, +with the *Create mask* and *Create ROI* buttons. Both buttons will create a new +image which has the same dimensions as the image being edited. -Filling the selection -^^^^^^^^^^^^^^^^^^^^^ -.. _editing-images-erasing: +.. image:: images/editing_images_create_roi_button.png + :align: left -Erasing the selection -^^^^^^^^^^^^^^^^^^^^^ +The *Create ROI* button will create a new image, and will copy the values of +all selected voxels over from the image being edited. All other voxels in the +new image will be set to 0. -.. _editing-images-selectionIs3D: +.. image:: images/editing_images_create_mask_button.png + :align: left -3D selections -^^^^^^^^^^^^^ +The *Create Mask* button will create a new image, and will set the value of +all selected voxels to 1, and the value of all other voxels to 0. + -.. _editing-images-select-by-intensity: +Saving your changes +------------------- -Select by value -^^^^^^^^^^^^^^^ +When you have made changes to an image, or created a mask/ROI image, don't +forget to save them via the *File* |right_arrow| *Save overlay* menu item, or +the floppy disk button on the :ref:`controls-overlay-list`. diff --git a/fsleyes_doc/images/editing_images_2D_button.png b/fsleyes_doc/images/editing_images_2D_button.png new file mode 100644 index 0000000000000000000000000000000000000000..f6ae443adc6b9fd018815825730bc12991a464ed GIT binary patch literal 578 zcmV-I0=@l-P)<h;3K|Lk000e1NJLTq000;O000;W1^@s6;CDUv00006VoOIv0RI60 z0RN!9r;`8x010qNS#tmY3ljhU3ljkVnw%H_000McNliru-~tH>G84H0J+S})048Zv zSad^gZEa<4bN~PV002XBWnpw>WFU8GbZ8()Nlj27Z*CxAAWdOomE>Pr0004<Nkl<Z zNXPBey^oAh7zOa(&dgdL8(E=1p;D-5Bq9-_UWJx~N<pC(8_j6MA3@?T5QXR!5>ZiT ze1ygd;v;Ot&d$7=Gs*SNJ8w1`iR?+9OzxXA=broA^ISIY-(#k>?xe=wM;K1wlo+KZ z(5<a2EMNz=<xi_MBXgL?EH*`>YA`b4s*C#(tWxiAHk{e~Ud9isrM}`ZuEp5YR?SE7 zFm_`P?qs6_1@}6ZaWLPHp&#By>?_PnoC10w%wRvh<7&a{<8|C_34eUTXZTd;{Bc>M zkk&AWqq%T?Hr&-}Y8cJ{7qJs(qBD_(L2bQ=t!Y(vN_(p!K~L}=r^c=Cw6y9dZej^v z8q73dkW=ldi<RpUj^Gh)<3`*M*RjFoM0dGu=#EG1)|8X=@hWptZ`;YVY_UnagVP}_ zwY08}mqmKU*o)_QQO-@TxTq7ji+gyAbNE#x=0TB~g$&>T+i?h&@HTVQYY2=BiPmSV z6!i^nGKg>`o33P{Kj0zGr~m7E^!^sTHsMYPRZ9fN4`jE-tJ+@F4g6dD21bZwLa;q1 Qvj6}907*qoM6N<$f`%&oM*si- literal 0 HcmV?d00001 diff --git a/fsleyes_doc/images/editing_images_bucket_fill_button.png b/fsleyes_doc/images/editing_images_bucket_fill_button.png new file mode 100644 index 0000000000000000000000000000000000000000..2bf40da113b17d5ccd46558e788cb560035e05ad GIT binary patch literal 563 zcmV-30?hr1P)<h;3K|Lk000e1NJLTq000;O000;W1^@s6;CDUv00006VoOIv0RI60 z0RN!9r;`8x010qNS#tmY3ljhU3ljkVnw%H_000McNliru-v|p00Sivtvj6}90l-N_ zK~zY`)z#07O<^1c@XtBd%q5m;Vn?PZi6x8iW0LZ#3|X;|q-6d8|ACa6Y%Of8EtCyP zu|O6UilvQ_NLC~>bC1n)bX@MZmwOl9I-T>L^F811^FGh>zF+>6QH&ztYJ9|@Q6O&R z{teHt5-UbQ$zfDDm3cYrRkUz7MaCN|8|s)2RX6_>SpEfqnyT9=va?q}(Qw8pEDczs zjW@W1<5)na+rP7z!Gi=0QlP@Fh`tvO^RB8@--6B9gQ-;S_o`R>1n;v77;E}@0_(7d z{qc6Ei@xP9LHrfl<EZ;h-!7%t`OJ@mrgA{4o=1yWY-&;@i05$`Td}cEv5Nqyus&{D z6S03nSmk~d?{KV-<YnW(6SxpybGXvfU~PncjL$(nljr$m{NKX1P%?oRncvE{PB+I@ z)Sts^?2E@+U5Tr>?i^0yCC*|8J|uooj}veq0Y`&qD(B5uern@1Hl*N1To3p4p7^0% zuOoH|uW$or@DyKi?o0>7Jsb#_qD#kL#w0HNraMh0@!M>o3XiZm-`o9mvob<=3t8Y= z5`V(MG?#(fWYJ?&m5q&8Q#$lBzvg&+6wUpg$9J{|XSL(}ro{jN002ovPDHLkV1oY? B0nh*d literal 0 HcmV?d00001 diff --git a/fsleyes_doc/images/editing_images_create_mask_button.png b/fsleyes_doc/images/editing_images_create_mask_button.png new file mode 100644 index 0000000000000000000000000000000000000000..dfacd2d17c3716ddfb0d39dd7070627ae01f43f4 GIT binary patch literal 651 zcmV;60(AX}P)<h;3K|Lk000e1NJLTq000;O000;W1^@s6;CDUv00006VoOIv0RI60 z0RN!9r;`8x010qNS#tmY3ljhU3ljkVnw%H_000McNliru-v|p08!TJ<{ICE3048Zv zSad^gZEa<4bN~PV002XBWnpw>WFU8GbZ8()Nlj27Z*CxAAWdOomE>Pr0005zNkl<Z zNXMntJ!lj`6bJC%-kldUAqGF|1kpk-Sc#RLSc+B(BG@Z-f`yHpf{mrEAd*h7Nkl=> z&O#zK7B(stN`mo&n0U7~Z(&?7x4UFu*x7wE@9Y16Z#L6xWbr(NoybS*?c!w}rLAP$ z!5ChJ@~XMNRiV6%0UlrxTf)Fn$Tw0v2zkF%Gc}*l!|PI7vJvyY@Q3BQAL~b0#sNHU z0$OK;EXN)^#4N_KR&k~gQ;y(w7+S>FSog3{0q!84(;FE%7@O8`3CH8W?V#V|%^1k= zE|i~-Z@X~?6WF@h2rh^4eu*gsZM%3@vkqobz_tZ|XX5>00Q)O8w?jU_9Ns1@8#bo! zEep_2MCdzk74vw3Rcyx%oW)FleK(@Y>$HJc?7|<c;2v(p;eLD<o{wX)qQL$swoX!P zcf#XhJS{mhhflF5uj74T;C)ydgt1YF-;|uFRa8Y3>lI#21yxsZvk3;La4lF=)%<=o zji43m>6W|Tkg*;tYd39nDO0Mvzn-KvuWMuy`y!gG;tD*ClclCunWAYNjnG@kEK*ji zCvZ6GrV$1`919PND{(AQ+>P0(>vb7}ECKNX_J;BWe8IVR{~mt{E6Iga%fN@E4wl0E lESlU8e2gMo#*?NX{{?Afn5jyAu*LuY002ovPDHLkV1g`v6(|4z literal 0 HcmV?d00001 diff --git a/fsleyes_doc/images/editing_images_create_roi_button.png b/fsleyes_doc/images/editing_images_create_roi_button.png new file mode 100644 index 0000000000000000000000000000000000000000..03e58dd6538ad0f9a8381271893c803a6f778226 GIT binary patch literal 679 zcmV;Y0$BZtP)<h;3K|Lk000e1NJLTq000;O000;W1^@s6;CDUv00006VoOIv0RI60 z0RN!9r;`8x010qNS#tmY3ljhU3ljkVnw%H_000McNliru-v|p09U*fNCyM|8048Zv zSad^gZEa<4bN~PV002XBWnpw>WFU8GbZ8()Nlj27Z*CxAAWdOomE>Pr00064Nkl<Z zNXM1cyK7WY5C-ty-E1~$B#IhsHHd<mVCCZv5KGZYEri$ytptlSc3N0i3RVV@bfS%d zf}*7&iiJ%Y6$@V^(GX0sYcmUn<7V%@1Bd%Mcjo(MzL`^~XGL5OVjJ3h_HMw-Doz{8 zeG@}?jZTHNw^`zR0Bg9912~F7d<*o`Xoa(`b+8+gSZ!2H%~y=$ZQ`thCCp<XS&R75 zi+-<suf_c%{K7uG$oA#vJL$WADe7Pp4={mY{O$2ikp)?|fVol*<1>z9E@-!Kz7K={ ztho;I{dj{_OyM1#<0d{PAl740^b1hnVK~2t8SKDi+zHlco*P-=i;~)!ijDV@fJGwP zR<Nnk2V*INjlt+lJWobpmtylkd~ahGAF!OIE45L~7oqPH(b`*Z1&^c6m$3=ga28|u zj@xDGNmVp~?UC~Z+{KOfc`e=x<ii+A(pI)KlY-m|#9e!qftkgZ*wd+kz8hdJqP2S{ zB)9h&h)UzP%VMPj)mB`J0N3l(;1sTgipqxHpSlbhp`KQz_g=OVDjTR1pqVM94E=PK z0hikdb_JV$3|csilli<UOVJ)23F?hx70FyFuo;J<Z)(+G9LECTV4S%_iQ`tRW>wUA z4T_|Q7qBy&KZ&#VTs$x0Rdl;LjrJ+&gP(!Eh#~ho4xM%!nNRB$`5)~hi`3-K2#f## N002ovPDHLkV1o3*Cba+n literal 0 HcmV?d00001 diff --git a/fsleyes_doc/images/editing_images_erase_button.png b/fsleyes_doc/images/editing_images_erase_button.png new file mode 100644 index 0000000000000000000000000000000000000000..f8126d7d69a9c790c59d94bde771c2f83cf51b86 GIT binary patch literal 660 zcmV;F0&D$=P)<h;3K|Lk000e1NJLTq000;O000;W1^@s6;CDUv00006VoOIv0RI60 z0RN!9r;`8x010qNS#tmY3ljhU3ljkVnw%H_000McNliru-~tH?H#_hF3poG)0wGC6 zK~zY`<<(87O;HpF@ZY`n`MLvnMj{5!00ZAW@{y!Ol!1YXu`)0vBg()`WG1O66B#Hn zp_GA%e8fuzM2|?3k1+7!oon(xI-TCV@-VV%clOz5@3sExzy50-{^v0X`!LY!P;-LD z8~BFFSc|@HwptS~-pcIY4F>T(>qh;|L?Rdq`WBwyIkr{6Hgo3t?>cCqjp3kQnCC4N z*qZkiu4KKbS>v_w3*IMTMj{x-D!jl*9L~mNY|ouJb>owRa%zvc0;8El-e=$-9tC*^ z`_&LHOTvc3VYetcn1}P>yM^62fTcNi1c%Wq9n4I)EAbi+ej)85`X5Tf)o~r0<M?}- z`8K8m`QmU|)aa|`sDY2Ti!E{5z(qX9*Vy=397WdG@F`S{^(e$L;d_#oW~kelJZ?x{ zerk6b`lIO%mZW&TbfKt&6IheI3z!u<gLsRlcr_lvJ9vrJF;pJ~PFIYd#IfuZnY#k6 zIi7>BxE-x8s3C9RcoYX`a5E}u<7lWIiy8--UHHA5-m)-Umr0x+rIoadU|pU=IE3XD zYIl^X=*N8At0a6T_EuzD%5yQ+<8$tw!~LKx>trA`ajCD1N(#J7J~rY>DtAdPehdX? zYw|5~_Pms7U+qItK~XlcMc9-GrsE;5rU$ixyfaS6ZJ<-ibQB-bV(STSV{VL{!i_|r ui^_U-%Wiw~D@tno?SF6M5B`4te*6H-h>0VhVN<mL0000<MNUMnLSTaF*)8w@ literal 0 HcmV?d00001 diff --git a/fsleyes_doc/images/editing_images_local_search_button.png b/fsleyes_doc/images/editing_images_local_search_button.png new file mode 100644 index 0000000000000000000000000000000000000000..7bf629fca5963da9eed100f12db8b8d946318bc0 GIT binary patch literal 515 zcmV+e0{s1nP)<h;3K|Lk000e1NJLTq000;O000;W1^@s6;CDUv00006VoOIv0RI60 z0RN!9r;`8x010qNS#tmY3ljhU3ljkVnw%H_000McNliru-~tH?CO4{XWC8#H048Zv zSad^gZEa<4bN~PV002XBWnpw>WFU8GbZ8()Nlj27Z*CxAAWdOomE>Pr0004ANkl<Z zNXNaEUrNJ35XOILS|R2DqNs&f@lC-uPvRNGBM4rhSMWfBPhy`$#XrRdD~M8U)AeN* zhA~+iP5ME|PG)y!zHeq)STL64`K$j2T525u8L$=Dp8-9!|5rpRvkbTr`xJNqrYezD z;6&Ctz_s$1qFoRSAO}9>?E{Pz<IcPi`2b(Q0N9pqgOdHJFuOGJ&c(n1cL9AJ@CrOB zyHWtpB!pbaR=JBBfejEBu(JL*;P2S;b`E;LZlDfbU_B7v0NB^(+bZ%JZ~-JhUy7Nl z%)7v`*a`5V{E-akk=Pr+5SZFINM!v6+yk=`X&!-h6CgGn=QM)}a06@tE5NxNvaNU~ zL7xLP9RUwkB9EbD*OJR4!*EpaU1vQO_N8+$2^7%D&qt*>S@;~(abFaY=)c$lZdJ`( zT^Gl|p=!_6|MS%)k(2Jz_N<ATroghLRu{bHc~jXJ;u~F&NwgBu(Zc`$002ovPDHLk FV1g{&&xQa1 literal 0 HcmV?d00001 diff --git a/fsleyes_doc/images/editing_images_select_by_value_button.png b/fsleyes_doc/images/editing_images_select_by_value_button.png new file mode 100644 index 0000000000000000000000000000000000000000..eec43d184eb1087c0363bcfbf5f4a7a7fab0dae4 GIT binary patch literal 657 zcmV;C0&e|@P)<h;3K|Lk000e1NJLTq000;O000;W1^@s6;CDUv00006VoOIv0RI60 z0RN!9r;`8x010qNS#tmY3ljhU3ljkVnw%H_000McNliru-~tH?8z4hfse1qb048Zv zSad^gZEa<4bN~PV002XBWnpw>WFU8GbZ8()Nlj27Z*CxAAWdOomE>Pr0005(Nkl<Z zNXOlk%Zd|06o$X5T#SY=JBeV=LUiIHOUIROBIIFaHILxhg+dl?#D@^F3=I+xdN4vW z#4M7YagypfZmL6BQwbA;3q8<u*Xio|&gJJc{OhI;_^u6{0ur2~fiJ+fTY$k}&;*XQ z1ktJ-v)QaU8jW7$dH#M&0Pld;0QKO-5%4PTiMv0o9Gy<5o+Qa}p639cfggbN0(x8R ztshWI1)!9gi^!!15a4oOz%H}yDm{R`Gr(G_R;yJ*YrWaKUa#xc+S*;{zX7z?%35pv z!;7N0H<?UMTCG;MDoa_GwfTJh5I{sq7kwG@>^7j=?b@;|uSG-w6h+ZU)AZSRJU-hI z<P7)@7!P2gfL^bsthMcGy;v+7S(de2Ge3z)9z<FK_kl+Nw6V1ZTI=XDkOLP1;0Aae zs7(Aa?W3Zq&c^eZeVVM&G;JnHvPo~bTsDj`wL>)Q1KPvk@MXW>KdDkS#?+?M>2WM| zZ*AQC@%<_WIL)%`LzZRHNJQiYxC+#A<px`5MGPQLEgzLq8?}gt6_GX21fB#v`Re9Z z*km2;fjcl4kqa+U3tYQlry}!7MM}pm6;(>{0p?GetpD~Otsa4eDYGSg*`coJoPP|Q r18>|sFN1v#BH*7}sxSo>{1^5MQL)Z-Rh8ym00000NkvXXu0mjfeE=FD literal 0 HcmV?d00001 diff --git a/fsleyes_doc/images/editing_images_select_radius_button.png b/fsleyes_doc/images/editing_images_select_radius_button.png new file mode 100644 index 0000000000000000000000000000000000000000..ffaf7f5ab9952829c202177f56b173ebe14361b7 GIT binary patch literal 636 zcmV-?0)zdDP)<h;3K|Lk000e1NJLTq000;O000;W1^@s6;CDUv00006VoOIv0RI60 z0RN!9r;`8x010qNS#tmY3ljhU3ljkVnw%H_000McNliru-~tH?AuMl7J1GDF048Zv zSad^gZEa<4bN~PV002XBWnpw>WFU8GbZ8()Nlj27Z*CxAAWdOomE>Pr0005kNkl<Z zNXNz1J8M)y6bJC%?%hODwg{3UxJ%*#u@pZ+gj4|^AHdSiB9<0D5XII?TdNSk#>T=A zAP6eaPJ{$25kw>qu+nRDBEw|vy}KxQ;BtqVbLM{@|8u4?ne^g=ezN{+8N`Kcz^&5n zIA6dOyulqDK^@;KtP~=gC>;Zw!nfqYCpdsje2%@fX(P%#d5+tt3c9n&dIK+GU3I1F zBOYSZ;9V&ln-S5w{47PQv5sYY34kr^gi+l9IFC6T!dZO9>)iVpoW>7qNBB#)TZkkD z7>3SLfLv`V_yFTTzMSljGLY1GF3wI&%AzWxZLa}D;`w5shEIcK`wF}q`7C*|2Qtn) zFOlR0eumy3IUYs4(bBDB+``Ssd6V9wxa(w!I*k8LOA2?xa5p^6r4En}_>N!c;e0~V zQb(q28F#R25R}~)+6FEay1JC}QsH}9HYS=)CAPGItVAX*G+lT;#zZgDR$@yNyF?e) zIGWF-y>Q-#!nMTnu24s~hx<|d^|llpj&V`rdQ!BiV32yah>LiZ)S$7Oj|ITNj!`aj zw}Le@(>yp;Vo=A7dVtlW>9&){Xf5perj%KHN-lbwHP&04`4^A>5a(i~lp^l?U-BDw WcUi(l<>}`D0000<MNUMnLSTZ`ToS?n literal 0 HcmV?d00001 diff --git a/fsleyes_doc/quick_start.rst b/fsleyes_doc/quick_start.rst index e43d3d02d..6573b7b7e 100644 --- a/fsleyes_doc/quick_start.rst +++ b/fsleyes_doc/quick_start.rst @@ -30,8 +30,9 @@ looks like this: :align: center -This is slightly boring, so let's load an image. Select the *File/Add overlay -from file* menu option, and choose a `.nii.gz` image to load. +This is slightly boring, so let's load an image. Select the *File +|right_arrow| Add overlay from file* menu option, and choose a `.nii.gz` image +to load. Now things are a bit more interesting: @@ -242,54 +243,9 @@ Edit a NIFTI1 image? You can :ref:`edit NIFTI1 image data <editing-images>` from within an ortho view. Open the :ref:`edit toolbar <editing-images-edit-toolbar>` (via the -*Settings* |right_arrow| *<view name>* |right_arrow| *Edit toolbar* menu -option), and click on the pencil button to enter edit mode. - -Modifying the data in an image is a two-stage process: - - 1. Select the voxels you wish to change. - 2. Change the value of the selected voxels. - - -**Selecting voxels** - - - Voxels can be selected by right-clicking and dragging, or by holding down - the |command_key|/|control_key| and |shift_key| keys and left-clicking and - dragging. - - - Voxels can be deselected by holding down the |command_key|/|control_key| - and |shift_key| keys, and right-clicking and dragging. - - - The selection size can be adjusted via the *Selection size* field in the - edit toolbar, or by holding down the |command_key|/|control_key| and - |shift_key| keys and spinning the mouse wheel. - - - By default, the selection block is a 2-dimensional rectangle in the - current slice, but it can be made into a 3-dimensional cube by toggling - the :ref:`2D/3D button <editing-images-selectionIs3D>` on the - edit toolbar. - - - As an alternate to manually drawing the selection, voxels can be - :ref:`selected by value <editing-images-select-by-intensity>`. - - -**Changing voxel values** - - - The values of all selected voxels can be replaced with the current - :ref:`fill value <editing-images-fill-value>`, by clicking the - bucket-fill button on the edit toolbar. - - - The values of all selected voxels can be *erased* (replaced with 0) by - clicking the :ref:`erase button <editing-images-erasing>` on the edit - toolbar. - - - The current fill value can be modified via the *Fill value* field - on the edit toolbar. - - -When you have made changes to an image, don't forget to save them via the -*File* |right_arrow| *Save overlay* menu item, or the floppy disk button on -the :ref:`controls-overlay-list`. +*Settings* |right_arrow| *Ortho view* |right_arrow| *Edit toolbar* menu +option), and click on the pencil button to enter edit mode. See the page on +:ref:`editing images <editing-images>` for more details. Classify ICA components? -- GitLab