Forum > Other
Image processing
MarkMLl:
I took a photo today and noticed that the camera I was using (an Olympus E520) had a stuck pixel.
Leaving (please!) language chauvinism aside, is anybody aware of a simple program that can fix such things (e.g. by averaging the surrounding pixels), or is it worth writing and publishing something from scratch?
MarkMLl
cdbc:
Hi
I would think, that is a job for "ze gimp"...? I seem to remember having read somewhere, it's got tools for this type of thingy, but boy is that an advanced piece of kit, I wouldn't know where to start looking...
...How about 'LazPaint', it can also do all sorts of clever stuff, @circular would know that.
Regards Benny
MarkMLl:
--- Quote from: cdbc on February 11, 2025, 11:02:59 pm ---Hi
I would think, that is a job for "ze gimp"...? I seem to remember having read somewhere, it's got tools for this type of thingy, but boy is that an advanced piece of kit, I wouldn't know where to start looking...
...How about 'LazPaint', it can also do all sorts of clever stuff, @circular would know that.
Regards Benny
--- End quote ---
Gimp's got tools for just about everything, but you can't- using one particular idiom- say from the commandline "this file's got a one-pixel error at xx,yy, fix it by averaging from its neighbours".
Lazpaint... well, I played with it last Summer and was just about able to produce some basic bitmaps.
In any case, I think the important thing is to be able to batch-fix images, i.e. since the position of the dud pixel is known without needing any interaction.
MarkMLl
VisualLab:
--- Quote from: MarkMLl on February 11, 2025, 11:25:12 pm ---In any case, I think the important thing is to be able to batch-fix images, i.e. since the position of the dud pixel is known without needing any interaction.
--- End quote ---
If so, there are two options to choose from:
* writing a script in some language, I'm not saying which one on purpose because it's disgusting and besides, I don't like snakes because they're deceptive and malicious - ask Eve, she'll confirm that it's true :)
* writing your own simple program, preferably in Lazarus :)
TRon:
If the image is raw then you could perhaps give it a try with dcraw.
Navigation
[0] Message Index
[#] Next page