IMPORTANT! Long time exposures without purpe corner!

Started Oct 19, 2005 | Discussions thread
DigitalWright New Member • Posts: 8
Re: IMPORTANT! Long time exposures without purpe corner!

For anyone with access to Matlab, the following code will remove noise on a jpeg:
----------------------------------------------------

original = imread('original.JPG', 'JPG');
noise = imread('noise.JPG', 'JPG');
imwrite(original-noise, 'edited.JPG', 'jpeg', 'Quality', 100);

-- hide signature --

where:
original.JPG is the file name of the original (noisy) file.

noise.JPG is the filename of the noisy 'dark frame' of the same time as the original.
edited.JPG is the filename of the output file.

Sorry this doesn't work on RAW files, but it is possible to convert RAW images to TIFF and replace JPG with TIFF in the code.

Post (hide subjects) Posted by
Keyboard shortcuts:
FForum PPrevious NNext WNext unread UUpvote SSubscribe RReply QQuote BBookmark MMy threads
Color scheme? Blue / Yellow