PixelMath without PixInsight - for free!
The PixelMath tool in PixInsight is amazing and can do crazy things, like ForaxX's excellent narrowband combination method - but yes, it does require PixInsight. Or does it? Let's do some PixelMath, with just free software!
ForaXx's NB combination: thecoldestnigh...
ImageMagick: imagemagick.org/
Formula for NB combination:
magick OIII.tif Ha.tif SII.tif -fx "(u^(1-u))*u[2] + (1-(u^(1-u)))*v" R.tif
magick OIII.tif Ha.tif -fx "(u*v)^(1-u*v)*v + (1-((u*v)^(1-u*v)))*u" G.tif
If you wish to support me and plan on buying astro equipment, please consider buy through OPT using this affiliate link! bit.ly/2OIw6jH
And for anything else (really anything you want to buy from Amazon, do it after clicking on one of the below links)!
Pentax K-1 II Full Frame DSLR: amzn.to/3ifr8Y9
Pentax KP DSLR: amzn.to/33ZYdSJ
Pentax GPS Module: amzn.to/369LcIQ
Follow me!
My Instagram: / cuivlazygeek
My Facebook page: / cuivlazygeek
#astrophotography
Пікірлер: 67
Sorry for spamming your comments, but I just wanted you and your viewers to know about Siril version 1.0.0, which is Free AND includes pixel math now!
@CuivTheLazyGeek
2 жыл бұрын
Thanks Martin!!
Cuiv uploaded a video to the Community tab earlier today saying he is recovering from COVID-19 right now. Hope you feel much better soon, Cuiv!
@javiercuellolopez5610
3 жыл бұрын
Cuiv. How are you??. We’re awaiting for you crack. Come back!. Get well soon 👍
Hello Cuiv, Four weeks without news, hope all is well with you. It will be with pleasure to see you again on your youtube channel Jean Pierre
Missing your wonderful videos. Hope everything is well with you. Here in Brazil also facing the rainy season ... no clear skies. All the best.
Hey, man, everything OK? We are worried about you. Please reply!
@FrootyRecords
3 жыл бұрын
I messaged him on FaceBook as well , no reply there either. Hope he's ok. Not like him to not upload a video for over a month.
We miss you, sure hope your doing ok.
@spookydonkey2195
3 жыл бұрын
Seriously!
Hey - we miss you. :)
As we have not heard anything from you for past ~3-4 weeks I hope that everything is OK. I miss your daily videos but as long as you're OK then take your time but would like to hear from you just to make sure that you are well.
Where you at man? Miss your daily dose of laziness :-)
Good to see you again! Nice haircut!
Everything ok Cuiv ? No vids for a few weeks ! At least you passed the 5K subscriber mark now.
@AnttiVesanen
3 жыл бұрын
Cuiv commented in the community section that the weather is so bad he'll upload bit less for next few weeks. I'm happy he knows how to take bit time off when the stars don't align :D
@nikivan
3 жыл бұрын
@@AnttiVesanen Where is this community section?
@AnttiVesanen
3 жыл бұрын
@@nikivan It's one tab under the main channel.
Very cool, will definitely give this a shot. I love the idea of having image processing tools that are separate from any specific editing software!
Cuiv! Where are you? Is all OK over there? We miss your videos!!! We need our weekly ration of laziness!!!!
Come on, that's a French name, you have no excuse for butchering it :-) Glad you like the idea enough to give it a try and advertise it on your channel. A few additional comments that might be useful. First, ImageMagics is really slow and I suggested it only because it is the better known version. However, GraphicsMagick - which is a diverging fork - is a much faster version that parallelizes most operations and should better handle 32 bits. The combination of the grayscale images into an RGB image can be done on the command line as well: "convert R.tif G.tif B.tif -combine -set colorspace sRGB RGB.tif". Much more important: using the command line enables creating a script to generate all the possible combinations of interest without having to click and type through a GUI. That is important because the formula that you are using isn't necessarily what you want for all situations. Typically, a creative approach to assigning colour to specific filters would be with statements in the line of: "I want Sii to be plain green when both Oiii an Ha are strong but plain yellow otherwise". This statement can easily be implemented using the right linear combination of PIP(Oiii*Ha)*Sii and ~PIP(Oiii*Ha)*Sii in the Red and Green channels. However, in most cases you can't predict if PIP(Oiii*Ha) will maximise the detail that you want to highlight. That's where being able to effortlessly generate all possible PIP combinations - PIP(Oiii), PIP(Ha), PIP(Oiii*Ha), PIP(Oiii,Sii), etc. - enables you to easily pick and choose which combination works best for the desired effect.
@ForaxX
3 жыл бұрын
Very interesting read! Might add that PIP isn't always the best choice (to be fair, it never is) - it is only an arbitrary transformation after all. IMO applying a custom transformation using CurvesTransformation is the best way to get what you want.
@KopLamp
3 жыл бұрын
This comment is magick! I am going to experiment with this!
Oh no! I wondered what was up! Get well soon ! All the best !
Bonjour Cuiv, Quatre semaines sans nouvelles, j'espère que tout va bien pour toi. ce sera avec plaisir de te revoir sur ta chaine youtube Jean-Pierre
I love imagemagic, it saved me so much work butchering photos when I was a web developer, I'd not even considered it for Astro Image processing
Yet another really informative video Cuiv!! Now using this method extensively. Cheers !!
Hope everything is okay, Quiv?
Imagemagick is a VERY powerful tool for batch processing of images. I was introduced to it in early Linux distros. I also see a big difference in your production quality on these videos- Same content but you seem to be transitioning from mad scientist -> talk show host. Don't worry! A good talk show host. :-) What's on your winter target list this year?
Hello Cuiv , long time not see you :( .Everything Ok ? Regards
Great Video Cuiv! Image magic is new choice
I have written a number of image processing programs in Python. There are popular and highly developed libraries that will do everything you need. For example, I wrote a simple program for background extraction that allows me to sample an arbitrary number of points in the image and interpolate a full background gradient. Not for everyone, but knowing Python is a good skill to have and the learning curve is not brutal.
@CuivTheLazyGeek
3 жыл бұрын
Agreed - Python is pretty awesome. Still... it's not for everyone!
This make newbie like me learn alot. 👍 Thanks Cuiv. In other hands, if talking opensource astroberry is good for video as well. I just installed it, but not familiar how setup amd driver. Looks can do similar as ASIAIR. Look forward your next clip.
Great solution for those of us without PI and want to try this combination technique . Nice! Its a real shame there are so many 'in-video' adds on your videos now. They are so annoying and it breaks the flow of what you're trying to do, I guess that's a new KZread thing right?
Where did you go 😥
Nice vid young Van Gogh🤗
@KopLamp
3 жыл бұрын
I was about to mention something along those lines too. So Cuiv, don’t go cutting of ears will ya!? 😉 As I am Dutch I thought I could get away with such joke.
@CuivTheLazyGeek
3 жыл бұрын
Many people seem to think that as well :D I'll leave my ears alone don't worry!
Great info Cuiv, and I hope someone will write a front end in GUI to make it easier to use.
@MacGyverGTP
3 жыл бұрын
Was thinking the exact same thing! The right guy/gal needs to see Cuiv's video and it's going to be done.
So maybe I'm missing something....did you use LRGB filters to get your 4 images? I heard you mention L-Extreme so if you used that, did you split the OSC image into LRGB components?
@CuivTheLazyGeek
3 жыл бұрын
OSC + L-Extreme -> LRGB components
Pfieuw, that license from Pixinsight seems like a bargain now 🤯😬
Hi Cuiv, another great video. I have a request. Can you do a video on what offset and gain you use for your zwo ASI1600MM and how you came to that conclusion and the same with your zwo osc camera? Thanks
@CuivTheLazyGeek
3 жыл бұрын
I kind of did here! kzread.info/dash/bejne/hY2Fk8ttm5mYlaw.html
@petetube111
3 жыл бұрын
I wasn’t sure if you did or not. Thank you 😊
Hey Cuiv, Sort of a random question on this video, but i noticed that you're able to control everything on your setup without any USB's connected to your laptop. How do you do that?
Hi Cuiv. No more news... Are you OK and healthy? JM
Cuiv, Hope you are okay! You haven't posted in a month, stay safe!
coolest astronomer ever 🙌🔭👍
I would suggest anyone who do not want to pay to learn Python and the packages Astropy and Numpy. Algorithms are available on google scholar, and you can absolutely control everything. Maybe you might spend half a day debugging but it’s absolutely worth it!
Hello Cuiv, Ça fait longtemps que tu ne nous a pas posté de vidéo. Donne nous des nouvelles . Cordialement JL
Where have you been?
Get well soon so you can take your beautiful images!
Wooooow!
And if for whatever reason your astro software does not output 16 bit tif you can use ImageMagick to convert it like: convert -depth 8 input.tif -depth 16 output.tiff and to confirm: magick identify output.tif output.tif TIFF 1489x1672 1489x1672+0+0 16-bit sRGB 14.2467MiB 0.000u 0:00.000
If only I could create Ha out of Sii and Oiii. If SHO = RGB so surely G can be made out of R + B. Don't ask why.. Interesting stuff.
Thank you for this video
Thanks :)
@micham.9057
3 жыл бұрын
btw, I think I have managed to reproduce this approach in Octave. Key is to convert images to double with im2double then example for green channel would be: Gd = ((O3d.*Had).^(1-O3d.*Had)).*Had + (1-(O3d.*Had).^(1-O3d.*Had)).*O3d;. After that green_out = im2uint16(Gd); and imwrite(green_out,"green_out.tif"); It seems to work but I will have to check after some more data acquisition.
Did your girlfriend steal your password to your channel?
Siril can do pixelmath.
@CuivTheLazyGeek
6 ай бұрын
But couldn't at the time this video was released :)
I have a new video! kzread.info/dash/bejne/hayXr9uycanHp7w.html