Skip to content

Commit

Permalink
update240609
Browse files Browse the repository at this point in the history
  • Loading branch information
mizutanilab committed Jun 9, 2024
1 parent 903f9a2 commit 2d16798
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
Binary file modified source/gazo.aps
Binary file not shown.
2 changes: 1 addition & 1 deletion source/gazo.rc
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ BEGIN
ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20
DEFPUSHBUTTON "OK",IDOK,164,7,36,14,WS_GROUP
LTEXT "CGazoApp::CGazoApp() sProgVersion",IDC_ABOUT_VER,42,11,115,16,SS_NOPREFIX | WS_TABSTOP
LTEXT "Copyright (C) 2008-2023 Ryuta Mizutani.\r\nAll rights reserved.",IDC_STATIC,46,31,154,17
LTEXT "Copyright (C) 2008-2024 Ryuta Mizutani.\r\nAll rights reserved.",IDC_STATIC,46,31,154,17
LTEXT "https://mizutanilab.github.io/",IDC_STATIC,54,49,139,15
LTEXT "File->Open one of *.his, *.img, or *.h5 files.\r\nGo 'Tomography->Reconstruction' menu.\r\n Click 'Show image' to calcurate tomograms.\r\n Examine tomograms at top and bottom of the sample.\r\n Refine parameters as you like.\r\n Then issue or queue execution.",IDC_STATIC,17,67,179,60
LTEXT "Again File->Open one of rec*.tif files.\r\nGo 'Tomography->Histogram/conversion' menu.\r\n Click 'Select Image'\r\n to select files to convert.\r\n Move green and red lines in the histogram\r\n to define output LAC levels.\r\n Issue or queue execution.",IDC_STATIC,17,119,183,61
Expand Down
6 changes: 4 additions & 2 deletions source/gazoDoc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2568,12 +2568,14 @@ int CGazoDoc::CountFrameFromConvBat(CString sDataPath) {
stdioConv.Close();
//201125 iFramePerDataset = (nframe > 0) ? nframe : -1;
iFramePerDataset = (maxframeno > 0) ? maxframeno : -1;
//CString msg; msg.Format("240605 iFramePerDataset %d", iFramePerDataset); AfxMessageBox(msg);
}
//141229 Get number of dataset
if ((maxHisFrame >= 0)&&(iFramePerDataset != 0)&&(iFramePerDataset - nDarkFrame != 0)&&(dlgReconst.m_nDataset <= 1)) {
//201125if (maxHisFrame % iFramePerDataset == 0) {
if ((maxHisFrame % iFramePerDataset) < ((maxHisFrame - nDarkFrame) % (iFramePerDataset - nDarkFrame))) {
dlgReconst.m_nDataset = maxHisFrame / iFramePerDataset;
//240605if ((maxHisFrame % iFramePerDataset) < ((maxHisFrame - nDarkFrame) % (iFramePerDataset - nDarkFrame))) {
if ((maxHisFrame % iFramePerDataset) <= ((maxHisFrame - nDarkFrame) % (iFramePerDataset - nDarkFrame))) {
dlgReconst.m_nDataset = maxHisFrame / iFramePerDataset;
iFramePerDataset = maxHisFrame / dlgReconst.m_nDataset;//201125
nDarkFrame = 0;
//201125 } else if ((maxHisFrame - nDarkFrame) % (iFramePerDataset - nDarkFrame) == 0) {
Expand Down
4 changes: 2 additions & 2 deletions source/projx64.lst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Microsoft (R) Macro Assembler (x64) Version 14.16.27025.1 06/13/23 16:55:16
Microsoft (R) Macro Assembler (x64) Version 14.16.27025.1 06/04/24 13:09:45
projx64.asm Page 1 - 1


Expand Down Expand Up @@ -406,7 +406,7 @@ projx64.asm Page 1 - 1
00000312 projx64 ENDP

end
Microsoft (R) Macro Assembler (x64) Version 14.16.27025.1 06/13/23 16:55:16
Microsoft (R) Macro Assembler (x64) Version 14.16.27025.1 06/04/24 13:09:45
projx64.asm Symbols 2 - 1


Expand Down

0 comments on commit 2d16798

Please sign in to comment.