Hi Stan, first time using/testing the HDR function, for some reason unable to make the Enfuse v4.2 batch file work.
When running the batch file named HDR.bat contents as below:-
SET Input_PATCH1=C:\High
SET Input_PATCH2=C:\Low
SET OUTPUT_PATCH=C:\Out
SET start=1 SET end=1000
FOR /L %%i IN (%start%,1,%end%) DO (CALL :loopbody %%i)
GOTO :eof
:loopbody
enfuse.exe --soft-mask --exposure-weight=1.0 --saturation-weight=0.2 --contrast-weight=0.0 --entropy-weight=0.0 --exposure-optimum=0.4 --exposure-width=0.2 -v -o "%OUTPUT_PATCH%\%1.tiff" "%Input_PATCH1%\%1.tiff" "%Input_PATCH2%\%1.tiff" GOTO :eof
I notice that in C:\High and C:\Low the file names are exactly the same, 1.tiff 2.tiff etc. (I thought at one time they were supposed to be odd and even numbers). I Have the batch file in the same folder as the exe and dll files.
In command only the following occurs with nothing in the Out folder:-
C:\>cd C:\1_Reference Info Files\Wolverine - Hawkeye\1_Enfuse v4.2\bin
C:\1_Reference Info Files\Wolverine - Hawkeye\1_Enfuse v4.2\bin>HDR.bat
C:\1_Reference Info Files\Wolverine - Hawkeye\1_Enfuse v4.2\bin>SET Input_PATCH1=C:\High
C:\1_Reference Info Files\Wolverine - Hawkeye\1_Enfuse v4.2\bin>SET Input_PATCH2=C:\Low
C:\1_Reference Info Files\Wolverine - Hawkeye\1_Enfuse v4.2\bin>SET OUTPUT_PATCH=C:\Out
C:\1_Reference Info Files\Wolverine - Hawkeye\1_Enfuse v4.2\bin>SET start=1 SET end=1000
C:\1_Reference Info Files\Wolverine - Hawkeye\1_Enfuse v4.2\bin>FOR /L %i IN (1 SET end 1000 1) DO (CALL :loopbody %i )
C:\1_Reference Info Files\Wolverine - Hawkeye\1_Enfuse v4.2\bin>GOTO :eof
C:\1_Reference Info Files\Wolverine - Hawkeye\1_Enfuse v4.2\bin>
Thanks Stan
When running the batch file named HDR.bat contents as below:-
SET Input_PATCH1=C:\High
SET Input_PATCH2=C:\Low
SET OUTPUT_PATCH=C:\Out
SET start=1 SET end=1000
FOR /L %%i IN (%start%,1,%end%) DO (CALL :loopbody %%i)
GOTO :eof
:loopbody
enfuse.exe --soft-mask --exposure-weight=1.0 --saturation-weight=0.2 --contrast-weight=0.0 --entropy-weight=0.0 --exposure-optimum=0.4 --exposure-width=0.2 -v -o "%OUTPUT_PATCH%\%1.tiff" "%Input_PATCH1%\%1.tiff" "%Input_PATCH2%\%1.tiff" GOTO :eof
I notice that in C:\High and C:\Low the file names are exactly the same, 1.tiff 2.tiff etc. (I thought at one time they were supposed to be odd and even numbers). I Have the batch file in the same folder as the exe and dll files.
In command only the following occurs with nothing in the Out folder:-
C:\>cd C:\1_Reference Info Files\Wolverine - Hawkeye\1_Enfuse v4.2\bin
C:\1_Reference Info Files\Wolverine - Hawkeye\1_Enfuse v4.2\bin>HDR.bat
C:\1_Reference Info Files\Wolverine - Hawkeye\1_Enfuse v4.2\bin>SET Input_PATCH1=C:\High
C:\1_Reference Info Files\Wolverine - Hawkeye\1_Enfuse v4.2\bin>SET Input_PATCH2=C:\Low
C:\1_Reference Info Files\Wolverine - Hawkeye\1_Enfuse v4.2\bin>SET OUTPUT_PATCH=C:\Out
C:\1_Reference Info Files\Wolverine - Hawkeye\1_Enfuse v4.2\bin>SET start=1 SET end=1000
C:\1_Reference Info Files\Wolverine - Hawkeye\1_Enfuse v4.2\bin>FOR /L %i IN (1 SET end 1000 1) DO (CALL :loopbody %i )
C:\1_Reference Info Files\Wolverine - Hawkeye\1_Enfuse v4.2\bin>GOTO :eof
C:\1_Reference Info Files\Wolverine - Hawkeye\1_Enfuse v4.2\bin>
Thanks Stan
Comment