To Rotate An Image With Minimum Changes In Its Pixels

I am doing a project on Image Watermarking using Discrete Wavelet Transform. I have done with watermarked image,Now I am attacking image with attack like rotation. My question is that when I apply function imrotate to the watermarked image, all the pixels that are not included in the rotated image becomes zero as it is property of imrotate. Due to this I got very low PSNR between Original Image and rotated Watermarked image.

My question is-I want to rotate the image but also need to have high value of PSNR after rotation. Is there any method that after rotation all or most pixels of rotated image resembles with pixels of original image.

Shortcoming of imrotate ie zero value of pixels outside rotated area can be removed by which method???????????????


Similar Content



Ideas To Make Code For Robust Image Watermarking

I need to make following Project on Image Watermarking, need suggestions of maximum people how to start this.
1.) My project shall include a Host file of size(M*M), which will hide a watermark of size(N*N) (may be a grayscale, text or true color image).
2.) Need to encrypt watermark( Suggestions are needed whether use selective encryption, ciphering), where to get maximum help and how to implement this.
3.) Which algorithm I should prefer to encrypt watermark and why?????
4.) Ideas to make Key for Encryption.
5.) Idea to embedd the watermark in host image( Either to use DWT,SVD,DCT,Fibonacci Haar Wavelet) and in which band???????????
6.) What will I loose or gain on embedding in lower frequency bands and higher frequency subbands.
7) How I can make watermark Robust to Rotation, Scaling, Croping, Resizing. Ideas to generate such code.
8.) What performance parameters will decide my robustness.
9.) How to Extract watermark and will they be extracted after attacking the watermarked image.
I will be grateful, if you give your valuable suggestions.

Scrambling And Descrambling Of An Image Using Chaotic Map

