Knowledge

Focus stacking

Source 📝

817: 752: 882: 805: 788: 93: 242: 847: 973: 894: 776: 864: 909: 764: 25: 835: 73: 931: 951: 933: 937: 936: 932: 955: 954: 938: 181:
The starting point for focus stacking is a series of images captured at different focus distances; in each image different areas of the sample will be in focus. While none of these images has the sample entirely in focus they collectively contain all the data required to generate an image which has
160:
Focus stacking offers flexibility: since it is a computational technique, images with several different depths of field can be generated in post-processing and compared for best artistic merit or scientific clarity. Focus stacking also allows generation of images physically impossible with normal
1106:
There are a number of programs that allow you to get the equivalent of infinite depth of field in your photos, with sharp focus from the foreground all the way back to the rear. How is this possible? By taking multiple photos of the same scene and stacking them afterwards into a composite that
956: 935: 953: 293:. When observing a sample directly, the limitations of the shallow depth of field are easy to circumvent by focusing up and down through the sample; to effectively present microscopy data of a complex 3D structure in 2D, focus stacking is a very useful technique. 238:. It also reduces the luminosity of the image. Focus stacking allows the depth of field of images taken at the sharpest aperture to be effectively increased. The images at right illustrate the increase in DOF that can be achieved by combining multiple exposures. 114:. Three source images at different focus distances (top left) are combined with masks (top right) to obtain the contributions of their respective images to the final focus stacked image (bottom). Black is no contribution; white is full. 219:, because depth of field is smaller (shallower) for objects nearer the camera, so if a small object fills the frame, it is often so close that its entire depth cannot be in focus at once. Depth of field is normally increased by 816: 934: 952: 281:
are desirable to capture as much light as possible from a small sample. A high numerical aperture (equivalent to a low f-number) gives a very shallow depth of field. Higher magnification
161:
imaging equipment; images with nonplanar focus regions can be generated. Alternative techniques for generating images with increased or flexible depth of field include
804: 972: 751: 145:(DOF) than any of the individual source images. Focus stacking can be used in any situation where individual images have a very shallow depth of field; 787: 1209:
Hovden, Robert; Xin, Huolin L.; Muller, David A. (2010). "Extended Depth of Field for High-Resolution Scanning Transmission Electron Microscopy".
881: 893: 763: 863: 775: 297: 846: 1180: 44:
Please help improve this article by looking for better, more reliable sources. Unreliable citations may be challenged and removed.
1270: 908: 1295: 1099: 1119: 1388: 59: 1426: 834: 1157:"Malin Space Science Systems - Mars Science Laboratory (MSL) Mars Hand Lens Imager (MAHLI) Instrument Description" 1059:"Malin Space Science Systems - Mars Science Laboratory (MSL) Mars Hand Lens Imager (MAHLI) Instrument Description" 231: 1131: 182:
all parts of the sample in focus. In-focus regions of each image may be detected automatically, for example via
300:
encounters similar difficulties, where specimen features are much larger than the depth of field. By taking a
92: 1401: 1015: 650: 522: 473: 38: 1421: 1361: 190:, or selected manually. The in-focus patches are then blended together to generate the final image. 1156: 1091: 407: 134: 33: 258: 241: 97: 1058: 170: 262: 154: 1132:"Afficher le sujet - Proposition d'un terme français pour "focus stacking" • Le Naturaliste" 1083: 1228: 899: 794: 8: 1084: 1000: 480: 377: 1232: 77: 1252: 1218: 1188: 286: 278: 166: 150: 111: 24: 304:, the depth of focus can be reconstructed to create a single image entirely in focus. 1384: 1244: 1095: 1031: 216: 146: 1256: 1236: 1005: 871: 853: 666: 510: 401: 397: 187: 162: 100: 1021: 990: 440: 335: 253:. The hole is 1.6 cm (0.63 in) wide and 6.7 cm (2.6 in) deep. 246: 1336: 1107:
features only the sharpest bits of each image. One of the best is Helicon Focus.
289:
with a numerical aperture of around 1.4 has a depth of field of approximately 1
357: 282: 235: 212: 183: 142: 138: 88:
of a single image at f/10 while the third image is the composite of six images.
85: 1240: 72: 1415: 1036: 599: 220: 718: 529: 1248: 1026: 1010: 81: 657: 250: 107: 995: 914: 341: 290: 274: 824: 1312: 459: 227: 223: 1223: 1313:"Focus stacking online - free online focus stacking application" 978:
Software creates from the sharpest areas in a stack of sections.
265:(MAHLI), which can take photos that can later be focus stacked. 618: 499: 153:
are two typical examples. Focus stacking can also be useful in
104: 137:
technique which combines multiple images taken at different
301: 682: 944:
Video example of how focus stacking is applied to images
810:
Stacked image of the inner ridge of an orchid blossom
230:), but beyond a certain point, stopping down causes 1296:"Avizo User Guide, Module "Image Stack Projection"" 1181:"MSL Science Corner: Mars Hand Lens Imager (MAHLI)" 1090:(5th ed.). McGraw-Hill Osborne Media. p.  141:distances to give a resulting image with a greater 1413: 1337:"GUI to Combine Photos to Get Deeper DOF or HDR" 285:generally have shallower depth of field; a 100× 96:Focus stacking (for extended depth of field) in 1208: 769:Stacked image of 3 × 2.5 mm electric wires 630:Unix, Linux, Windows, Mac OS 9 and Mac OS X 582:Shutter Stream Product Photography Software 234:, which counteracts the benefit of being in 198: 1402:Which cameras have built-in focus stacking? 76:Series of images demonstrating a six-image 781:Shaver head, stack of 36 frames, retouched 624:Alex Prudencio, Jesse Berent, Daniel Sage 1271:"Focus Stacking Made Easy with Photoshop" 1222: 298:scanning transmission electron microscopy 60:Learn how and when to remove this message 240: 91: 71: 1081: 307: 1414: 84:. First two images illustrate typical 828:viewed through a hole in a tree trunk 701:QuickPHOTO with Deep Focus extension 1086:How to Do Everything: Digital Camera 621:with Extended Depth of Field Plugin 18: 215:can be particularly challenging in 13: 16:Digital image processing technique 14: 1438: 1395: 481:CUVI Vision & Imaging Library 206: 971: 949: 929: 907: 892: 880: 862: 845: 833: 815: 803: 786: 774: 762: 750: 432:iOS, Android, Mac OS X, Windows 268: 23: 1383:. 3rd ed. Oxford: Focal Press. 1354: 1329: 1305: 1032:Microscopy § Deconvolution 757:Pepper mill, stack of 28 frames 551:Alexander Boltnev, Olga Kacher 193:This processing is also called 1288: 1263: 1202: 1173: 1149: 1124: 1112: 1075: 1051: 121: – also called 1: 1044: 1211:Microscopy and Microanalysis 261:mission has a device called 176: 7: 1381:Applied Photographic Optics 983: 964: 743: 232:blurring due to diffraction 10: 1443: 1185:MSL-SciCorner.JPL.NASA.gov 1016:High dynamic range imaging 917:grape, stack of 12 frames. 840:Pellet, stack of 32 frames 738: 732:Proprietary, 30-day trial 713:Proprietary, 30-day trial 677:Proprietary, 15-day trial 613:Proprietary, 30-day trial 392:Proprietary, 30-day trial 380:with Multifocus extension 249:'s first sampling hole in 197:, focal plane merging (or 1241:10.1017/S1431927610094171 922: 729:Windows, Mac OS X, Linux 674:Windows, Mac OS X, Linux 415:Windows, Mac OS X, Linux 404:'Image Stack Projection' 1039:for stacking astrophotos 902:male, stack of 36 frames 887:Skull, stack of 6 frames 313:Focus stacking software 135:digital image processing 1427:Photographic techniques 1317:FocusStackingOnline.com 259:Mars Science Laboratory 133: – is a 103:. This example is of a 32:Some of this article's 1082:Johnson, Dave (2008). 568:Focus Stacking Online 565:Focus Stacking Online 254: 199: 115: 89: 822:Stacked image of two 263:Mars Hand Lens Imager 245:Stacked image of the 244: 155:landscape photography 95: 75: 875:, stack of 20 frames 857:, stack of 10 frames 798:, stack of 15 frames 795:Macrolepiota procera 308:Software/application 302:through-focal series 1379:Ray, Sidney. 2002. 1362:"ImageFocusCombine" 1233:2011MiMic..17...75H 1001:Epsilon photography 900:Sympetrum flaveolum 488:Desktop / Embedded 314: 279:numerical apertures 211:Getting sufficient 167:light-field cameras 123:focal plane merging 1343:. 27 November 2016 687:Heribert Cypionka 610:Windows, Mac OS X 591:Windows, Mac OS X 369:Windows, Mac OS X 349:Windows, Mac OS X 312: 296:Atomic resolution 255: 151:optical microscopy 116: 112:diatomaceous earth 90: 1136:Lenaturaliste.net 1101:978-0-07-149580-6 957: 939: 736: 735: 662:ImageFocusCombine 513:development team 509:Andrew Mihal and 504:align_image_stack 445:John Paul Chacha 429:Desktop / Mobile 324:Application type 217:macro photography 147:macro photography 70: 69: 62: 1434: 1422:Image processing 1372: 1371: 1369: 1368: 1358: 1352: 1351: 1349: 1348: 1333: 1327: 1326: 1324: 1323: 1309: 1303: 1302: 1300: 1292: 1286: 1285: 1283: 1282: 1267: 1261: 1260: 1226: 1206: 1200: 1199: 1197: 1196: 1187:. Archived from 1177: 1171: 1170: 1168: 1167: 1153: 1147: 1146: 1144: 1143: 1128: 1122: 1116: 1110: 1109: 1089: 1079: 1073: 1072: 1070: 1069: 1055: 1006:Focus bracketing 975: 959: 958: 941: 940: 911: 896: 884: 872:Litchi chinensis 866: 854:Alluaudia comosa 849: 837: 819: 807: 790: 778: 766: 754: 723:Rik Littlefield 667:Wolfram Research 663: 571:Web application 505: 315: 311: 283:objective lenses 226:(using a larger 202: 188:Fourier analysis 163:wavefront coding 101:light microscopy 65: 58: 54: 51: 45: 27: 19: 1442: 1441: 1437: 1436: 1435: 1433: 1432: 1431: 1412: 1411: 1404:by Jeff Meyer, 1398: 1376: 1375: 1366: 1364: 1360: 1359: 1355: 1346: 1344: 1341:SourceForge.net 1335: 1334: 1330: 1321: 1319: 1311: 1310: 1306: 1298: 1294: 1293: 1289: 1280: 1278: 1269: 1268: 1264: 1207: 1203: 1194: 1192: 1179: 1178: 1174: 1165: 1163: 1155: 1154: 1150: 1141: 1139: 1130: 1129: 1125: 1117: 1113: 1102: 1080: 1076: 1067: 1065: 1057: 1056: 1052: 1047: 1042: 1022:Image stitching 991:Brenizer Method 986: 979: 976: 967: 960: 950: 945: 942: 930: 925: 918: 912: 903: 897: 888: 885: 876: 867: 858: 850: 841: 838: 829: 820: 811: 808: 799: 791: 782: 779: 770: 767: 758: 755: 746: 741: 661: 503: 502:(combined with 491:Windows, Linux 441:Chasys Draw IES 336:Adobe Photoshop 321:Primary author 310: 271: 247:Curiosity Rover 209: 179: 66: 55: 49: 46: 43: 28: 17: 12: 11: 5: 1440: 1430: 1429: 1424: 1410: 1409: 1397: 1396:External links 1394: 1393: 1392: 1374: 1373: 1353: 1328: 1304: 1287: 1262: 1201: 1172: 1148: 1123: 1111: 1100: 1074: 1049: 1048: 1046: 1043: 1041: 1040: 1034: 1029: 1024: 1019: 1013: 1008: 1003: 998: 993: 987: 985: 982: 981: 980: 977: 970: 966: 963: 962: 961: 948: 946: 943: 928: 924: 921: 920: 919: 913: 906: 904: 898: 891: 889: 886: 879: 877: 868: 861: 859: 851: 844: 842: 839: 832: 830: 821: 814: 812: 809: 802: 800: 792: 785: 783: 780: 773: 771: 768: 761: 759: 756: 749: 745: 742: 740: 737: 734: 733: 730: 727: 724: 721: 719:Zerene Stacker 715: 714: 711: 708: 705: 702: 698: 697: 694: 691: 688: 685: 679: 678: 675: 672: 671:Desktop / Web 669: 664: 654: 653: 648: 645: 642: 639: 635: 634: 633:Public domain 631: 628: 625: 622: 615: 614: 611: 608: 605: 602: 596: 595: 592: 589: 586: 583: 579: 578: 575: 572: 569: 566: 562: 561: 558: 555: 552: 549: 548:Focus Stacker 545: 544: 541: 538: 535: 532: 526: 525: 520: 519:Multiplatform 517: 514: 507: 496: 495: 492: 489: 486: 483: 477: 476: 471: 468: 465: 462: 456: 455: 452: 449: 446: 443: 437: 436: 433: 430: 427: 424: 420: 419: 416: 413: 410: 405: 394: 393: 390: 387: 384: 381: 374: 373: 370: 367: 364: 361: 360:'Focus Merge' 358:Affinity Photo 354: 353: 350: 347: 344: 339: 338:CS4, CS5, CS6 332: 331: 328: 325: 322: 319: 309: 306: 287:objective lens 270: 267: 213:depth of field 208: 207:In photography 205: 184:edge detection 178: 175: 143:depth of field 131:focus blending 119:Focus stacking 68: 67: 34:listed sources 31: 29: 22: 15: 9: 6: 4: 3: 2: 1439: 1428: 1425: 1423: 1420: 1419: 1417: 1407: 1406:Camera Jabber 1403: 1400: 1399: 1390: 1389:0-240-51540-4 1386: 1382: 1378: 1377: 1363: 1357: 1342: 1338: 1332: 1318: 1314: 1308: 1301:. 2018-03-30. 1297: 1291: 1276: 1272: 1266: 1258: 1254: 1250: 1246: 1242: 1238: 1234: 1230: 1225: 1220: 1216: 1212: 1205: 1191:on 2009-03-20 1190: 1186: 1182: 1176: 1162: 1158: 1152: 1137: 1133: 1127: 1121: 1115: 1108: 1103: 1097: 1093: 1088: 1087: 1078: 1064: 1060: 1054: 1050: 1038: 1037:Shift-and-add 1035: 1033: 1030: 1028: 1025: 1023: 1020: 1017: 1014: 1012: 1009: 1007: 1004: 1002: 999: 997: 994: 992: 989: 988: 974: 969: 968: 947: 927: 926: 916: 910: 905: 901: 895: 890: 883: 878: 874: 873: 865: 860: 856: 855: 848: 843: 836: 831: 827: 826: 818: 813: 806: 801: 797: 796: 789: 784: 777: 772: 765: 760: 753: 748: 747: 731: 728: 725: 722: 720: 717: 716: 712: 709: 706: 703: 700: 699: 695: 692: 689: 686: 684: 681: 680: 676: 673: 670: 668: 665: 659: 656: 655: 652: 649: 646: 643: 641:Dariusz Duma 640: 637: 636: 632: 629: 626: 623: 620: 617: 616: 612: 609: 606: 604:Danylo Kozub 603: 601: 600:Helicon Focus 598: 597: 593: 590: 587: 584: 581: 580: 576: 573: 570: 567: 564: 563: 559: 556: 553: 550: 547: 546: 542: 539: 536: 533: 531: 528: 527: 524: 521: 518: 515: 512: 508: 501: 498: 497: 493: 490: 487: 484: 482: 479: 478: 475: 472: 469: 466: 463: 461: 458: 457: 453: 450: 447: 444: 442: 439: 438: 434: 431: 428: 425: 422: 421: 417: 414: 411: 409: 408:Thermo Fisher 406: 403: 399: 396: 395: 391: 388: 385: 382: 379: 376: 375: 371: 368: 365: 362: 359: 356: 355: 351: 348: 345: 343: 340: 337: 334: 333: 329: 326: 323: 320: 317: 316: 305: 303: 299: 294: 292: 288: 284: 280: 276: 269:In microscopy 266: 264: 260: 252: 248: 243: 239: 237: 233: 229: 225: 222: 221:stopping down 218: 214: 204: 201: 196: 191: 189: 185: 174: 172: 168: 164: 158: 156: 152: 148: 144: 140: 136: 132: 128: 124: 120: 113: 109: 106: 102: 99: 94: 87: 83: 79: 78:focus bracket 74: 64: 61: 53: 41: 40: 35: 30: 26: 21: 20: 1405: 1380: 1365:. Retrieved 1356: 1345:. Retrieved 1340: 1331: 1320:. Retrieved 1316: 1307: 1290: 1279:. Retrieved 1277:. 2013-03-14 1275:Envato Tuts+ 1274: 1265: 1217:(1): 75–80. 1214: 1210: 1204: 1193:. Retrieved 1189:the original 1184: 1175: 1164:. Retrieved 1160: 1151: 1140:. Retrieved 1135: 1126: 1114: 1105: 1085: 1077: 1066:. Retrieved 1062: 1053: 1027:Image fusion 1011:Frazier lens 870: 852: 823: 793: 638:MacroFusion 594:Proprietary 577:Proprietary 560:Proprietary 543:Proprietary 534:DelphiTools 506:or similar) 494:Proprietary 464:Alan Hadley 454:Proprietary 435:Proprietary 418:Proprietary 372:Proprietary 352:Proprietary 295: 272: 256: 210: 203:in French). 200:zedification 194: 192: 180: 159: 130: 126: 122: 118: 117: 98:bright field 82:Tachinid fly 56: 47: 36: 1138:(in French) 658:Mathematica 530:FocusFusion 251:Mount Sharp 108:microfossil 37:may not be 1416:Categories 1408:Nov. 2019. 1367:2021-09-11 1347:2017-10-19 1322:2020-08-02 1281:2023-04-17 1195:2012-10-05 1166:2012-10-05 1142:2012-10-05 1118:Ray 2002, 1068:2012-12-10 1045:References 996:Deep focus 915:Pinot Gris 426:CamRanger 423:CamRanger 275:microscopy 195:z-stacking 127:z-stacking 1224:1010.4500 825:Arecaceae 704:Promicra 696:Freeware 585:Iconasys 557:Mac OS X 485:TunaCode 327:Platform 177:Technique 50:June 2019 1257:17082879 1249:21122192 1161:Msss.com 1063:Msss.com 984:See also 965:Diagrams 869:Mold on 744:Pictures 726:Desktop 710:Windows 707:Desktop 693:Windows 690:Desktop 644:Desktop 627:Desktop 607:Desktop 588:Desktop 554:Desktop 540:Windows 537:Desktop 516:Desktop 470:Windows 467:Desktop 460:CombineZ 451:Windows 448:Desktop 412:Desktop 389:Windows 386:Desktop 378:Aphelion 366:Desktop 346:Desktop 330:License 228:f-number 224:aperture 39:reliable 1229:Bibcode 1120:231–232 739:Gallery 683:Picolay 277:, high 1387:  1255:  1247:  1098:  923:Videos 647:Linux 619:ImageJ 500:Enfuse 383:ADCIS 363:Serif 105:diatom 1299:(PDF) 1253:S2CID 1219:arXiv 1018:(HDR) 511:hugin 402:Avizo 398:Amira 342:Adobe 318:Name 236:focus 139:focus 129:, or 80:of a 1385:ISBN 1245:PMID 1096:ISBN 660:via 574:All 257:The 171:tilt 169:and 149:and 1237:doi 1092:336 651:GPL 523:GPL 474:GPL 273:In 186:or 110:in 86:DOF 1418:: 1339:. 1315:. 1273:. 1251:. 1243:. 1235:. 1227:. 1215:17 1213:. 1183:. 1159:. 1134:. 1104:. 1094:. 1061:. 400:/ 291:μm 173:. 165:, 157:. 125:, 1391:. 1370:. 1350:. 1325:. 1284:. 1259:. 1239:: 1231:: 1221:: 1198:. 1169:. 1145:. 1071:. 63:) 57:( 52:) 48:( 42:.

Index


listed sources
reliable
Learn how and when to remove this message

focus bracket
Tachinid fly
DOF

bright field
light microscopy
diatom
microfossil
diatomaceous earth
digital image processing
focus
depth of field
macro photography
optical microscopy
landscape photography
wavefront coding
light-field cameras
tilt
edge detection
Fourier analysis
depth of field
macro photography
stopping down
aperture
f-number

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.