Public Lab Research note


Modifying a Mobius ActionCam for Near IR Photos

by carllipo | | 14,111 views | 5 comments |

Read more: publiclab.org/n/9293


I have been working on modifying cameras to allow us to be able to take remote photos using our various platforms (quadcopters, fixed wing, etc) in the near-infrared. Doing so gives us an ability to generate NDVI images and study differences in vegetation health (and thus potentially archaeological features ala crop marks, etc.). The criteria we've had is that the cameras have to be (1) light and ideally (2) cheap. We know we can do this for Canon cameras and get good results. What is required is taking the camera apart and removing the IR filter that is ordinarily placed in front of the CMOS or CCD sensor. Some cameras are easier than others to modify in this way. I have done this for a Canon A380 and for a couple of GoPro Hero (Naked and 2). We also sent one of our Ricoh GR III cameras to a commercial service to have this done (this cost a couple of hundred bucks).

With these point-and-shoot cameras there are some drawbacks. First, they are mechanical and have parts in them that are easy to mess up once you take the cameras apart. Ive screwed up one or two of our cheaper Canon's this way -- once some spring get sprung they can be nearly impossible to reassemble. Second, they are heavier than they need to be. With remote sensing we are basically focusing on infinity and we want a relatively wide angle view. As a result, we don't need all the focusing mechanics or any optical zooming and what not. This just complicates the entire camera and weighs it down. Third, they somewhat expensive. Once you start opening up cameras and yanking out parts, it is preferable to have the cameras cost well under $100 each.

Iam Bouret, one of our fantastic collaborators on our NSF REU program. suggested that we look into the Mobius ActionCam as a possible candidate for our NIR camera. This camera costs about $70 has a 5MP sensor, is configurable via open firmware and software, is solid-state and easy to take apart. You can read all about the camera here. A windows-based GUI allows the camera to be customized). Using this interface one can set the resolution of the images, the default modes, and the intervalometer.

Taking the camera apart was very easy. If you follow the guide on the website you can follow along. Basically there are a couple of screws holding the case together and the lens is removable by detaching a ribbon cable from the main board. Once you do that you can open the back of the lens and remove the IR filter (its immediately above the CMOS sensor). Then the entire thing goes back together again in the opposite order. There are thankfully no springs or mechanical bits to make the job messy - it really is about a 10 minute job.

Once you remove the IR filter you have a camera that records images that include a portion of the near-infrared spectrum. This is great but what you are doing is simply allowing more light in the camera. The results are still split into the RGB bands - there are just additional wavelengths present (this is why the IR filter is used - to just show the visible spectrum). To isolate the NIR you need add a filter so that you get the near IR to use one of the bands. In black and white film photography this is usually done with a yellow filter that cuts out the bus and thus shifts the spectrum up in wavelength so that you get nearIR (N), red (R ) and green (G). An alternative that seems to be preferable for digital images is to use a blue filter to eliminate the red. What you get then is a file that records just the NGB (the red is removed). Ideally one would take simultaneous shots with a regular color camera to provide 4-band images (NRGB) but that requires 2 cameras and a way of registering the two sets of images.

Jeffrey Warren sent me a piece of their "infrablue" filter to use with the NIR modified camera. This filter seems to be well suited for removing the red while allowing the near IR band to be collected by the CMOS sensor. Here is a sample NIR image (compare to the RGB).

Finally, I ran the NIR image through the Infragram sandbox to generate an NDVI. The results look pretty solid, but I'll have to check how the spectra to see if we are getting good separation of the bands. Apparently the Infragram folks have found that some of the cheap-o CMOS based camera sensors are set up in a way in which there is a lot of blue leaking into the NIR band. Obviously this will screw the image up for analytic purposes. From what I understand this is caused in some cases by the fact that a Bayer RGB filter is not always used to separate the light into 3 bands. So there is a need to search for a cheap camera that still has good properties in terms of splitting the bands.

Given these results, though, it appears that the Mobius Action cam might do the trick.

IMAG0015.jpg

IMAG0015-color.jpg

index.png


5 Comments

Thanks for the instructions, after reading this i punchraised a mobius from ebay, hopefully not a fake ^^

English is not my mothers tongue, so i have a question:

After removing the IR filter inside, can i take "normal" pics too? or is it unuseable for daylight?

the last 3 pics from you, what is the original, which are processed with computer?

I want a mobius wich acts as a normal cam for daylight, as an infrared cam for IR-Pics in daylight and also want to put an external ir board plate (with about 35 IR LEDS on it, the things on the CCTV cams) on it when i want night vision...

is removing the internal filter all i have to do?

Thank you very much,

and thanks again for the instructions you wrote!!

zorn!

Is this a question? Click here to post it to the Questions page.

Reply to this comment...


Wrote a comment, but it does not show up. damn. once again!

Thanks a lot for the instructions!

My question is: if i remove the internal filter, can i also take normal pics with the cam AND IR pictures? Did i understood it right, if i remove the internal IR filter, it takes "normal" pics, and then i run them trough a software and then i get my IR-Pic (the white leafes for example) ?

English is not my mothers tongue, so please help me! ;)

Thanks a lot!

Is this a question? Click here to post it to the Questions page.

Reply to this comment...


With the new Infragram.org, Mathew Lippincott and I did a new attempt at using these images and exploring the Mobius as a potential Infragram-moddable camera. I posted the results here:

http://publiclab.org/notes/cfastie/09-06-2013/mobius-stripped#c8544

Check them out!

Reply to this comment...


Zorn,
If you remove the IR block filter, the camera will take very strange photos because all three color channels (RGB) will have lots of NIR light in them. The colors will be very strange, and plant leaves will look bright. If you replace the IR block filter with a visible light block filter, the camera will take pure NIR photos. These have very bright leaves and can be sharp night vision photos under IR illumination. If you replace the IR block filter with an Infragram filter, you will maybe get photos that can be used for plant health information. See the note J. Warren mentioned above. Let us know what you find. Chris

Reply to this comment...


Ah, thanks for the answers! Makes it much clearer now....

As i told before, i want to have the possibility to tae normal Pics and pure NIR....

I haven't recieve my cam, guess it will take some days or even weeks, so i can only guess what is doable and whats not.

My ideas for a system, where i can switch between "normal mode" and "NIR mode" would be following:

Remove the IR block filter, and build the cam together again. Then make 2 Filter discs (1 IR Block and 1 visible light block), wich i can attach in front of my lens as needed. I thought about a magnetic system for the two filter discs (like the fish eye lenses for mobile phones, im sure you know them.)

The other idea would be to change the original lens every time with an modded CCTV lens (IR sensitive and VIS blocking), but i dont know how easy and fast this is done and if its that good for the whole cam.... thinking about dirt and dust wich can get inside...

Is the lens changed easy?

So what do you think about it?

thx a lot!

Is this a question? Click here to post it to the Questions page.

Reply to this comment...


Login to comment.

Public Lab is open for anyone and will always be free. By signing up you'll join a diverse group of community researchers and tap into a lot of grassroots expertise.

Sign up