Hello everyone.My question is - I want to make my image unreadable while transmitting it, using chaotic map(arnold cat map, logistic maps, bakers map or henon map.To know more about chaotic map one can visit the site http://en.wikipedia.org/wiki/List_of_chaotic_maps.
#I donot know how to do scrambling and descrambling of my image. In simple words to encrypt it and then decrypt it using chaotic maps.
#I know logic behind this - Key will be used to make our original image into unreadable image and same key is used to decode it. I donot know how to encode and decode it. I need to make key using chaotic map.
#If anyone can help me to make a code to do scrambling and descrambling of input image with the help of chaotic map, It would be a great help.

How To Do Dual Booting With ISO Image From The Same Hardware

Currently I'm using Windows 7 OS, in the same hardware I have RedHat ISO Image, is there any possibility to boot Linux ISO image directly from the same hardware?(not by using live CD,USB or any VM Workstation). I have 4 drives in my windows OS, I have ISO image in D: drive and E:drive I allocated for Linux, please try to help me out any one .....

Awaiting for your valuable Support........

Add Files To A PXE Image

Hello,

I am new to Linux images (pxe, livecd). I would like to add files to a linux image, like something under etc or var, and have the files be available on the client.
The server I am working on was already configured with a pxe image, and only 2 files are present under the pxe client folder: initrd and vmlinuz. So I am wondering if either of these files contain the dirs /etc, /var, etc..., and how I could add files to them.

To give some background, I have done the same thing in Windows. An image in Windows is typically either boot.img or install.img. You can mount either of these to a folder using the Windows SDK tool imagex.exe /mountrw <img file> 1 <mount point>. From here you can add/remove/modify any files you want. Then commit the changes with imagex.exe /unmount <mountpoint> /commit.

Can someone provide insight to the linux image creation process, which of the files (initrd, vmlinuz/vmlinux, etc...) contain what for the client boot, or something similar to the Windows Image editing process?

I know I'm asking for a range of info, but pointers to any material to help my understanding will be greatly appreciated.

Thanks,
Jon

Monitor Scaling In Xorg.conf Or Video Drivers

Hi this is my first post. I'm a Linux user but far from an expert. I'm building a CNC machine and it will be powered by linuxcnc, I may try to compile it for my more modern hardware.

My question is because I have some old cases with touch screen monitors that were likely from some sort of kiosk. The built in monitors have odd Samsung lcd panels with a native resolution of 1024x768 but they are wide screen. They look like 16:9 but could be 16x10. Certainly not 4:3. Thus the pixels are rectangular. The monitors accept higher resolutions so I can output in a wide screen aspect ratio however the image is not sharp because of the down conversion and maybe to some extent the resolutions might be high for the VGA connection.

I'd like the picture to not be squished but with the quality I see when I use the native resolution. So I need to send the monitor an image that's been stretched a little so the monitor can squish it back to the right proportions. I will be using an amd a6 apu fm2 socket since the motherboards for these still often have a parallel header making a mesa FPGA card unnecessary for driving the gecko stepper drivers for this build keeping the costs at a minimum and the setup simple. Do the ati drivers allow scaling independent of output resolution? Is there some way to configure xorg.conf to do this?

Looking For Microsoft Office Picture Manager IMAGE COMPRESS Alternative In Linux?

Looking for a a tool/method that can perform the image compression similar to feature provided by Microsoft Office Picture Manager.
example snapshot =>https://waterharvest.files.wordpress.../savinpic5.jpg

Please suggest.

Expand Filesystem

dear all. i do have an image of a system with all the settings and i got it flashed to the new drives (cf, sd, hard disk....). the problem i am facing is that the original image is 2GB and it does not see the whole space of the disk. now everytime that i have to expand it i mount it to another system and through gparted i do system expansion.
I came across raspberry and i have seen the raspi-config(https://www.raspberrypi.org/document...aspi-config.md) they do have and it is really cool. it has a function to expand the partition without user interference.
is there a way to have a tool like this in debian 6 or 7 so i could call it and expand the partition?

Add Progress Bar To Splash Screen

I have created a new theme in /usr/share/plymouth/themes and added a .png image to it. Hence, while shutting down and booting up it displays that image. Now I want to add a progress bar as well. How to add it into the theme??
Thanks

Grub-mkconfig Menu Changes

I want to change the menu on a Suse 12 Enterprise system.
I edit the /etc/default zip12grub.conf file execure grug2-mkconfig. Then reboot the system and no changes occur. The zip12grub.conf seems like the correct file to update so I am at a loss as to what the correct process would be.

cat zipl2grub.conf
## This is the template for '@zipldir@/config' and is subject to
## rpm's %config file handling in case of grub2-s390x-emu package update.

[defaultboot]
defaultmenu = menu

[grub2]
target = @zipldir@
ramdisk = @zipldir@/initrd,0x2000000
image = @zipldir@/image
parameters = "root=@GRUB_DEVICE@ @GRUB_EMU_CONMODE@ @GRUB_CMDLINE_LINUX@ @GRUB_CMDLINE_LINUX_DEFAULT@ initgrub quiet splash=silent "

[skip-grub2]
target = @zipldir@
ramdisk = @zipldir@/initrd,0x2000000
image = @zipldir@/image
parameters = "root=@GRUB_DEVICE@ @GRUB_CONMODE@ @GRUB_CMDLINE_LINUX@ @GRUB_CMDLINE_LINUX_DEFAULT@ "

[test-grub2]
target = @zipldir@
ramdisk = @zipldir@/initrd,0x2000000
image = @zipldir@/image
parameters = "root=@GRUB_DEVICE@ @GRUB_CONMODE@ @GRUB_CMDLINE_LINUX@ @GRUB_CMDLINE_LINUX_DEFAULT@ "

:menu
target = @zipldir@
timeout = 16
default = 1
prompt = 1
1 = grub2
2 = skip-grub2
3 = test menu grub2

grub2-mkconfig -o /boot/grub2/grub.cfg

Generating grub configuration file ...
Found linux image: /boot/image-3.12.39-47-default
Found initrd image: /boot/initrd-3.12.39-47-default
Found linux image: /boot/image-3.12.28-4-default
Found initrd image: /boot/initrd-3.12.28-4-default
done

reboot

Storage cleared - system reset.
zIPL v1.24.1-38.17 interactive boot menu

0. default (grub2)

1. grub2
2. skip-grub2

Note: VM users please use '#cp vi vmsg <input> <kernel-parameters>'

Please choose (default will boot in 16 seconds):
Booting default (grub2)

Something's Wrong With GRUB

Ubuntu 12.04

I installed updates, which included a new kernel. I went to remove one of the older kernels and got:

Code:
jnojr@DEV:~$ sudo apt-get purge linux-image-3.13.0-46-generic
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-3.13.0-46-generic gir1.2-ubuntuoneui-3.0 wireless-regdb iw
  linux-headers-3.13.0-46 crda linux-headers-3.5.0-23-generic lesstif2
  linux-headers-3.5.0-23 libubuntuoneui-3.0-1 thunderbird-globalmenu
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  linux-image-3.13.0-46-generic*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 197 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 340656 files and directories currently installed.)
Removing linux-image-3.13.0-46-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-46-generic /boot/vmlinuz-3.13.0-46-generic
update-initramfs: Deleting /boot/initrd.img-3.13.0-46-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-46-generic /boot/vmlinuz-3.13.0-46-generic
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.13.0-51-generic
Found initrd image: /boot/initrd.img-3.13.0-51-generic
Found linux image: /boot/vmlinuz-3.13.0-49-generic
Found initrd image: /boot/initrd.img-3.13.0-49-generic
Found linux image: /boot/vmlinuz-3.13.0-48-generic
Found initrd image: /boot/initrd.img-3.13.0-48-generic
Found Windows Vista (loader) on /dev/sda1
Found CentOS release 6.6 (Final) on /dev/sdb1
Found linux image: /boot/vmlinuz-3.13.0-51-generic
Found initrd image: /boot/initrd.img-3.13.0-51-generic
Found linux image: /boot/vmlinuz-3.13.0-49-generic
Found initrd image: /boot/initrd.img-3.13.0-49-generic
Found linux image: /boot/vmlinuz-3.13.0-48-generic
Found initrd image: /boot/initrd.img-3.13.0-48-generic
Found Windows Vista (loader) on /dev/sda1
Found CentOS release 6.6 (Final) on /dev/sdb1
Found memtest86+ image: /boot/memtest86+.bin
error: syntax error.
error: Incorrect command.
error: syntax error.
error: Incorrect command.
error: syntax error.
error: line no: 146
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.
done
Purging configuration files for linux-image-3.13.0-46-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-46-generic /boot/vmlinuz-3.13.0-46-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-46-generic /boot/vmlinuz-3.13.0-46-generic

I have no idea how I'd "ensure there are no errors" in the /etc/grub related files... I have no idea what's supposed to be there. Looking at the line it's complaining about in /boot/grub/grub.cfg.new doesn't tell me anything. How do i find out what it's unhappy about?