PixInsight Forum (historical)
PixInsight => Announcements => Topic started by: Carlos Milovic on 2009 September 27 10:43:15
-
Hi everyone
See this thread for the background story:
http://pixinsight.com/forum/index.php?topic=1442.0
So, here is the W32 compilation:
http://pteam.pixinsight.com/carlos/modules/SelectiveBlend-pxm.zip
And the source code:
http://pteam.pixinsight.com/carlos/modules/SelectiveBlend-src-2009-09-26.zip
I think that this process is a quite straightforward. Just select the blending ratio for each channel. Just one note. Luminance is always imported as the last step, so it is very crucial the selection of "when" to modify it. If you modify the original one, the blending factors will only affect the chrominance. So, the result is quite different from adjusting the new luminance, from processed color channels.
There is a third alternative, that I did not implement, to import the processed original luminance before color blending... I guess that this is not that useful, but if you need it, just say so and I'll add the option.
Finally, there is no RealTime for this one. Is over my programming skills, so you'd have to wait for Juan. :)
-
Hi Carlos,
I think that this process is a quite straightforward.
I love it when people say that! :D
Firstly, congrats on a great process. But let me see if I've got it right.....
If you want to blend an Ha image with an RGB image you would first select the Ha image as the Operand Image? Then change ratios as required and then drag the blue triangle onto the RGB image? Is that right?
By the way, I tried this out by loading an RGB image. I then just extracted the luminance and streched it and clipped it....just so I would see some results when trying the process. If I applied the process to the Parent image then it seemed to all make sense. However, I created a slightly smaller preview of the RGB image and applied the process to that preview.....so I could keep changing the ratios and seeing the result. However, the stars all become doubled up, probably because it was blending the whole of the luminance image with just the smaller preview? Anyway, I just thought I'd let you know.
Apart from that it looks like an great process that will get used a lot. The live preview will make it really cool.
Cheers
Simon
-
Hi Carlos
Thanks for your hard work ;D
All I need now is a nice man to do a 64 bit version ;)
Harry
-
Wow,
That was fast.
Thanks Carlos.
I look foward to trying it.
-
Simon, thanks for the bug report. I thought that these small previews management would be easier :P I'll fix it this week. So, for the moment, please just use previews of the same size as the original image.
Thanks Harry and mmirot for your comments ;)
(about 64bits... sorry, I have old PCs only :P )
-
Hi Carlos
I was Hopeing a sander was watching ;D
Harry
-
Hi Carlos
Had a go with the 32 bit version and seems A OK
Will have to bend a certain persons ear about a real time preview ::)
Regards Harry
-
This is amazing!
Excuse a newbie question, but I'm working in linux (I'm quite an experienced user) and was wondering how am I supposed to use the source.
Thanks!
-
I haven't downloaded any of the recent Carlos' developments, but in the past I tried some things with the modules which source code is distributed with the PCL. To compile them, I usually had to edit the Makefile and/or some of the files included from it, and then run 'make' as usual. As for what changes do you have to make to the Makefile, just run 'make' and it will tell ;).
If you press me a little, I think I can search in my desktop at home, which should have the working directories untouched under a (still thin) layer of dust. I recall having modified the call to gcc, adding some parameters so as not to generate some *.d files or something like that.
-
The problem is there's no Makefile in the zip file. I expected it too, but I can't find it...
EDIT: is it possible the Release subdir is missing completely? Maybe a mistake when making the zipfile?
Fabio
-
Hi Fabio (I guess that you are Fabio :P )
Look at the Software Development sub forum. There is a thread where Juan announces a new javascript that builds makefiles. That's the reason I did not include any folder related to compilation.
For linux, you may use Eclipse.
-
Uhm, well, I'm downloading Eclipse right now, but not being a programmer, I won't have a clue. What do I do in Eclipse to run the script?
Fabio
-
To be honest, I haven't tried it in eclipse yet! :P I run linux, but with an old computer, so PI doesn't run here :P If nobody else gives an answer today, I'll try tonight.
-
Hi Fabio and Carlos,
Better wait until PI 1.5.8 is released, because there are significant changes in the build system. Many of Carlos' recent modules will also be available as processes included in standard modules. For example, this one will be included in ColorSpaces, or perhaps PixelMath --I'm in doubt about this (ideas welcome).
1.5.8 should be ready for release in a few days.
-
Ok
In the meantime, I discovered how little I know of programming. In the end, though, I managed to use the javascript to create the Makefile. Just to discover that the current version of PCL doesn't have the required symbols.
Fabio
-
Fabio, you have to manually set the environment variables. Look at the post. Also, you need to change the contents of some directories.
Juan, I think that ColorSpaces is a best idea. At least, this process is in the same line as LRGBCombination...
-
Yes, I eventually figured all that out. Still, this module looks for some symbols which are missing from the standard PCL.a library.
Fabio
-
For example, this one will be included in ColorSpaces, or perhaps PixelMath --I'm in doubt about this (ideas welcome).
I'd opt for a process on its own. That leaves the door open to further improvements, which would be harder to implement under the restrictions of the PixelMath syntax.
-
David, Juan was talking about categories ;) not processes
-
I would definitely put this together with the LRGB combine tool.
Speaking of categories, are we sure there aren't too many right now? Sometime it gets difficult to find some process.
Fabio
-
Oh I see. If you'd asked me, I would have answered that PixelMath was a process in some category, and said nothing about the PixelMath category and the Divide process. Just had to fire up PI right now to check! xD
ColorSpaces seems like more intuitive to me.
-
Hmmm... I guess that it is a matter to know the processes better. Right now the categories are divided into very specific fields of image processing, so if you know what we need, it quite easy to just open the desired category. I hardly use the Favorites or All categories :P
Anyway, I do think that the Process Explorer needs more work, to create a more flexible way to present the processes to the users, even to customize its contents just as icons inside folders.