help > Blending
Showing 1-4 of 4 posts
Jul 13, 2010 01:07 PM | Aurelien Lucchi
Blending
Hello,
I'm trying to blend different images together but I'm a bit puzzled by the dialog box that appears when clicking on the image blending menu (in Image/Data). What's the meaning of the "Red component", "Blue component" and "Green component" ?
The resulting image contains 2 channels only but I'm still allowed to click on the 3 channels in the left side menu ("Color channels"). Is that the expected behavior ?
Cheers
I'm trying to blend different images together but I'm a bit puzzled by the dialog box that appears when clicking on the image blending menu (in Image/Data). What's the meaning of the "Red component", "Blue component" and "Green component" ?
The resulting image contains 2 channels only but I'm still allowed to click on the 3 channels in the left side menu ("Color channels"). Is that the expected behavior ?
Cheers
Jul 13, 2010 01:07 PM | Hanchuan Peng
RE: Blending
There are two ways to blend images (and their color channels) in
the V3D tri-view main window.
(1) Use the main menu Image/Data -> Color Channels -> Blend. There, you can continue to select a channel of an image (from the drop-down list), and then select the target RGB weights for that channel. The weight is defined as vv/255, where vv is the value to be input in the dialog and should have a value between 0 and 255. Thus if you want to blend the green (2nd) channel of an image to have its intensity value between [0, 128], you should give the value 128 in the dialog box. In another word, such a value specify the biggest value a color channel's intensity could reach.
Such a method indeed is not strange, because if you use the system's color dialog to select a target color, it will be indicated using integer values between [0, 255], the same as I used here.
(2) Use the main menu "Process" -> Image Atlas. Put all images you want to blend (assume they have the same size/dimension) under the same folder (unless you manually edit the image file locations in the respective .atals file, which is a plain text csv file), and then choose "generating the atlas linker file" menu. Then you will be able to generate the linker file that contains all file locations of these images. You can then drag and drop the .atlas linker file into V3D's main window. The first image specified in the .atlas file will be open initially, but you can then press "Ctrl-A" (Cmd-A for Mac), or select the "atlas viewer" menu in the "Process"->Image Atlas menu list, and thus display the atlas view of all these images. Importantly, now you can click the color checker of each image file in the spread sheet dialog displayed, and after you determine the colors, and click the "OK" button, you can get the blended image in the tri-view.
Originally posted by Aurelien Lucchi:
(1) Use the main menu Image/Data -> Color Channels -> Blend. There, you can continue to select a channel of an image (from the drop-down list), and then select the target RGB weights for that channel. The weight is defined as vv/255, where vv is the value to be input in the dialog and should have a value between 0 and 255. Thus if you want to blend the green (2nd) channel of an image to have its intensity value between [0, 128], you should give the value 128 in the dialog box. In another word, such a value specify the biggest value a color channel's intensity could reach.
Such a method indeed is not strange, because if you use the system's color dialog to select a target color, it will be indicated using integer values between [0, 255], the same as I used here.
(2) Use the main menu "Process" -> Image Atlas. Put all images you want to blend (assume they have the same size/dimension) under the same folder (unless you manually edit the image file locations in the respective .atals file, which is a plain text csv file), and then choose "generating the atlas linker file" menu. Then you will be able to generate the linker file that contains all file locations of these images. You can then drag and drop the .atlas linker file into V3D's main window. The first image specified in the .atlas file will be open initially, but you can then press "Ctrl-A" (Cmd-A for Mac), or select the "atlas viewer" menu in the "Process"->Image Atlas menu list, and thus display the atlas view of all these images. Importantly, now you can click the color checker of each image file in the spread sheet dialog displayed, and after you determine the colors, and click the "OK" button, you can get the blended image in the tri-view.
Originally posted by Aurelien Lucchi:
Hello,
I'm trying to blend different images together but I'm a bit puzzled by the dialog box that appears when clicking on the image blending menu (in Image/Data). What's the meaning of the "Red component", "Blue component" and "Green component" ?
The resulting image contains 2 channels only but I'm still allowed to click on the 3 channels in the left side menu ("Color channels"). Is that the expected behavior ?
Cheers[/userquote]
I'm trying to blend different images together but I'm a bit puzzled by the dialog box that appears when clicking on the image blending menu (in Image/Data). What's the meaning of the "Red component", "Blue component" and "Green component" ?
The resulting image contains 2 channels only but I'm still allowed to click on the 3 channels in the left side menu ("Color channels"). Is that the expected behavior ?
Cheers[/userquote]
Jul 13, 2010 01:07 PM | Hanchuan Peng
RE: Blending
for some reason the msg seems un-posted. Thus I re-send!
Originally posted by Hanchuan Peng:
Originally posted by Hanchuan Peng:
There are two ways to blend images (and their
color channels) in the V3D tri-view main window.
(1) Use the main menu Image/Data -> Color Channels -> Blend. There, you can continue to select a channel of an image (from the drop-down list), and then select the target RGB weights for that channel. The weight is defined as vv/255, where vv is the value to be input in the dialog and should have a value between 0 and 255. Thus if you want to blend the green (2nd) channel of an image to have its intensity value between [0, 128], you should give the value 128 in the dialog box. In another word, such a value specify the biggest value a color channel's intensity could reach.
Such a method indeed is not strange, because if you use the system's color dialog to select a target color, it will be indicated using integer values between [0, 255], the same as I used here.
(2) Use the main menu "Process" -> Image Atlas. Put all images you want to blend (assume they have the same size/dimension) under the same folder (unless you manually edit the image file locations in the respective .atals file, which is a plain text csv file), and then choose "generating the atlas linker file" menu. Then you will be able to generate the linker file that contains all file locations of these images. You can then drag and drop the .atlas linker file into V3D's main window. The first image specified in the .atlas file will be open initially, but you can then press "Ctrl-A" (Cmd-A for Mac), or select the "atlas viewer" menu in the "Process"->Image Atlas menu list, and thus display the atlas view of all these images. Importantly, now you can click the color checker of each image file in the spread sheet dialog displayed, and after you determine the colors, and click the "OK" button, you can get the blended image in the tri-view.
Originally posted by Aurelien Lucchi:
(1) Use the main menu Image/Data -> Color Channels -> Blend. There, you can continue to select a channel of an image (from the drop-down list), and then select the target RGB weights for that channel. The weight is defined as vv/255, where vv is the value to be input in the dialog and should have a value between 0 and 255. Thus if you want to blend the green (2nd) channel of an image to have its intensity value between [0, 128], you should give the value 128 in the dialog box. In another word, such a value specify the biggest value a color channel's intensity could reach.
Such a method indeed is not strange, because if you use the system's color dialog to select a target color, it will be indicated using integer values between [0, 255], the same as I used here.
(2) Use the main menu "Process" -> Image Atlas. Put all images you want to blend (assume they have the same size/dimension) under the same folder (unless you manually edit the image file locations in the respective .atals file, which is a plain text csv file), and then choose "generating the atlas linker file" menu. Then you will be able to generate the linker file that contains all file locations of these images. You can then drag and drop the .atlas linker file into V3D's main window. The first image specified in the .atlas file will be open initially, but you can then press "Ctrl-A" (Cmd-A for Mac), or select the "atlas viewer" menu in the "Process"->Image Atlas menu list, and thus display the atlas view of all these images. Importantly, now you can click the color checker of each image file in the spread sheet dialog displayed, and after you determine the colors, and click the "OK" button, you can get the blended image in the tri-view.
Originally posted by Aurelien Lucchi:
Hello,
I'm trying to blend different images together but I'm a bit puzzled by the dialog box that appears when clicking on the image blending menu (in Image/Data). What's the meaning of the "Red component", "Blue component" and "Green component" ?
The resulting image contains 2 channels only but I'm still allowed to click on the 3 channels in the left side menu ("Color channels"). Is that the expected behavior ?
Cheers[/userquote][/userquote]
I'm trying to blend different images together but I'm a bit puzzled by the dialog box that appears when clicking on the image blending menu (in Image/Data). What's the meaning of the "Red component", "Blue component" and "Green component" ?
The resulting image contains 2 channels only but I'm still allowed to click on the 3 channels in the left side menu ("Color channels"). Is that the expected behavior ?
Cheers[/userquote][/userquote]
